[yocto] linux-yocto_3.0: pull powerpc compile fix for -0s in BOOTFLAGS
Bruce Ashfield
bruce.ashfield at windriver.com
Wed Aug 10 06:21:43 PDT 2011
On 11-08-10 02:21 AM, Darren Hart wrote:
>
>
> 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.
It can definitely be pushed down. This is all the proof that
we need that it actually belongs there.
Bruce
>
> --
> 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,
>>>
>>
>
More information about the yocto
mailing list