--- geant4.9.5.p01/CMakeLists-orig.txt 2012-05-27 21:47:23.682353195 +0300 +++ geant4.9.5.p01/CMakeLists.txt 2012-05-27 22:19:16.891921020 +0300 @@ -57,6 +57,10 @@ set(${PROJECT_NAME}_VERSION_MAJOR "9") set(${PROJECT_NAME}_VERSION_MINOR "5") set(${PROJECT_NAME}_VERSION_PATCH "1") +# Disable thread-safe initialization of static objects +# This leads to deadlocks +set(CMAKE_CXX_FLAGS "-fno-threadsafe-statics") + # - Provide dependent options as these are needed for some Geant4 features include(CMakeDependentOption)