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.60) (envelope-from ) id 1FpsuE-0000uZ-CB for garchives@archives.gentoo.org; Mon, 12 Jun 2006 20:21:02 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k5CKJ1XB018218; Mon, 12 Jun 2006 20:19:01 GMT Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.200.82]) by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k5CKAapM028474 for ; Mon, 12 Jun 2006 20:10:36 GMT Received: from spinner (c-69-249-7-96.hsd1.nj.comcast.net[69.249.7.96]) by comcast.net (sccrmhc12) with ESMTP id <2006061220103401200ar0dae>; Mon, 12 Jun 2006 20:10:34 +0000 From: Jerry McBride Organization: TEAM-GENTOO To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] gcc-4.1.1 Date: Wed, 7 Jun 2006 22:10:10 -0400 User-Agent: KMail/1.9.3 References: In-Reply-To: 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="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606072210.11564.mcbrides9@comcast.net> X-Archives-Salt: 5d622434-0af9-4c73-b8fd-775dcdb06df1 X-Archives-Hash: 43f126461b6882a281f7513b1d54e155 On Wednesday 07 June 2006 21:50, Bob Young wrote: > > On 6/7/06, Roy Wright wrote: > > > You might want to read: > > > > > > http://forums.gentoo.org/viewtopic.php?t=282474&highlight= > > > > > > which basically recommends: > > > > > > emerge -s > > > emerge -s > > > emerge -e > > > emerge -e > > > > Ugh, this is completely pointless. A single "emerge -e world" is > > sufficient. > > Depends on what you consider sufficient. Although what the page recommends > was misquoted, it actually suggests: > > emerge -e system > emerge -e system > emerge -e world > emerge -e world > > That's probably is a little bit excessive, but the reason for doing the two > emerge -e systems is so that the new tool chain is built with the new tool > chain. At the end of the first emerge -e system you may have a new > compiler, but that new compiler was built with the old compiler. What you > actually want is a gcc-4.1.1 that was built with gcc-4.1.1. You could > emerge the compiler twice before doing the emerge -e system, but the the > emerges that happen before glibc is rebuilt are linked against a glibc that > was built with the old compiler. Same with the rest of the tool chain and > libraries. > > That being said "emerge -e system" is probably overkill just for a new > toolchain. Updating a subset of all possible toolchain related things and > then following that by a single emerge -e world would probably be > sufficient for most people. This page: > http://forums.gentoo.org/viewtopic-t-345229.html is about doing an install, > but it shows how to update a subset of the entire tool chain. Note that the > article does in the end, do a double emerge -e system, so the the value of > updating a toolchain subset is questionable for the article's purposes. > > In short: > > emerge gcc-config glibc binutils libstdc++-v3 gcc > emerge gcc-config glibc binutils libstdc++-v3 gcc > emerge -e world > > To be clear, in order to make sure absolutely everything is updated and the > libraries that are linked against are also updated prior to use, the two > emerge -e system commands, are the definitive solution. For those who don't > want to spend many extra hours of compile time, in order to gain a 0.5% > increase in performance, the above is offered for consideration. > > Regards, > Bob Young Wow! I said the same thing a week or so ago and got the same rebuttal. However, it's what I do none the less. And it works. -- gentoo-user@gentoo.org mailing list