Hi, I had the same experience. Updated to Xcode 6.3 on Mac OS X 10.10.3 and then when recompiling ROOT it failed complaining about thread-local. Tried various download versions of ROOT: 6.02/05, 6.03/02, all had the same problem.
Since I didn’t wipe my previous version of ROOT I could still run root more or less as normal. However, when I tried to run a previously working piece of code, using my previous version of ROOT, but with the new c++, clang, i.e. command line tools that came with 6.3, I got the following error message:
'/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/…/include/c++/v1/memory’
modified since it was first processed
Warning in TInterpreter::TCling::RegisterModule: Problems declaring payload for module Cluster_C_ACLiC_dict.
This was in response to a root command:
root > .L Cluster.C++
Not sure if it is related to the thread-local error but just another piece of information.
They fixed a bug in clang where lack of TLS support was not diagnosed. We will need to adapt ROOT to that missing support now that we are aware of it. This will only happen after CHEP, i.e. in about 10 days from now.
I also have this problem. If a fix will be posted soon, I will not back up to the previous version of Xcode because it takes a very long time to download the previous version of Xcode, due to the slow internet to which I have access. I can still run Root, but not my compiled code: I get “fatal error: file ‘/Library/Developer/CommandLineTools/usr/bin/…/include/c++/v1/__locale’ modified since it was first processed
Warning in TInterpreter::TCling::RegisterModule:”
I tried recompiling v6.02.08 and I’m still running into the same issue in TRegexp.cxx.
error: thread-local storage is not supported for the current target
thread_local char buf[fgMaxpat];
^
root-6.02.08/core/base/src/TRegexp.cxx:200:11: warning: address of stack memory associated with local variable ‘buf’ returned [-Wreturn-stack-address]
return buf;
^~~
1 warning and 1 error generated.
make: *** [core/base/src/TRegexp.o] Error 1
[quote=“bpnuke”]I tried recompiling v6.02.08 and I’m still running into the same issue in TRegexp.cxx.
Not sure if I’m alone on this or not.[/quote]
I had interpreted the links above to say that it was necessary to apply patches to make it work. I downloaded the system to patch it, but it wasn’t obvious to me that the fix was included in the patches. 6.02.08 out of the box definitely does not work, that was the one I started with above.