boost: module context affected by GCC bug 64735
authorJörg Krause <joerg.krause@embedded.rocks>
Thu, 15 Jun 2017 09:40:00 +0000 (11:40 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 15 Jun 2017 20:27:00 +0000 (22:27 +0200)
Building boosts module context is affected by GCC bug 64735 [1]:

```
./boost/context/execution_context_v2.hpp:298:31: error: 'exception_ptr' is not a member of 'std'
     auto p = std::make_tuple( std::exception_ptr{}, std::move( data) );
```

This is because `exception_ptr` from libstdc++ is not available for
architectures not supporting always lock-free atomic ints.

Note, that this bug is fixed in GCC 7.

Fixes:
http://autobuild.buildroot.net/results/f4e/f4e8a3727f19f7df4a1c45efe3603422fafd4af5/

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64735

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/boost/Config.in

index f0a23857067a3c504402256b7530f498494a436b..50d0ff8e016f8fab1bf15fcf8f2b84d8f657cc74 100644 (file)
@@ -67,6 +67,7 @@ config BR2_PACKAGE_BOOST_CONTEXT
        bool "boost-context"
        depends on ((BR2_arm || BR2_armeb) && BR2_ARM_CPU_HAS_ARM) || \
                BR2_i386 || BR2_mips || BR2_mipsel || BR2_powerpc || BR2_x86_64
+       depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735
 
 config BR2_PACKAGE_BOOST_COROUTINE
        bool "boost-coroutine"