From: Ulf Samuelsson <openembedded-core@emagii.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: Feedback on building openembedded-core for qemuarm. Excerpts from buildlog
Date: Mon, 28 Nov 2011 22:31:45 +0100 [thread overview]
Message-ID: <4ED3FDC1.6030703@emagii.com> (raw)
In-Reply-To: <4ED22364.3000801@eukrea.com>
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
next prev parent reply other threads:[~2011-11-28 21:38 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-26 11:24 Feedback on building openembedded-core for qemuarm. Excerpts from buildlog Ulf Samuelsson
2011-11-26 12:38 ` Eric Bénard
2011-11-26 14:14 ` Ulf Samuelsson
2011-11-27 11:40 ` Richard Purdie
2011-11-27 11:47 ` Eric Bénard
2011-11-28 21:31 ` Ulf Samuelsson [this message]
2011-11-29 8:48 ` Eric Bénard
2011-11-29 15:03 ` Richard Purdie
2011-11-29 15:50 ` Koen Kooi
2011-11-29 16:03 ` Richard Purdie
2011-12-01 1:52 ` Khem Raj
2011-12-01 9:26 ` Richard Purdie
2011-11-29 19:36 ` Ulf Samuelsson
2011-11-29 20:06 ` Koen Kooi
2011-11-29 21:12 ` Ulf Samuelsson
2011-12-01 13:16 ` Philip Balister
2011-12-01 15:37 ` Koen Kooi
2011-12-01 16:31 ` Ulf Samuelsson
2011-12-02 9:46 ` Frans Meulenbroeks
2011-12-02 9:49 ` Koen Kooi
2011-12-02 22:36 ` Ulf Samuelsson
2011-11-29 21:18 ` Ulf Samuelsson
2011-11-30 17:30 ` Scott Garman
2011-12-01 14:49 ` Ulf Samuelsson
2011-12-03 20:03 ` Ulf Samuelsson
2011-12-04 11:20 ` Henning Heinold
2011-12-04 11:20 ` [OE-core] " Henning Heinold
2011-12-04 11:35 ` Richard Purdie
2011-12-04 11:35 ` [OE-core] " Richard Purdie
2011-12-07 22:51 ` Khem Raj
2011-12-07 22:51 ` [OE-core] " Khem Raj
2011-12-07 23:45 ` Ulf Samuelsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4ED3FDC1.6030703@emagii.com \
--to=openembedded-core@emagii.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=ulf@emagii.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.