All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phil Blundell <pb@reciva.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe-commits] Roman I Khimov : (e)glibc-package: fix	kernel version passed to qemu
Date: Mon, 18 May 2009 14:41:29 +0100	[thread overview]
Message-ID: <1242654089.9080.111.camel@mill.internal.reciva.com> (raw)
In-Reply-To: <200905181716.24601.khimov@altell.ru>

On Mon, 2009-05-18 at 17:16 +0400, Roman I Khimov wrote:
> On Monday 18 May 2009 16:15:33 Florian Boor wrote:
> > Hi,
> >
> > GIT User account schrieb:
> > > +		kernel_ver = bb.data.getVar("OLDEST_KERNEL", d, 1)
> > > +		if kernel_ver is None:
> > > +			qemu = "qemu-%s  -s 1048576" % target_arch
> > > +		else:
> > > +			qemu = "qemu-%s  -s 1048576 -r %s" % (target_arch, kernel_ver)
> >
> > are you sure this is a good idea?
> > OLDEST_KERNEL defaults to "2.4.0", so this change is likely to break locale
> > generation for every machine that doesn't have OLDEST_KERNEL set.
> 
> I've not heard yet of this really breaking something. And frankly I don't see 
> any reason for that. If it actually does - feel free to shout and scream of 
> course, we'll think how to handle it better.

I guess it'd break on targets where OLDEST_KERNEL isn't set (and hence
defaults to 2.4.0) but you need a kernel newer than 2.4.0 for correct
operation.  Presumably all ARM EABI targets fall into that latter
category, since the TLS syscalls weren't in 2.4.x, and there might be
some others where glibc's default setting for --enable-kernel is
something newer than 2.4.0.

All in all I'd be happier with this change if it enforced a minimum
kernel version of 2.6.16 (i.e. what it used to be) so that there is no
possibility of versions going backwards for any target.

Incidentally, if there is a default value for OLDEST_KERNEL in
bitbake.conf then checking the retrieved value against None seems fairly
futile since that will never be true.

p.





  reply	other threads:[~2009-05-18 13:49 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20090517212442.6E35A1893E6@amethyst.openembedded.net>
2009-05-18 12:15 ` [oe-commits] Roman I Khimov : (e)glibc-package: fix kernel version passed to qemu Florian Boor
2009-05-18 13:16   ` Roman I Khimov
2009-05-18 13:41     ` Phil Blundell [this message]
2009-05-18 14:12       ` Roman I Khimov
2009-05-18 14:40         ` Phil Blundell
2009-05-18 18:42           ` [oe-commits] Roman I Khimov : (e) glibc-package: " Roman I Khimov
2009-05-18 18:54             ` Phil Blundell
2009-05-18 19:37               ` Phil Blundell
2009-05-18 19:54                 ` Roman I Khimov
2009-05-18 20:16                   ` Phil Blundell
2009-05-18 23:10                     ` Peter Chubb
2009-05-19  7:38                       ` Phil Blundell
2009-05-19  8:55                         ` Roman I Khimov
2009-05-19  9:10                           ` Phil Blundell
2009-05-19  3:44                 ` Tom Rini
2009-05-19  4:54                   ` Tom Rini
2009-05-19 10:52                   ` [PATCH] (e)glibc.inc: add minimal sane kernel versions Roman I Khimov
2009-05-18 19:37               ` [oe-commits] Roman I Khimov : (e) glibc-package: fix kernel version passed to qemu Roman I Khimov
2009-05-18 20:00                 ` Phil Blundell
2009-05-18 20:16                   ` Roman I Khimov
2009-05-18 21:08       ` [oe-commits] Roman I Khimov : (e)glibc-package: " GNUtoo
2009-05-18 19:23     ` Florian Boor
2009-05-18 19:38       ` Roman I Khimov
2009-05-18 19:42       ` Roman I Khimov
2009-05-18 21:01         ` Florian Boor
2009-05-18 19:51       ` Roman I Khimov
2009-05-18 20:17         ` Tom Rini
2009-05-19 15:24           ` Roman I Khimov
2009-05-19 19:22             ` Marcin Juszkiewicz
2009-05-19 19:42               ` [PATCH] qemu 0.10.3: port OE's patches, make preferable version Roman I Khimov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1242654089.9080.111.camel@mill.internal.reciva.com \
    --to=pb@reciva.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.