From owner-freebsd-current@FreeBSD.ORG Thu Dec 6 07:23:02 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2E6116A419; Thu, 6 Dec 2007 07:23:02 +0000 (UTC) (envelope-from rermilov@team.vega.ru) Received: from mail.vega.ru (infra.dev.vega.ru [90.156.167.14]) by mx1.freebsd.org (Postfix) with ESMTP id 87EED13C45B; Thu, 6 Dec 2007 07:23:02 +0000 (UTC) (envelope-from rermilov@team.vega.ru) Received: from [87.242.97.68] (port=54450 helo=edoofus.dev.vega.ru) by mail.vega.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68 (FreeBSD)) (envelope-from ) id 1J0B4U-000KGQ-8D; Thu, 06 Dec 2007 07:22:58 +0000 Received: from edoofus.dev.vega.ru (localhost [127.0.0.1]) by edoofus.dev.vega.ru (8.14.2/8.14.2) with ESMTP id lB67Megs081964; Thu, 6 Dec 2007 10:22:40 +0300 (MSK) (envelope-from rermilov@team.vega.ru) Received: (from ru@localhost) by edoofus.dev.vega.ru (8.14.2/8.14.2/Submit) id lB67Mer7081963; Thu, 6 Dec 2007 10:22:40 +0300 (MSK) (envelope-from rermilov@team.vega.ru) X-Authentication-Warning: edoofus.dev.vega.ru: ru set sender to rermilov@team.vega.ru using -f Date: Thu, 6 Dec 2007 10:22:39 +0300 From: Ruslan Ermilov To: obrien@freebsd.org Message-ID: <20071206072239.GA81748@team.vega.ru> References: <4756BAD3.4060905@web.de> <95938867@bb.ipt.ru> <20071205231628.GA15765@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071205231628.GA15765@dragon.NUXI.org> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Boris Samorodov , Jan Lentfer , freebsd-current@freebsd.org Subject: Re: Problems Building 7.0-Beta3 with -Os X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2007 07:23:02 -0000 On Wed, Dec 05, 2007 at 03:16:28PM -0800, David O'Brien wrote: > [...] -Os is a collection of > optimizations that is between -O1 and -O2. That is -Os includes > everything that -O1 does, and -O2 includes everything that -Os does. > In otherwords: -O1 < -Os < -O2 (properly) > I read it differently. From the manpage: : -Os Optimize for size. -Os enables all -O2 optimizations that do not : typically increase code size. It also performs further optimiza- : tions designed to reduce code size. It says that -Os is a subset of -O2 optimizations plus some extra optimizations. Reading further in a manpage, there's only one, -mspace. Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer