[PATCH,trunk+2.21.1] Fix link order problem with LD plugin API.

Dave Korn dave.korn.cygwin@gmail.com
Sat Jan 29 04:11:00 GMT 2011


On 29/01/2011 02:05, H.J. Lu wrote:

> I run your patch on those new LTO tests. I got relevant failures:
> 
> FAIL: LTO 2
> FAIL: LTO 11
> FAIL: LTO 8
> 
> Your patch doesn't fix any failures and introduce a new one.

  It's not too bad.  The new fail is the assert firing where it can't find a
node to insert after when the only claimed objects come from a library; at the
moment it's checking the claimed flag only for the overall archive, which is
never set.  I'll just make it check the claimed flag for the archive members
and place the added files after the original archive in that case.

  LTO 2 passes both before and after on PE-COFF, and LTO 8 is ELF-only, so I'm
building the whole thing up on cfarm to see what's going on with those.  You
didn't mention your target - x86_64-linux, I'm guessing?

    cheers,
      DaveK



More information about the Binutils mailing list