[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: |
Jochen Jost |
Subject: |
Re: 2.2.4 test-lfs fails with 'invalid argument' |
Date: |
Thu, 27 Sep 2001 16:54:45 +0200 |
Hi Ulrich,
thank you for your help.
> Look at the strace output. If the sequence is really
>
> llseek(...) = 0
> write (...) = EINVAL
Yes, it is. So it's time for a new kernel, isn't it?
> > 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.
_____________________________^_________________________^ This have to be '='s?
I'm a bit confused here. There already is
gcc -nostdlib -nostartfiles -o /home/jochen/glibc-2.2.4-build/io/test-lfs \
-Wl,-dynamic-linker=/lib/ld-linux.so.2
/home/jochen/glibc-2.2.4-build/csu/crt1.o \
/home/jochen/glibc-2.2.4-build/csu/crti.o `gcc --print-file-name=crtbegin.o` \
/home/jochen/glibc-2.2.4-build/io/test-lfs.o \
-Wl,-rpath-link=/home/jochen/glibc-2.2.4-build:/home/jochen/glibc-2.2.4-build/math:
\
/home/jochen/glibc-2.2.4-build/elf:/home/jochen/glibc-2.2.4-build/dlfcn: \
/home/jochen/glibc-2.2.4-build/nss:/home/jochen/glibc-2.2.4-build/nis: \
/home/jochen/glibc-2.2.4-build/rt:/home/jochen/glibc-2.2.4-build/resolv: \
/home/jochen/glibc-2.2.4-build/crypt:/home/jochen/glibc-2.2.4-build/linuxthreads
\
/home/jochen/glibc-2.2.4-build/libc.so.6 \
/home/jochen/glibc-2.2.4-build/libc_nonshared.a -lgcc \
`gcc --print-file-name=crtend.o` /home/jochen/glibc-2.2.4-build/csu/crtn.o
Am I to replace -Wl.-dynamic-linker=/lib/ld-linux.so.2 with
the options you've given above? Sorry for these rather
elementary questions, but I'm not very familiar with
debugging yet.
Thank you for your time,
Jochen