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 10:17: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 #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.