Boost logo

Boost Users :

Subject: Re: [Boost-users] M68K-Coldfire: Boost 1.44 seems to have a problem with low level locking
From: Peter Dimov (pdimov_at_[hidden])
Date: 2010-09-15 05:03:09


Andreas Wehrmann wrote:

> Thanks for your hints thus far,
> do you have any idea of why BOOST_SP_USE_PTHREADS doesn't work?
> I've seen that where we're using boost 1.38 it is being compiled with that
> define set in user.hpp
> but for 1.41 it is not...

Your error isn't caused by shared_ptr, but by ASIO's "fenced block" in
boost/asio/detail/fenced_block.hpp and
boost/asio/detail/gcc_sync_fenced_block.hpp. I've no idea what this "fenced
block" is supposed to do - it seems to insert or try to insert memory
barriers - but on M68K, it should be safe to disable it via
BOOST_ASIO_DISABLE_FENCED_BLOCK.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net