-   Linux From Scratch (
-   -   glibc error on 2nd pass (

buffed317 08-25-2004 05:31 PM

glibc error on 2nd pass
i am compiling glibc for the second time and am logged in as root in the lfs partition. i did a make check as directed my the book and received this message:

gcc -nostdlib -nostartfiles -o /glibc-build/linuxthreads/tst-attr1 -Wl,-dynamic-linker=/lib/ -Wl,-z,combreloc /glibc-build/csu/crt1.o /glibc-build/csu/crti.o `gcc --print-file-name=crtbegin.o` /glibc-build/linuxthreads/tst-attr1.o /glibc-build/linuxthreads/ /glibc-build/linuxthreads/libpthread_nonshared.a -Wl,-rpath-link=/glibc-build:/glibc-build/math:/glibc-build/elf:/glibc-build/dlfcn:/glibc-build/nss:/glibc-build/nis:/glibc-build/rt:/glibc-build/resolv:/glibc-build/crypt:/glibc-build/linuxthreads /glibc-build/ /glibc-build/libc_nonshared.a -lgcc -lgcc_eh `gcc --print-file-name=crtend.o` /glibc-build/csu/crtn.o
GCONV_PATH=/glibc-build/iconvdata LC_ALL=C /glibc-build/elf/ --library-path /glibc-build:/glibc-build/math:/glibc-build/elf:/glibc-build/dlfcn:/glibc-build/nss:/glibc-build/nis:/glibc-build/rt:/glibc-build/resolv:/glibc-build/crypt:/glibc-build/linuxthreads /glibc-build/linuxthreads/tst-attr1 > /glibc-build/linuxthreads/tst-attr1.out
/glibc-build/linuxthreads/tst-attr1: pthread_attr_getstack returned range does not cover main's stack
make[2]: *** [/glibc-build/linuxthreads/tst-attr1.out] Error 1
make[2]: Leaving directory `/glibc-2.3.3-lfs-5.1/linuxthreads'
make[1]: *** [linuxthreads/tests] Error 2
make[1]: Leaving directory `/glibc-2.3.3-lfs-5.1'
make: *** [check] Error 2

i still a noob and am not sure if this is something to worry about (the error 2 part). this seems like an important part so i want to make sure everything is right.


sibtay 08-26-2004 06:32 PM

make check are just tests that would test your libraries....i did my lfs 5-6 months back so i dont remember the details now

anyway i do remember that i skipped plenty of those not typing
make check :)

So i would say not to get stuck into this thing...your libraries will be tested soon when you'are going to install the other packages using these libraries..

buffed317 08-26-2004 06:37 PM

ok thanks

linuxbh 09-05-2004 08:33 AM


the error seems to be with linuxthreads......
i would suggest you that start again with chapter 6.....
it better not to take any risk...
we also got error during 2nd pass of glibc.... we have posted it on this forum(keyur's name)
we started again with chapter 6 after doing make clean for glibc of pass2...
now its working smoothly....

if you have any doubt please send it...
i would be happy to help you....

linux bh

All times are GMT -5. The time now is 01:25 PM.