
15 Sep
2010
15 Sep
'10
9:03 a.m.
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.