[OE-core] Yocto development with C++11 threads and gcc

Khem Raj raj.khem at gmail.com
Wed Aug 13 22:05:53 UTC 2014


On Wed, Aug 13, 2014 at 2:36 PM, Peter A. Bigot <pab at pabigot.com> wrote:
> In any case, Khem can you run with this?  It'd be fixed a lot better that
> way....

We do not configure target gcc with right matching cpu defaults,
atomic instruction strex/ldrex are only added after armv6 but defaults
for gcc if not specified is armv5t and hence it does not use the right
set as expected by libstdc++ which has been cross compiled. so while
you are at it and can reproduce it. Try to add

EXTRA_OECONF += '${@bb.utils.contains("TUNE_FEATURES", "armv7a", "
--with-cpu=armv7-a", "", d)}'

to gcc-target.inc and see if resulting gcc is any better



More information about the Openembedded-core mailing list