* Re: kernel.bbclass, module-base.bbclass: Use CC to form KERNEL_CC
@ 2013-02-26 16:08 Anton Sergienko
2013-02-26 17:56 ` Khem Raj
0 siblings, 1 reply; 4+ messages in thread
From: Anton Sergienko @ 2013-02-26 16:08 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 525 bytes --]
Hi!
After the patch (commit c49f967384ccbfe131bbb33ee518014f3fc4b38f) to
meta/classes/kernel-arch.bbclass kernel build fails for arm machine with
hard floating point instruction set in CC (-mfloat-abi=hard).
As I understand kernel should not be build with fpu specific floating point
instructions(should not be any floating point operation at all), but CFLAGS
from machine-tune are propagated to CC and it also include -mfloat-abi
flag. Should not -mfloat-abi flag be filtered out in kernel-arch.bbclass ?
//Anton
[-- Attachment #2: Type: text/html, Size: 609 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: kernel.bbclass, module-base.bbclass: Use CC to form KERNEL_CC
2013-02-26 16:08 kernel.bbclass, module-base.bbclass: Use CC to form KERNEL_CC Anton Sergienko
@ 2013-02-26 17:56 ` Khem Raj
2013-02-26 22:22 ` McClintock Matthew-B29882
0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2013-02-26 17:56 UTC (permalink / raw)
To: Anton Sergienko; +Cc: openembedded-core
On (26/02/13 17:08), Anton Sergienko wrote:
> Hi!
> After the patch (commit c49f967384ccbfe131bbb33ee518014f3fc4b38f) to
> meta/classes/kernel-arch.bbclass kernel build fails for arm machine with
> hard floating point instruction set in CC (-mfloat-abi=hard).
> As I understand kernel should not be build with fpu specific floating point
> instructions(should not be any floating point operation at all), but CFLAGS
> from machine-tune are propagated to CC and it also include -mfloat-abi
> flag. Should not -mfloat-abi flag be filtered out in kernel-arch.bbclass ?
yes. I think this patch is creating more issues than its solving. I will
think about decoupling KERNEL_CC from CC once again.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: kernel.bbclass, module-base.bbclass: Use CC to form KERNEL_CC
2013-02-26 17:56 ` Khem Raj
@ 2013-02-26 22:22 ` McClintock Matthew-B29882
2013-02-26 22:49 ` Khem Raj
0 siblings, 1 reply; 4+ messages in thread
From: McClintock Matthew-B29882 @ 2013-02-26 22:22 UTC (permalink / raw)
To: Anton Sergienko, openembedded-core
On Tue, Feb 26, 2013 at 11:56 AM, Khem Raj <raj.khem@gmail.com> wrote:
> On (26/02/13 17:08), Anton Sergienko wrote:
>> Hi!
>> After the patch (commit c49f967384ccbfe131bbb33ee518014f3fc4b38f) to
>> meta/classes/kernel-arch.bbclass kernel build fails for arm machine with
>> hard floating point instruction set in CC (-mfloat-abi=hard).
>> As I understand kernel should not be build with fpu specific floating point
>> instructions(should not be any floating point operation at all), but CFLAGS
>> from machine-tune are propagated to CC and it also include -mfloat-abi
>> flag. Should not -mfloat-abi flag be filtered out in kernel-arch.bbclass ?
>
> yes. I think this patch is creating more issues than its solving. I will
> think about decoupling KERNEL_CC from CC once again.
I just resubmitted my patch for this... It decouples all the extra
args while still keeping the ones specifically added.
-M
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: kernel.bbclass, module-base.bbclass: Use CC to form KERNEL_CC
2013-02-26 22:22 ` McClintock Matthew-B29882
@ 2013-02-26 22:49 ` Khem Raj
0 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2013-02-26 22:49 UTC (permalink / raw)
To: McClintock Matthew-B29882; +Cc: openembedded-core
On Tue, Feb 26, 2013 at 2:22 PM, McClintock Matthew-B29882
<B29882@freescale.com> wrote:
> On Tue, Feb 26, 2013 at 11:56 AM, Khem Raj <raj.khem@gmail.com> wrote:
>> On (26/02/13 17:08), Anton Sergienko wrote:
>>> Hi!
>>> After the patch (commit c49f967384ccbfe131bbb33ee518014f3fc4b38f) to
>>> meta/classes/kernel-arch.bbclass kernel build fails for arm machine with
>>> hard floating point instruction set in CC (-mfloat-abi=hard).
>>> As I understand kernel should not be build with fpu specific floating point
>>> instructions(should not be any floating point operation at all), but CFLAGS
>>> from machine-tune are propagated to CC and it also include -mfloat-abi
>>> flag. Should not -mfloat-abi flag be filtered out in kernel-arch.bbclass ?
>>
>> yes. I think this patch is creating more issues than its solving. I will
>> think about decoupling KERNEL_CC from CC once again.
>
> I just resubmitted my patch for this... It decouples all the extra
> args while still keeping the ones specifically added.
thanks for doing it
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-02-26 23:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-26 16:08 kernel.bbclass, module-base.bbclass: Use CC to form KERNEL_CC Anton Sergienko
2013-02-26 17:56 ` Khem Raj
2013-02-26 22:22 ` McClintock Matthew-B29882
2013-02-26 22:49 ` Khem Raj
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.