This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/48180] '-fuse-linker-plugin' doesn't work.
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 18 Mar 2011 14:40:25 +0000
- Subject: [Bug lto/48180] '-fuse-linker-plugin' doesn't work.
- Auto-submitted: auto-generated
- References: <bug-48180-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48180
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-18 14:40:23 UTC ---
(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > LTO is not enabled by default on x86_64-apple-darwin10 and the apple linker
> > > does not support a linker plugin compatible with LTO.
> > >
> > > But yes, the error message could be improved to state this (no plugin
> > > compatible linker available) instead of complaining the way it does.
> >
> >
> > Should 'liblto_plugin.so' exist indeed?
> > Is this file created when compile gcc?
>
> I think it should exist, it is built and installed unconditionally. See
> the lto-plugin/ directory in your toplevel build directory.
I was wrong, lto-plugin only gets built for ELF targets and a small list
of extra targets that does not include x86_64-darwin10