Mac OSX Compiling Crash

Dear Root Supporters,

I am trying to compile root (root_v5.34.21.source.tar.gz) on my mac. I am using Mac OSX 10.8.4. The configure seems to run fine, but when I try to make, I get a crash with the error:



clang++ -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -pthread -I. -o core/base/src/ManualBase4.o -c /opt/local/root_v5-30-04/core/base/src/ManualBase4.cxx
In file included from /opt/local/root_v5-30-04/core/base/src/ManualBase4.cxx:18:
In file included from include/TClass.h:42:
include/ThreadLocalStorage.h:213:4: error: thread-local storage is unsupported for the current target
TTHREAD_TLS(T*) ptr(0);
^
include/ThreadLocalStorage.h:94:37: note: expanded from macro ‘TTHREAD_TLS’

define TTHREAD_TLS(type) static __thread type

                                ^

include/ThreadLocalStorage.h:214:4: error: thread-local storage is unsupported for the current target
TTHREAD_TLS(Bool_t) isInit(kFALSE);
^
include/ThreadLocalStorage.h:94:37: note: expanded from macro ‘TTHREAD_TLS’

define TTHREAD_TLS(type) static __thread type

                                ^

include/ThreadLocalStorage.h:224:4: error: thread-local storage is unsupported for the current target
TTHREAD_TLS(Array*) ptr(0);
^
include/ThreadLocalStorage.h:94:37: note: expanded from macro ‘TTHREAD_TLS’

define TTHREAD_TLS(type) static __thread type

                                ^

include/ThreadLocalStorage.h:225:4: error: thread-local storage is unsupported for the current target
TTHREAD_TLS(Bool_t) isInit(kFALSE);
^
include/ThreadLocalStorage.h:94:37: note: expanded from macro ‘TTHREAD_TLS’

define TTHREAD_TLS(type) static __thread type

                                ^

include/ThreadLocalStorage.h:235:4: error: thread-local storage is unsupported for the current target
TTHREAD_TLS(T*) ptr(0);
^
include/ThreadLocalStorage.h:94:37: note: expanded from macro ‘TTHREAD_TLS’

define TTHREAD_TLS(type) static __thread type

                                ^

include/ThreadLocalStorage.h:236:4: error: thread-local storage is unsupported for the current target
TTHREAD_TLS(Bool_t) isInit(kFALSE);
^
include/ThreadLocalStorage.h:94:37: note: expanded from macro ‘TTHREAD_TLS’

define TTHREAD_TLS(type) static __thread type

                                ^

6 errors generated.
make: *** [core/base/src/ManualBase4.o] Error 1
localhost:root_v5-30-04 meehan$

I have not been able to find this crash anywhere on the forum and don’t know what it means. I have included attached to this post a text file of my terminal output when I go through and configure and compile. It also includes a printout of env at the very beginning in case that is helpful.

I hope that I can find some help here.

Thank you,
Sam Meehan
meehan_macosxrootcompilationproblem_0922.txt (93.1 KB)