TLS transition error

David Miller davem@davemloft.net
Sat Feb 20 03:31:00 GMT 2010


From: "King, Steven R" <steven.r.king@intel.com>
Date: Fri, 19 Feb 2010 16:36:26 -0800

> libc.a(malloc.o): TLS transition from R_386_TLS_IE to R_386_TLS_LE_32 against `__libc_tsd_MALLOC' at 0x9c in section `.text' failed
> libc.a: could not read symbols: Bad value
> 
> I did an objdump -x of malloc.o and libc.a but don't see R_386_TLS_LE_32 anywhere.
>  
> I've stepped through the BFD code around the error, but there are many mystery constants in play and I am not making much progress.
> 
> Can someone please point me in the right direction?

The R_386_TLS_LE_32 relocation is being produced internally by the
i386 BFD backend during linking when it optimizes TLS relocations.

Start by studying elf_i386_tls_transition().



More information about the Binutils mailing list