LinuxQuestions.org
Review your favorite Linux distribution.
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 05-21-2009, 08:57 PM   #1
gr4nt
LQ Newbie
 
Registered: Feb 2009
Posts: 14

Rep: Reputation: 0
Testing error with Glibc


I have been building LFS 6.4, and have been following the book exactly,
mostly pasting in commands from the book. Unfortunately, whilst making
the glibc in chapter 6, I have generated errors.

The last three commands entered are:-

cp -v ../glibc-2.8-20080929/iconvdata/gconv-modules iconvdata
make -k check 2>&1 | tee glibc-check-log
grep Error glibc-check-log

which I assume tests the compiled glibc for errors. It gives the following
output:-

make[2]: *** [/sources/glibc-build/math/test-tgmath2.o] Error 1
make[1]: *** [math/tests] Error 2
make[2]: *** [/sources/glibc-build/stdio-common/test-vfprintf.out] Error 1
make[1]: *** [stdio-common/tests] Error 2
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make: *** [check] Error 2

I understand the annexc error is unimportant. The other two errors I know nothing about. My PC is old - a 750Mhz Duron - would that cause the
mathematical error? Can it be disregarded?

The vfprintf.out error is a mystery to me. In any case, the errors interrupted the make command such that it could not complete.

Advice from anyone please?

Even though I am building LFS 6.4, the host system is actually a frugal
install of the LFS 6.3 liveCD, which I assume is sufficient.

Thank you.
 
Old 05-22-2009, 01:53 PM   #2
soleilarw
Member
 
Registered: Apr 2009
Posts: 107

Rep: Reputation: 19
It seems that certain tests didn't get compiled. Did building proceed otherwise, or did it break due to the failed tests?
Failed test applications do not necessarily mean that the glib libraries themselves didn't get built - though it would be obviously better if both would succeed. Building glibc from sources is quite often a nasty experience.

Linux Archive

Last edited by soleilarw; 06-18-2009 at 04:09 AM.
 
Old 05-23-2009, 08:11 PM   #3
gr4nt
LQ Newbie
 
Registered: Feb 2009
Posts: 14

Original Poster
Rep: Reputation: 0
The actual build of the glibc went okay. No error messages were evident. My impression is that it broke due to the failed tests.

Yes, I gather that compiling glibc can be problematic. But how else do we learn? If I get truly stuck, I may try to build LFS 6.3 instead, and see if this problem just goes away...
 
Old 05-27-2009, 09:34 PM   #4
gr4nt
LQ Newbie
 
Registered: Feb 2009
Posts: 14

Original Poster
Rep: Reputation: 0
----- Solution ----

When I startup the host system, which is frugal install of LFS 6.3 LiveCD, it always asks me to choose my locale. I had been choosing 'English,US (ISO-8859-1)', but the aforementioned glibc test would not complete, and outputed the errors above.

But if I choose 'Default/other' instead as the locale for the host system, then the glibc test runs to completion, with only the annexc.out error, which is ignored.

So there it is, problem solved. Altho I'm not sure why.
 
  


Reply

Tags
error, glibc, scratch



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
Ophcrack testing error? vibinlakshman Linux - Software 4 06-19-2009 01:58 AM
i have an error when i try to install Glibc(5.7. Glibc-2.8-20080929, Version 6.4) robineecc1 Linux From Scratch 0 12-14-2008 11:45 AM
Testing port 6881....NAT Error - error in Azureus dr_zayus69 Linux - Security 20 05-26-2006 01:52 PM
C# testing null error. exodist Programming 0 02-25-2004 03:45 PM
Chapter 6, Glibc: configure fails while testing CPP Electrode Linux From Scratch 9 08-31-2003 02:38 PM

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

All times are GMT -5. The time now is 05:57 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