On Tue, 2011-11-15 at 21:19 +0100, Henning Heinold wrote: > On Tue, Nov 15, 2011 at 12:03:45PM +0100, Eric Bénard wrote: > > Hi, > > > > I often meet a problem related to C++ headers which are not found > > (despite existing)n often when bitbake starts compiling mysql & > > directfb. > > I tested on 2 build hosts (both with Core i7, one i686 ubuntu, one > > x64_64 Fedora) and manage to reproduce the problem easily with > > BB_NUMBER_THREADS=8 in both cases. > > > > The configuration is quite simple : > > angstrom setup script + beagleboard machine + bitbake qt4e-demo-image > > with > > PARALLEL_MAKE = "-j6" > > BB_NUMBER_THREADS = "8" > > Hi Eric, > > I found another problem with the crosscompiler setup and c++, > while compile llvm with cmake. > > In recipes-devtools/gcc/gcc-configure-cross.inc we set > > EXTRA_OECONF_PATHS = > "--with-local-prefix=${STAGING_DIR_TARGET}${target_exec_prefix} \ > --with-gxx-include-dir=${target_includedir}/c++ \ > --with-sysroot=${STAGING_DIR_TARGET} \ > --with-build-sysroot=${STAGING_DIR_TARGET}" > > > which results in a headersearch path for c++ > > .../usr/usr/include/c++ > > unfornatly I do not have the time to test it some more. But this little patch > plus INC bumping > sovled it for my setup: > > -EXTRA_OECONF_PATHS = > "--with-local-prefix=${STAGING_DIR_TARGET}${target_exec_prefix} \ > +EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET} \
How does that cause something which sometimes works and sometimes does not? Either it would work or wouldn't if this were the problem but not "sometimes"? Cheers, Richard _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core