> 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>

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to