[Buildroot] [PATCH 1/1] boost: fiber needs exception_ptr

Fabrice Fontaine fontaine.fabrice at gmail.com
Mon Jun 25 18:45:06 UTC 2018

fiber needs exception_ptr because context is a transient dependency of fiber
that needs exception_ptr.
An other option would be to make boost fiber depends on boost context

 - http://autobuild.buildroot.net/results/56509d315defb95d4ac6e278a9d40cd98f61baa7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
 package/boost/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/boost/Config.in b/package/boost/Config.in
index db69afa27f..aedc8be97a 100644
--- a/package/boost/Config.in
+++ b/package/boost/Config.in
@@ -114,6 +114,7 @@ config BR2_PACKAGE_BOOST_FIBER
 	# mips support uses the "pause" instruction, only available
 	# since mips32r2/mips64r2.
 	depends on !BR2_MIPS_CPU_MIPS32 && !BR2_MIPS_CPU_MIPS64
+	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
 	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_85180
 	  C++11 userland threads library.
@@ -121,6 +122,9 @@ config BR2_PACKAGE_BOOST_FIBER
 comment "boost-fiber needs a toolchain w/ NPTL"
+comment "boost-fiber needs a toolchain not affected by GCC bug 64735"
+	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
 comment "boost-fiber needs a toolchain not affected by GCC bug 85180"
 	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_85180

More information about the buildroot mailing list