thread_local storage on 10.6.8 (and earlier) with clang-7.0

Ken Cunningham ken.cunningham.webuse at
Mon Dec 10 06:30:12 UTC 2018

On 2018-12-09, at 9:50 PM, Jeremy Sequoia wrote:
> Yuck.  Sounds like typical bootstrapping hell :/. Maybe make +emutls a variant on libcxxabi.

Thanks! - in fact I did exactly that. Also sorted out building libcxx with newer compilers.

I presently have libcxx 7.0.0 with emulated-tls running on this 10.6.8 system very well now.

A: Enabling emulated TLS in clang:

B: adding the emulated TLS support to libcxxabi and bumping to 7.0.0:

It's nearly ready for a PR once I clean up the logic in libcxx Portfile a touch more.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-dev mailing list