[Boost-bugs] [Boost C++ Libraries] #1938: sp_counted_base_sync.hpp on ia64/intel-compiler needs ia64intrin.h

Subject: [Boost-bugs] [Boost C++ Libraries] #1938: sp_counted_base_sync.hpp on ia64/intel-compiler needs ia64intrin.h
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-05-20 18:05:37


#1938: sp_counted_base_sync.hpp on ia64/intel-compiler needs ia64intrin.h
--------------------------------------------------+-------------------------
 Reporter: Bryan Green <bryan.d.green_at_[hidden]> | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: threads
  Version: Boost Development Trunk | Severity: Problem
 Keywords: sp_counted_base ia64 intel |
--------------------------------------------------+-------------------------
 When building boost on ia64 platform with intel compiler, I get compiler
 errors due to undefined '!__sync_val_compare_and_swap'.

 In the intel compiler documentation, it says to include 'ia64intrin.h' for
 these synchronization primatives. I have verified that adding the include
 solves the problem, and I am attaching a patch.
 I am using Intel Compiler version 10.1, and the header exists at least as
 far back as 8.1.

 P.S: FYI, during compilation, having configured with default options, I
 get the following "remark":
 icpc: command line remark #10010: option '-Ob' is deprecated and will be
 removed in a future release. See '-help deprecated'

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1938>
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:57 UTC