[PATCH] Improve and consolidate sparc PIC assembler.
Torbjorn Granlund
tg at gmplib.org
Sat Apr 13 21:52:40 CEST 2013
David Miller <davem at davemloft.net> writes:
> > ld: fatal: relocation error: R_SPARC_GOTDATA_OP_LOX10: file mpn/.libs/gcd_1.o: symbol ctz_table: relocation illegal for TLS symbol
> > ld: fatal: relocation error: R_SPARC_GOTDATA_OP: file mpn/.libs/gcd_1.o: symbol ctz_table: relocation illegal for TLS symbol
====================
sparc-sun-solaris2.10
There is a bug in older versions of the Sun assembler which breaks thread-local storage (TLS). A typical error message is
ld: fatal: relocation error: R_SPARC_TLS_LE_HIX22: file /var/tmp//ccamPA1v.o:
symbol <unknown>: bad symbol type SECT: symbol type must be TLS
This bug is fixed in Sun patch 118683-03 or later.
====================
We're probably hitting that bug.
Really? What does our case have to do with TLS? The example error
message uses a TLS reloc, we don't.
--
Torbjörn
More information about the gmp-devel
mailing list