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 1RQOp9-0004ap-Tl for garchives@archives.gentoo.org; Tue, 15 Nov 2011 19:37:41 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 849AB21C0D0; Tue, 15 Nov 2011 19:37:29 +0000 (UTC) Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 27FC621C040 for ; Tue, 15 Nov 2011 19:36:32 +0000 (UTC) Received: by faan15 with SMTP id n15so921065faa.40 for ; Tue, 15 Nov 2011 11:36:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=RJZ8HRTa2Km2MG28pTfbCc1r6xgwlzLT/fMcx44JLDc=; b=XpKIkMRnT4RvNEJOVy4vcWTWRztlfOkv3X41rbE45dSdHv6+XQsq8Sz9QQAhUR2fDu BHH5oVAl4mQqNf9u3Gzy9jkDw63IP3Wo2ABk2WM7yB5pIAc2tobcRX0L6rvlDKBI3q07 +GggMCaPuEpQSZnFgp1jkElt+cBmt0oI+w1ag= Received: by 10.204.154.151 with SMTP id o23mr25136594bkw.62.1321385792201; Tue, 15 Nov 2011 11:36:32 -0800 (PST) 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 Received: by 10.223.96.199 with HTTP; Tue, 15 Nov 2011 11:36:11 -0800 (PST) In-Reply-To: <4EC2B642.3010500@gmail.com> References: <4EC2B642.3010500@gmail.com> From: Andrey Moshbear Date: Tue, 15 Nov 2011 14:36:11 -0500 Message-ID: Subject: Re: [gentoo-user] Upgrading gcc: both 4.4 and 4.5 needed? To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 038f9bbc-20b1-4528-849c-e537c6c34d9b X-Archives-Hash: 6d80a13945d136ba3ab722b083e112de On Tue, Nov 15, 2011 at 13:58, Jarry wrote: > Hi, > today I upgraded gcc from 4.4.5 to the last stable version > 4.5.3-r1. I followed "Gentoo GCC Upgrade Guide": > > # emerge -uav gcc > # gcc-config 2 > # env-update && source /etc/profile > # emerge --oneshot libtool > > # emerge --depclean > # revdep-rebuild > > But at the and I noticed gcc 4.4 has not been unmerged > and my "world" file is somehow larger. To my surprise, > it contains these lines: > > sys-devel/gcc > sys-devel/gcc:4.4 > > I did full backup before, so I compared world-file before > and after gcc-upgrade just to find out, these two lines > have been really inserted now, during gcc-upgrade. And my > question is: what does it mean? Does my system need now > both gcc 4.4 and 4.5? Why is actually gcc in world-file, > when it is part of system? > Because your forgot the -1 / --oneshot flag when manually upgrading gcc. However, in system, multiple gcc slots do not exist, so if you need gcc:4.4 for backwards compatibility or gcc:4.6 for forwards compatibility, it'll show up in your world file.