Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: Reproducible build problem with BB_NUMBER_THREADS=8
Date: Thu, 01 Dec 2011 21:17:39 +0000	[thread overview]
Message-ID: <1322774259.14052.0.camel@ted> (raw)
In-Reply-To: <20111201173429.GC4447@mail.familie-heinold.de>

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





  reply	other threads:[~2011-12-01 21:24 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-15 11:03 Reproducible build problem with BB_NUMBER_THREADS=8 Eric Bénard
2011-11-15 14:32 ` Eric Bénard
2011-11-15 20:19 ` Henning Heinold
2011-11-15 20:50   ` Richard Purdie
2011-11-15 21:06     ` Henning Heinold
2011-12-01 12:34 ` Cliff Brake
2011-12-01 12:48   ` Richard Purdie
2011-12-01 14:12     ` Cliff Brake
2011-12-01 15:59       ` Ulf Samuelsson
2011-12-01 17:34         ` Henning Heinold
2011-12-01 21:17           ` Richard Purdie [this message]
2011-12-01 21:47             ` Henning Heinold
2011-12-01 23:08         ` Khem Raj
2011-12-01 23:53           ` Ulf Samuelsson
     [not found] <mailman.14454.1321367942.14568.openembedded-core@lists.openembedded.org>
2011-11-15 19:24 ` Daniel Lazzari

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=1322774259.14052.0.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@lists.openembedded.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox