[TxMt] error: thread-local storage is not supported for the current target
Jacob Carlborg
doob at me.com
Mon Apr 20 07:56:42 UTC 2015
I'm trying to build TextMate and suddenly got this error:
[235/1222] Compile ‘Frameworks/crash/src/info.cc’…
FAILED: xcrun clang++ -include build/Shared/PCH/prelude.cc -c -pipe
-fPIC -gdwarf-2 -m64 -mmacosx-version-min=10.7 -funsigned-char
-D'NULL_STR="\uFFFF"' -DREST_API='"https://api.textmate.org"' -Wall
-Wwrite-strings -Wformat -Winit-self -Wmissing-include-dirs
-Wno-parentheses -Wno-sign-compare -Wno-switch -IShared/include
-fcolor-diagnostics -DNDEBUG -Os -fvisibility=hidden -std=c++1y
-stdlib=libc++ -I"/usr/local/include" -o
build/Frameworks/crash/src/info.o -MMD -MF
build/Frameworks/crash/src/info.o.d -Ibuild/include
Frameworks/crash/src/info.cc
Frameworks/crash/src/info.cc:61:3: error: thread-local storage is not
supported for the current target
thread_local stack_t stack;
I have successfully compiled TextMate before and have not seen this
error. info.cc has not been updated since April last year, I'm pretty
certain I've compiled TextMate after that. Could this be related to my
recent upgrade to OS X 10.10.3?
I have Xcode Version 6.3 (6D570) and Clang:
Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.3.0
Thread model: posix
BTW, both "__thread" and "_Thread_local" works fine.
--
/Jacob Carlborg
More information about the textmate
mailing list