[oe] [oe-commits] Roman I Khimov : (e) glibc-package: fix kernel version passed to qemu

Roman I Khimov khimov at altell.ru
Mon May 18 20:16:39 UTC 2009


On Tuesday 19 May 2009 00:00:35 Phil Blundell wrote:
> On Mon, 2009-05-18 at 23:37 +0400, Roman I Khimov wrote:
> > Of course, we can take version from __LINUX_KERNEL_VERSION, but that's
> > more work and it doesn't fix misconfiguration we have when glibc has to
> > decide that it knows better its minimal requirements for target.
>
> I'm not sure what you're saying here.  __LINUX_KERNEL_VERSION (from
> config.h) is precisely the version that glibc is compiled to expect (and
> what dl-sysdep checks against).  So, if you run qemu as that same kernel
> version, it is guaranteed to always be compatible with the glibc build
> in question.

Yep, sure. What's bugging me is that we try to configure glibc for wrong 
kernel in first place. And if we switch to proper configuration, then there 
will be no need to dig into config.h to get __LINUX_KERNEL_VERSION (is its 
format reliable enough across all versions of glibc?).




More information about the Openembedded-devel mailing list