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: "bkoz at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 21 Feb 2012 23:50:01 +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
Benjamin Kosnik <bkoz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|4.7.0 |---
--- Comment #6 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2012-02-21 23:50:01 UTC ---
Fixed:
/mnt/share/bin/H-x86_64-binutils.20120220-gold/bin/ld: warning: wildcard match
appears in both version 'GLIBCXX_3.4' and 'CXXABI_1.3' in script
/mnt/share/bin/H-x86_64-binutils.20120220-gold/bin/ld: warning: wildcard match
appears in both version 'CXXABI_1.3' and 'CXXABI_TM_1' in script
With patch.
The rest:
/mnt/share/bin/H-x86_64-binutils.20120220-gold/bin/ld: warning: using
'GLIBCXX_3.4' as version for
'_ZNKSt15basic_stringbufIwSt11char_traitsIwESaIwEE3strEv' which is also named
in version 'GLIBCXX_3.4.6' in script
/mnt/share/bin/H-x86_64-binutils.20120220-gold/bin/ld: warning: using
'GLIBCXX_3.4' as version for '_ZNKSs11_M_disjunctEPKc' which is also named in
version 'GLIBCXX_3.4.5' in script
/mnt/share/bin/H-x86_64-binutils.20120220-gold/bin/ld: warning: using
'GLIBCXX_3.4' as version for
'_ZNKSbIwSt11char_traitsIwESaIwEE11_M_disjunctEPKw' which is also named in
version 'GLIBCXX_3.4.5' in script
are correct warnings, but the symbols are correct. This is symbol hiding, and
gold warns for this but GNU ld does not. Doesn't matter, binary is still the
same.