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 #15 from Iain Sandoe <iains at gcc dot gnu.org> 2011-08-09 10:17:45 UTC ---
ld doesn't "ignore" anything - the rules it is (supposed) to use are there in
"man ld".

however suppose:

object.o : contains (public) symbols foo and bar

library.a : contains (public) symbols baz and bar in module mod.

if a link line causes foo to be resolved from object.o and baz from library.a
then there _WILL_ be two versions of bar.


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