]> code.ossystems Code Review - openembedded-core.git/commit
boost: Add patch to avoid undefined references to boost::atomic::lockpool::get_lock_for()
authorPhil Blundell <pb@pbcl.net>
Thu, 14 Nov 2013 14:41:21 +0000 (14:41 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 Dec 2013 16:53:08 +0000 (16:53 +0000)
commit306fd06c7687340a0d4eb90e9aba9dc8669db07c
tree11a2ae48032272215342ddf0145a117b240a5ebc
parent8c3e3c90daee1639ac8b2633d8f1e500697d9c52
boost: Add patch to avoid undefined references to boost::atomic::lockpool::get_lock_for()

Boost::thread uses functions from boost::atomic but doesn't actually
link with libboost_atomic.  This works fine on platforms where
BOOST_ATOMIC_FLAG_LOCK_FREE is true but will lead to undefined
symbol references otherwise.  Fix this by applying a patch from
the upstream bug tracker to add the missing library linkage.

(From OE-Core master rev: 1ffc27173576589191b037d111ecb59d94631de0)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-support/boost/boost_1.54.0.bb
meta/recipes-support/boost/files/boost-1.54.0-thread-link_atomic.patch [new file with mode: 0644]