LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 08-25-2004, 04:31 PM   #1
buffed317
Member
 
Registered: Jun 2004
Location: New Jersey, USA
Distribution: Slackware 11
Posts: 191

Rep: Reputation: 31
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[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
root:/glibc-build#



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.

thanks
 
Old 08-26-2004, 05:32 PM   #2
sibtay
Member
 
Registered: Aug 2004
Location: U.S
Distribution: Ubuntu
Posts: 145

Rep: Reputation: 15
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..
 
Old 08-26-2004, 05:37 PM   #3
buffed317
Member
 
Registered: Jun 2004
Location: New Jersey, USA
Distribution: Slackware 11
Posts: 191

Original Poster
Rep: Reputation: 31
ok thanks
 
Old 09-05-2004, 07:33 AM   #4
linuxbh
LQ Newbie
 
Registered: Aug 2004
Distribution: FC1,redhat9.-0,mandrake9.0
Posts: 10

Rep: Reputation: 0
hi,

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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configure: error: cannot compute sizeof (long double) in glibc pass 2 irfanali Linux From Scratch 29 02-03-2010 06:48 AM
5.14. Binutils-2.15.91.0.2 - Pass 2 error! Flash_G Linux From Scratch 5 08-20-2006 06:02 AM
WHAT NOW? ch.6 glibc pass 2 ahmed_alzahrani Linux From Scratch 5 09-03-2004 08:21 AM
Glibc-2.3.2 (Pass 2) "critical programs are missing or old" irfanali Linux From Scratch 3 08-13-2004 01:37 AM
Glibc Pass II Test Results g_goblin Linux From Scratch 0 11-17-2003 12:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration