Ken Moffat escribió: > On Fri, Dec 26, 2008 at 01:48:48PM +0100, José Carlos Carrión wrote: > >> «make test» fails with: >> >> root:/sources/glibc-build# grep Error glibc-check-log >> make[2]: *** [/sources/glibc-build/localedata/tst_mblen.out] Error 1 >> make[2]: *** [/sources/glibc-build/localedata/tst_mbrlen.out] Error 1 >> make[2]: *** [/sources/glibc-build/localedata/tst_mbrtowc.out] Error 1 >> make[2]: *** [/sources/glibc-build/localedata/tst_mbsrtowcs.out] Error 1 >> > [ ... ] > >> > LFS-6.1 is old. Have you upgraded it to use a less old kernel ? I > think I remember unusual failures when people were running old > kernels. As a general rule, I would expect a kernel older than > 2.6.16 to be likely to cause problems. > Thanks for your quick answer.
The host kernel is exactly 2.6.13.5. It was the one I was able to patch in order to get the SAS disk controller running. The systems is in production now and I don't know how compile LFS-6.4 on it with another kernel without stop the box. > > >> Must I worry about the make check fails? >> > > You *might* find error messages in the output files, such as > /sources/glibc-build/localedata/tst_mblen.out - try looking at them > in 'less' or 'view' from outside chroot. If that fails to identify > any problems, look at glibc-check-log to see if there are any other > messages around the 'Error' (e.g. compilation failed to produce an > executable). > All the output files looks like this with little changes: root:/sources/glibc-build/localedata# cat tst_mblen.out mblen:de_DE.ISO-8859-1:1:1:2:F:the return value is different from an expected value mblen:de_DE.ISO-8859-1:2:1:2:S:PASSED mblen:de_DE.ISO-8859-1:3:1:2:S:PASSED mblen:de_DE.ISO-8859-1:4:1:2:S:PASSED mblen:de_DE.ISO-8859-1:5:1:2:S:PASSED mblen:de_DE.ISO-8859-1:6:1:3:S:PASSED mblen:en_US.ANSI_X3.4-1968:1:1:2:S:PASSED mblen:en_US.ANSI_X3.4-1968:2:1:2:S:PASSED mblen:en_US.ANSI_X3.4-1968:3:1:2:S:PASSED mblen:en_US.ANSI_X3.4-1968:4:1:2:S:PASSED mblen:en_US.ANSI_X3.4-1968:5:1:2:S:PASSED mblen:en_US.ANSI_X3.4-1968:6:1:3:S:PASSED mblen:ja_JP.EUC-JP:1:1:2:F:the return value is different from an expected value mblen:ja_JP.EUC-JP:2:1:2:F:the return value is different from an expected value mblen:ja_JP.EUC-JP:3:1:2:F:the return value is different from an expected value mblen:ja_JP.EUC-JP:4:1:1:S:PASSED mblen:ja_JP.EUC-JP:4:1:2:S:PASSED mblen:ja_JP.EUC-JP:5:1:2:S:PASSED mblen:ja_JP.EUC-JP:6:1:3:S:PASSED root:/sources/glibc-build/localedata# *All* the test on en_US.ANSI_X3.4-1968 are passed. All the tests with a return value different from an expected value are on de_DE.ISO-8859-1 and on ja_JP.EUC-JP locales. The file glibc-check-log seems quite clean. In the tst_mblen error case: gcc tests-mbwc/tst_mblen.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -march=i486 -mtune=native -Wstrict-prototypes -mpreferred-stack-boundary=2 -I../include -I/sources/glibc-build/localedata -I/sources/glibc-build -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -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../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -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 -I../nptl -I.. -I../libio -I. -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DNOT_IN_libc=1 -o /sources/glibc-build/localedata/tst_mblen.o -MD -MP -MF /sources/glibc-build/localedata/tst_mblen.o.dt -MT /sources/glibc-build/localedata/tst_mblen.o gcc -nostdlib -nostartfiles -o /sources/glibc-build/localedata/tst_mblen -Wl,-dynamic-linker=/lib/ld-linux.so.2 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both /sources/glibc-build/csu/crt1.o /sources/glibc-build/csu/crti.o `gcc --print-file-name=crtbegin.o` /sources/glibc-build/localedata/tst_mblen.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/nptl /sources/glibc-build/libc.so.6 /sources/glibc-build/libc_nonshared.a -lgcc -Wl,--as-needed -lgcc_s -Wl,--no-as-needed `gcc --print-file-name=crtend.o` /sources/glibc-build/csu/crtn.o GCONV_PATH=/sources/glibc-build/iconvdata LC_ALL=C LOCPATH=/sources/glibc-build/localedata /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/nptl /sources/glibc-build/localedata/tst_mblen > /sources/glibc-build/localedata/tst_mblen.out make[2]: *** [/sources/glibc-build/localedata/tst_mblen.out] Error 1 Thanks in advance for your help. J.C. > ĸen > -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
