Ch6, glibc "make test" error. Increase timeout?

Vidar Hoel vhoel99 at
Tue Jun 10 16:59:13 PDT 2003

On Wed, Jun 11, 2003 at 12:17:51AM +0200, Vidar Hoel wrote:

(Yes, this is a reply to myself :-))

> But when I came to glibc in chapter 6, I did a "make test" However, on
> this new box I get an error:
> <-cut->
> GCONV_PATH=/root/glibc-build/iconvdata LC_ALL=C
> /root/glibc-build/elf/ --library-path
> /root/glibc-build:/root/glibc-build/math:/root/glibc-build/elf:/root/glibc-build/dlfcn:/root/glibc-build/nss:/root/glibc-bu
> ild/nis:/root/glibc-build/rt:/root/glibc-build/resolv:/root/glibc-build/crypt:/root/glibc-build/linuxthreads
> /root/glibc-build/io/test-lfs  > /root/glibc-build/io/test-lfs.out
> Timed out: the child process got signal Real-time signal 5
> make[2]: *** [/root/glibc-build/io/test-lfs.out] Error 1
> make[2]: Leaving directory `/root/glibc-2.3.2/io'
> make[1]: *** [io/tests] Error 2
> make[1]: Leaving directory `/root/glibc-2.3.2'
> make: *** [check] Error 2
> <-cut->
> Yes, I have read the mailinglist, and here are the threads:
> So, I am not the only one with this problem. The first time I ran it
> build and ran glibc-test in parallell, and got signal 21. This time
> ran it uni, and got the signal 5.
> I guess it is my harddrive or CPU that is too slow, so I need to
> increase a timeout? But where?

After a while I suddenly got the bright idea to step out of glibc-build
and enter glibc-2.3.2 to search for the timeout :-) I found it in
io/test-lfs.c and increased from 20 to 120, and then I had to go back to
glibc-build/io/ and manually delete test-lfs and test-lfs.o (a "make
tests-clean" didn't do it).

And now the "make check" did run without any problems!

But this should be mentioned in the book or the FAQ..


Vidar Hoel - vhoel99 at
Unsubscribe: send email to listar at
and put 'unsubscribe lfs-dev' in the subject header of the message

More information about the lfs-dev mailing list