From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11150 invoked by alias); 9 Aug 2011 14:50:49 -0000 Received: (qmail 11136 invoked by uid 22791); 9 Aug 2011 14:50:47 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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; Tue, 09 Aug 2011 14:50:34 +0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/49992] lto-bootstrap reveals duplicate symbols on x86_64-apple-darwin11 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW 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 Date: Tue, 09 Aug 2011 14:50:00 -0000 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: 2011-08/txt/msg00954.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49992 --- Comment #23 from Iain Sandoe 2011-08-09 14:49:19 UTC --- (In reply to comment #22) > or more correctly just... > > Index: gcc/configure.ac > =================================================================== > --- gcc/configure.ac (revision 177598) > +++ gcc/configure.ac (working copy) > @@ -821,11 +821,8 @@ gcc_AC_PROG_LN_S > ACX_PROG_LN($LN_S) > AC_PROG_RANLIB > case "${host}" in > -*-*-darwin*) > - # By default, the Darwin ranlib will not treat common symbols as > - # definitions when building the archive table of contents. Other > - # ranlibs do that; pass an option to the Darwin ranlib that makes > - # it behave similarly. > +*-*-darwin[[3-9]]*) > +# ranlib before Darwin10 requires the -c flag to look at common symbols. > ranlib_flags="-c" > ;; > *) well, I don't see that darwin 9 does anything different from darwin 10 in this respect (and I wonder if darwin 8 does either). and ... watch out for the first case matching all darwin ;-) and the second never firing.