This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/50349] /usr/bin/ld: warning: wildcard match appears in both version 'GLIBCXX_3.4' and 'CXXABI_1.3' in script
- From: "pluto at agmk dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Feb 2012 23:10:34 +0000
- Subject: [Bug libstdc++/50349] /usr/bin/ld: warning: wildcard match appears in both version 'GLIBCXX_3.4' and 'CXXABI_1.3' in script
- Auto-submitted: auto-generated
- References: <bug-50349-4@http.gcc.gnu.org/bugzilla/>
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.