Subject: [Boost-bugs] [Boost C++ Libraries] #2358: __sync_lock_test_and_set not defined for Intel ICC (used in detail/spinlock_sync.hpp)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-09-22 02:36:50
#2358: __sync_lock_test_and_set not defined for Intel ICC (used in
detail/spinlock_sync.hpp)
---------------------------------+------------------------------------------
Reporter: bangerth_at_[hidden] | Type: Bugs
Status: new | Milestone: Boost 1.37.0
Component: None | Version: Boost 1.36.0
Severity: Problem | Keywords:
---------------------------------+------------------------------------------
This is an issue that has apparently been noted before, see e.g.
http://thread.gmane.org/gmane.comp.lib.boost.devel/176050
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
-- Ticket URL: <http://svn.boost.org/trac/boost/ticket/2358> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC