[Boost-bugs] [Boost C++ Libraries] #4376: Compilation failure on Solaris 5.9, 5.10, because of non existent membar_producer(membar_consumer)

Subject: [Boost-bugs] [Boost C++ Libraries] #4376: Compilation failure on Solaris 5.9, 5.10, because of non existent membar_producer(membar_consumer)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-24 19:23:55


#4376: Compilation failure on Solaris 5.9, 5.10, because of non existent
membar_producer(membar_consumer)
--------------------------+-------------------------------------------------
 Reporter: Kozlov Taras | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: Boost 1.44.0 | Component: asio
  Version: Boost 1.43.0 | Severity: Problem
 Keywords: |
--------------------------+-------------------------------------------------
 We have to compile our application for a large set of unixes, including
 solaris 5.9 and 5.10.
 After switching from 1.42 to 1.43 I have got the following compilation
 error:

 {{{
 /export/esuitebuild/boost_1_43_0/boost/asio/detail/solaris_fenced_block.hpp:
 In constructor 'boost::asio::detail::solaris_fe\
 nced_block::solaris_fenced_block()':
 /export/esuitebuild/boost_1_43_0/boost/asio/detail/solaris_fenced_block.hpp:41:
 error: 'membar_consumer' was not declared in\
  this scope
 /export/esuitebuild/boost_1_43_0/boost/asio/detail/solaris_fenced_block.hpp:
 In destructor 'boost::asio::detail::solaris_fen\
 ced_block::~solaris_fenced_block()':
 /export/esuitebuild/boost_1_43_0/boost/asio/detail/solaris_fenced_block.hpp:47:
 error: 'membar_producer' was not declared in\
  this scope
 }}}

 These functions doesn`t exists in atomic.h. I found them in sys/atomic.h,
 and they can be used only from kernel mode.

 Is there any way to avoid membar_producer(membar_consumer) usage?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4376>
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:50:03 UTC