[Bug lto/47225] [4.6 regression]: cross-compile fails while configuring libgcc with "xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found"
bonzini at gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Feb 8 08:56:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47225
--- Comment #34 from Paolo Bonzini <bonzini at gnu dot org> 2011-02-08 08:06:28 UTC ---
Iain,
the correct fix is to add -module to the LTO plugin LDFLAGS. This changes the
extension from .dylib to .so.
More information about the Gcc-bugs
mailing list