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

Henning Heinold heinold at inf.fu-berlin.de
Thu Dec 1 21:47:19 UTC 2011


On Thu, Dec 01, 2011 at 09:17:39PM +0000, Richard Purdie wrote:
> 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

Um stpuid me.

Bye Henning




More information about the Openembedded-core mailing list