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.