* linux-yocto_3.0: pull powerpc compile fix for -0s in BOOTFLAGS
@ 2011-08-10 4:18 Darren Hart
2011-08-10 4:24 ` Kumar Gala
2011-08-10 4:26 ` Bruce Ashfield
0 siblings, 2 replies; 6+ messages in thread
From: Darren Hart @ 2011-08-10 4:18 UTC (permalink / raw)
To: Yocto Project
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?
commit 5ff609967ffe87c49d534d7861a7e0b150517726
Author: Bruce Ashfield <bruce.ashfield@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
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: linux-yocto_3.0: pull powerpc compile fix for -0s in BOOTFLAGS
2011-08-10 4:18 linux-yocto_3.0: pull powerpc compile fix for -0s in BOOTFLAGS Darren Hart
@ 2011-08-10 4:24 ` Kumar Gala
2011-08-10 4:28 ` Bruce Ashfield
2011-08-10 4:26 ` Bruce Ashfield
1 sibling, 1 reply; 6+ messages in thread
From: Kumar Gala @ 2011-08-10 4:24 UTC (permalink / raw)
To: Darren Hart; +Cc: Yocto Project
On Aug 9, 2011, at 11:18 PM, 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?
>
> commit 5ff609967ffe87c49d534d7861a7e0b150517726
> Author: Bruce Ashfield <bruce.ashfield@windriver.com>
> Date: Thu Oct 14 16:38:00 2010 -0400
>
> powerpc/boot: remove -Os from BOOTFLAGS
>
> Thanks,
Before we do this I have a query about default toolchain? I just posted a patch that should make this NOT needed if we utilize gcc-4.6
So wondering what the feeling was about a fix to kernel tree needed for one version of toolchain and not another?
- k
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: linux-yocto_3.0: pull powerpc compile fix for -0s in BOOTFLAGS
2011-08-10 4:24 ` Kumar Gala
@ 2011-08-10 4:28 ` Bruce Ashfield
0 siblings, 0 replies; 6+ messages in thread
From: Bruce Ashfield @ 2011-08-10 4:28 UTC (permalink / raw)
To: Kumar Gala; +Cc: Yocto Project, Darren Hart
On 11-08-10 12:24 AM, Kumar Gala wrote:
>
> On Aug 9, 2011, at 11:18 PM, 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?
>>
>> commit 5ff609967ffe87c49d534d7861a7e0b150517726
>> Author: Bruce Ashfield<bruce.ashfield@windriver.com>
>> Date: Thu Oct 14 16:38:00 2010 -0400
>>
>> powerpc/boot: remove -Os from BOOTFLAGS
>>
>> Thanks,
>
> Before we do this I have a query about default toolchain? I just posted a patch that should make this NOT needed if we utilize gcc-4.6
>
> So wondering what the feeling was about a fix to kernel tree needed for one version of toolchain and not another?
As long as it fixes one build (the 4.5 one), and doesn't beak other
toolchain versions. I'm typically ok with any patch of that nature.
At the time, this was the fastest thing to do to get the kernel
building with gcc 4.5, but we can absolutely update it with
something newer.
Cheers,
Bruce
>
> - k
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: linux-yocto_3.0: pull powerpc compile fix for -0s in BOOTFLAGS
2011-08-10 4:18 linux-yocto_3.0: pull powerpc compile fix for -0s in BOOTFLAGS Darren Hart
2011-08-10 4:24 ` Kumar Gala
@ 2011-08-10 4:26 ` Bruce Ashfield
2011-08-10 6:21 ` Darren Hart
1 sibling, 1 reply; 6+ messages in thread
From: Bruce Ashfield @ 2011-08-10 4:26 UTC (permalink / raw)
To: Darren Hart; +Cc: Yocto Project
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@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@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@windriver.com>
> Date: Thu Oct 14 16:38:00 2010 -0400
>
> powerpc/boot: remove -Os from BOOTFLAGS
>
> Thanks,
>
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: linux-yocto_3.0: pull powerpc compile fix for -0s in BOOTFLAGS
2011-08-10 4:26 ` Bruce Ashfield
@ 2011-08-10 6:21 ` Darren Hart
2011-08-10 13:21 ` Bruce Ashfield
0 siblings, 1 reply; 6+ messages in thread
From: Darren Hart @ 2011-08-10 6:21 UTC (permalink / raw)
To: Bruce Ashfield; +Cc: Yocto Project
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@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@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@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: linux-yocto_3.0: pull powerpc compile fix for -0s in BOOTFLAGS
2011-08-10 6:21 ` Darren Hart
@ 2011-08-10 13:21 ` Bruce Ashfield
0 siblings, 0 replies; 6+ messages in thread
From: Bruce Ashfield @ 2011-08-10 13:21 UTC (permalink / raw)
To: Darren Hart; +Cc: Yocto Project
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@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@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@windriver.com>
>>> Date: Thu Oct 14 16:38:00 2010 -0400
>>>
>>> powerpc/boot: remove -Os from BOOTFLAGS
>>>
>>> Thanks,
>>>
>>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-08-10 13:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-10 4:18 linux-yocto_3.0: pull powerpc compile fix for -0s in BOOTFLAGS Darren Hart
2011-08-10 4:24 ` Kumar Gala
2011-08-10 4:28 ` Bruce Ashfield
2011-08-10 4:26 ` Bruce Ashfield
2011-08-10 6:21 ` Darren Hart
2011-08-10 13:21 ` Bruce Ashfield
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.