Received: from relay1.mentorg.com ([192.94.38.131]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1OBYUx-0004bP-Bq for openembedded-devel@lists.openembedded.org; Mon, 10 May 2010 21:18:50 +0200 Received: from svr-orw-exc-08.mgc.mentorg.com ([147.34.98.97]) by relay1.mentorg.com with esmtp id 1OBYR9-0004vn-I3 from Tom_Rini@mentor.com for openembedded-devel@lists.openembedded.org; Mon, 10 May 2010 12:14:43 -0700 Received: from NA1-MAIL.mgc.mentorg.com ([147.34.98.181]) by SVR-ORW-EXC-08.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 10 May 2010 12:14:43 -0700 Received: from 172.30.80.82 ([172.30.80.82]) by NA1-MAIL.mgc.mentorg.com ([147.34.98.181]) with Microsoft Exchange Server HTTP-DAV ; Mon, 10 May 2010 19:14:42 +0000 Received: from trini-m4400 by na1-mail.mgc.mentorg.com; 10 May 2010 12:14:42 -0700 From: Tom Rini To: openembedded-devel@lists.openembedded.org In-Reply-To: <4BE81DE7.90609@dresearch.de> References: <4BE13C20.1010902@dresearch.de> <4BE81DE7.90609@dresearch.de> Organization: Mentor Graphics Corporation Date: Mon, 10 May 2010 12:14:41 -0700 Message-ID: <1273518881.22943.378.camel@trini-m4400> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 X-OriginalArrivalTime: 10 May 2010 19:14:43.0304 (UTC) FILETIME=[0BC8F680:01CAF075] X-SA-Exim-Connect-IP: 192.94.38.131 X-SA-Exim-Mail-From: Tom_Rini@mentor.com X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Re: Kernel Headers Quality Issue (was: linux vs. linux-libc-headers?) 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, 10 May 2010 19:18:50 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2010-05-10 at 16:53 +0200, Thilo Fromm wrote: > Hello Guys, >=20 > this is a somewhat cumulated response - I'd like to address some of the=20 > things mentioned at different points in the discussion in one place.=20 > Please forgive me should I misquote things. >=20 >=20 >=20 > Graeme Gregory in <20100505094242.GF2444@xora-desktop.xora.org.uk>: >=20 > [Steffen Sledz] > > > It seem's not to be possible to use DEFAULT_PREFERENCE_hipox in the > > > linux-libc-headers recipes. So what's the right way to handle this? > > > Something like PREFERRED_VERSION_linux-libc-headers_hipox =3D "2.6.2= 4" > > > in angstrom-2008.1.conf? > > > [Graeme Gregory] > > I thought glibc was supposed to gracefully fall back on missing > > syscalls? >=20 > Glibc is compiled against 2.6.31 headers, which is one of our main=20 > issues here. It only ever *runs* with a 2.6.24 kernel on the target=20 > system, though. So it cannot know about missing syscalls until runtime. Looking at it again and based on what Khem said (and re-reading your failures), the problem is not with glibc, but with other programs (glib, udev are both mentioned specifically) and these programs specifically not failing gracefully. For example, it's quoted over in: http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-May/019626.htm= l that glib falls way back. I think Phil was wrong here and without checking the code, I imagine glib is trying fancy newer syscall, failing, and then falling far back, rather than to just inotify_init as you expected. So the bug here is with glib. As for the udev issue, I do not know how they will react to making the udev version be soft-assign as that too may raise issues. And iirc, udev is or at least can be more tied to min kernel versions. --=20 Tom Rini Mentor Graphics Corporation