Gentoo Archives: gentoo-user

From: Albert Hopkins <marduk@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Upgrading GCC (just to be sure)...
Date: Mon, 30 Mar 2009 18:05:15
Message-Id: 1238436332.9300.2.camel@localhost.localdomain
In Reply to: [gentoo-user] Upgrading GCC (just to be sure)... by Jarry
1 On Mon, 2009-03-30 at 19:56 +0200, Jarry wrote:
2 > Hi,
3 >
4 > today after syncing I found new version of GCC being available,
5 > "emerge --pretend --update --deep --newuse world" shows:
6 >
7 > [ebuild NS ] sys-devel/gcc-4.3.2-r3 [4.1.2] USE="..."
8 >
9 > I found a "Gentoo GCC Upgrade Guide", but it deals with GCC 3.x,
10 > or 3.x->4.x. Should I follow that guide when upgrading 4.x version
11 > of GCC too? In a summary, the upgrade guide recommends this way:
12 >
13 > # emerge -uav gcc
14 > # gcc-config x86_64-pc-linux-gnu-4.3.2-r3
15 > # env-update && source /etc/profile
16 > # emerge --oneshot -av libtool
17 > # emerge -eav system
18 > # emerge -eav world
19 > # emerge -aC =sys-devel/gcc-4.1.2
20 >
21 > I'm asking just to be sure, because I have such a bad feeling,
22 > that screwing up gcc upgrade might render my system unusable...
23
24 You're going from a 4.x to a 4.x... it's a relatively minor upgrade, not
25 like going from 3.x to 4.x. If you're that paranoid, keep 4.1.2 around
26 or create a quickpkg until they drop.