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/ld-linux.so.2 -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/libpthread.so /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/libc.so.6 /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/ld-linux.so.2 --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: *** [/glibc-build/linuxthreads/tst-attr1.out] Error 1
make: Leaving directory `/glibc-2.3.3-lfs-5.1/linuxthreads'
make: *** [linuxthreads/tests] Error 2
make: 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.
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 test...by 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..
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....
|All times are GMT -5. The time now is 04:42 AM.|