hardware: samsung s3c6410
after updated to latest poky, the boost compile fail!
error info:
libs/atomic/src/lockpool.cpp:127:5: error: 'thread_fence'
is not a member of 'boost::atomics::detail'
libs/atomic/src/lockpool.cpp:138:5: error: 'signal_fence'
is not a member of 'boost::atomics::detail'
after dig into it, I found that:
the marco 'BOOST_ATOMIC_FLAG_LOCK_FREE' is 0, so it don't
include 'operations_lockfree.hpp' which has 'thread_fence' and
'signal_fence', but pthread.h at line 21.
in file 'caps_gcc_atomic.hpp',
'BOOST_ATOMIC_FLAG_LOCK_FREE' is set to '0', the author think
if '__GCC_ATOMIC_BOOL_LOCK_FREE' is 1, the atomic serial
function gcc provided is not lock free.