2011-11-27 12:47, Eric Bénard skrev:
Le 27/11/2011 12:40, Richard Purdie a écrit :
On Sat, 2011-11-26 at 13:38 +0100, Eric Bénard wrote:
Le 26/11/2011 12:24, Ulf Samuelsson a écrit :
I noted that "iostream" is built and available
in<sysroot>/usr/include/c++
On the host, it is located in /usr/incolude/c++/<version>
"tiff" build seems to be OK with Ubuntu 11.04 i686.
what is your BB_NUMBER_THREADS setting ?
Here (on 2 different hosts/distro/arch but with an i7 CPU in both
cases) if I
set it over 4, I often (always with a value of 8) meet problems with
c++
includes during build from scratch. 4 seems the magic value which never
trigger the problem.
To help me get further data points on this issue, are you using rm_work?
Do the recent changes in master help (the bitbake sstate/task_skip()
ones in particular)? I've not been able to reproduce this :(
yes that was with rm_work, I still need to test with current head.
Eric
I have tried Ubuntu 11.10 x64 once more.
This time with
BB_NUMBER_THREADS = "4"
PARALLEL_MAKE = "j4".
Not exactly the same symptoms , but similar.
This time, the "string" header is not found.
| # 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.
| make[2]: *** [libcg_ba.o] Error 1
Tried compiling manually.
It appears to me that the "--sysroot" directive gets ignored.
--sysroot=/media/SSD/OE_core/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/qemuarm
I manually added "-I/usr/include/c++", but that did not help
I then copied "string" to the compile directory, and then the
compile continued /until missing the next include file)
compiler built:
arm-angstrom-linux-gnueabi-g++ --version
arm-angstrom-linux-gnueabi-g++ (GCC) 4.5.4 20110917 (prerelease)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The same build works on Ubuntu 11.04 i686.
Best Regards
Ulf Samuelsson
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
--
Best Regards
Ulf Samuelsson
eMagii
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core