Opened 14 years ago
Closed 14 years ago
#2367 closed Bugs (fixed)
Problem with spinlock_sync.hpp with intel compilers
Reported by: | anonymous | Owned by: | Peter Dimov |
---|---|---|---|
Milestone: | Boost 1.37.0 | Component: | smart_ptr |
Version: | Boost 1.36.0 | Severity: | Showstopper |
Keywords: | intel, linux, build, 1.36.0, thread | Cc: |
Description
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?
Change History (4)
comment:1 by , 14 years ago
Owner: | set to |
---|
comment:2 by , 14 years ago
Component: | Building Boost → smart_ptr |
---|---|
Milestone: | Boost 1.35.1 → Boost 1.37.0 |
Status: | new → assigned |
comment:3 by , 14 years ago
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
This is a duplicate of ticket #2000 (and #2358) and is already fixed by changeset [48836].