* linux-libc-header version mismatch?
@ 2013-06-24 15:59 Hans Beckérus
2013-06-24 16:19 ` Bruce Ashfield
0 siblings, 1 reply; 4+ messages in thread
From: Hans Beckérus @ 2013-06-24 15:59 UTC (permalink / raw)
To: yocto@yoctoproject.org
Hi. We are using a 3.6 based kernel in our builds using a custom
kernel recipe. However, I can see that the linux-libc-headers built
but based on a 3.8 kernel?
Is this really how it should be? Are we supposed to also make a custom
recipe for the linux-libc-headers? The image seems to be executing
fine but I am a bit worried about the version mismatch :(
Hans
PS. I believe I posted this question before but I am no longer 100%
convinced it actually left my outbox. At least I never got a response,
which usually happens very quickly :)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux-libc-header version mismatch?
2013-06-24 15:59 linux-libc-header version mismatch? Hans Beckérus
@ 2013-06-24 16:19 ` Bruce Ashfield
2013-06-24 16:29 ` Paul Barker
0 siblings, 1 reply; 4+ messages in thread
From: Bruce Ashfield @ 2013-06-24 16:19 UTC (permalink / raw)
To: Hans Beckérus; +Cc: yocto@yoctoproject.org
On 13-06-24 11:59 AM, Hans Beckérus wrote:
> Hi. We are using a 3.6 based kernel in our builds using a custom
> kernel recipe. However, I can see that the linux-libc-headers built
> but based on a 3.8 kernel?
> Is this really how it should be? Are we supposed to also make a custom
> recipe for the linux-libc-headers? The image seems to be executing
> fine but I am a bit worried about the version mismatch :(
You shouldn't need to do this. We use a single libc-headers version
for all of a given linux-yocto kernels in a release. The userspace /
libc ABI is stable, and backwards compatible (generally speaking of
course). New interfaces typically have a fallback if the kernel
interface is missing, and we don't currently have any issues either.
Of course older headers with newer kernels is even safer, since
typically at most you are missing out on being able to use new APIs
versus potential for missing APIs.
Summary: you can match them if you want, but we are testing across
several kernel versions and haven't found any issues (yet).
Cheers,
Bruce
>
> Hans
>
> PS. I believe I posted this question before but I am no longer 100%
> convinced it actually left my outbox. At least I never got a response,
> which usually happens very quickly :)
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux-libc-header version mismatch?
2013-06-24 16:19 ` Bruce Ashfield
@ 2013-06-24 16:29 ` Paul Barker
2013-06-24 16:44 ` Hans Beckérus
0 siblings, 1 reply; 4+ messages in thread
From: Paul Barker @ 2013-06-24 16:29 UTC (permalink / raw)
To: Hans Beckérus; +Cc: yocto@yoctoproject.org
On 24 June 2013 17:19, Bruce Ashfield <bruce.ashfield@windriver.com> wrote:
> On 13-06-24 11:59 AM, Hans Beckérus wrote:
>>
>> Hi. We are using a 3.6 based kernel in our builds using a custom
>> kernel recipe. However, I can see that the linux-libc-headers built
>> but based on a 3.8 kernel?
>> Is this really how it should be? Are we supposed to also make a custom
>> recipe for the linux-libc-headers? The image seems to be executing
>> fine but I am a bit worried about the version mismatch :(
>
> Summary: you can match them if you want, but we are testing across
> several kernel versions and haven't found any issues (yet).
>
Just to point out - this is pretty common across linux distros as
well, otherwise all your software would have to be re-built every time
you updated the kernel.
--
Paul Barker
Email: paul@paulbarker.me.uk
http://www.paulbarker.me.uk
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux-libc-header version mismatch?
2013-06-24 16:29 ` Paul Barker
@ 2013-06-24 16:44 ` Hans Beckérus
0 siblings, 0 replies; 4+ messages in thread
From: Hans Beckérus @ 2013-06-24 16:44 UTC (permalink / raw)
To: Paul Barker; +Cc: yocto@yoctoproject.org
On Mon, Jun 24, 2013 at 6:29 PM, Paul Barker <paul@paulbarker.me.uk> wrote:
> On 24 June 2013 17:19, Bruce Ashfield <bruce.ashfield@windriver.com> wrote:
>> On 13-06-24 11:59 AM, Hans Beckérus wrote:
>>>
>>> Hi. We are using a 3.6 based kernel in our builds using a custom
>>> kernel recipe. However, I can see that the linux-libc-headers built
>>> but based on a 3.8 kernel?
>>> Is this really how it should be? Are we supposed to also make a custom
>>> recipe for the linux-libc-headers? The image seems to be executing
>>> fine but I am a bit worried about the version mismatch :(
>>
>> Summary: you can match them if you want, but we are testing across
>> several kernel versions and haven't found any issues (yet).
>>
>
> Just to point out - this is pretty common across linux distros as
> well, otherwise all your software would have to be re-built every time
> you updated the kernel.
>
> --
> Paul Barker
>
> Email: paul@paulbarker.me.uk
> http://www.paulbarker.me.uk
Thanks Paul (and Bruce of course).
I now realize that this would break most systems after a major kernel upgrade ;)
From what I know/experienced so far is that the only thing that
usually breaks with a new major kernel version is our own kernel
drivers...
Hans
On Mon, Jun 24, 2013 at 6:29 PM, Paul Barker <paul@paulbarker.me.uk> wrote:
> On 24 June 2013 17:19, Bruce Ashfield <bruce.ashfield@windriver.com> wrote:
>> On 13-06-24 11:59 AM, Hans Beckérus wrote:
>>>
>>> Hi. We are using a 3.6 based kernel in our builds using a custom
>>> kernel recipe. However, I can see that the linux-libc-headers built
>>> but based on a 3.8 kernel?
>>> Is this really how it should be? Are we supposed to also make a custom
>>> recipe for the linux-libc-headers? The image seems to be executing
>>> fine but I am a bit worried about the version mismatch :(
>>
>> Summary: you can match them if you want, but we are testing across
>> several kernel versions and haven't found any issues (yet).
>>
>
> Just to point out - this is pretty common across linux distros as
> well, otherwise all your software would have to be re-built every time
> you updated the kernel.
>
> --
> Paul Barker
>
> Email: paul@paulbarker.me.uk
> http://www.paulbarker.me.uk
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-06-24 16:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-24 15:59 linux-libc-header version mismatch? Hans Beckérus
2013-06-24 16:19 ` Bruce Ashfield
2013-06-24 16:29 ` Paul Barker
2013-06-24 16:44 ` Hans Beckérus
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.