[yocto] linux-yocto_3.0: pull powerpc compile fix for -0s in BOOTFLAGS

Darren Hart dvhart at linux.intel.com
Tue Aug 9 23:21:37 PDT 2011



On 08/09/2011 09:26 PM, Bruce Ashfield wrote:
> On 11-08-10 12:18 AM, Darren Hart wrote:
>> Bruce,
>>
>> The following patch is needed for qemuppc and fsl-mpc8315e-rdb (same
>> reasons as before). Can you pull this in from the 2.6.37 yocto tree?
> 
> It should already be there for the fsl-mpc:
> 
>  > git show f6a70a6408a5d173d69fe3dc26fdaece38b4be3c
> commit f6a70a6408a5d173d69fe3dc26fdaece38b4be3c
> Author: Bruce Ashfield <bruce.ashfield at windriver.com>
> Date:   Thu Oct 14 16:38:00 2010 -0400
> 
>      powerpc/boot: remove -Os from BOOTFLAGS
> 
>      Some variants of gcc 4.5 have issues with -Os and will
>      throw:
> 
>        cc1: error: Do not use -Os option if --enable-target-optspace is 
> not set.
> 
>      -Os is not required to build a valid boot environment,
>      so the easiest solution is to simply remove the boot
>      flag.
> 
>      Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
> 
>  > git branch --contains f6a70a6408a5d173d69fe3dc26fdaece38b4be3c
> * yocto/standard/fsl-mpc8315e-rdb
> 
> 
> I can add it for qemuppc, but I've been building it all along and
> have never seen the failure. What configuration are you building
> that is showing this ?

yocto/standard/preempt-rt/base

So we can create preempt-rt/fsl-mpc8315e-rdb and qemuppc, or we can just
push the patch down into standard. As it only impacts powerpc builds, I
don't see the harm in having it just in standard/base.

--
Darren

> 
> Bruce
> 
>>
>> commit 5ff609967ffe87c49d534d7861a7e0b150517726
>> Author: Bruce Ashfield<bruce.ashfield at windriver.com>
>> Date:   Thu Oct 14 16:38:00 2010 -0400
>>
>>      powerpc/boot: remove -Os from BOOTFLAGS
>>
>> Thanks,
>>
> 

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel



More information about the yocto mailing list