id summary reporter owner description type status milestone component version severity resolution keywords cc 6165 BOOST_ENABLE_THREADS/BOOST_DISABLE_THREADS wrongly configured on GCC 4.7 Ai Azuma John Maddock "I find that Boost.Thread and other components in Boost that depend on thread support does not work on recent weekly snapshots of GCC trunk (GCC 4.7.0 experimental) on Ubuntu 10.04.3 LTS 64 bit because BOOST_ENABLE_THREADS is not defined on my environment and BOOST_DISABLE_THREADS is. The origin of this failure could be due to the change of macro definitions in GCC trunk. Now, GCC 4.7 (with -pthread option, of course) defines not the macro _GLIBCXX_HAVE_GTHR_DEFAULT but another macro _GLIBCXX_HAS_GTHREADS. Thus, BOOST_ENABLE_THREADS and BOOST_DISABLE_THREADS are wrongly configured in boost/config/stdlib/libstdcpp3.hpp. The attached patch seems to work for me, but I'm not sure how to detect thread support on GCC/libstdc++ correctly... " Bugs closed To Be Determined config Boost 1.48.0 Problem fixed