Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146857 - Add notice about transition from gcc 3.3 -> 4.1 to chapter 1 in gcc upgrading guide
Summary: Add notice about transition from gcc 3.3 -> 4.1 to chapter 1 in gcc upgrading...
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jan Kundrát (RETIRED)
URL: http://www.gentoo.org/doc/en/gcc-upgr...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-08 11:24 UTC by Bo Ørsted Andresen (RETIRED)
Modified: 2006-09-13 16:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bo Ørsted Andresen (RETIRED) gentoo-dev 2006-09-08 11:24:22 UTC
From e.g. [1] I can read the following (written by amne):

"Using revdep-rebuild is not as safe as really rebuilding all packages, and only worked for the 3.3->3.4 transition. It is not intended for the update to 4.1."

Yet the heading of chapter 3 in the official gcc upgrade guide says:

"3. Upgrading from GCC-3.3 to 3.4 or greater"

Now one could argue that gcc-4.1.x is indeed greater than 3.4...

Hence I suggest changing that header to:

"3. Upgrading from GCC-3.3.x to 3.4.x"

[1] http://forums.gentoo.org/viewtopic-t-493662.html
Comment 1 Wernfried Haas (RETIRED) gentoo-dev 2006-09-08 11:48:38 UTC
You're partly right, but if you upgrade from 3.3 to 4.1 (which is greater than 3.4), you need to follow the instructions for upgrading from 3.3, not the general ones.
In "the choices" it says "If you upgrade from gcc 3.3 to 4.1, do not use the method based on revdep-rebuild, but do a complete system rebuild" which is described below (and still belongs to the 3.3 to 4.1 chapter).
Perhaps this can be made more clear somehow, but the header itself is correct here.
Comment 2 Bo Ørsted Andresen (RETIRED) gentoo-dev 2006-09-08 11:55:15 UTC
I see. I was filing this bug because of users having problems with upgrades from 3.3 to 4.1.x. But now I see that it is actually written there. Just have to read every letter in order to avoid confusion..
Comment 3 Wernfried Haas (RETIRED) gentoo-dev 2006-09-08 12:11:04 UTC
Thanks Bo, still probably a good idea to improve that.

I suppose it couldn't hurt to put "If you upgrade from gcc 3.3 to 4.1, do not use the method based on revdep-rebuild, but do a complete system rebuild" into <impo> tags - docs team, could someone take care of it?
Comment 4 Bo Ørsted Andresen (RETIRED) gentoo-dev 2006-09-08 12:15:52 UTC
Yeah, perhaps copying the sentence from chapter 3 that says:

"If you upgrade from gcc 3.3 to 4.1, do not use the method based on revdep-rebuild, but do a complete system rebuild. [1]"

[1] http://www.gentoo.org/doc/en/gcc-upgrading.xml#upgrade-3.3-to-3.4-emerge-e

to the bottom of chapter 1 in an important box would make it less confusing.
Comment 5 Jan Kundrát (RETIRED) gentoo-dev 2006-09-13 07:43:18 UTC
Fixed in CVS, thanks for reporting.
Comment 6 Bo Ørsted Andresen (RETIRED) gentoo-dev 2006-09-13 14:02:19 UTC
Sorry, I should have changed the topic sooner. Hope this topic is appropriate...
Comment 7 Bo Ørsted Andresen (RETIRED) gentoo-dev 2006-09-13 14:07:47 UTC
Gah.. Chapter 1 that is.
Comment 8 Jan Kundrát (RETIRED) gentoo-dev 2006-09-13 16:21:05 UTC
Okay, so I have included the instructions from a situation where we're upgrading from 3.3 to 4.1 in the *general*, not the 3.3->3.4 specific instructions. Also added a blurb about libstdc++-v3. Hope it's all correct now. Thanks to amne & zlin for explaining.