id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 2367,Problem with spinlock_sync.hpp with intel compilers,anonymous,Peter Dimov,"I am attempting to build the thread and regex boost libraries using intel compilers 10.1.018 on a 32 bit (Pentium 4) machine. I'm running under Ubuntu Linux version 8.04. Unfortunately I get lots of errors that look like this {{{ ...failed intel-linux.compile.c++ bin.v2/libs/regex/build/intel-linux/release/link-static/threading-multi/regex.o... intel-linux.compile.c++ bin.v2/libs/regex/build/intel-linux/release/link-static/threading-multi/regex_traits_defaults.o icpc: command line remark #10010: option '-Ob' is deprecated and will be removed in a future release. See '-help deprecated' ./boost/detail/spinlock_sync.hpp(40): error: identifier ""__sync_lock_test_and_set"" is undefined int r = __sync_lock_test_and_set( &v_, 1 ); ^ ./boost/detail/spinlock_sync.hpp(54): error: identifier ""__sync_lock_release"" is undefined __sync_lock_release( &v_ ); ^ compilation aborted for libs/regex/src/../src/regex_traits_defaults.cpp (code 2) ""icpc"" -c -xc++ -O3 -Ob2 -w1 -pthread -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I""."" -c -o ""bin.v2/libs/regex/build/intel-linux/release/link-static/threading-multi/regex_traits_defaults.o"" ""libs/regex/src/../src/regex_traits_defaults.cpp"" }}} I'm not sure why this is, it seems someone had a similar issue on a 64 bit machine ([http://svn.boost.org/trac/boost/ticket/1938]) but not sure the solution will transfer to 32 bit?",Bugs,closed,Boost 1.37.0,smart_ptr,Boost 1.36.0,Showstopper,fixed,"intel, linux, build, 1.36.0, thread",