Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350848 - using gcc 4.3.4 as default works, changing to gcc 4.4.4-rc2 i get /lib/libstdc++.so.6: issues
Summary: using gcc 4.3.4 as default works, changing to gcc 4.4.4-rc2 i get /lib/libstd...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-06 18:49 UTC by Joachim Schiele
Modified: 2011-01-09 23:31 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 Joachim Schiele 2011-01-06 18:49:09 UTC
i've been using gcc 4.3.4 and recently i fixed my world file and afterwards i did my first: emerge --depclean

i checked the list but did not see gcc 4.3.4 (as a removal candidated). so afterwards it was gone and i had only gcc 4.4.4-rc2 installed.

as i had no default compiler anymore, there was no gcc and emerge stopped working. so:

gcc-config -l
[1] x86_64-pc-linux-gnu-4.4.4
gcc-config -f 1

source /etc/profile

so i run:
fix_libtool_files.sh 4.3.4 

afterwards i updated some programs but soon i discovered multiple system failures as for instance:

emerge -e world did break for several packages, as:
app-accessibility/festival app-accessibility/speech-dispatcher app-text/texlive-core gnome-base/gconf media-gfx/blender media-libs/gegl media-sound/jack-audio-connection-kit media-sound/qjackctl net-im/psimedia x11-libs/libnotify x11-misc/notification-daemon x11-themes/gtk-engines-xfce

emerge qt-core (failed):
/var/tmp/portage/x11-libs/qt-core-4.6.3/work/qt-everywhere-opensource-src-4.6.3/bin/qmake: /lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /var/tmp/portage/x11-libs/qt-core-4.6.3/work/qt-everywhere-opensource-src-4.6.3/bin/qmake)

emerge eix (worked, but see runtime)
eix -e eix
eix: /lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by eix)

# mplayer organpreludecd* (failed at runtime)
mplayer: /lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/libdirac_encoder.so.0)
mplayer: /lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/libdirac_decoder.so.0)

# konqueror
konqueror: /lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libstreamanalyzer.so.0)
konqueror: /lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libstreams.so.0)

i was searching for the issue quite some time. someone from #gentoo-sunrise recommended me to emerge -e system; emerge -e world but afterwards i got even more issues.

finally i decided to reinstall the gcc 4.3.4 because i thought the compiler issue could have been caused by just removing gcc 4.3.4 instead of proper upgrading (according to the gcc update manual).

after installation of gcc 4.3.4 finished, i changed the compiler, recompiled eix and i was able to use eix!

right now i'm recompiling my whole system and later world, with the old compiler gcc 4.3.4 (which works).

using gcc 4.4.4-rc2 i produced this:
#  objdump -T /lib/libstdc++.so.6 | grep GLIBCXX_3.4 | awk '{print $6}' | sort | uniq
(GLIBCXX_3.4)
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.10
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9



Reproducible: Always
Comment 1 Rafał Mużyło 2011-01-06 19:13:03 UTC
Seems your system is broken - there should be no such thing as /lib/libstdc++.so.6.
libstdc++ resides in /usr/lib/gcc/i686-pc-linux-gnu/<gcc version>/
(well, on x86 it does).