This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/49992] lto-bootstrap reveals duplicate symbols on x86_64-apple-darwin11
- From: "iains at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 9 Aug 2011 11:56:49 +0000
- Subject: [Bug lto/49992] lto-bootstrap reveals duplicate symbols on x86_64-apple-darwin11
- Auto-submitted: auto-generated
- References: <bug-49992-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49992
--- Comment #16 from Iain Sandoe <iains at gcc dot gnu.org> 2011-08-09 11:56:33 UTC ---
(In reply to comment #12)
> (In reply to comment #10)
> > This is radar://6320843 "duplicate symbols from static libraries not properly
> > ignored" revisiting us...
>
> hm I doubt it.
> Check the Makefiles for darwin11 - but, on x86_64-darwin10, RANLIB is "ranlib"
> without the "-c".
well, apologies - it DOES seem to be this issue.
libcommon.a , libbackend.a amd libcommon-target.a are being "ranlib -c".
(these appear to be the only cases).
diagnostics.o is forced in by resolving ___gnu_lto_v1.
RANLIB_FLAGS is (intentionally) to "-c" by gcc/configure on *-*-darwin*
so .. we need to figure out what to do next - there's no comment on what
problem was solved by adding the "-c" in configure - only that it makes
darwin's ranlib do the same as others.