llvm / clang and thread_local storage problems

Jeremy Huddleston Sequoia jeremyhu at apple.com
Sun Oct 9 12:20:18 PDT 2016

> On Oct 9, 2016, at 09:47, Jack Howarth <howarth.at.macports at gmail.com> wrote:
> On Sun, Oct 9, 2016 at 3:53 AM, Jeremy Huddleston Sequoia
> <jeremyhu at apple.com> wrote:
>> thread_local support was added in OS X 10.9 (along with __cxa_thread_atexit being added to Libc as part of that support).  As long as your minimum deployment target is 10.9, you should be fine.  The issue is that you're on 10.6, so you don't have __cxa_thread_atexit.
>> There is active conversation right now about adding a fallback implementation of __cxa_thread_atexit directly into libcxxabi.  See https://reviews.llvm.org/D21803 as that might be quite useful for your needs.  If so, provide a patch to libcxxabi that incorporates it, and I'll get it in.
> On the topic of thread local support, the failures in the guile 2.0.x
> test suite should be looked at...
> https://trac.macports.org/ticket/52556
> to determine if Apple's thread-local-storage implementation is buggy
> as upstream guile claims.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4465 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20161009/b4b4dfbd/attachment.p7s>

More information about the macports-dev mailing list