This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch lto-plugin]: Part 2 for PR lto/47225 - [4.6 regression]: cross-compile fails while configuring libgcc with "xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found"
2011/2/7 Andreas Krebbel <krebbel@linux.vnet.ibm.com>:
>> I applied it at revision 169877 with the Wl variant. I looks more sane to me.
>>
>> 2011-02-07 ?Kai Tietz ?<kai.tietz@onevision.com>
>>
>> ? ? ? ? PR lto/47225
>> ? ? ? ? * Makefile.am (Wl): New helper for encoding -Wl,.
>> ? ? ? ? (liblto_plugin_la_LIBADD): Use -Wl for libiberty library.
>> ? ? ? ? * Makefile.in: Regenerated.
>
> S/390 bootstrap seems to fail with this patch:
>
> make[3]: *** No rule to make target `-Wl,../libiberty/pic/libiberty.a', needed by
> `liblto_plugin.la'. ?Stop.
>
> -Andreas-
>
Hmm, so it adds it to dependency. Feel free to revert the patch, I'll
try to rework it. Does it make any difference here, if the initial '-'
is put before $(Wl) and the leading minus is removed from Wl
definition?
I am a bit puzzled as it worked for me.
Regards,
Kai