This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

TLS transition error


Hello List,

For experimental purposes, I created a cross tool-chain that targets an new architecture that is really just a copy and rename of i386.  I had the tool chain working a long while back, but now I get this error when building libc.a:

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?

binutils 2.20
eglibc 2.10-r8465
gcc 4.4.2

Thanks for any guidance,
-steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]