Openwrt Linux Uclibc ARM GC issue

David Nadlinger code at klickverbot.at
Mon Jan 15 10:14:02 UTC 2018


On 15 Jan 2018, at 10:05, Joakim via digitalmars-d-ldc wrote:
> _tlsMod and _tlsSize are extracted from shared libraries and then 
> passed to __tls_get_addr to initialize thread-local storage for each 
> library.  That invariant makes sure the TLS index _tlsMod isn't 0 
> along with a non-zero size, not sure why David checks for that.  It 
> could be he doesn't expect the index 0 for a shared library whereas 
> uClibc is okay with that?

We inherited that from Martin's code – presumably, it's just never the 
case on glibc. If all the tests work with shared libraries (DMD test 
suite and runtime unit tests, plus druntime/test, as run by ctest), 
there is nothing to worry about.

  — David


More information about the digitalmars-d-ldc mailing list