Re: [Boost-bugs] [Boost C++ Libraries] #10113: [1.55] no lock-free synchronization on Solaris 10 sparcv9 (sp_counted_base.hpp)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10113: [1.55] no lock-free synchronization on Solaris 10 sparcv9 (sp_counted_base.hpp)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-06-11 16:37:59


#10113: [1.55] no lock-free synchronization on Solaris 10 sparcv9
(sp_counted_base.hpp)
-------------------------------+-----------------------------
  Reporter: anonymous | Owner:
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: Building Boost
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords: lock-free sync.
-------------------------------+-----------------------------

Comment (by anonymous):

 i think the #ifdefs for solaris are wrong in lockfree.cpp.

 In ./include/boost/smart_ptr/detail/sp_counted_base.hpp there is checked
 for


 {{{
 defined( __sparcv9 )

 }}}

 respectively


 {{{
 defined( __sparcv8 )
 }}}


 But in lockfree.cpp it's using


 {{{
 defined( __sparc_v9__)

 }}}

 (only).

 This is misaligned.

 But also the gcc is wrong (at least mine - could be wrong build):

 it uses
 {{{
 __sparcv8
 }}}
  on a sparcv9 system

 rgds,
 Frank

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10113#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:16 UTC