LinuxQuestions.org
Help answer threads with 0 replies.
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 02-07-2008, 10:48 PM   #1
lfs_rocks
Member
 
Registered: Jan 2008
Distribution: BOSS (Bharat Operating System Solutions)
Posts: 37

Rep: Reputation: 15
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....
 
Old 02-08-2008, 08:07 AM   #2
lfs_rocks
Member
 
Registered: Jan 2008
Distribution: BOSS (Bharat Operating System Solutions)
Posts: 37

Original Poster
Rep: Reputation: 15
the following is given in the ebook LFS 6.3

Quote:
Originally Posted by lfs_rocks View Post
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
 
Old 02-10-2008, 05:04 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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.
 
Old 02-11-2008, 06:56 AM   #4
lfs_rocks
Member
 
Registered: Jan 2008
Distribution: BOSS (Bharat Operating System Solutions)
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by druuna View Post
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....
 
Old 02-11-2008, 07:39 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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.
 
Old 02-12-2008, 04:32 PM   #6
lfs_rocks
Member
 
Registered: Jan 2008
Distribution: BOSS (Bharat Operating System Solutions)
Posts: 37

Original Poster
Rep: Reputation: 15
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

Last edited by lfs_rocks; 02-12-2008 at 04:35 PM.
 
  


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
/tools/bin/ld: cannot find -lstdc++ -- Error in " make check " of Glibc lfs_rocks Linux From Scratch 1 02-15-2008 09:23 AM
glibc 2.3.5 "make check" invalid multibyte sequence sundialsvcs Linux - Software 8 09-09-2005 09:56 AM
LFS 6, chapter 6.11; Glibc 'make check' error Zamochit Linux From Scratch 5 05-31-2005 12:54 PM
LFS 6.0 error: glibc fails check with "g++: command not found" peristaltic Linux From Scratch 1 03-15-2005 07:52 PM
Problems with "make check" while compiling Glibc in Chapter 6.11 Spuckdung Linux From Scratch 2 02-13-2005 05:12 AM

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

All times are GMT -5. The time now is 02:06 AM.

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