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: "howarth at nitro dot med.uc.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 8 Aug 2011 23:00:30 +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 #13 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-08-08 22:59:56 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".
It would still be a form of the problem regardless of whether -c is involved. A
normal unix linker should ignore the symbols from a static library in favor of
those from the object files. This obviously still isn't the case under darwin'c
current linker.