Test errors with glibc in Chap 6

root greenjh at blueyonder.co.uk
Mon Jan 5 00:40:23 PST 2004


Hi,

I am trying to build LFS following the book closely (version CVS-20031222).
The host system is Mandrake 8.2, upgraded to kernel 2.4.23.

I have three errors from the tests on glibc in Chap 6.  The details are 
posted at the
end - you can search for 'Error'.

The first error is a timeout in stdlib/test-canon.c.  I am building on a 
USB disk,
which runs slowly, so the timeout may be expected, especially once I 
have chrooted
to the environment on the USB disk.  However, I cannot see where to
increase the size of the timeout.

The second error may be a consequence of the first.

The third error is from posix/annexc.c.  There are few comments in that 
source
file, so it is hard for me to know what is going on here.  The report does
say 'ignored', and some old threads in the support list suggest it is not
a real concern.

TIA,

John Green

gcc -nostdlib -nostartfiles -o /sources/glibc-build/stdlib/test-canon  
-Wl,-dynamic-linker=/lib/ld-linux.so.2   -Wl,-z,combreloc 
/sources/glibc-build/csu/crt1.o /sources/glibc-build/csu/crti.o `gcc 
--print-file-name=crtbegin.o` /sources/glibc-build/stdlib/test-canon.o  
-Wl,-rpath-link=/sources/glibc-build:/sources/glibc-build/math:/sources/glibc-build/elf:/sources/glibc-build/dlfcn:/sources/glibc-build/nss:/sources/glibc-build/nis:/sources/glibc-build/rt:/sources/glibc-build/resolv:/sources/glibc-build/crypt:/sources/glibc-build/linuxthreads 
/sources/glibc-build/libc.so.6 /sources/glibc-build/libc_nonshared.a 
-lgcc `gcc --print-file-name=crtend.o` /sources/glibc-build/csu/crtn.o
GCONV_PATH=/sources/glibc-build/iconvdata LC_ALL=C   
/sources/glibc-build/elf/ld-linux.so.2 --library-path 
/sources/glibc-build:/sources/glibc-build/math:/sources/glibc-build/elf:/sources/glibc-build/dlfcn:/sources/glibc-build/nss:/sources/glibc-build/nis:/sources/glibc-build/rt:/sources/glibc-build/resolv:/sources/glibc-build/crypt:/sources/glibc-build/linuxthreads 
/sources/glibc-build/stdlib/test-canon 
--test-dir=/sources/glibc-build/stdlib > 
/sources/glibc-build/stdlib/test-canon.out
Timed out: killed the child process but it exited 0
make[2]: *** [/sources/glibc-build/stdlib/test-canon.out] Error 1
gcc test-canon2.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes 
-Wwrite-strings -g      -I../include -I. -I/sources/glibc-build/stdlib 
-I.. -I../libio  -I/sources/glibc-build -I../sysdeps/i386/elf 
-I../linuxthreads/sysdeps/unix/sysv/linux/i386 
-I../linuxthreads/sysdeps/unix/sysv/linux 
-I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread 
-I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix 
-I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386 
-I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux 
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman 
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 
-I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix 
-I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 
-I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  
-nostdinc -isystem /tools/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include 
-isystem /usr/include -D_LIBC_REENTRANT -include 
../include/libc-symbols.h   -DNOT_IN_libc=1    -o 
/sources/glibc-build/stdlib/test-canon2.o

---cut---

