From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob Barry Date: Fri, 24 Sep 2004 12:48:09 +0000 Subject: Re: latest klibc for udev Message-Id: <200409220810.08974.bobb@absamail.co.za> List-Id: References: <20040917191134.GA28506@vrfy.org> In-Reply-To: <20040917191134.GA28506@vrfy.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org Kevin & Kay- On Mon, 20 Sep 2004 07:51 Kevin wrote: > ...you said that the udev package needs to "provide klibc-0.17x" the=20 > support the 2.6.9-rc2 kernel, and I was disagreeing. That should only be = > necessary if you are allowing udev/klibc to build against raw kernel=20 > headers, instead of sanitized headers. I run udev-032 against 2.6.9-rc2=20 > kernels here and have not had any trouble. I got the latest linux-libc-headers and installed them, and upgraded my glibc from 2.3.2 to 2.3.3, but compilation of klibc still failed under linux-2.6.9-rc2. The failure was always in compilation of ash (which I didn't really want anyway). I finally found that ash requires a recent version of bison; version 1.35 failed, but 1.75 succeeds. Makefile in klibc root directory should test for bison version. Does udev use ash? Might it be used in future? The udev build would be qu= icker, and independent of yacc and bison, if ash were not built. The following script, in same directory as Kay's patches, builds udev with recent klibc: #!/bin/ksh rm -rf udev-032 tar xjvf /usr/portage/distfiles/udev-032.tar.bz2 cd udev-032 tar xjvf /usr/portage/distfiles/klibc-0.179.tar.bz2 mv klibc-0.179 klibc patch -p1 < ../udev-klibc-last-01.patch patch -p0 < ../klibc-bug-01.patch ln -s /usr/src/linux-2.6.9-rc2 klibc/linux make KERNEL_DIR=3D/usr/src/linux-2.6.9-rc2 USE_KLIBC=3Dtrue USE_LOG=FAlse= DEBUG=FAlse If line "ln -s /usr/src/linux-2.6.9-rc2 klibc/linux" is omitted, script fai= ls despite KERNEL_DIR parameter in make command. Running make KERNEL_DIR=3D/usr/src/linux-2.6.9-rc2 USE_KLIBC=3Dtrue USE_LOG=FAlse= DEBUG=FAlse on unpatched udev-032 fails every time. Running make KERNEL_DIR=3D/usr/src/linux-2.6.9-rc1 USE_KLIBC=3Dtrue USE_LOG=FAlse= DEBUG=FAlse on unpatched udev-032 succeeds. Thanks, Bob Barry ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel