On Fri, 2011-10-21 at 05:23 +0000, James Limbouris wrote: > > -----Original Message----- > > From: openembedded-core-boun...@lists.openembedded.org > > [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of > > Khem Raj > > Sent: Friday, 21 October 2011 1:16 PM > > To: Patches and discussions about the oe-core layer > > Subject: Re: [OE-core] [PATCH 3/3] gcc-configure-sdk: Point sysroot to > > correct > > location > > > > On Thu, Oct 20, 2011 at 10:12 PM, James Limbouris > > <ja...@digitalmatter.com.au> wrote: > > >> -----Original Message----- > > >> From: openembedded-core-boun...@lists.openembedded.org > > >> [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf > > Of > > >> Khem Raj > > >> Sent: Friday, 21 October 2011 1:03 PM > > >> To: openembedded-core@lists.openembedded.org > > >> Subject: [OE-core] [PATCH 3/3] gcc-configure-sdk: Point sysroot to > > >> correct > > >> location > > >> > > >> Signed-off-by: Khem Raj <raj.k...@gmail.com> > > >> --- > > >> meta/recipes-devtools/gcc/gcc-configure-sdk.inc | 2 +- > > >> 1 files changed, 1 insertions(+), 1 deletions(-) > > >> > > >> diff --git a/meta/recipes-devtools/gcc/gcc-configure-sdk.inc > > >> b/meta/recipes- > > >> devtools/gcc/gcc-configure-sdk.inc > > >> index de80870..98fd4c1 100644 > > >> --- a/meta/recipes-devtools/gcc/gcc-configure-sdk.inc > > >> +++ b/meta/recipes-devtools/gcc/gcc-configure-sdk.inc > > >> @@ -7,7 +7,7 @@ USE_NLS = '${@base_conditional( "TARGET_OS", "linux- > > >> uclibceabi", "no", "", d )}' > > >> EXTRA_OECONF_PATHS = "--with-local- > > >> prefix=${SDKPATH}/sysroots/${TARGET_SYS}${target_exec_prefix} \ > > >> --with-gxx-include-dir=${target_includedir}/c++ \ > > >> --with-build-time- > > >> tools=${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin \ > > >> - --with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \ > > >> + --with- > > >> sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}- > > >> ${TARGET_OS} \ > > >> --with-build-sysroot=${STAGING_DIR_TARGET}" > > >> > > >> # > > >> -- > > >> 1.7.5.4 > > >> > > > > > > Shouldn't --with-local-prefix be changed too? I am testing with both > > ${TARGET_SYS}'s replaced. Will post results shortly. > > > > yes I think both places it should change > > > > Ok, I've tested with both changed, and the corresponding binutils patch, and > both Qt and kernel compiles are working.
I took these patches but I would like to stress that we shouldn't need to rely on the hardcoded path in the compiler, it should be picking up any alternative sysroot paths from the environment. If this isn't happening, we should be figuring out why not. This change therefore hides issues and does not fix the problem entirely :(. Cheers, Richard _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core