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.
Your assumptions are correct. And yes, I checked to be sure my host requirements where up to par. I've actually had more luck so far using the Fedora live cd as the host more than I did with the LFS cd. I had nothing but problems with the LFS live cd. Everything else has gone fine up until this point.
I think that the compiler (gcc in this case) seems to be the problem. I'm not sure about the current Fedora gcc implementation, but previous version where not suitable for LFS........
Does this work: echo 'main(){}' > dummy.c ; gcc dummy.c (you should end up with an a.out file without any messages).
And what is the output of: gcc --version
BTW: Make error 139: Your compiler (GCC) dumped core. You probably have a corrupted, buggy, or old version of GCC
BTW 2: Strange that you have trouble with the LFS liveCD. Care to explain why?
that created the file with no errors. gcc --version returns:
gcc (GCC) 4.4.2 20091027 (Red Hat 4.4.2-7)
With the LFS live cd I had a lot of problems compiling the software and could not get the chroot environment to work correctly. I'm starting to think that perhaps I should give the LFS cd another whorl though. I ran cat /proc/version though and it says that it's running kernel 2.6.31.5 compiled with gcc 4.4.2 and I made sure that the host had all the necessary development tools mention before I began. Is there anything else that would affect rather or not Fedora would work as a host system?
gcc (GCC) 4.4.2 20091027 (Red Hat 4.4.2-7)
kernel 2.6.31.5 compiled with gcc 4.4.2
So, your host is _not_ up to specs......
This from the Host System Requirements page: Gcc-3.0.1 (Versions greater than 4.4.1 are not recommended as they have not been tested) Linux Kernel-2.6.18 (having been compiled with GCC-3.0 or greater)
This could be the root cause of your problem.
Quote:
With the LFS live cd I had a lot of problems compiling the software and could not get the chroot environment to work correctly. I'm starting to think that perhaps I should give the LFS cd another whorl though.
I would give it another try if I where you. Maybe with the extra experience you now have, things will fall into place and it will work.
This from the Host System Requirements page: Gcc-3.0.1 (Versions greater than 4.4.1 are not recommended as they have not been tested) Linux Kernel-2.6.18 (having been compiled with GCC-3.0 or greater)
This could be the root cause of your problem.
I would give it another try if I where you. Maybe with the extra experience you now have, things will fall into place and it will work.
Hope this helps.
Wow, I can't believe I didn't see the thing about 4.4.1 and above I guess I'll just give the LFS cd another try and see what happens. Thanks.... even though I feel kind of stupid for not seeing that
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.