I rebuilt the cross-compiler with flag -with-arch=armv6 - this is what Raspberry Pi's CPU actually is It looked like it helped! Thank you all for the support!

2017-05-13 21:21 GMT+02:00 d25fe0be--- via Boost-users <boost-users@lists.boost.org>:

According to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58938, configure GCC with '-with-arch=armv7-a' should do the job (setting __GCC_ATOMIC_INT_LOCK_FREE / ATOMIC_INT_LOCK_FREE to 2), IIUC.

Forgot to mention that use -with-arch=armv7-a (or whatever ISA on which atomic_int is always lock free) only if your target supports it, otherwise GCC 7.1 may be the only choice.

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users