dirtyepic wrote:scratch that - it _was_ linking against an older libc++

after removing an old copy of 3.3.5 i had installed i got:
Code: Select all
error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
this seems to me like a bug in the eclass but i haven't been able to find it just yet. in the meantime, i've worked around it in /etc/env.d/gcc/i686-pc-linux-gnu-4.0.2-beta20050804.
Code: Select all
LDPATH="/usr/lib/gcc/i686-pc-linux-gnu/4.0.2-beta20050804/:/usr/lib/gcc/i686-pc-linux-gnu/4.0.2/"
I think it's pointless to have /usr/lib/gcc/i686-pc-linux-gnu/4.0.2-beta20050804 in the LDPATH at all. I only put /usr/lib/gcc/i686-pc-linux-gnu/4.0.2 in there and it works fine.
dirtyepic wrote:
is this something that should get filed in bugzilla?
I just saw this with your ebuild, I don't know if or how many other gcc builds are effected. But if it's an eclass issue than it should be filed in bugzilla of course.
dirtyepic wrote:
do any of the 3.x ebuilds have this behaviour?
At least gcc-3.4.4 and gcc-4.0.1 don't had this behaviour here. Maybe only beta GCCs show this behavior, i.e. if they put more than one dir into /usr/lib/gcc/i686-pc-linux-gnu. Then the wrong one ends in LDPATH.
BTW: I just recompiled some KDE stuff. The new gcc snapshot fixes some annoying segfaults I had with 4.0.1. Very nice.
