On Fri, 21 Apr 2006, Jakub Jelinek wrote: >> Now, where is the TLS data supposed to be handled? Is that in glibc or >> somewhere else? > In the dynamic linker, but your glibc is clearly too old. > The thing on sparc64 is, the assembler TLS (and GCC) support has been added > many years ago, for 32-bit and 64-bit ABI at the same time. > But, linker support has been done only for elf32-sparc at that time > and 64-bit linker support has been added only in April 2005. > So, until then 64-bit glibc couldn't support it either. > > Just use more recent glibc...
Hm, that will work on GNU/Linux, but right now also NetBSD and FreeBSD (at least) are broken, cf. Bugzilla #25865 where this won't work. ;-) Any chance you could have a look at this? Gerald