Linux From ScratchThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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.....
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.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.