LTO on newlib targets w/o Gold
Dave Korn
dave.korn.cygwin@gmail.com
Tue Feb 1 10:29:00 GMT 2011
On 01/02/2011 02:33, Joel Sherrill wrote:
> Hi,
>
> There are ~100 failures on each *-rtems* target
> in the latest test runs when various lto related
> flags are on. The symbols in questions are in the
> RTEMS libraries which are picked up via the
> -B... argument. Other symbols from the same
> library are resolved.
These have all cropped up since -fuse-linker-plugin became the default.
> Should LTO work with a target not using gold?
Yes, it should, but some work is needed at the binutils end. I am testing
the attached two patches at the moment; the idea is to have fully-debugged
support for LTO+plugin in the 2.20.1 release, to support 4.6.0 when it comes out.
cheers,
DaveK
--
Apologies if dup - ENOPATCH first time I hit send.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 001ld-plugin-api-link-order.diff
Type: text/x-c
Size: 8873 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20110201/c61cc83e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 002ld-plugin-api-rescan-libs.diff
Type: text/x-c
Size: 3555 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20110201/c61cc83e/attachment-0001.bin>
More information about the Gcc
mailing list