Received: from [82.71.203.194] (helo=crown.reciva.com) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1M686G-0004yD-Em for openembedded-devel@lists.openembedded.org; Mon, 18 May 2009 21:02:12 +0200 Received: from 88-109-251-122.dynamic.dsl.as9105.com ([88.109.251.122] helo=[192.168.2.154]) by crown.reciva.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1M67zC-0000jI-EK for openembedded-devel@lists.openembedded.org; Mon, 18 May 2009 19:54:54 +0100 From: Phil Blundell To: openembedded-devel@lists.openembedded.org In-Reply-To: <200905182242.14829.khimov@altell.ru> References: <20090517212442.6E35A1893E6@amethyst.openembedded.net> <200905181812.54222.khimov@altell.ru> <1242657603.9080.122.camel@mill.internal.reciva.com> <200905182242.14829.khimov@altell.ru> Date: Mon, 18 May 2009 19:54:53 +0100 Message-Id: <1242672893.4226.52.camel@lenovo.internal.reciva.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Subject: Re: [oe-commits] Roman I Khimov : (e) glibc-package: fix kernel version passed to qemu X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2009 19:02:12 -0000 Content-Type: text/plain Content-Transfer-Encoding: 7bit On Mon, 2009-05-18 at 22:42 +0400, Roman I Khimov wrote: > Now, I think that this should be fixed on target level. OLDEST_KERNEL should > be something sane. Global 2.4.0 from bitbake.conf is good enough for most > targets, but if we know that none of ARM EABI works with kernel versions prior > to 2.6.14, we should set OLDEST_KERNEL to 2.6.14 for that targets. Or higher, > of course, if target needs/wants that. If that's OK with all, I'm doing a > patch. I'm still not convinced this is either practical or desirable. The kernel versions you mentioned are the minimum required for the particular version of glibc you were looking at, but different libcs or different versions of the same libc will have different minimum kernel requirements even for the same target. (As an obvious example, the m68k port has been supported in glibc since its inception and clearly didn't require a 2.6.18 kernel to start with.) I think it would be better to leave the semantics of OLDEST_KERNEL alone and just teach qemu to use either the same __LINUX_KERNEL_VERSION as glibc's configure script has settled on, or (perhaps better) just the newest version that it supports for the given target. p.