From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1ObbqG-00042u-FE for garchives@archives.gentoo.org; Wed, 21 Jul 2010 16:08:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF5DAE0B67 for ; Wed, 21 Jul 2010 16:08:19 +0000 (UTC) Received: from mail-pv0-f181.google.com (mail-pv0-f181.google.com [74.125.83.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 7AB14E0A59 for ; Wed, 21 Jul 2010 15:49:49 +0000 (UTC) Received: by pvg2 with SMTP id 2so4135808pvg.40 for ; Wed, 21 Jul 2010 08:49:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=SDHjiazWIPAxluBihdRztLen3wD3uwEVwe4IhSYVA/Y=; b=RJvtZNow84R3SNNW/uKBjIOMRWinUu+NfVI4aRmdUUnvZNTcghY7555q7GhZTK+L6t Ex2kqi1YSDRtQE4slCo33y0sj2s1DPM5iMmJYofqjxxUteohkDbVLrMj5pIet16BCHEG VAE+iAuL8lRutYyaK9Uq7xydYRCOCddrRT2vE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=o2CLTTILtzG+JW4UgbQ28wvYK+7L7a9rvb2OqcwfOhVhTrcL7Cu1eNlyyKNURELA9c z8B0H4cVOeer+ab/TzFv6Squx3+Hy/zpVCj8rYbpFFsLT3vruQ4AW0NTLj26L3hXgKj4 wh96nmhCx6iYOs5WWJBb2YTtVib4kfiuyNUQE= Received: by 10.114.74.19 with SMTP id w19mr584328waa.25.1279727388658; Wed, 21 Jul 2010 08:49:48 -0700 (PDT) Received: from [192.168.0.12] ([209.20.133.224]) by mx.google.com with ESMTPS id n32sm85358519wag.23.2010.07.21.08.49.47 (version=SSLv3 cipher=RC4-MD5); Wed, 21 Jul 2010 08:49:47 -0700 (PDT) Message-ID: <4C47171A.5000501@gmail.com> Date: Wed, 21 Jul 2010 08:49:46 -0700 From: Bill Longman User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100717 Thunderbird/3.0.5 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] lazy gcc switching References: <4c46b57fc965d2.14838702@wp.pl> <201007211110.34348.alan.mckinnon@gmail.com> <4C46CA6D.3080608@gmail.com> In-Reply-To: <4C46CA6D.3080608@gmail.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: eda2bbc4-8403-483b-9e6b-3d72e3219900 X-Archives-Hash: d68f6d9d5e4a3af2cf3ac0e0b7a66230 On 07/21/2010 03:22 AM, Dale wrote: > Alan McKinnon wrote: >> On Wednesday 21 July 2010 10:53:19 fajfusio@wp.pl wrote: >> >>> Hi >>> >>> I've just switched to gcc 4.3.4 from 4.1.2 using gcc-config tool. I >>> don't >>> want to rebuild any package now. As time goes on my packages will be >>> compiled with new version. I hope that after a few month there will be >>> only a number of packages not compiled with a new gcc. Then I want to >>> recompile them on demand including libtool if necessary. >>> >>> Do you think my plan have a chance to succeed. >>> >> Yes. >> >> Why do you think you would even need to get into a long compile? Have >> you been >> reading that GCC Upgrade Guide at gentoo.org? You know, the one that >> is so >> flat out wrong on so many levels? >> >> > > I recently upgraded my gcc and I must confess, I did do a emerge -e > system. Is it needed, nope. > > OP, Alan is correct on this. You don't really need to re-emerge > everything. If, like me, you want to be on the safe side, just do a > emerge -e system and let the rest recompile as you update. > > Another good thing about this way, if this version of gcc causes you > trouble, you can downgrade and only have to re-emerge system. ;-) I > did upgrade gcc once and had serious issues with it. Wouldn't compile a > kernel, programs crashing and other weird things. After a downgrade, > all went back to normal. The only thing worse than a emerge -e world is > having to do it twice. LOL And to play devil's advocate, I'll chime in with my experience. The 4.4 GCC, at least on AMD CPUs, creates noticeably faster code. I recompiled all my packages after I upgraded to 4.4 and it was a *noticeable* difference. But, to make perfectly clear what Alan and Dale have stated previously, it is not a requirement to recompile anything. The binaries that are created still call the same system calls as they did before. The kernel still publishes them in the same locations. And to prove to yourself this is true, grab a statically linked binary, compiled for a stock standard i686, and run it on your machine.