LFS 6.4 Chapter 6 Glibc Test errors

Ken Moffat ken at linuxfromscratch.org
Sun Feb 22 08:35:50 PST 2009


On Sun, Feb 22, 2009 at 02:29:20PM +0100, Aaron Schawalder wrote:
> Hello
> 
> I use LFS V6.4 an have successfully build my toolchain (see previous 
> mails).
> 
> Hostsystem: Debian Etch on a 10 year old Compaq Deskpro 880MHz with cpuinfo:
[snipped the cpu details - Pentium III should be "conventional" but
nowadays it is probably not tested very much].  Google is ambiguous
about the kernel in Etch, implying it might be anything between 2.6.18
and 2.6.24 ("etch and a half", supposedly) - and that's without
whatever additional features debian backported and added.

 Certainly, I would not be surprised to see _a_few_ failures from any
kernel before (plucks number out of the air...) 2.6.22.

 What results does your debian system produce for version-check from
http://www.linuxfromscratch.org/lfs/view/stable/prologue/hostreqs.html
and how do they compare to the versions listed on that page ?

 In particular, which kernel and which compiler version was used to
build the kernel ?  I can't say I have confidence in the phrase on
that page about the kernel '(having been compiled with GCC-3.0 or
greater)' - anything less than the gcc-3.4 series has to be regarded
as suspect nowadays.

> 
> During building Glibc in Chapter 6.9 I've got the following errors while 
> testing:
> 
> root:/sources/glibc-build# make -k check 2>&1 | tee glibc-check-log
> ....
> make[1]: Target `check' not remade because of errors.
> make[1]: Leaving directory `/sources/glibc-2.8-20080929'
> make: *** [check] Error 2
> root:/sources/glibc-build# grep Error glibc-check-log
> make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
> make[2]: *** [/sources/glibc-build/nptl/tst-mutex8.out] Error 1
> make[2]: *** [/sources/glibc-build/nptl/tst-mutexpi8.out] Error 1
> make[2]: *** [/sources/glibc-build/nptl/tst-cond8.out] Error 1
> make[2]: *** [/sources/glibc-build/nptl/tst-sem11.out] Error 1
> make[2]: *** [/sources/glibc-build/nptl/tst-sem12.out] Error 1
> make[2]: *** [/sources/glibc-build/nptl/tst-cancel24.out] Error 1
> make[2]: *** [/sources/glibc-build/nptl/tst-cancelx4.out] Error 1
> make[2]: *** [/sources/glibc-build/nptl/tst-cancelx5.out] Error 1
> make[2]: *** [/sources/glibc-build/nptl/tst-cancelx16.out] Error 1
> make[2]: *** [/sources/glibc-build/nptl/tst-cancelx20.out] Error 1
> make[2]: *** [/sources/glibc-build/nptl/tst-cancelx21.out] Error 1
> make[2]: *** [/sources/glibc-build/nptl/tst-cleanupx4.out] Error 1
> make[1]: *** [nptl/tests] Error 2
> make: *** [check] Error 2

 What is interesting is that the errors are all in nptl.
> 
> I searched the web for explanations with google e.g. about "LFS 6.4 
> [/sources/glibc-build/nptl/tst-mutex8.out] Error 1" and other patterns, 
> I also searched the LFS homepage for explanation. I could only find 
> hints for LFS V6.2 e.g. at 
> http://dvm.zapto.org:8080/websvn/filedetails.php?repname=shared_codes&path=%2Fpython%2Fwebpy%2Fpywebpywiki%2Fcurrent%2FLFS&rev=160&sc=1
> with the passage
> "When i do the `make -k check 2>&1 | tee glibc-check-log` i got some errors
> 
> |||
> ||    # grep Error glibc-check-log
> ||    make[2]: *** [/sources/glibc-build/nptl/tst-mutex8.out] Error 1
> ||    make[2]: *** [/sources/glibc-build/nptl/tst-cond8.out] Error 1
> ||    make[2]: *** [/sources/glibc-build/nptl/tst-cond17.out] Error 1
> ||    make[2]: *** [/sources/glibc-build/nptl/tst-cancel17.out] Error 1
> ||    make[2]: *** [/sources/glibc-build/nptl/tst-cancelx4.out] Error 1
> ||    make[2]: *** [/sources/glibc-build/nptl/tst-cancelx5.out] Error 1
> ||    make[2]: *** [/sources/glibc-build/nptl/tst-cancelx16.out] Error 1
> ||    make[2]: *** [/sources/glibc-build/nptl/tst-cancelx17.out] Error 1
> ||    make[2]: *** [/sources/glibc-build/nptl/tst-cancelx20.out] Error 1
> ||    make[2]: *** [/sources/glibc-build/nptl/tst-cancelx21.out] Error 1
> ||    make[2]: *** [/sources/glibc-build/nptl/tst-cleanupx4.out] Error 1
> ||    make[1]: *** [nptl/tests] Error 2
> ||    make: *** [check] Error 2
> ||    root:/sources/glibc-build#
> ||
> ||According to the LFS book: Important :In this section, the test suite for Glibc
> ||is considered critical. Do not skip it under any circumstance.
> ||
> ||But if i do the make install it's look to be go right."

 All that site really says is that someone got what look to be the
same errors, and he interpreted the 'test-installation.pl' output as
a definitive "good to go" message, which I cannot agree with - it
has nothing to do with the results of running any of the testsuites.

> 
> Unfortunately I didn't find hints about this errors. Are this errors crucial or can I continue with building LFS without suspicion about operability of my future LFS system?
> 
> I am pleased about your advise.
> 
> Aaron S.

 You have a sufficient cluster of errors to imply something is not
right.

 The first thing to check is that the output files (e.g.
tst-mutex8.out) might contain error messages (alternatively, they
might be empty).  The second thing to do is to open the full
glibc-check-log in your favourite editor or viewer on the host system
(e.g. 'view', i.e. vim, or 'less').  Search for each of the 'Error
1' messages above, and look at the lines above the error.  Perhaps
you are seeing segmentation faults (e.g. overheating), or perhaps one
particular program is missing or broken.

 Perhaps your search was _too_ specific.  I just tried googling for
LFS nptl/tst-mutex8.out     and the first entry took me to
http://www.mail-archive.com/lfs-support@linuxfromscratch.org/msg02331.html
which is three years old but might be relevant: typos in
libgcc_s.so.1 symlink and somewhere in the perl install.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce



More information about the lfs-support mailing list