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/47225] [4.6 regression]: cross-compile fails while configuring libgcc with "xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found"


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


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