LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Several errors make test glibc (http://www.linuxquestions.org/questions/linux-from-scratch-13/several-errors-make-test-glibc-4175436227/)

Lancelot1 11-08-2012 04:39 AM

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?

druuna 11-08-2012 07:09 AM

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)?

Lancelot1 11-08-2012 07:49 AM

Quote:

Originally Posted by druuna (Post 4824937)
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?

druuna 11-08-2012 08:00 AM

Quote:

Originally Posted by Lancelot1 (Post 4824957)
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.

Lancelot1 11-08-2012 09:05 AM

1 Attachment(s)
Quote:

Originally Posted by druuna (Post 4824963)
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?

druuna 11-08-2012 09:12 AM

Quote:

Originally Posted by Lancelot1 (Post 4825017)
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 :)

Lancelot1 11-08-2012 09:15 AM

1 Attachment(s)
Quote:

Originally Posted by druuna (Post 4825028)
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

druuna 11-08-2012 09:43 AM

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?

Lancelot1 11-08-2012 09:54 AM

Quote:

Originally Posted by druuna (Post 4825053)
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

druuna 11-08-2012 09:57 AM

Quote:

Originally Posted by Lancelot1 (Post 4825064)
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).

Lancelot1 11-08-2012 11:56 AM

Quote:

Originally Posted by druuna (Post 4825067)
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

druuna 11-08-2012 12:52 PM

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.

Lancelot1 11-08-2012 12:59 PM

Quote:

Originally Posted by druuna (Post 4825185)
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

druuna 11-08-2012 04:36 PM

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


Lancelot1 11-09-2012 01:51 AM

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


All times are GMT -5. The time now is 11:05 PM.