LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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-26-2013, 02:23 AM   #1
Thomas Mueller
LQ Newbie
 
Registered: Feb 2013
Posts: 11

Rep: Reputation: Disabled
7.2 chapter 6.9. Glibc-2.16.0 - test failed


Quote:
make -k check 2>&1 | tee glibc-check-log
grep Error glibc-check-log
produced a few errors.

Are these errors critical or can they be ignored? I didn't find anything useful neither in the faq nor in the mailing lists. Google showed nothing. Also I am waiting for confirmation of my subscription, so I can't post this question in linuxsfromcratch.org mailinlists at the moment.

Below listed are those that weren't regarded as unproblematic in the book 7.2, chapter 6.9. Glibc-2.16.0
Afaik I did not deviate from the instruction.

I try to show
a) error message from glibc-check-log
b) content of respective output file
c) that, what I suppose is the failing instruction

1.)
Code:
make[2]: *** [/sources/glibc-build/csu/test-multiarch.out] Error 1
Code:
root:/sources/glibc-build/csu# cat test-multiarch.out
cannot open /proc/cpuinfo
Code:
GCONV_PATH=/sources/glibc-build/iconvdata 
LC_ALL=C   /sources/glibc-build/elf/ld-linux.so.2 
   --library-path 
       /sources/glibc-build:
       /sources/glibc-build/math:
       /sources/glibc-build/elf:
       /sources/glibc-build/dlfcn:
       /sources/glibc-build/nss:
       /sources/glibc-build/nis:
       /sources/glibc-build/rt:
       /sources/glibc-build/resolv:
       /sources/glibc-build/crypt:
       /sources/glibc-build/nptl 
/sources/glibc-build/csu/test-multiarch  > /sources/glibc-build/csu/test-multiarch.out
-------------------------------------------------------------------------------
2.)

Code:
make[2]: *** [/sources/glibc-build/nptl/tst-pthread-getattr.out] Error 1
Code:
root:/sources/glibc-build/nptl# cat tst-pthread-getattr.out
Verifying that stack top is accessible
check_stack_top: pthread_getattr_np failed: No such file or directory
Code:
GCONV_PATH=/sources/glibc-build/iconvdata 
LC_ALL=C   /sources/glibc-build/elf/ld-linux.so.2 
	--library-path 
		/sources/glibc-build:
		/sources/glibc-build/math:
		/sources/glibc-build/elf:
		/sources/glibc-build/dlfcn:
		/sources/glibc-build/nss:
		/sources/glibc-build/nis:
		/sources/glibc-build/rt:
		/sources/glibc-build/resolv:
		/sources/glibc-build/crypt:
		/sources/glibc-build/nptl 
/sources/glibc-build/nptl/tst-pthread-getattr  > /sources/glibc-build/nptl/tst-pthread-getattr.out
------------------------------------------------------------------------------
3.) Same issue as 2.)?

Code:
make[2]: *** [/sources/glibc-build/nptl/tst-execstack.out] Error 1
Code:
root:/sources/glibc-build/nptl# cat tst-execstack.out
executable stacks allowed
threads waiting
before execstack: pthread_getattr_np returned error: No such file or directory
------------------------------------------------------------------------------
4.)

Code:
make[2]: *** [/sources/glibc-build/debug/tst-chk3.out] Error 1
Code:
Test checking routines at fortify level 2
Failure on line 647
Failure on line 652
Hello, World!
Hello, World!
Hello, World!
Failure on line 678
World!
Hello, World!
Hello, World!
Hello, World!
Failure on line 706
World!
Failure on line 723
Failure on line 730
Code:
GCONV_PATH=/sources/glibc-build/iconvdata 
LC_ALL=C 
LOCPATH=/sources/glibc-build/localedata  
	/sources/glibc-build/elf/ld-linux.so.2 
--library-path 	/sources/glibc-build:
		/sources/glibc-build/math:
		/sources/glibc-build/elf:
		/sources/glibc-build/dlfcn:
		/sources/glibc-build/nss:
		/sources/glibc-build/nis:
		/sources/glibc-build/rt:
		/sources/glibc-build/resolv:
		/sources/glibc-build/crypt:
		/sources/glibc-build/nptl 
/sources/glibc-build/debug/tst-chk3  > /sources/glibc-build/debug/tst-chk3.out


5.) - 8.) with no further information. Can be delivered if needed

Code:
make[2]: *** [/sources/glibc-build/debug/tst-lfschk3.out] Error 1
make[2]: *** [/sources/glibc-build/debug/tst-chk6.out] Error 1
make[2]: *** [/sources/glibc-build/debug/tst-lfschk6.out] Error 1
make[1]: *** [/sources/glibc-build/c++-types-check.out] Error 1
Please note, that I cannot use "less" in the chroot environment (bash: less: command not found).
Don't know if that is to be expected at that stage.

Any help will be appreciated.

Regards

Edit: Changed title due to error in version

Last edited by Thomas Mueller; 02-26-2013 at 08:01 AM.
 
Old 02-26-2013, 12:20 PM   #2
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 464

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by Thomas Mueller

Are these errors critical or can they be ignored?
Hello,

I don't really know the answer to the first part of that question, but I wouldn't ignore them. I don't recall ever seeing those in my glibc tests or in the developers' posted glibc test logs for v7.2. So maybe asking about them at the lfs-support mailing list is a good idea.

Other thoughts that I had about this... Double-check the mounting of the virtual filesystems in the chroot environment (one of the tests could not open /proc/cpuinfo). Also, if you used a -j option with make when building glibc, then try it again without that. I know the book says it's okay to do a "parallel make", but it also says to revert back if problems occur. And sort of conversely, if the host is old and slow, try the idea in the book related to test timeouts.

P.S.: Less has not been installed in your chrooted system yet. It comes along later in section 6.48.
 
Old 02-28-2013, 03:17 PM   #3
Thomas Mueller
LQ Newbie
 
Registered: Feb 2013
Posts: 11

Original Poster
Rep: Reputation: Disabled
The timeoutfactor did the trick. In fact, every single error disappeared. Even those considered non-critical. I am a bit skeptical, but continue nevertheless. So far no further problems.

Sorry for not trying out the timeoutfactor correction myself, but I am a bit overcautious, since it is my first lfs build.

thank you very much
thomas
 
  


Reply


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
LFS 6.7 Chapter 6 Glibc Make -k errors karm Linux From Scratch 3 11-10-2010 11:13 AM
[SOLVED] test suite for glibc failing | chapter 6.9.1 Lyle Linux From Scratch 2 05-08-2010 06:46 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
Error Running Glibc 64-bit Test Suite (Chapter 10) fatsheep Linux From Scratch 5 10-20-2006 09:19 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 10:47 AM.

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