aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2018-08-18 00:10:14 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-08-18 14:34:31 +0200
commite2928dfa080658c35f6f0b7c9e62a3ade438a827 (patch)
treeef9d492166c0f79e65141393f7d8727021156c3b /package
parent5f6f910cc9978910ebab5e088cb7c3870371b382 (diff)
downloadbuildroot-e2928dfa080658c35f6f0b7c9e62a3ade438a827.tar.gz
buildroot-e2928dfa080658c35f6f0b7c9e62a3ade438a827.tar.bz2
boost: thread needs atomic if GCC hasn't lock-free
When gcc has not always lock-free atomic ints: - lockfree boost::atomic_flag : no boost thread needs boost atomic: output/host/usr/bin/nios2-linux-readelf -d output/staging/usr/lib/libboost_thread.so Dynamic section at offset 0x2cee0 contains 32 entries: Tag Type Name/Value 0x00000001 (NEEDED) Shared library: [libboost_system.so.1.67.0] 0x00000001 (NEEDED) Shared library: [libboost_atomic.so.1.67.0] Fixes: - http://autobuild.buildroot.net/results/5a7db292f1365f27e32695527701d5b827f60092 - http://autobuild.buildroot.net/results/413dff87f5329d3c5180167a8711cdedea5dec67 - http://autobuild.buildroot.net/results/a7eb4cbcdbd9412c344f45336dec58c82e84dab9 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package')
-rw-r--r--package/boost/Config.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/boost/Config.in b/package/boost/Config.in
index 97695e17b7..57e98c72e4 100644
--- a/package/boost/Config.in
+++ b/package/boost/Config.in
@@ -313,6 +313,7 @@ config BR2_PACKAGE_BOOST_TEST
config BR2_PACKAGE_BOOST_THREAD
bool "boost-thread"
+ select BR2_PACKAGE_BOOST_ATOMIC if !BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
select BR2_PACKAGE_BOOST_CHRONO
select BR2_PACKAGE_BOOST_SYSTEM
help