[OE-core] Reproducible build problem with BB_NUMBER_THREADS=8

Richard Purdie richard.purdie at linuxfoundation.org
Thu Dec 1 21:17:39 UTC 2011


On Thu, 2011-12-01 at 18:34 +0100, Henning Heinold wrote:
> > #	source='libcg_ba.cpp' object='libcg_ba.o' libtool=no 
> > arm-angstrom-linux-gnueabi-g++  -march=armv5te  -mno-thumb -mthumb-interwork  -mtune=arm926ej-s -mthumb-interwork -mno-thumb --sysroot=/media/SSD/OE_core/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/qemuarm -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -fvisibility-inlines-hidden -c -o libcg_ba.o libcg_ba.cpp
> > libcg_ba.cpp:18:18: fatal error: string: No such file or directory
> > compilation terminated.
> that does not look like the BB_THREAD bug.  It is more the wrong c++ include dir bug, when --sysroot is not used.
> 
> Problem is in gcc-cross-configure.inc:
> 
> EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET}${target_exec_prefix} \
>                       --with-gxx-include-dir=${target_includedir}/c++ \
> 
> which results in c++ defaultheadersearchdir "...../usr/bin/usr/include/c++" and so the the string c++ header is not found.

but in the above, --sysroot is clearly being specified?

I don't understand why it sometimes fails and sometimes does not :/

Cheers,

Richard






More information about the Openembedded-core mailing list