NO_TLS flag for public headers

Warner Losh imp at bsdimp.com
Fri Feb 10 16:52:54 UTC 2012


On Feb 10, 2012, at 3:57 AM, Ed Schouten wrote:

> Hi Marius,
> 
> * Marius Strobl <marius at alchemy.franken.de>, 20120208 22:51:
>> See lib/libc/stdlib/malloc.c, arm and mips currently are the only
>> supported FreeBSD architectures that have no support for TLS.
> 
> Just out of curiosity, what is needed to make TLS work? Is it just the
> lack of support by our toolchain or is there also stuff on our side that
> needs to be done?

On MIPS it is partially a toolchain issue and partially a kernel issue.  I believe the kernel issue has been fixed recently...  I'm not sure what's left on the toolchain side.

Warner



More information about the freebsd-arch mailing list