On Sat, Dec 03, 2011 at 09:03:46PM +0100, Ulf Samuelsson wrote:
> Have made some further tests with the same machine, but now running
> Ubuntu 11.04 x64
> 
> bitbake console-image
> 
>     PARALLEL_TASKS        BB_NUMBER_TASKS        BUILD TIME
>     2                                  2
> 1:24:16
>     4                                  4
> 0:48:22
>     6                                  6
> 0:45:00
>     24                                24
> C++ compiler fails with --sysroot problem
>         after ~2200 out of 2400 tasks.
> 
> 
> 
> BR
> Ulf

Hi Ulf,

can you try the attached patch if it solves the problem?

Bye Henning
>From b96f4d6b73ff993910b635b9dca962fac8eeeb49 Mon Sep 17 00:00:00 2001
From: Henning Heinold <[email protected]>
Date: Sun, 4 Dec 2011 12:17:15 +0100
Subject: [PATCH] gcc-cross: attempt fix default include path of c++

---
 meta/recipes-devtools/gcc/gcc-configure-cross.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/gcc/gcc-configure-cross.inc b/meta/recipes-devtools/gcc/gcc-configure-cross.inc
index d2d9081..f42a6ee 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-cross.inc
@@ -9,7 +9,7 @@ EXTRA_OECONF += " --enable-poison-system-directories \
 
 INHIBIT_DEFAULT_DEPS = "1"
 
-EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET}${target_exec_prefix} \
+EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET} \
 		      --with-gxx-include-dir=${target_includedir}/c++ \
                       --with-sysroot=${STAGING_DIR_TARGET} \
                       --with-build-sysroot=${STAGING_DIR_TARGET}"
-- 
1.7.7.3

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to