TLS Range on current thread

Eduardo Morras emorrasg at
Sun Sep 1 08:04:06 UTC 2013

On Thu, 29 Aug 2013 22:31:43 +1000
Sumit Raja <sumitraja at> wrote:

> Hi,
> I want to add support to the  LDC D compiler for FreeBSD, the current
> version of D has moved to TLS by default. The__tls_get_addr method links
> correctly but this crashes at runtime on garbage collection as the address
> range could wrong.
> What is the best way to determine the address range for the TLS segment for
> the current thread?

I don't know the answer, sorry. But if you don't get any answer from this list, you can try at freebsd-hackers list, there is where developers, gurus and other kinds of "monsters" reside.

> Thanks
> Sumit

---   ---
Eduardo Morras <emorrasg at>

More information about the freebsd-questions mailing list