Message: Re: Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Warning Re:  

Forum: Multithreading
Re: Question "No Thread Local Storage (TLS) technology supported for this platform. Use sequential build !" (David)
Date: 24 Jul, 2014
From: Andrea Dotti <Andrea Dotti>

Hello David,

First of all please note that the need to specify the compiler at cmake line was a requirement for Mac OS X 10.7. From your mail I do understand that you are using OSX 10.8.5 and this should not be needed anymore.

If, for whatever reason (maybe you installed an alternative compiler) the problem persists, I suspect that the error you get comes because you are not specifying the same -CMAKE_CXX_COMPIER and CMAKE_C_COMPILER flags for the application, but only for the G4 compilation.

Quoting the twiki: "In addition, for Mac OS X 10.7, the user has to use CLANG compiler by specifying the following two CMAKE options for both of building a library and building an application: -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++" Thus add the flags also for the cmake step of the example.

If you still have problems, please try from a clean area without specifying the CMAKE_{CXX,C}_COMPILER options, post the output of cmake, then try to:
     make VERBOSE=1
and look at which compiler is used (clang++ or g++ or c++), whatever it is try then a:
$COMPILER --version
Post the output.

Andrea

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re:   (David - 24 Jul, 2014)
(_ None: Re:   (David - 24 Jul, 2014)
 Add Message Add Message
to: "Re: "

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews