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

Subject: Re: [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-08-29 01:55:49


#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
Resolution: | Keywords:
---------------------------+------------------------------------------------

Comment (by anonymous):

 I ran into the same problem when compiling under Solaris 8 using gcc 4.2.
 To circumvent the issue, I modified asio/detail/fenced_block.hpp where it
 checks #if defined (sun). I changed it to be #if defined(sun) &&
 !defined(GNUC). This bypasses sun's atomic operations (which aren't
 present prior to Solaris 10) in favor of gcc's built-in implementation.

 My application compiles fine now, however, I still need to test it. Is
 there a reason this change would be unsafe?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4376#comment:2>
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:04 UTC