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: "iains 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 21:03:54 +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 #30 from Iain Sandoe <iains at gcc dot gnu.org> 2011-02-07 21:03:02 UTC ---
(In reply to comment #29)
> (In reply to comment #28)
> > (In reply to comment #26)
> > > (In reply to comment #23)
> >
> > > Could you please test attached patch at
> > > http://gcc.gnu.org/ml/gcc-patches/2011-02/msg00469.html that it works for you?
> >
> > I guess the bug I'm seeing must be different;
> > ... applied the patch and still get:
> >
> > checking for suffix of object files... configure: error: in
> > `/GCC/cross-trees/cris-elf/cris-elf/libgcc':
> > configure: error: cannot compute suffix of object files: cannot compile
> > See `config.log' for more details.
> > make[1]: *** [configure-target-libgcc] Error 1
> > make: *** [all] Error 2
> >
> > apollo:cris-elf $ ls gcc/liblto_plugin.*
> > gcc/liblto_plugin.0.dylib gcc/liblto_plugin.dylib
> > gcc/liblto_plugin.la
> >
> > apollo:cris-elf $ ./gcc/xgcc -Bgcc ../../tests/trivial-0.c -S
> > xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
> > compilation terminated.
> >
> > after sym-linking gcc/liblto_plugin.dylib to gcc/liblto_plugin.so the compile
> > runs fine and the build completes.
>
> Well, maybe check if target defines LTOPLUGINSONAME correct.
hm. it's running on the host tho. OK - I'll have an investigate at some
point.