[Boost-bugs] [Boost C++ Libraries] #7570: Boost 1.52 in trunk has undefined references

Subject: [Boost-bugs] [Boost C++ Libraries] #7570: Boost 1.52 in trunk has undefined references
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-25 08:00:30


#7570: Boost 1.52 in trunk has undefined references
-------------------------------------+--------------------------------------
 Reporter: anonymous | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: Boost 1.52.0 | Component: thread
  Version: Boost Development Trunk | Severity: Showstopper
 Keywords: |
-------------------------------------+--------------------------------------
 Environment g++ 4.7 Ubuntu 64 bits 12.10

 Using the non-boost threadpool.sf.net.

 The same code compiles and works fine with 1.51

 {{{
 Linking CXX executable pced
 CMakeFiles/pced.dir/algo_api/algo_api.cpp.o: In function
 `boost::thread::join()':
 algo_api.cpp:(.text._ZN5boost6thread4joinEv[_ZN5boost6thread4joinEv]+0x27):
 undefined reference to `boost::thread::join_noexcept()'
 CMakeFiles/pced.dir/algo_api/algo_api.cpp.o: In function
 `boost::thread::thread<boost::_bi::bind_t<unsigned long,
 boost::_mfi::mf0<unsigned long, boost::asio::io_service>,
 boost::_bi::list1<boost::_bi::value<boost::asio::io_service*> > >
>(boost::_bi::bind_t<unsigned long, boost::_mfi::mf0<unsigned long,
 boost::asio::io_service>,
 boost::_bi::list1<boost::_bi::value<boost::asio::io_service*> > >&&,
 boost::disable_if<boost::is_same<boost::decay<boost::_bi::bind_t<unsigned
 long, boost::_mfi::mf0<unsigned long, boost::asio::io_service>,
 boost::_bi::list1<boost::_bi::value<boost::asio::io_service*> > > >::type,
 boost::thread>, boost::thread::dummy*>::type)':
 algo_api.cpp:(.text._ZN5boost6threadC2INS_3_bi6bind_tImNS_4_mfi3mf0ImNS_4asio10io_serviceEEENS2_5list1INS2_5valueIPS7_EEEEEEEEOT_NS_10disable_ifINS_7is_sameINS_5decayISF_E4typeES0_EEPNS0_5dummyEE4typeE[_ZN5boost6threadC5INS_3_bi6bind_tImNS_4_mfi3mf0ImNS_4asio10io_serviceEEENS2_5list1INS2_5valueIPS7_EEEEEEEEOT_NS_10disable_ifINS_7is_sameINS_5decayISF_E4typeES0_EEPNS0_5dummyEE4typeE]+0x72):
 undefined reference to `boost::thread::start_thread_noexcept()'
 CMakeFiles/pced.dir/server_threadpool.cpp.o: In function
 `boost::threadpool
 }}}


 {{{
 typeE]+0xe0): undefined reference to
 `boost::thread::start_thread_noexcept()'
 collect2: error: ld returned 1 exit status
 make[2]: *** [apps/server/pced] Error 1
 }}}


 May be related to

 svn:boost r80824 - in trunk: boost/thread/detail libs/thread/example
 libs/thread/src/pthread


 Thanks

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7570>
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:11 UTC