Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180674 - x11-wm/fluxbox, net-misc/smb4k, x11-misc/slim, ... fail to compile: undefined references: std::<operator>
Summary: x11-wm/fluxbox, net-misc/smb4k, x11-misc/slim, ... fail to compile: undefined...
Status: RESOLVED DUPLICATE of bug 64615
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://www.lyndir.com/stuff/fluxbox
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-02 23:33 UTC by Maarten Billemont
Modified: 2007-06-05 18:20 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 Maarten Billemont 2007-06-02 23:33:32 UTC
See URL for details.

See http://www.lyndir.com/stuff/info for emerge --info

Basically, a massive repetition of errors such as this:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/basic_string.h:230: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'



Reproducible: Always

Steps to Reproduce:
Comment 1 Maarten Billemont 2007-06-02 23:36:13 UTC
Already tried recompiling with CXXFLAGS=$CFLAGS and these problems existed even before the existance of my LDFLAGS.  Also tried recompiling the toolchain before recompiling this package; all with the default CXXFLAGS.

.. Didn't try emerge -e world with the default CXXFLAGS, but unless there is an understandable reason behind suggesting this; I find this solution quite rediculous (it was suggested to me in #gentoo).
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-06-03 07:55:32 UTC
http://www.gentoo.org/doc/en/gcc-upgrading.xml

*** This bug has been marked as a duplicate of bug 64615 ***
Comment 3 Maarten Billemont 2007-06-04 16:27:03 UTC
Did:

emerge -1 libtool sys-libs/libstdc++-v3 && revdep-rebuild --library libstdc++.so.5

Problem unresolved.


Did:

/var/db/pkg # grep '^GCC_PATH' <(bunzip2 -c */*/environment.bz2)

Returns GCC_PATH=/usr/i686-pc-linux-gnu/gcc-bin/4.1.2 for ALL packages.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-06-04 16:31:31 UTC
(In reply to comment #3)
> Problem unresolved.

You should re-read the howto, first of all. Then follow it.



*** This bug has been marked as a duplicate of bug 64615 ***
Comment 5 Maarten Billemont 2007-06-05 16:19:21 UTC
I just did an emerge -e system which compiled about 300 packages.
After that, slim still did not compile (same errors).  emerge -e slim does not contain any packages that were not recompiled with emerge -e system (except for coreutils which is totally irrelevant).

Now, either you were too quick to judge this bug or I lack the understanding to see what you mean for me to do by telling me to follow that howto.  Either way, this bug needs closer attention.  In the latter case, try to be a little less abstract.

fix_libtool_files.sh 3.4.6; fix_libtool_files.sh 4.1.1 does not find anything in need of fixing; just in case it's relevant.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-06-05 18:20:17 UTC
Please, stop reopening this bug; the issue is your broken gcc upgrade, not the ebuilds. Leave this alone; thanks.

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