glibc test errors

Robert Connolly robert at
Wed Jun 18 21:45:21 PDT 2008

The Glibc test suite is the only toolchain test suite in HLFS that works. You 
should get perfect test results... I test it every time I do Glibc in chap6 
and I only get posix/annexc.

The most common reason for getting failed Glibc tests in LFS or HLFS is due to 
the host system kernel. I want to make a list of needed modules and drivers, 
but I haven't narrowed them down yet. SysV, for example, is one driver which 
I found to be needed by the Glibc test suite. Maybe look at:

In my experience the Slackware kernel always gives perfect Glibc test results.

Something to keep in mind is that if none of your software needs the SysV 
driver then it's more secure to remove it from the kernel, in spite of Glibc 
testing to see whether it works.

The second common reason for failed Glibc tests is from deviating from the 
book... adding toolchain modifications or cflags.

I hope to resolve this issue, and others, once and for all by doing a reboot 
of the new system for chap6.


On Wednesday June 18 2008 11:54:47 pm Chris Buxton wrote:
> I'm using version SVN-20080603, and the initial build host is Ubuntu Server
> 8.04. Using package users system.
> When building glibc on page 6.10, the test suite produces the following:
> # grep -n 'Error 1' ../test.log
> 1203:make[2]: *** [/usr/src/glibc/glibc-build/dlfcn/default.out] Error 1
> 2025:make[2]: [/usr/src/glibc/glibc-build/posix/annexc.out] Error 1
> (ignored) 2268:make[2]: ***
> [/usr/src/glibc/glibc-build/crypt/sha512c-test.out] Error 1 2450:make[2]:
> *** [/usr/src/glibc/glibc-build/nptl/tst-cond20.out] Error 1 2455:make[2]:
> *** [/usr/src/glibc/glibc-build/nptl/tst-cond21.out] Error 1 2987:make[2]:
> *** [/usr/src/glibc/glibc-build/nptl/tst-cancelx4.out] Error 1
> 2995:make[2]: *** [/usr/src/glibc/glibc-build/nptl/tst-cancelx5.out] Error
> 1 3012:make[2]: *** [/usr/src/glibc/glibc-build/nptl/tst-cancelx10.out]
> Error 1 3038:make[2]: ***
> [/usr/src/glibc/glibc-build/nptl/tst-cancelx18.out] Error 1 3941:make[2]:
> *** [/usr/src/glibc/glibc-build/elf/order.out] Error 1
> I know I can ignore the posix/annexc.out, per the build instructions, but
> what about the rest of these? Are these normal?
> Chris Buxton
> Professional Services
> Men & Mice

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <>

More information about the hlfs-dev mailing list