LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS 6.7 Chapter 6 Glibc Make -k errors (https://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-6-7-chapter-6-glibc-make-k-errors-843273/)

karm 11-09-2010 12:13 PM

LFS 6.7 Chapter 6 Glibc Make -k errors
 
Hello,
This is my first post here so hi to everybody :)
I'm doing an LFS installation for the first time. Everything went quite smooth (actually I had to start from the beginning a few times but it doesn't matter) till the glibc testing phase. Actually I don't know if anything went wrong I just got some error messages not listed in the book and I'm not sure if they can be ignored or not.

Code:

make[2]: *** [/sources/glibc-build/nptl/tst-cond10.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-tls1.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-stackguard1.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-stackguard1-static.out] Error 1
make[1]: *** [nptl/tests] Error 2
make[2]: *** [/sources/glibc-build/rt/tst-timer3.out] Error 1
make[1]: *** [rt/tests] Error 2
make[2]: *** [/sources/glibc-build/elf/tst-stackguard1-static.out] Error 1
make[1]: *** [elf/tests] Error 2
make: *** [check] Error 2

Computer specs: AMD Athlon 2200 XP + , 512 mb ram, 20 + 40 gb hard disks, radeon 9600 pro gfx card.
Thanks in advance!
-karm

corbis_demon 11-10-2010 08:00 AM

Are you using any different CFLAGS/LDFLAGS than the one's prescribed in the book? Or any of these configure options?
Code:

--with-tls --with-__thread \
Oh, and Welcome to LinuxQuestions.org :)

karm 11-10-2010 08:15 AM

Thanks for the answer.

No, I'm following the book. I set the
Code:

CFLAGS += -march=i486 -mtune=native -O3 -pipe
just like in the book. Options for configure:
Code:

-prefix=/usr --disable-profile --enable-add-ons --enable-kernel=2.6.22.5 --libexecdir=/usr/lib/glibc
. Any ideas?

edit: I've managed to grep interesting lines from glibc-check-log file and almost all errors are due to timeouts. I think they are harmless so I will proceed with instalation, thanks for your time :)

corbis_demon 11-10-2010 11:13 AM

Ok, good. I haven't come across the tst-stackguard failure before, but tst-cond10,12,20.. & tst-tls1 are most commonly observed when the parameters mentioned in my earlier post are fiddled with. If you checked and found that those errors were related to time-outs, then you can proceed without much fuss. Good luck.


All times are GMT -5. The time now is 02:53 PM.