[Bug lto/49992] lto-bootstrap reveals duplicate symbols on x86_64-apple-darwin11

howarth at nitro dot med.uc.edu gcc-bugzilla@gcc.gnu.org
Mon Aug 8 23:00:00 GMT 2011


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.



More information about the Gcc-bugs mailing list