"ld -r" on mixed IR/non-IR objects (

Andi Kleen andi@firstfloor.org
Mon Dec 6 22:43:00 GMT 2010


> Hi,
>
> "ld -r" doesn't work with mixed IR/non-IR objects:
>
> http://www.sourceware.org/bugzilla/show_bug.cgi?id=12291

There are various bugs for it in gcc bugzilla too.

> Some compilers support it. Should it be supported?

Yes. I've been working on it (slim lto was the first part needed for it,
without slim lto it's imho hopeless)

But it's going slow for various reasons. Right now I'm not optimistic
4.6 will support it, which implies it won't be able to build a linux kernel
with LTO.

-Andi



More information about the Binutils mailing list