LinuxQuestions.org
Help answer threads with 0 replies.
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 11-08-2012, 04:39 AM   #1
Lancelot1
Member
 
Registered: Dec 2007
Location: Amsterdam
Distribution: (K)Ubuntu
Posts: 102

Rep: Reputation: 15
Several errors make test glibc


I have gotten several errors while doing a make test check of glibc:

- /usr/lib/libgcc_s.so.1: could not read symbols: Invalid operation
- /sources/glibc-build/nptl/tst-cancelx4.o.eh_frame+0xbf): undefined reference to `__gcc_personality_v0' (and several other tests on the same file).

any idea?
 
Old 11-08-2012, 07:09 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
You've seem to have had a chroot problem (related thread). With that in mind:

- Did you redo the previous chapters after entering the chrooted environment (6.5 -> 6.8)?
- Did you remove the glibc build and source directory before restarting this chapter (6.9)?
 
1 members found this post helpful.
Old 11-08-2012, 07:49 AM   #3
Lancelot1
Member
 
Registered: Dec 2007
Location: Amsterdam
Distribution: (K)Ubuntu
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by druuna View Post
You've seem to have had a chroot problem (related thread). With that in mind:

- Did you redo the previous chapters after entering the chrooted environment (6.5 -> 6.8)?
- Did you remove the glibc build and source directory before restarting this chapter (6.9)?
yes and yes i made a clean start of chapter 6 because of the chroot error. Are these error chroot related?
 
Old 11-08-2012, 08:00 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Quote:
Originally Posted by Lancelot1 View Post
yes and yes i made a clean start of chapter 6 because of the chroot error. Are these error chroot related?
I cannot rule out that your previous problem is related to this error. If chapters 6.5 -> 6.8 have been done when not being in the chrooted environment (your previous problem), it could have replaced/changed some of your hosts settings.

I've seen a lot of different errors when building glibc in chapter 6, but not the one posted by you. That said; You do not provide enough information to give an answer.

Please post the following information:
- the config.log that was created during the glibc configure step,
- the glibc-check-log file that was created when running the make -k check step.
 
Old 11-08-2012, 09:05 AM   #5
Lancelot1
Member
 
Registered: Dec 2007
Location: Amsterdam
Distribution: (K)Ubuntu
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by druuna View Post
I cannot rule out that your previous problem is related to this error. If chapters 6.5 -> 6.8 have been done when not being in the chrooted environment (your previous problem), it could have replaced/changed some of your hosts settings.

I've seen a lot of different errors when building glibc in chapter 6, but not the one posted by you. That said; You do not provide enough information to give an answer.

Please post the following information:
- the config.log that was created during the glibc configure step,
- the glibc-check-log file that was created when running the make -k check step.
both files are very large are you sure I should post them here?
Attached Files
File Type: txt config.txt (34.6 KB, 2 views)

Last edited by Lancelot1; 11-08-2012 at 09:11 AM.
 
Old 11-08-2012, 09:12 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Quote:
Originally Posted by Lancelot1 View Post
both files are very large are you sure I should post them here?
Yep

Use Manage Attachments (in the Additional Options below) to upload those 2 text files.

EDIT: You seem to have found it
 
Old 11-08-2012, 09:15 AM   #7
Lancelot1
Member
 
Registered: Dec 2007
Location: Amsterdam
Distribution: (K)Ubuntu
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by druuna View Post
Yep

Use Manage Attachments (in the Additional Options below) to upload those 2 text files.

EDIT: You seem to have found it
here is glibc log after the make -k check
Attached Files
File Type: txt glibc-check-.txt (60.0 KB, 5 views)

Last edited by Lancelot1; 11-08-2012 at 09:25 AM.
 
Old 11-08-2012, 09:43 AM   #8
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
You're config.log file doesn't show anything out of the ordinary (as far as I can see).

You're glibc check log file doesn't look like it should be (for one it is way to small, it should be +/- 4 Mb). Have a look here: Index of /lfs/build-logs/7.2/core2duo/test-logs (the 071-glibc link).

Also: Have you ran the grep Error glibc-check-log part on the large glibc-check-log and if so what did it show?
 
Old 11-08-2012, 09:54 AM   #9
Lancelot1
Member
 
Registered: Dec 2007
Location: Amsterdam
Distribution: (K)Ubuntu
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by druuna View Post
You're config.log file doesn't show anything out of the ordinary (as far as I can see).

You're glibc check log file doesn't look like it should be (for one it is way to small, it should be +/- 4 Mb). Have a look here: Index of /lfs/build-logs/7.2/core2duo/test-logs (the 071-glibc link).

Also: Have you ran the grep Error glibc-check-log part on the large glibc-check-log and if so what did it show?
I didn't do the grep Error glibc-check-log coz it would have made the log 4mb and i can't attach 4mb
 
Old 11-08-2012, 09:57 AM   #10
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Quote:
Originally Posted by Lancelot1 View Post
I didn't do the grep Error glibc-check-log coz it would have made the log 4mb and i can't attach 4mb
I think you misunderstand:

This command creates the 4 Mb file: make -k check 2>&1 | tee glibc-check-log.
And this will grep the relevant parts from that file: grep Error glibc-check-log (which will be a lot less then 4 Mb).
 
Old 11-08-2012, 11:56 AM   #11
Lancelot1
Member
 
Registered: Dec 2007
Location: Amsterdam
Distribution: (K)Ubuntu
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by druuna View Post
I think you misunderstand:

This command creates the 4 Mb file: make -k check 2>&1 | tee glibc-check-log.
And this will grep the relevant parts from that file: grep Error glibc-check-log (which will be a lot less then 4 Mb).
here is a link

http://www.filefactory.com/file/6fqwnns0scnf/n/2.txt

Last edited by Lancelot1; 11-09-2012 at 02:14 AM.
 
Old 11-08-2012, 12:52 PM   #12
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
2.txt is probably not what you wanted to attach....

How about the output of grep Error glibc-check-log, just post it, don't attach.
 
Old 11-08-2012, 12:59 PM   #13
Lancelot1
Member
 
Registered: Dec 2007
Location: Amsterdam
Distribution: (K)Ubuntu
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by druuna View Post
2.txt is probably not what you wanted to attach....

How about the output of grep Error glibc-check-log, just post it, don't attach.
make[2]: *** [/sources/glibc-build/libio/tst-fopenloc.check] Error 127
make[1]: *** [libio/tests] Error 2
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[2]: *** [/sources/glibc-build/posix/bug-regex2-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/bug-regex14-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/bug-regex21-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/bug-regex31-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/tst-rxspencer-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/tst-pcre-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/tst-boost-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/bug-glob2-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/tst-vfork3-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/tst-fnmatch-mem] Error 127
make[1]: *** [posix/tests] Error 2
make[2]: *** [/sources/glibc-build/misc/tst-error1-mem] Error 127
make[1]: *** [misc/tests] Error 2
make[2]: *** [/sources/glibc-build/nptl/tst-stack3-mem] Error 127
make[1]: *** [nptl/tests] Error 2
make[2]: [/sources/glibc-build/conform/run-conformtest.out] Error 1 (ignored)
make[2]: *** [/sources/glibc-build/elf/tst-leaks1-mem] Error 127
make[2]: *** [/sources/glibc-build/elf/noload-mem] Error 127
make[1]: *** [elf/tests] Error 2
make: *** [check] Error 2

Last edited by Lancelot1; 11-08-2012 at 01:06 PM.
 
Old 11-08-2012, 04:36 PM   #14
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
A few of these are mentioned in the book and can be ignored.

Those not shown could be related to time-outs. Have you already tried the modification mentioned in the book? This part:
Code:
TIMEOUTFACTOR=16 make -k check 2>&1 | tee glibc-check-log
grep Error glibc-check-log
 
Old 11-09-2012, 01:51 AM   #15
Lancelot1
Member
 
Registered: Dec 2007
Location: Amsterdam
Distribution: (K)Ubuntu
Posts: 102

Original Poster
Rep: Reputation: 15
ok tx will try that now

make[2]: *** [/sources/glibc-build/libio/tst-fopenloc.check] Error 127
make[1]: *** [libio/tests] Error 2
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[2]: *** [/sources/glibc-build/posix/bug-regex2-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/bug-regex14-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/bug-regex21-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/bug-regex31-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/tst-rxspencer-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/tst-pcre-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/tst-boost-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/bug-glob2-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/tst-vfork3-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/tst-fnmatch-mem] Error 127
make[1]: *** [posix/tests] Error 2
make[2]: *** [/sources/glibc-build/misc/tst-error1-mem] Error 127
make[1]: *** [misc/tests] Error 2
make[2]: *** [/sources/glibc-build/nptl/tst-stack3-mem] Error 127
make[1]: *** [nptl/tests] Error 2
make[2]: [/sources/glibc-build/conform/run-conformtest.out] Error 1 (ignored)
make[2]: *** [/sources/glibc-build/elf/tst-leaks1-mem] Error 127
make[2]: *** [/sources/glibc-build/elf/noload-mem] Error 127
make[1]: *** [elf/tests] Error 2
make: *** [check] Error 2

Last edited by Lancelot1; 11-09-2012 at 03:12 AM.
 
  


Reply

Tags
chroot, glibc, lfs


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
glibc test suite errors edgezors Linux From Scratch 6 07-21-2011 02:25 PM
glibc-compiling loves to make errors? ok, let me post mine here: glibc 2.9 me-$-on Linux From Scratch 7 04-11-2009 06:22 PM
Errors when running Glibc-2.3.6 test suite (reference: LFS 6.2 chapter 6.9) PingFloyd Linux From Scratch 2 02-02-2007 09:43 PM
Errors during the test suite for Glibc-20050926 32 Bit � Cross compile x86_64 Basel Linux From Scratch 3 10-29-2005 06:45 AM
LFS 6-1: Glibc Test Suite Fails at end with 2 errors in Chapter 6 TGWDNGHN Linux From Scratch 1 07-26-2005 12:23 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration