From owner-freebsd-current@FreeBSD.ORG Thu Dec 6 07:52:52 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 AF3B516A419; Thu, 6 Dec 2007 07:52:52 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 5287013C43E; Thu, 6 Dec 2007 07:52:52 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5663F.dip.t-dialin.net [84.165.102.63]) by redbull.bpaserver.net (Postfix) with ESMTP id EF1092E270; Thu, 6 Dec 2007 08:43:44 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 674D678871; Thu, 6 Dec 2007 08:43:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1196927022; bh=9Bqwpr4kQbAAsJDo+QM9W5X35g/NF+jz/ ezXg1z4EH4=; h=Message-ID:X-Priority:Date:From:To:Cc:Subject: References:In-Reply-To:MIME-Version:Content-Type: Content-Disposition:Content-Transfer-Encoding:User-Agent; b=HT2KQw a2G6DBSOyp9nJD/JiEm/to2XHH/P3hAaJKrkmiA9I0M02p4+AcPsHqH/LnudVeBqvp4 y9UbckVNSFIVVDlKb6JAkVsiPswuiAxbHJusexI2ov4nJHP3zt91t3wL2ZUxxnu4WEI YlU4KN8NHB/6EH3SDQMzY3KcSTafRBwPzAiscZY/TuCmqrHHoKYDrwB/sVnSDTMweHK rqAZmaMAwdCD8yQ2Nzb5R6IqXCnGtuCvpx6wVBVR++x8purVIpD0Nc74HIvGjFdLajk WgH8L8uSduoW3O5W0qViQmM+lLHsxTc3vd9UXewT+jIWliBq40lCAvUbns4Dsyd4iC7 Q== Received: (from www@localhost) by webmail.leidinger.net (8.14.1/8.13.8/Submit) id lB67hgOo054296; Thu, 6 Dec 2007 08:43:42 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Thu, 06 Dec 2007 08:43:42 +0100 Message-ID: <20071206084342.cv8xbmqg4k0co8kg@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Thu, 06 Dec 2007 08:43:42 +0100 From: Alexander Leidinger To: Ruslan Ermilov References: <4756BAD3.4060905@web.de> <95938867@bb.ipt.ru> <20071205231628.GA15765@dragon.NUXI.org> <20071206072239.GA81748@team.vega.ru> In-Reply-To: <20071206072239.GA81748@team.vega.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-13.504, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No 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:52:52 -0000 Quoting Ruslan Ermilov (from Thu, 6 Dec 2007 10:22:39 +0300= ): > 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. And after the import of the new gcc in 7, a lot of people noticed, =20 that the resulting binaries are larger with -Os than with -O2. This =20 doesn't help for the original problem (not being able to compile =20 FreeBSD), but gives a hint to prefer -O2 over -Os when the problem is =20 found. Bye, Alexander. --=20 Is knowledge knowable? If not, how do we know that? http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137