[RFC][PATCH][ld][testsuite] Add -ffat-lto-objects option to some ld tests

Kyrill Tkachov kyrylo.tkachov@arm.com
Tue Nov 26 14:58:00 GMT 2013


Hi all,

I'm seeing some ld testsuite failures on arm-none-linux-gnueabi and 
aarch64-none-linux-gnu after a recent gcc commit (r205065) that set 
-fno-fat-lto-objects as the default:

PASS->FAIL: LTO 3 symbol
PASS->FAIL: PR ld/12758
PASS->FAIL: PR ld/12760
PASS->FAIL: PR ld/13183

It seems that these tests need -ffat-lto-objects, at least on arm and aarch64, 
but I'm not sure I understand the structure of these ld tests well.

Could someone please comment on whether this is the correct approach?
CC'ing H.J. since he wrote the lto.exp file.

If this is the correct way, ok for trunk?

Thanks,
Kyrill

[ld/testsuite/]
2013-11-26  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

     * ld-plugin/lto.exp: Add -ffat-lto-objects.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ld-lto-fat.patch
Type: text/x-patch
Size: 1344 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20131126/9b4e6081/attachment.bin>


More information about the Binutils mailing list