Re: [Boost-bugs] [Boost C++ Libraries] #11972: thousands multi-thread tests fail after -mt, _REENTRANT elimination in Oracle Studio 12.5 C++

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11972: thousands multi-thread tests fail after -mt, _REENTRANT elimination in Oracle Studio 12.5 C++
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-03-12 18:16:26


#11972: thousands multi-thread tests fail after -mt, _REENTRANT elimination in
Oracle Studio 12.5 C++
-------------------------------+-------------------------
  Reporter: angela.xie@… | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: config
   Version: Boost 1.60.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+-------------------------
Changes (by johnmaddock):

 * owner: => johnmaddock
 * component: None => config

Comment:

 I mentioned this in the PR, but there's something wrong here:

 * _POSIX_THREADS only tells you whether the operating system supports
 threads, it tells you nothing about whether the compiler in it's current
 version and build configuration generates thread safe code. At the very
 least the check would have to be in sun.hpp and guarded by a compiler
 version check if it's true that the next compiler release always generates
 thread safe code.
 * The latest online docs for Oracle 12.5 beta still mention -mt and
 _REENTRANT, in fact they say that -mt is a requirement for building thread
 safe code.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11972#comment:1>
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:19 UTC