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: https://github.com/kencu/SnowLeopardPorts/blob/master/lang/llvm-5.0/files/9998-patch-tools-clang-lib-basic-targets-force-tls.diff https://github.com/kencu/SnowLeopardPorts/blob/master/lang/llvm-5.0/files/9998-patch-tools-clang-lib-codegen-itanium-cxa-atexit.diff B: adding the emulated TLS support to libcxxabi and bumping to 7.0.0: https://github.com/kencu/myports/tree/master/lang/libcxx It's nearly ready for a PR once I clean up the logic in libcxx Portfile a touch more. Best, Ken
