[LEDE-DEV] GCC: std::exception_ptr is missing on architectures with incomplete atomic int support

Carlos Ferreira carlosmf.pt at gmail.com
Tue Feb 21 06:27:17 PST 2017


Hello!

There's an issue with the stdlibc++ which prevents the Boost.Context
package from compiling.

It seems the stdlibc++ versions until 7.0 are not implementing the
exception_ptr if the target architecture does not support
ATOMIC_INT_LOCK_FREE >= 2. The bug reports can be found here:
-> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58938 ->
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64735

This issue is resolved for  GCC 7.0, but the fix was not back-ported
for GCC 5.x and 6.x.
There is a patch available in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64735

I would like to know if it would be possible to backport the fix for
the currently available GCCs in LEDE.


Thank you!
Carlos Miguel Ferreira



More information about the Lede-dev mailing list