id summary reporter owner description type status milestone component version severity resolution keywords cc 11972 thousands multi-thread tests fail after -mt, _REENTRANT elimination in Oracle Studio 12.5 C++ angela.xie@… John Maddock "Problem:thousands multi-thread tests fail after -mt, _REENTRANT elimination in Oracle Studio 12.5 C++. for example: atomic shared library build, CC lockpool.cpp -KPIC -G -o ../libboost_atomic.so -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I. -mt -DBOOST_ATOMIC_SOURCE -DBOOST_ATOMIC_DYN_LINK=1 -compat=5 -library=stlport4 -m32 ... ""lockpool.cpp"", line 24: Error: #error Boost.Atomic: Unsupported target platform, POSIX threads are required when native atomic operations are not available. Solution: in boost/config/suffix.hpp 26:#ifndef BOOST_CONFIG_SUFFIX_HPP 27:#define BOOST_CONFIG_SUFFIX_HPP change to 25:#include 26:#ifndef BOOST_CONFIG_SUFFIX_HPP 27:#define BOOST_CONFIG_SUFFIX_HPP 250: || defined(_PTHREADS) || defined(__APPLE__) || defined(__DragonFly__)) \ change to 250: || defined(_PTHREADS) || defined(__APPLE__) || defined(__DragonFly__) || (defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0))) \ " Bugs closed To Be Determined config Boost 1.60.0 Problem worksforme