From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HbO4B-0005i1-55 for garchives@archives.gentoo.org; Tue, 10 Apr 2007 21:39:55 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l3ALbvOa005451; Tue, 10 Apr 2007 21:37:57 GMT Received: from spore.ath.cx (c-24-245-14-14.hsd1.mn.comcast.net [24.245.14.14]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l3ALT7RF022973 for ; Tue, 10 Apr 2007 21:29:07 GMT Received: from pascal.spore.ath.cx (pascal.spore.ath.cx [192.168.1.100]) by spore.ath.cx (Postfix) with ESMTP id E93E940BF2 for ; Tue, 10 Apr 2007 16:08:55 -0500 (CDT) Date: Tue, 10 Apr 2007 16:08:55 -0500 From: Dan Farrell To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 " Message-ID: <20070410160855.359bed3b@pascal.spore.ath.cx> In-Reply-To: <200704102045.04902.uwix@iway.na> References: <2fcf3fa50704101201y9ddd4ebtc1ca701cadea99c5@mail.gmail.com> <200704101610.40826.davividal@siscompar.com.br> <200704102045.04902.uwix@iway.na> Organization: Spore, Ltd. X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.10.6; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 521b8229-d38c-4782-871b-6fac379146da X-Archives-Hash: e8833dca25696e9430009962b9c1b2d5 On Tue, 10 Apr 2007 20:45:04 +0100 Uwe Thiem wrote: > O3 binaries are larger than O2 binaries but not that much. So if you > are about to be out of HD space with O3 binaries you will soon be out > of it with O2 binaries as well. You will need more HD space either > way. > > That said, you can rebuild your system to be O2 by > editing /etc/make.conf (O3 -> O2) and the "--newuse" option for > emerge. I don't think it's worth it. ;-) This thread contains a nice description of -02 -03 and -0s (size optimization) which makes it clear that what is actually desired here for space-saving concerns is -0s, not -03. I for some reason run -03 on all my emerges and allow the ebuilds to sort out the maximum acceptible optimization level. As far as I can tell, nothing's been broken by that. I don't run testing or anything, and it _is_ more dangerous, but I'm doing it without problems. For the record. Finally, as people have already said, --newuse is to recompile when you change your use flags. You want to rebuild the system and the world as if none of the dependancies are already installed (so that they get rebuilt too, even if not explicity a part of your world or system) and the way to do that is -e (--emptytree). Doing so after changing from -03 to -0s may actually save a decent amount of space. Furthermore, it may actually perform pretty well too. -- gentoo-user@gentoo.org mailing list