This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]