> 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