[Bug libstdc++/50349] /usr/bin/ld: warning: wildcard match appears in both version 'GLIBCXX_3.4' and 'CXXABI_1.3' in script
pluto at agmk dot net
gcc-bugzilla@gcc.gnu.org
Thu Feb 16 23:13:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50349
--- Comment #3 from Pawel Sikora <pluto at agmk dot net> 2012-02-16 23:10:34 UTC ---
(In reply to comment #1)
> I am unable to reproduce this on F16,
>
> GNU ld version 2.21.53.0.1-6.fc16 20110716
> Copyright 2011 Free Software Foundation, Inc.
>
> Can you give me some more information about your ld, and include any special
> flags used to get the warnings. Thanks.
you need to use ld-gold for gcc build and configure gcc with
--enable-symvers=gnu.
the problem is in the libstdc++-v3/config/abi/pre/gnu.ver:
grep shows duplicated lines:
gnu.ver: _ZNKSs11_M_disjunctEPKc;
gnu.ver: _ZNKSbIwSt11char_traitsIwESaIwEE11_M_disjunctEPKw;
gnu.ver: _ZNKSs11_M_disjunctEPKc;
gnu.ver: _ZNKSbIwSt11char_traitsIwESaIwEE11_M_disjunctEPKw;
full build log attached.
More information about the Gcc-bugs
mailing list