Taking this to -dev from http://wiki.linuxfromscratch.org/lfs/ticket/2820
I have rebuilt the latest full svn book twice with the one change in chapter 6 changing glibc instructions from --enable-kernel=2.6.22.5 to -enable-kernel=2.6.30. I did not make a similar change to the Chapter 5 instructions. My host kernel in both cases was 2.6.30.2 (LFS-6.5). Host system is a X86_64. In the first case, my test errors were: make[3]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored) make[3]: *** [/sources/glibc-build/nptl/tst-rwlock6.out] Error 1 make[3]: *** [/sources/glibc-build/nptl/tst-rwlock7.out] Error 1 make[3]: *** [/sources/glibc-build/nptl/tst-rwlock9.out] Error 1 make[3]: *** [/sources/glibc-build/nptl/tst-rwlock11.out] Error 1 make[3]: *** [/sources/glibc-build/nptl/tst-rwlock12.out] Error 11 make[3]: *** [/sources/glibc-build/nptl/tst-rwlock14.out] Error 1 make[3]: *** [/sources/glibc-build/nptl/tst-abstime.out] Error 1 make[2]: *** [nptl/tests] Error 2 make[3]: *** [/sources/glibc-build/rt/tst-cpuclock2.out] Error 1 make[2]: *** [rt/tests] Error 2 make[1]: *** [check] Error 2 In the second case I got: make[3]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored) make[3]: *** [/sources/glibc-build/rt/tst-cpuclock2.out] Error 1 make[2]: *** [rt/tests] Error 2 make[1]: *** [check] Error 2 It would appear that updating the --enable-kernel value makes a lot of difference. I then rebuilt glibc a couple of times in chroot to identify the tst-cpuclock2 error. However the tst-cpuclock2 is intermittent. We have that identified already in the book. I note that I get different errors when not building as a part of jhalfs, but after chroot in the fresh build (not using /tools). I get: make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored) make[2]: *** [/sources/glibc-build/nptl/tst-attr3.out] Error 1 make[1]: *** [nptl/tests] Error 2 make[2]: *** [/sources/glibc-build/debug/tst-chk3.out] Error 1 make[2]: *** [/sources/glibc-build/debug/tst-lfschk3.out] Error 1 make[2]: *** [/sources/glibc-build/debug/tst-chk6.out] Error 1 make[2]: *** [/sources/glibc-build/debug/tst-lfschk6.out] Error 1 make[1]: *** [debug/tests] Error 2 make[1]: *** [/sources/glibc-build/c++-types-check.out] Error 1 I suppose I need to remount the virtual filesystems and try again. In any case, should we change the book to update the glibc kernel option to 2.6.30? I don't know if a similar change to the host system prerequisites is also needed or not. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page