Hi Can you please help me in this
Thanks and Regards, Harinath ________________________________________ From: yocto-boun...@yoctoproject.org <yocto-boun...@yoctoproject.org> on behalf of Harinath maddelal <harinath.madd...@inedasystems.com> Sent: Tuesday, May 3, 2016 11:13:13 AM To: Khem Raj Cc: yocto@yoctoproject.org Subject: Re: [yocto] Error while buildng SGX Hi There is one point that i missed out in the last mail. We have earlier used yocto-1.7.3 and SGX was build fine. Now we migrated to yocto-1.8.1 and the issue occurs Yocto-1.7.3 uses compiler of version mipsel-poky-linux-gcc-4.9.1 whereas Yocto-1.8.1 uses version of mipsel-poky-linux-gcc-4.9.2 Is there any way to mention in the poky, to build Yocto-1.8.1 using compiler mipsel-poky-linux-gcc-4.9.1 rather than it using mipsel-poky-linux-gcc-4.9.2? Thanks and Regards, Harinath ________________________________________ From: Khem Raj <raj.k...@gmail.com> Sent: Monday, May 2, 2016 9:15:58 PM To: Harinath maddelal Cc: yocto@yoctoproject.org Subject: Re: [yocto] Error while buildng SGX > On May 1, 2016, at 10:44 PM, Harinath maddelal > <harinath.madd...@inedasystems.com> wrote: > > Hi > >> The same builds fine when i use my local gcc of version 4.8.3. > > By this i mean we are using our local copy of mips > toolchain(mips-linux-gnu-gcc-4.8.3) > > So i have used poky mips toolchain to build the entire poky(except SGX). > SGX is built with our local copy of mips toolchain (as it was giving the > build errors when built with poky mips toolchain, log file attached for > reference) SGX build system is probably hardcoding CC/CXX variables and not letting environment to override it. When you build with poky, its important that CC and CXX variables are effective in the components make system. > > Is there any way to build the complete poky using local mips toolchain rather > than using the poky mips toolchain? I just want to know how to use our local > toolchain setup to build entire poky. you should look into external toolchain recipes, Some samples like sourcery toolchain and Linaro toolchain are available as samples. I for one would advise to not go this route. Since you are not able to take advantage of integration that YP had done using internal toolchain. > > Kindly help me in this regard > > Thanks and Regards, > Harinath > > > ________________________________________ > From: Khem Raj <raj.k...@gmail.com> > Sent: Saturday, April 30, 2016 7:41:40 AM > To: Harinath maddelal > Cc: yocto@yoctoproject.org > Subject: Re: [yocto] Error while buildng SGX > > On Thu, Apr 28, 2016 at 6:34 AM, Harinath maddelal > <harinath.madd...@inedasystems.com> wrote: >> Hi all, >> >> >> When i build sgx using yocto, im getting following errors. >> >> The same builds fine when i use my local gcc of version 4.8.3. >> >> >> I have used 1.8.1 Yocto its using 4.9.2 gcc. >> >> >> Can you please help me resolve the issue. Thanks in advance >> >> >> Following is the console build error log > > Please provide compiler cmdline for the failing compile, most probably > its due to messed up -isystem > on cmdline > > ______________________________________________________________________ > This email has been scanned by the Symantec Email Security.cloud service. > For more information please visit http://www.symanteccloud.com > ______________________________________________________________________ > <log.do_compile> -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________ -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto