Re: [Boost-bugs] [Boost C++ Libraries] #9466: shared_ptr fails with EINVAL on AIX 7.1 when compiled with atomic

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9466: shared_ptr fails with EINVAL on AIX 7.1 when compiled with atomic
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-12-03 17:24:40


#9466: shared_ptr fails with EINVAL on AIX 7.1 when compiled with atomic
-------------------------------+-----------------------
  Reporter: pat <pat@…> | Owner: pdimov
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: smart_ptr
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+-----------------------

Comment (by anonymous):

 hmm, i,m not really convinced. If I build the boostlibs on aix or e.g.
 linux, using the same bootstrap params then clearly only on aix the atomic
 lib is build, and needs to be linked. Thats not the case on linux.

 Futhermore for debuggung purposes I added some stdout logging inside the
 lwm_pthread.hpp. On linux that filw was not used, however on aix is is,
 thats where i notice the EINVAL(22) return value.

 If however on aix I specify the BOOST_THREAD_DONT_USE_ATOMIC, than it wont
 be using lwm_pthead.hpp. In which case the behaviour is identical to the
 linux build.

 I can provide some logging to tomorrow if you need it?

 Regards,
 -- Pat --

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