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

Henning Heinold heinold at inf.fu-berlin.de
Thu Dec 1 17:34:29 UTC 2011


> #	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.

Hi Ulf,

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.

Bye Henning




More information about the Openembedded-core mailing list