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: "henry0312 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 18 Mar 2011 14:51:04 +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 #5 from henry0312 at gmail dot com 2011-03-18 14:50:59 UTC ---
(In reply to comment #4)
> (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
OK, I see.
Thank you very much.