[PATCH] Make LTO tests that require recent binutils UNSUPPORTED with older ones (PR lto/86004)

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Tue Dec 11 09:41:00 GMT 2018


Hi Jakub,

> On Tue, Dec 11, 2018 at 08:52:12AM +0100, Rainer Orth wrote:
>> Hi Jakub,
>> 
>> > As mentioned in the PR, older binutils (like 2.25) complain on these tests
>> > when using -r that:
>> > plugin needed to handle lto object
>> > The following patch introduces an effective target and guards those tests on
>> > a linker with this issue fixed.
>> >
>> > Regtested on x86_64-linux and i686-linux, plus regtested on x86_64-linux
>> > with 2.25 binutils, where the patch converts all those FAILs into
>> > UNSUPPORTEDs.
>> >
>> > Ok for trunk?
>> 
>> please document the new effective-target keyword in sourcebuild.texi.
>
> So like this?

ok, thanks.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University



More information about the Gcc-patches mailing list