LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   glibc " make check " error in CHAPTER 6 (https://www.linuxquestions.org/questions/linux-from-scratch-13/glibc-make-check-error-in-chapter-6-a-619502/)

lfs_rocks 02-07-2008 10:48 PM

glibc " make check " error in CHAPTER 6
 
Hi all

i am at the stage of installing glibc in chapter 6 ....(6.9)

i hav used these commands as given in the ebook..
Quote:

make -k check 2>&1 | tee glibc-check-log
grep Error glibc-check-log
Errors
Quote:

root:/sources/glibc-build# grep Error glibc-check-log
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[2]: *** [/sources/glibc-build/nptl/tst-attr3.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-cancel1.out] Error 1
make[1]: *** [nptl/tests] Error 2
make[2]: *** [/sources/glibc-build/debug/tst-chk3.out] Error 1
make[2]: *** [/sources/glibc-build/debug/tst-lfschk3.out] Error 1
make[1]: *** [debug/tests] Error 2
make[1]: *** [/sources/glibc-build/c++-types-check.out] Error 1
make: *** [check] Error 2
root:/sources/glibc-build#
The errors such as nptl/tst-cancel1 , tst-attr3 , posix/annexc were mentioned in the ebook as common errors....

its given that posix/annexc error can be ignored...

There are more errors which are not mentioned in the ebook...errors such as debug/tst-chk3.out , debug/tst-lfschk3.out & c++-types-check.out

Can i ignore these errors...if not..Please tell me how to resolve these errors....

lfs_rocks 02-08-2008 08:07 AM

the following is given in the ebook LFS 6.3

Quote:

Originally Posted by lfs_rocks (Post 3049818)
The nptl/tst-cancel1 test will fail when using the 4.1 series of GCC.

my gcc is 4.1 series...
Quote:

gcc (GCC) 4.1.3 20070528 (prerelease) (Debian 4.1.2-10) [host system]
gcc 4.1.2 [installed in LFS]
can i neglect the error since iam using gcc 4.1 series...
Quote:

make[2]: *** [/sources/glibc-build/nptl/tst-cancel1.out] Error 1
please help me to resolve make check errors...

THANKS IN ADVANCE

druuna 02-10-2008 05:04 AM

Hi,

As mentioned in the same chapter (LFS 6.3 chapter 6.9):
Quote:

You will probably see an expected (ignored) failure in the posix/annexc test. In addition the Glibc test suite is somewhat dependent on the host system. This is a list of the most common issues:

The nptl/tst-cancel1 test will fail when using the 4.1 series of GCC.
If this is the only 'error', keep going.

Hope this helps.

lfs_rocks 02-11-2008 06:56 AM

Quote:

Originally Posted by druuna (Post 3052243)
Hi,

As mentioned in the same chapter (LFS 6.3 chapter 6.9):


If this is the only 'error', keep going.

Hope this helps.

hi druuna..

thats not the only error that i get....

The errors such as nptl/tst-cancel1 , tst-attr3 , posix/annexc were mentioned in the ebook as common errors....

its given that posix/annexc error can be ignored...

There are more errors which are not mentioned in the ebook...errors such as debug/tst-chk3.out , debug/tst-lfschk3.out & c++-types-check.out

Errors
Quote:

root:/sources/glibc-build# grep Error glibc-check-log
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[2]: *** [/sources/glibc-build/nptl/tst-attr3.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-cancel1.out] Error 1
make[1]: *** [nptl/tests] Error 2
make[2]: *** [/sources/glibc-build/debug/tst-chk3.out] Error 1
make[2]: *** [/sources/glibc-build/debug/tst-lfschk3.out] Error 1
make[1]: *** [debug/tests] Error 2
make[1]: *** [/sources/glibc-build/c++-types-check.out] Error 1
make: *** [check] Error 2
root:/sources/glibc-build#
Can i ignore these errors...if not..Please tell me how to resolve these errors....

druuna 02-11-2008 07:39 AM

Hi,

If the errors aren't mentioned in the book you can also take a look at the LFS 6.3 buildlogs. If they aren't mentioned there then you need to figure out what went wrong before you go any further.

Glibc is one of the more important packages that will be installed, so you need to be sure that all issues are resolved.

lfs_rocks 02-12-2008 04:32 PM

doubt with "make check" of gcc in chapter 6
 
sorry for asking this question in wrong place...by mistake it was written here
the thread for this query is
http://www.linuxquestions.org/questi...4/#post3054986


All times are GMT -5. The time now is 04:26 AM.