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/48180] '-fuse-linker-plugin' doesn't work.


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48180

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-18 14:38:26 UTC ---
(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.

> And If I compile binutils, will I be able to use '-fuse-linker-plugin'?

No, upstream GNU binutils do not have complete support for Mach-O.


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