[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"
aoliva at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Feb 12 12:06:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47225
--- Comment #41 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-02-12 12:02:27 UTC ---
Author: aoliva
Date: Sat Feb 12 12:02:24 2011
New Revision: 170070
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170070
Log:
ChangeLog:
PR lto/47225
* Makefile.def (lto-plugin): Double dash for enable-shared.
(configure-gcc): Depend on all-lto-plugin.
* Makefile.in: Rebuilt.
lto-plugin/ChangeLog:
PR lto/47225
* Makefile.am (gcc_build_dir, in_gcc_libs): New.
(liblto_plugin_la_LDFLAGS): Add -module.
(copy_lto_plugin): Renamed to...
($(in_gcc_libs)): ... this. Add mkinstalldirs. Skip copying
of static modules.
* Makefile.in: Rebuild.
gcc/ChangeLog:
PR lto/47225
* configure.ac (gcc_cv_lto_plugin): Test for liblto_plugin.la
in the current directory.
* configure: Rebuilt.
Modified:
trunk/ChangeLog
trunk/Makefile.def
trunk/Makefile.in
trunk/gcc/ChangeLog
trunk/gcc/configure
trunk/gcc/configure.ac
trunk/lto-plugin/ChangeLog
trunk/lto-plugin/Makefile.am
trunk/lto-plugin/Makefile.in
More information about the Gcc-bugs
mailing list