From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3362 invoked by alias); 16 Feb 2012 23:12:13 -0000 Received: (qmail 3350 invoked by uid 22791); 16 Feb 2012 23:12:12 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_GM X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 16 Feb 2012 23:11:26 +0000 From: "pluto at agmk dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/50349] /usr/bin/ld: warning: wildcard match appears in both version 'GLIBCXX_3.4' and 'CXXABI_1.3' in script Date: Thu, 16 Feb 2012 23:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pluto at agmk dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-02/txt/msg01740.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50349 --- Comment #3 from Pawel Sikora 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.