Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7570: Boost 1.52 in trunk has undefined references
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-01 20:51:46
#7570: Boost 1.52 in trunk has undefined references
--------------------------------------+-------------------------------------
Reporter: anonymous | Owner: viboes
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: thread
Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+-------------------------------------
Comment (by anonymous):
Hi Vicente, sure, I have been using trunk.
ubuntu quantal 64 bits
{{{
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-5ubuntu1)
}}}
{{{
g++ -DFUSION_MAX_VECTOR_SIZE=20 -DPHOENIX_THREADSAFE
-DBOOST_LEXICAL_CAST_ASSUME_C_LOCAL -DBOOST_FILESYSTEM_NO_DEPRECATED
-DBOOST_SPIRIT_THREADSAFE -DBOOST_SP_USE_QUICK_ALLOCATOR
-DBOOST_FILESYSTEM_VERSION=3 -DBOOST_EXCEPTION_DISABLE -std=gnu++0x
-pthread -pedantic -Wno-variadic-macros -Wextra -fPIC -DPIC -pipe -Wno-
long-long -fno-strict-aliasing -D_REENTRANT -D_FORTIFY_SOURCE=2 -export-
dynamic -rdynamic -Wno-deprecated -Wno-unused-local-typedefs -fvisibility-
inlines-hidden -O3 -DNDEBUG
}}}
Linking
{{{
g++ -std=gnu++0x -pthread -pedantic -Wno-variadic-macros -Wextra -fPIC
-DPIC -pipe -Wno-long-long -fno-strict-aliasing -D_REENTRANT
-D_FORTIFY_SOURCE=2 -export-dynamic -rdynamic -Wno-deprecated -Wno-unused-
local-typedefs -fvisibility-inlines-hidden -O3 -DNDEBUG
-DPCE_RELEASE_BUILD ...*.o -o pced -rdynamic -L/adnet/src/cttc-pce-
trunk/build/release/apps/common -lboost_system-mt -lboost_iostreams-mt
-lboost_filesystem-mt -lboost_program_options-mt -lboost_graph-mt
-lboost_serialization-mt -lboost_signals-mt -lboost_regex-mt
-lboost_iostreams-mt -lboost_chrono-mt -lboost_random-mt -lboost_thread-mt
-lstdc++ -ldl -lpcep_common-4.6.9 -lboost_filesystem-mt
-lboost_program_options-mt -lboost_graph-mt -lboost_serialization-mt
-lboost_signals-mt -lboost_regex-mt -lboost_chrono-mt -lboost_random-mt
-lboost_thread-mt -lstdc++ -ldl -lpcep_common-4.6.9 -Wl,-rpath,/adnet/src
/cttc-pce-trunk/build/release/apps/common::::
}}}
I got several _noexcept
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()'
server_threadpool.cpp:(.text._ZNV5boost10threadpool6detail9 ...
terminate_all_workersEb]+0x204): undefined reference to
`boost::thread::join_noexcept()'
`boost::thread::thread<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ...
_sameINS_5decayISP_E4typeES0_EEPNS0_5dummyEE4typeE]+0xe0): undefined
reference to `boost::thread::start_thread_noexcept()
I'll try in the following days to have a self contained example, this is a
quite long code base that uses the (unoffcial) boost thread pool
Thanks
R.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7570#comment:3> 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