Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41165 - problem upgrading gcc from 3.2.3-r3 to 3.3.2-r5
Summary: problem upgrading gcc from 3.2.3-r3 to 3.3.2-r5
Status: RESOLVED DUPLICATE of bug 40955
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-10 14:08 UTC by William Hubbs
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 William Hubbs gentoo-dev 2004-02-10 14:08:50 UTC
A few days ago, when gcc-3.3.2-r5 went stable, I did the upgrade.  Then I got the dreaded error message about python not being able to load libstdc++.

I fixed this ok, then looked around on my system and found the following:

In the gcc-3.3.2-r5 ebuild, slot is set to 3.2.
Also, in the log for the gcc 3.3.2 installation it appears that
gcc-config didn't work -- here is the output from that.

postinst
/usr/sbin/gcc-config: Could not source /etc/init.d/functions.sh!
 * Scannig libtool files for hardcoded gcc library paths...

If I could hazzard a guess at what happened, when I did the upgrade, gcc-3.3.2-r5 was merged successfully, then gcc-config was unable to change the gcc compiler profile, so the system was still configured to use gcc 3.2.3-r3.  Then gcc-3.2.3-r3 was unmerged, which left the system unable to find the c++ library.


Reproducible: Always
Steps to Reproduce:
1.  start with a system that has gcc-3.2.3-r3 installed.
2.  upgrade to gcc-3.3.2-r5
3.

Actual Results:  
Nothing that was written in c++ would run; the system could not load the 
libstdc++.so.5 shared library.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-02-10 23:09:44 UTC

*** This bug has been marked as a duplicate of 40955 ***