Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3750: atomic_cas32 not working for Sun Solaris 10
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-14 10:42:47
#3750: atomic_cas32 not working for Sun Solaris 10
--------------------------------------------------------------+-------------
Reporter: SAURABH PANDEY <saurabh.pandey@â¦> | Owner: igaztanaga
Type: Bugs | Status: closed
Milestone: Boost 1.42.0 | Component: interprocess
Version: Boost 1.40.0 | Severity: Problem
Resolution: wontfix | Keywords: atomic_cas32 on Sun solaris 10
--------------------------------------------------------------+-------------
Comment (by xmatto79@â¦):
I have a similar problem compiling my program under Solaris10. If I just
declare a named_upgradable_mutex like this:
named_upgradable_mutex n_u_mutex(open_or_create,
"ipc_pri_queue_upgradable_mutex");
I get the error:
g++ -O3 -I /usr/local/boost_1_49_0 -c main.cpp -o main.o
/usr/local/boost_1_49_0/boost/interprocess/detail/atomic.hpp: In member
function 'void
boost::interprocess::ipcdetail::managed_open_or_create_impl<DeviceAbstraction,
MemAlignment, FileBased,
StoreDevice>::priv_open_or_create(boost::interprocess::ipcdetail::create_enum_t,
const typename
boost::interprocess::managed_open_or_create_impl_device_id_t<DeviceAbstraction>::type&,
size_t, boost::interprocess::mode_t, const void*, const
boost::interprocess::permissions&, ConstructFunc) [with ConstructFunc =
boost::interprocess::ipcdetail::named_creation_functor<boost::interprocess::interprocess_upgradable_mutex,
boost::interprocess::ipcdetail::named_creation_functor_no_arg>,
DeviceAbstraction = boost::interprocess::shared_memory_object, unsigned
int MemAlignment = 0u, bool FileBased = true, bool StoreDevice = true]':
/usr/local/boost_1_49_0/boost/interprocess/detail/atomic.hpp:316: internal
compiler error: in rewrite_stmt, at tree-into-ssa.c:1380
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://forum.java.sun.com/forum.jspa?forumID=905> for
instructions.
*** Error code 1
make: Fatal error: Command failed for target `main.o'
I'm using GCC: sparc-sun-solaris2.10-g++ (GCC) 4.2.1 (20090222) (gccfss)
Is there a solution to this?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3750#comment:3> 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:09 UTC