Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94966 - upgrade to gcc-3.4.4 from gcc-3.4.3-20050110-r{x} causes emerge failure
Summary: upgrade to gcc-3.4.4 from gcc-3.4.3-20050110-r{x} causes emerge failure
Status: RESOLVED DUPLICATE of bug 84961
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-03 18:03 UTC by Guy
Modified: 2005-06-04 00:52 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 Guy 2005-06-03 18:03:32 UTC
I don't have the ability to re-open bug 94959 which is marked as RESOLVED -
DUPLICATE of another bug.

The reporter of bug 94959 did not completely understand the real issue. {He
admits to a foggy memory}

The problem is that after the upgrade to gcc-3.4.4 is complete, gcc-config needs
to be run to point to i686-pc-linux-gnu-3.4.4{-hardened*}. Instead, the
completion of the emerge of gcc-3.4.4 leaves gcc-config pointing to
i686-pc-linux-gnu-3.4.3{-hardened*}. This means that the next emerge determines
that the C compiler cannot make executables because it can't find libstdc++.so.6.

Solution:

# gcc-config i686-pc-linux-gnu-3.4.4

or -hardened {nopie, nopiessp, nossp} as per your own configuration.

Reproducible: Always
Steps to Reproduce:
emerge gcc-3.4.4 arts-3.4.1


Expected Results:  
The gcc-3.4.4 should reset the appropriate environmental variable
Comment 1 Guy 2005-06-03 18:14:20 UTC
Please note that the next emerge following the emerge of gcc-3.4.4 will generate
different errors depending on it's ebuild. For example:

# emerge gcc-3.4.4 vanilla-sources

The emerge of vanilla-sources will abort with a message indicating that it can't
write files. This means that different people will most likely report completely
different problems with the same root cause.
Comment 2 André Terpstra 2005-06-04 00:13:46 UTC
There are various threads about this error, e.g.
http://forums.gentoo.org/viewtopic-t-344483.html
They als mention creating a symbolic link before gcc-config is possible. I can
confirm that this method works.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-06-04 00:52:28 UTC

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