[Bug target/49992] lto-bootstrap reveals duplicate symbols on x86_64-apple-darwin11
iains at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 22 11:21:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49992
--- Comment #54 from Iain Sandoe <iains at gcc dot gnu.org> 2011-09-22 11:01:05 UTC ---
(In reply to comment #53)
> (In reply to comment #52)
> > Created attachment 25336 [details]
> > remove ranlib special casing from the darwin port
> >
> > [...]
> >
> > I would appreciate some help with testing on Darwin 11 and with lto-bootstraps
> > on Darwin 10 (since my resources are stretched to the limit right now).
>
> Is this patch supposed to fix the duplicate symbol issues? On Darwin 11.1 I
> still get (also with the patch):
yes (assuming that those problems are still the result of the common symbols).
>
> ld: duplicate symbol _trim_filename in libcommon.a(diagnostic.o) and errors.o
> for architecture x86_64
The patch is in the standard form for submission - you will need to regenerate
configure and gcc/configure (or it will have essentially no effect).
I use:
autoconf -I. -Iconfig (in the root)
and
autoconf -I. -I.. -I../config (in ./gcc)
you must use autoconf etc. as per the GCC pre-requisites;
More information about the Gcc-bugs
mailing list