Displaying 2 results from an estimated 2 matches for "___emutls_get_address".
2018 Dec 07
2
using emulated-tls on Darwin 8, 9, 10
...dc++, which links against a new version of libgcc from gcc8).
I would like to enable this while using libc++ as well, however.
To do this, libc++abi is built with cxa_thread_atexit.cpp added, and emutls.c is built and used in libclang_rt.10.4.a.
However I am having an issue wherein the symbol ___emutls_get_address from lilbclang_rt_10.4.a is not visible to libc++abi.dylib at runtime.
"___emutls_get_address" is built into clang_rt:
$ nm /opt/local/libexec/llvm-5.0/lib/clang/5.0.1/lib/darwin/libclang_rt.10.4.a | grep emu
/opt/local/libexec/llvm-5.0/lib/clang/5.0.1/lib/darwin/libclang_rt.10.4.a(e...
2018 Dec 08
2
using emulated-tls on Darwin 8, 9, 10
> On 2018-12-07 22:30, Ken Cunningham via llvm-dev wrote:
>> Please excuse hobbiest-level question.
>> Darwin 11+ enables thread_local variables using system-level supports.
>> I have an interest in enabling TLS on darwin < 11 using emulated-tls.
>
> Is anyone still running macOS 10.6 or older?
>
> --
> /Jacob Carlborg
>
[off topic, apologies]
Yes,