This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: (ARM EABI) ports-20061127 + kernel-headers-2.6.18 == broken system


--- 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 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]