Boost logo

Boost Users :

Subject: [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-14 15:16:20


Hello,

I recently upgraded boost on my embedded linux platform (m68k coldfire
architecture)
from version 1.41 (cmake release) to 1.44.
Boost itself compiles flawlessly but when I tried to link my application
(which makes use of the thread, regex, system libraries) it fails with
(note the last line):

squ_loopback_timer.o: In function
`boost::asio::detail::wait_handler<boost::_bi::bind_t<void,
boost::_mfi::mf1<void, rapp::squ_loopback_timer_t,
boost::system::error_code const&>,
boost::_bi::list2<boost::_bi::value<rapp::squ_loopback_timer_t*>,
boost::arg<1> > >
>::do_complete(boost::asio::detail::task_io_service*,
boost::asio::detail::task_io_service_operation*,
boost::system::error_code, unsigned int)':
squ_loopback_timer.cpp:(.text._ZN5boost4asio6detail12wait_handlerINS_3_bi6bind_tIvNS_4_mfi3mf1IvN4rapp20squ_loopback_timer_tERKNS_6system10error_codeEEENS3_5list2INS3_5valueIPS8_EENS_3argILi1EEEEEEEE11do_completeEPNS1_15task_io_serviceEPNS1_25task_io_service_operationESA_j[boost::asio::detail::wait_handler<boost::_bi::bind_t<void, boost::_mfi::mf1<void, rapp::squ_loopback_timer_t, boost::system::error_code const&>, boost::_bi::list2<boost::_bi::value<rapp::squ_loopback_timer_t*>, boost::arg<1> > > >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code, unsigned int)]+0x72): undefined reference to
`__sync_lock_test_and_set_4'

What changed about the locking mechanism?
Btw. I'm also using boost version 1.38 in another project (but on the
same platform).
My compiler is g++ version 4.2.0 20070318 (prerelease) (Sourcery G++
Lite 4.2-35).

Any hints or help is appreciated!

Best regards

-- 
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]
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

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