This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: "ld -r" on mixed IR/non-IR objects (
- From: "Andi Kleen" <andi at firstfloor dot org>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: "GCC Development" <gcc at gcc dot gnu dot org>, "Andi Kleen" <andi at firstfloor dot org>, "H. Peter Anvin" <hpa at zytor dot com>, "Binutils" <binutils at sourceware dot org>
- Date: Mon, 6 Dec 2010 23:43:34 +0100
- Subject: Re: "ld -r" on mixed IR/non-IR objects (
- References: <AANLkTin0Zt5Ae9o73prUd7S3JyoFDrqpsM1UVjv7UorS@mail.gmail.com>
> 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