LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-21-2013, 12:48 AM   #16
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

Quote:
Originally Posted by mreff555 View Post
I apologize, where would this config.log file be? It's not in the source directory.
It is created in the build directory or the glibc source directory.

Quote:
Also, I'm not sure how to post the entire make output as the error doesn't occur until the log file is over 6 MB.
Compress the file using zip/bzip/tar/.. and upload that.
 
Old 06-22-2013, 12:15 PM   #17
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Original Poster
Rep: Reputation: Disabled
Alright I have the config log and make logs.

to clarify:
This was all run on a single thread.
Freshly extracted source directory and empty build directory
I used the exact syntax for the config that was specified in build 7.3
for the make command I used

Code:
make -S > /root/glibc-logfile 2>&1
The locations of the files are:

http://www.pages.drexel.edu/~dmf86/glibc-logfile.gz
http://www.pages.drexel.edu/~dmf86/config.log

line 8892 contains the first line of the loop. I stopped it after a few iterations.
 
Old 06-22-2013, 02:05 PM   #18
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,293

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Grabbed the logfile, and my attention was caught by lines 8892, & 8893
Code:
make[4]: Leaving directory `/sources/glibc-2.17/nptl'
make[4]: Entering directory `/sources/glibc-2.17/nptl'
That is suspicious, as make should clear off and build something else. If you stop a make after it has done several directories, it is usually capable of running down through what it has done without recompiling and taking up where it left off. That points to possibly
1. A mistake in the makefile causing it to loop.
2. Maybe some weird issue with writing notes to itself.
3. Something else that my devious mind cannot conceive of.
 
Old 06-23-2013, 06:58 AM   #19
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Original Poster
Rep: Reputation: Disabled
I guess I could try reverting to 2.16. At least that will help me zero in on the problem
 
Old 06-23-2013, 08:28 AM   #20
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Original Poster
Rep: Reputation: Disabled
Well, I tried 2.16.0 and got the exact same looping error. It seems to me that this probably rules out a makefile error as I doubt the error would make it through two releases. I'm wondering if this could be some kind of problem with permissions.
 
Old 06-23-2013, 09:27 AM   #21
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
I guess we can rule out glibc itself as the culprit, something must have gone wrong earlier in the build process.

Did you check and re-check if the first few chapters in chapter 6 were done correctly? I do hope for you its a problem in chapter 6, going back to trouble-shoot chapter 5 at this point would be very hard to do.....
 
Old 06-23-2013, 09:43 AM   #22
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Original Poster
Rep: Reputation: Disabled
yeah... sadly if it is a problem from previous mistakes it's probably chapter five. I have re-ran through all the steps up to this point a dozen times. I'm seriously considering redoing the entire chapter five with all of the make checks.
 
Old 06-23-2013, 09:59 AM   #23
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
Quote:
Originally Posted by mreff555 View Post
I'm seriously considering redoing the entire chapter five
That might be a good idea.

Quote:
Originally Posted by mreff555
with all of the make checks.
Running the tests in chapter 5 can be problematic and some test cannot be run at all (details are in the specific build chapters).
 
Old 06-23-2013, 12:06 PM   #24
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Original Poster
Rep: Reputation: Disabled
I'm just worried that I'm not going to see any difference. Oh well. I guess I have nothing else to try.

Has anyone successfully build book 7.3?
 
Old 06-23-2013, 12:47 PM   #25
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
Quote:
Originally Posted by mreff555 View Post
Has anyone successfully build book 7.3?
Multiple people have (me being one of those).
 
Old 06-23-2013, 04:00 PM   #26
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Me

+1
 
Old 06-23-2013, 08:53 PM   #27
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Rep: Reputation: 185Reputation: 185
Quote:
Originally Posted by mreff555

I'm just worried that I'm not going to see any difference.
Understandable.

Quote:
Originally Posted by mreff555

Oh well. I guess I have nothing else to try.
You'll just be re-doing the tools. Mostly. In the context of a complete BLFS project, that's not so bad. Probably one evening of work. Some other ideas to consider might be using another host system. It's Debian now, right? Try your Slackware system. That was the last distro host I used. Another idea is to consider building a 32-bit system. Those ideas are mostly guesswork. Thinking out loud mostly, and not really based on much. Nor guaranteed.

Quote:
Originally Posted by mreff555

Has anyone successfully build book 7.3?
I had no problems with it.
 
Old 06-24-2013, 03:29 AM   #28
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,293

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
One other consideration: The build tools on your base system must be good enough, and up to date enough to build chapter 5. One suspect is always the kernel headers. In the time I was doing LFS, some uclibc based builds were failing with weird errors, and it was traced to an older kernel headers package than the kernel itself (headers 2-15, kernel 2.29 or some such). These kernel headers only affect what you build. They do change occasionally.

Right now, on Slackware-14.0, I have kernel headers-3.2.29, and kernel 3.8.8 - not a good mix. If I hit build difficulties, the headers would be the first thing I'd change. You can simply run
make headers check
make headers install
in the kernel top source to install new headers, or install the headers from the updates, or current.
 
Old 06-24-2013, 10:34 AM   #29
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 374

Rep: Reputation: 85
Quote:
Originally Posted by business_kid View Post
You can simply run
make headers check
make headers install
in the kernel top source to install new headers, or install the headers from the updates, or current.
Don't update the kernel api headers.
http://www.linuxfromscratch.org/lfs/...08/kernel.html
Quote:
Warning

The headers in the system's include directory should always be the ones against which Glibc was compiled, that is, the sanitised headers from this Linux kernel tarball. Therefore, they should never be replaced by either the raw kernel headers or any other kernel sanitized headers.
The kernel api headers should be the same as was compiled in chapter 5. Once I tried to use newer version in chapter 6 (3.8.8 instead of 3.8.1) and I had strange problems, where things "mystically" didn't compile. Switching back to the same version of the kernel api headers as I used in chapter 5 solved the problem.
 
Old 06-24-2013, 11:35 AM   #30
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,293

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Funny how things change. . . It was 10 years ago. Agreed, Lennie. I was somehow thinking if all else fails, replace the headers before starting on ch 5. But I didn't say that, or nearly. Any switch midway would be a disaster. Thanks for tidying up for me.
 
  


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
LFS 7.0 - Chapter 6.9 building glibc jimmy_page_89 Linux From Scratch 5 11-27-2011 05:31 AM
[SOLVED] Glibc not compiling in Chapter 6.9 corbis_demon Linux From Scratch 4 08-06-2010 08:44 AM
Yet another glibc, chapter 6.9 problem... gViscardi Linux From Scratch 4 10-25-2008 12:10 PM
Problem with Glibc-2.3.4 chapter 6.11 adancoco Linux From Scratch 1 02-14-2005 12:04 PM
glibc problem in chapter 6 alaios Linux From Scratch 5 04-04-2004 04:27 AM

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

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