#2358 closed Bugs (fixed)
__sync_lock_test_and_set not defined for Intel ICC (used in detail/spinlock_sync.hpp)
| Reported by: | Owned by: | Peter Dimov | |
|---|---|---|---|
| Milestone: | Boost 1.37.0 | Component: | smart_ptr |
| Version: | Boost 1.36.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
This is an issue that has apparently been noted before, see e.g.
What's going on is that the Intel ICC compiler on x86_64 does not know about the sync_lock_test_and_set intrinsic that GCC defines. It may be that the reason why Peter Dimov couldn't reproduce the problem lies in the ability of ICC to use GCC header files -- I don't know. Anyway, I can for a fact confirm that the patch (see attached) by Peter works.
Best
Wolfgang
Attachments (1)
Change History (5)
by , 14 years ago
comment:1 by , 14 years ago
| Cc: | removed |
|---|---|
| Component: | None → smart_ptr |
| Owner: | set to |
| Status: | new → assigned |
comment:3 by , 14 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:4 by , 11 years ago
It doesn't have to be integrated into gcc. I am looking for modules that I can link into my linux program.
Note:
See TracTickets
for help on using tickets.

Patch to detail/spinlock.hpp