On Feb 24, 2018, at 16:34, Ken Cunningham wrote: > thread_local is a c++11 feature that newer software is increasingly using. It > is available with gcc 4.8+, and with clang since about clang-3.5. On macOS > (darwin) it requires system supports that arrived in 10.7. > > My goal is to get thread_local with clang-5.0 and newer on 10.6 (and 10.5). > Turns out this may actually be not too hard to do. [snip]
I've seen errors on the 10.6 buildbot worker about needing thread local storage, and haven't known what to do about it. I don't have any advice for you but thanks for looking into the problem!