gcc -nostdlib -nostartfiles -o /sources/glibc-build/stdlib/tst-fmtmsg  
-Wl,-dynamic-linker=/lib/ld-linux.so.2   -Wl,-z,combreloc 
/sources/glibc-build/csu/crt1.o /sources/glibc-build/csu/crti.o `gcc 
--print-file-name=crtbegin.o` /sources/glibc-build/stdlib/tst-fmtmsg.o  
-Wl,-rpath-link=/sources/glibc-build:/sources/glibc-build/math:/sources/glibc-build/elf:/sources/glibc-build/dlfcn:/sources/glibc-build/nss:/sources/glibc-build/nis:/sources/glibc-build/rt:/sources/glibc-build/resolv:/sources/glibc-build/crypt:/sources/glibc-build/linuxthreads 
/sources/glibc-build/libc.so.6 /sources/glibc-build/libc_nonshared.a 
-lgcc `gcc --print-file-name=crtend.o` /sources/glibc-build/csu/crtn.o
/bin/sh -e tst-fmtmsg.sh /sources/glibc-build/ ' 
/sources/glibc-build/elf/ld-linux.so.2 --library-path 
/sources/glibc-build:/sources/glibc-build/math:/sources/glibc-build/elf:/sources/glibc-build/dlfcn:/sources/glibc-build/nss:/sources/glibc-build/nis:/sources/glibc-build/rt:/sources/glibc-build/resolv:/sources/glibc-build/crypt:/sources/glibc-build/linuxthreads' 
/sources/glibc-build/stdlib/
make[2]: Target `tests' not remade because of errors.
make[2]: Leaving directory `/sources/glibc-2.3.2/stdlib'
make[1]: *** [stdlib/tests] Error 2
make  -C stdio-common tests
make[2]: Entering directory `/sources/glibc-2.3.2/stdio-common'
gcc tstscanf.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes 
-Wwrite-strings -g      -I../include -I. 
-I/sources/glibc-build/stdio-common -I.. -I../libio  
-I/sources/glibc-build -I../sysdeps/i386/elf 
-I../linuxthreads/sysdeps/unix/sysv/linux/i386 
-I../linuxthreads/sysdeps/unix/sysv/linux 
-I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread 
-I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix 
-I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386 
-I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux 
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman 
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386
-I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix 
-I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 
-I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  
-nostdinc -isystem /tools/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include 
-isystem /usr/include -D_LIBC_REENTRANT -include 
../include/libc-symbols.h   -DNOT_IN_libc=1    -D_IO_MTSAFE_IO -o 
/sources/glibc-build/stdio-common/tstscanf.o
(echo '#include <sysdep.h>'; \
 echo 'PSEUDO (rename, rename, 2)'; \
 echo ' ret'; \

---cut---

cd /sources/glibc-build/posix && gcc -O  -include ../config.h 
/sources/glibc-2.3.2/posix/annexc.c -o annexc
/tmp/ccElcV6F.o(.text+0x1a9): In function `get_null_defines':
: the use of `tmpnam' is dangerous, better use `mkstemp'
/sources/glibc-build/posix/annexc 'gcc' \
  '-I../csu -I../iconv -I../iconvdata -I../locale -I../localedata 
-I../assert -I../ctype -I../intl -I../catgets -I../math -I../setjmp 
-I../signal -I../stdlib -I../stdio-common -I../libio -I../dlfcn 
-I../malloc -I../string -I../wcsmbs -I../timezone -I../time -I../dirent 
-I../grp -I../pwd -I../posix -I../io -I../termios -I../resource 
-I../misc -I../socket -I../sysvipc -I../gmon -I../gnulib -I../wctype 
-I../manual -I../shadow -I../po -I../argp -I../crypt -I../linuxthreads 
-I../resolv -I../nss -I../rt -I../conform -I../debug 
-I../linuxthreads_db -I../inet -I../hesiod -I../sunrpc -I../nis 
-I../nscd -I../streams -I../login -I../elf -I../include -I.. 
-I/sources/glibc-build -I../sysdeps/i386/elf 
-I../linuxthreads/sysdeps/unix/sysv/linux/i386 
-I../linuxthreads/sysdeps/unix/sysv/linux 
-I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread 
-I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix 
-I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386 
-I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux 
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman 
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 
-I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix 
-I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 
-I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic 
-nostdinc -isystem /tools/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include 
-isystem /usr/include' > /sources/glibc-build/posix/annexc.out
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
/sources/glibc-build/malloc/mtrace 
/sources/glibc-build/posix/bug-regex2.mtrace > 
/sources/glibc-build/posix/bug-regex2-mem

---cut---






More information about the lfs-support mailing list