[OE-core] Build issue of nativesdk toolchain

Luo Zhenhua-B19537 B19537 at freescale.com
Wed Mar 27 02:22:56 UTC 2013


FSL gcc source is used for following gcc variants, and other gcc variants use Yocto default source. "+fsl" suffix is appended into PV in below gcc recipes. My understanding is that below gcc variants should use a different build folder with gcc-crosssdk, am I misunderstanding something? 

I might need to unify the source for all gcc variants if Yocto doesn't support above scenario.  

Gcc variants with FSL source: 
gcc_4.7.bbappend        gcc-cross-canadian_4.7.bbappend  gcc-fsl.inc               libgcc_4.7.bbappend
gcc-cross_4.7.bbappend  gcc-cross-initial_4.7.bbappend   gcc-runtime_4.7.bbappend

$ cat gcc-fsl.inc 
PV = "4.7.2+fsl"

BINV = "4.7.2"

SRCREV = "c88a2f851197a103296175e0a7a1cb94ab91bcc3"

SRC_URI = "git://git.am.freescale.net/gitolite/sdk/gcc.git;destsuffix=gcc-${PV} \
        file://optional_libstdc.patch \
        file://use-defaults.h-and-t-oe-in-B.patch \
        file://GLIBC_DYNAMIC_LINKER.patch \
"

FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 

Below is the content of the bbappend: 
require gcc-fsl.inc


Best Regards,

Zhenhua


> -----Original Message-----
> From: Richard Purdie [mailto:richard.purdie at linuxfoundation.org]
> Sent: Tuesday, March 26, 2013 11:45 PM
> To: Luo Zhenhua-B19537
> Cc: openembedded-core at lists.openembedded.org
> Subject: Re: [OE-core] Build issue of nativesdk toolchain
> 
> On Tue, 2013-03-26 at 14:29 +0000, Luo Zhenhua-B19537 wrote:
> > When I build nativesdk toolchain with recent poky + meta-fsl-ppc + FSL
> SDK specific layers, build issue similar to error-1 happens. This issue
> might appear for different gcc related package during different trial,
> e.g. libgcc, gcc, gcc-cross-initial, gcc-crosssdk, etc.
> >
> > When I revert
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=9bfd92243eced92
> 1f166d84b5a72d6f774e13413, error-1 build issue goes away, error-2 appears,
> error-2 also can't be reproduced every time. Does anyone ever meet the
> similar build issue and any comment on the build error?
> 
> It sounds like you've changes in gcc between some of the different
> variants, e.g. different patch sets or SRC_URI.
> 
> gcc uses a shared source directory so the same patchset must be used for
> all variants. It has nothing to do with the above commit.
> 
> Cheers,
> 
> Richard
> 



More information about the Openembedded-core mailing list