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

Bruce Ashfield bruce.ashfield at windriver.com
Tue Aug 9 21:26:12 PDT 2011


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 ?

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




More information about the yocto mailing list