This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: (ARM EABI) ports-20061127 + kernel-headers-2.6.18 == broken system
- From: Steven Newbury <s_j_newbury at yahoo dot co dot uk>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: libc-ports at sourceware dot org
- Date: Sun, 3 Dec 2006 00:35:52 +0000 (GMT)
- Subject: Re: (ARM EABI) ports-20061127 + kernel-headers-2.6.18 == broken system
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=YvZwz5TX7e96ZOASXNPLHxdzbF4uAtWwvWyDCcS9u3BvGi96+bOS+zyhaKR0rmY29ZsOnrcA/KCPoINSAcaVmhxlUfN61qcQdLRkK8PfsC2IURVexDygXIVX40aRcwjc0u69LdAZwRQdAVEzM773/poi1m3q1sZQ+CW/ZaowpEg=;
--- Daniel Jacobowitz <drow@false.org> wrote:
> On Sat, Dec 02, 2006 at 04:19:48PM +0000, Steven Newbury wrote:
> > I've just tried to upgrade my EABI/NPTL kernel headers to the new exported
> > 2.6.18 headers and rebuilt Glibc. I am using a very recent Gentoo
> userspace
> > with a few local changes.
> >
> > I had to update my ports snapshot to a more recent version (tried 20061120
> and
> > 20061127) from 20060925 (as included in Gentoo glibc-2.5) otherwise the
> > required headers aren't available to build glibc. It built OK, but
> resulted in
> > a non-working system. Specifically rm won't remove files, tar complains
> about
> > no utime, cp also doesn't work when setting up udev. Most things do seem
> to be
> > working OK, though.
>
> Building glibc correctly is hard. I'd need much more information to
> see what's gone wrong. You'd need to isolate some system call that was
> being made incorrectly.
OK. Attached is the output of strace -f rm <file> of both the previous
glibc+ports20060925 compiled with 2.6.17 headers (I think) and
glibc+ports20061127 compiled with 2.6.18 sanitised headers. The prior works,
the latter doesn't.
gcc -v output:
Using built-in specs.
Target: arm-iwmmxt-linux-gnueabi
Configured with:
/home/tmp/portage/sys-devel/gcc-4.1.1-r1/work/gcc-4.1.1/configure --prefix=/usr
--bindir=/usr/arm-iwmmxt-linux-gnueabi/gcc-bin/4.1.1
--includedir=/usr/lib/gcc/arm-iwmmxt-linux-gnueabi/4.1.1/include
--datadir=/usr/share/gcc-data/arm-iwmmxt-linux-gnueabi/4.1.1
--mandir=/usr/share/gcc-data/arm-iwmmxt-linux-gnueabi/4.1.1/man
--infodir=/usr/share/gcc-data/arm-iwmmxt-linux-gnueabi/4.1.1/info
--with-gxx-include-dir=/usr/lib/gcc/arm-iwmmxt-linux-gnueabi/4.1.1/include/g++-v4
--host=arm-iwmmxt-linux-gnueabi --build=arm-iwmmxt-linux-gnueabi
--disable-altivec --enable-nls --without-included-gettext --with-system-zlib
--disable-checking --disable-werror --disable-libunwind-exceptions
--disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj
--with-arch=iwmmxt --with-cpu=iwmmxt --enable-languages=c,c++ --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1-r1)
rm from coreutils: (GNU coreutils) 6.4
kernel is EABI _only_, OABI support is disabled.
>
> --
> Daniel Jacobowitz
> CodeSourcery
>
Steve
Send instant messages to your online friends http://uk.messenger.yahoo.com