Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359017 - kdelibs 4.6.1-r1 compile error
Summary: kdelibs 4.6.1-r1 compile error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: Normal major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-15 13:30 UTC by Rob Davis
Modified: 2011-03-15 16:48 UTC (History)
0 users

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


Attachments
build.log (build.log,173.45 KB, text/plain)
2011-03-15 13:31 UTC, Rob Davis
Details
emerge --info (info,4.83 KB, text/plain)
2011-03-15 13:32 UTC, Rob Davis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Davis 2011-03-15 13:30:58 UTC
After emerge --update world, the latest version of kdelibs won't compile, thus blocking kde 2.6.1

Reproducible: Always
Comment 1 Rob Davis 2011-03-15 13:31:47 UTC
Created attachment 265957 [details]
build.log
Comment 2 Rob Davis 2011-03-15 13:32:18 UTC
Created attachment 265959 [details]
emerge --info
Comment 3 Rafał Mużyło 2011-03-15 13:43:28 UTC
/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1_build/bin/icemaker)

Don't downgrade gcc nor switch to a lower version after you've done emerges with it.
It doesn't affect C programs, but for C++ the result is like above.
Comment 4 Rob Davis 2011-03-15 14:08:46 UTC
Ok, wasn't aware I had done this...

How do I fix it?
Comment 5 Rob Davis 2011-03-15 15:14:16 UTC
Ok found an old copy of libstdc++.so.6 in /usr/lib.. Not sure how it got there.  Moved it and it seems to compile..
Comment 6 Rafał Mużyło 2011-03-15 16:48:21 UTC
(In reply to comment #5)
> Ok found an old copy of libstdc++.so.6 in /usr/lib.. Not sure how it got there.
>  Moved it and it seems to compile..

It seems you want to really break your system.
You should have either used gcc-config to switch to that recent version or revdep-rebuild...well, just about everything that used libstdc++ and was merged while you've used the more recent gcc.