id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 9466,shared_ptr fails with EINVAL on AIX 7.1 when compiled with atomic,pat ,Andrey Semashev,"Boost shared_ptr sometimes fails with EINVAL (22) when compiled with gcc 4.6.3 (65bits) on AIX 7.1. It appears that this failure only occurs when atomic is activated as part of building the boost library (1.55). I noticed on AIX the library ""libboost_atomic"" was req'd, while that was not needed on other platforms such as rhel and ubuntu. To solve the issue on AIX I specified -DBOOST_THREAD_DONT_USE_ATOMIC while building the boost libs. Inside details: ---------------- Line 73 at boost/boost/smart_ptr/detail/lwm_pthreads.hpp BOOST_VERIFY( pthread_mutex_lock( &m_ ) == 0 ); ",Bugs,closed,To Be Determined,atomic,Boost 1.55.0,Problem,fixed,,Andrey.Semashev@…