This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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"
- From: "ktietz at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 7 Feb 2011 19:37:46 +0000
- Subject: [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"
- Auto-submitted: auto-generated
- References: <bug-47225-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47225
--- Comment #26 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-02-07 19:37:16 UTC ---
(In reply to comment #23)
> Kai?
>
> make[1]: Entering directory
> `/home/tschwinge/tmp/gnu-Elephant_Bird/src/gcc.obj/lto-plugin'
> /bin/sh ./libtool --tag=CC --tag=disable-static --mode=compile gcc
> -DHAVE_CONFIG_H -I. -I/home/tschwinge/tmp/gnu-Elephant_Bird/src/gcc/lto-plugin
> -I/home/tschwinge/tmp/gnu-Elephant_Bird/src/gcc/lto-plugin/../include
> -DHAVE_CONFIG_H -Wall -Werror -g -O2 -c -o lto-plugin.lo
> /home/tschwinge/tmp/gnu-Elephant_Bird/src/gcc/lto-plugin/lto-plugin.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I.
> -I/home/tschwinge/tmp/gnu-Elephant_Bird/src/gcc/lto-plugin
> -I/home/tschwinge/tmp/gnu-Elephant_Bird/src/gcc/lto-plugin/../include
> -DHAVE_CONFIG_H -Wall -Werror -g -O2 -c
> /home/tschwinge/tmp/gnu-Elephant_Bird/src/gcc/lto-plugin/lto-plugin.c -fPIC
> -DPIC -o .libs/lto-plugin.o
> make[1]: *** No rule to make target `-Wl,../libiberty/pic/libiberty.a',
> needed by `liblto_plugin.la'. Stop.
> make[1]: Leaving directory
> `/home/tschwinge/tmp/gnu-Elephant_Bird/src/gcc.obj/lto-plugin'
Could you please test attached patch at
http://gcc.gnu.org/ml/gcc-patches/2011-02/msg00469.html that it works for you?
Thanks,
Kai