[OE-core] [PATCH V2 1/3] kernel.bbclass, module-base.bbclass: Use CC to form KERNEL_CC

Koen Kooi koen at dominion.thruhere.net
Thu Sep 13 18:02:27 UTC 2012


Op 12 sep. 2012, om 09:49 heeft Khem Raj <raj.khem at gmail.com> het volgende geschreven:

> On Tue, Sep 11, 2012 at 11:32 PM, Phil Blundell <philb at gnu.org> wrote:
>> On Tue, 2012-09-11 at 22:59 -0700, Khem Raj wrote:
>>> kernel compiler is not special and we currently have it so
>>> we want to pass -march and -mtune options as CFLAGS to kernel
>>> build so that compiler picks the right subarch flags when
>>> compiling assembly files in particular.
>> 
>> Historically, the kernel compiler has indeed been special: there have
>> been some machines where, due to bugs in the kernel or the compiler or
>> both, we need to use a different version of the compiler for the kernel
>> than we use for userspace.  The most famous example of this were the old
>> ARM kernels back in the day which needed gcc-2.95 long after everyone
>> else had stopped using it, but I think there might be a few cases where
>> the same situation obtains even today.
> 
> I agree with history but we have moved away from 2.9x for long.
> moreover v1 of this patch has been posted for weeks no one raised a
> concern which I take that such cases are not there anymore with
> OE-Core
> 
>> 
>> If you remove ${KERNEL_CCSUFFIX} then we will lose the ability to do
>> that (easily).  I'm not necessarily opposed to such a change but I think
>> it does need to be justified with clear benefits.
>> 
> 
> again if there is a usecase with OE-Core of such a kind. I will be
> happy to deal with it no one has shown me one.

The archos vendor kernels only work when built with CSL 2007, a common problem with TI kernels from that era



More information about the Openembedded-core mailing list