Builds after binutils in chapter 6 from lfs failing.
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.
Builds after binutils in chapter 6 from lfs failing.
Hi,
I made stubbornly installed binutils in lfs chapter 6 after it was specified not to if the pty's inside the chroot environment was not working properly, i also installed gcc even after the failed test. Now every build i try fails with an internal compiler error.
Any suggestions on how to rectify this?, is there any way i can remove binutils and gcc then run everything back up from chapter 6?
You do not need to remove anything. You best rebuild the packages before binutils and try again. Also make sure you have all required packages on your host.
If you are a first time builder, you can make a lot of mistakes, go through the book and make sure you do not miss a step, it might look insignificant but it is not.
With gcc there are some test failures that are allowable because it's a very complicated program. This is also true to some extent of glibc. If in doubt, you should go to the official build site and compare your test results to theirs; there's a link on the gcc page. But in general, more than one or two failed tests is a warning not to install. And you should never install essential build software if the sanity tests fail.
can you provide some more details of your build including hardware, host system, and specific text of the failures you are encountering, particularly pty check snd gcc tests?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.