Boost logo

Boost Users :

Subject: Re: [Boost-users] M68K-Coldfire: Boost 1.44 seems to have a problem with low level locking
From: Andreas Wehrmann (a.wehrmann_at_[hidden])
Date: 2010-09-15 07:09:20


  Hello!

That did it indeed!
Adding the define for BOOST_ASIO_DISABLE_FENCED_BLOCK to
boost/config/user.hpp
seems to have solved the problem, the application now links without
problems.

I'll let you know when it causes any problems.
Thanks,

Andreas

On 09/15/2010 11:03 AM, Peter Dimov wrote:
> 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 mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users

-- 
Dipl.-Ing. (FH) Andreas Wehrmann
Software Development
--------------------------------------------------------------
Center Communication Systems GmbH
A-1210 Wien, Ignaz-Köck-Straße 19
Sitz in Wien
FN 796 88p, Firmenbuchgericht Wien
www.centersystems.com
Tel.: +43 (0) 190 199 - 3616
Mobile: +43 (0) 664 884 75916
Fax: +43 (0) 190 199 - 2110
E-Mail: a.wehrmann_at_[hidden]

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