[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2.2.4 test-lfs fails with 'invalid argument'
From: |
Ulrich Drepper |
Subject: |
Re: 2.2.4 test-lfs fails with 'invalid argument' |
Date: |
26 Sep 2001 10:28:32 -0700 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.2 (Thelxepeia) |
Jochen Jost <address@hidden> writes:
> While building glibc-2.2.4 goes without problems, 'make
> check' fails with
>
> /home/jochen/glibc-2.2.4-build/io/test-lfs:
> cannot write test string to large file: Invalid argument
Look at the strace output. If the sequence is really
llseek(...) = 0
write (...) = EINVAL
then this is a new quirks in the kernel. The write() syscall mustn't
return this.
In this case you can ignore the error or better finally drop the 2.2
kernel.
> p.s. How to debug a case like this one? That is, how to
> tell GDB to use another dynamic loader when debugging? Any
> pointers?
Copy and paste the commandline make builds to create the test binary
and add -Wl,-dynamic-linker,BUILDDIR/elf/ld.so,-rpath,BUILDDIR.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------