Testing error with Glibc
I have been building LFS 6.4, and have been following the book exactly,
mostly pasting in commands from the book. Unfortunately, whilst making the glibc in chapter 6, I have generated errors. The last three commands entered are:- cp -v ../glibc-2.8-20080929/iconvdata/gconv-modules iconvdata make -k check 2>&1 | tee glibc-check-log grep Error glibc-check-log which I assume tests the compiled glibc for errors. It gives the following output:- make[2]: *** [/sources/glibc-build/math/test-tgmath2.o] Error 1 make[1]: *** [math/tests] Error 2 make[2]: *** [/sources/glibc-build/stdio-common/test-vfprintf.out] Error 1 make[1]: *** [stdio-common/tests] Error 2 make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored) make: *** [check] Error 2 I understand the annexc error is unimportant. The other two errors I know nothing about. My PC is old - a 750Mhz Duron - would that cause the mathematical error? Can it be disregarded? The vfprintf.out error is a mystery to me. In any case, the errors interrupted the make command such that it could not complete. Advice from anyone please? Even though I am building LFS 6.4, the host system is actually a frugal install of the LFS 6.3 liveCD, which I assume is sufficient. Thank you. |
It seems that certain tests didn't get compiled. Did building proceed otherwise, or did it break due to the failed tests?
Failed test applications do not necessarily mean that the glib libraries themselves didn't get built - though it would be obviously better if both would succeed. Building glibc from sources is quite often a nasty experience. Linux Archive |
The actual build of the glibc went okay. No error messages were evident. My impression is that it broke due to the failed tests.
Yes, I gather that compiling glibc can be problematic. But how else do we learn? If I get truly stuck, I may try to build LFS 6.3 instead, and see if this problem just goes away... |
----- Solution ----
When I startup the host system, which is frugal install of LFS 6.3 LiveCD, it always asks me to choose my locale. I had been choosing 'English,US (ISO-8859-1)', but the aforementioned glibc test would not complete, and outputed the errors above. But if I choose 'Default/other' instead as the locale for the host system, then the glibc test runs to completion, with only the annexc.out error, which is ignored. So there it is, problem solved. Altho I'm not sure why. |
All times are GMT -5. The time now is 05:12 PM. |