LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Builds after binutils in chapter 6 from lfs failing. (https://www.linuxquestions.org/questions/linux-from-scratch-13/builds-after-binutils-in-chapter-6-from-lfs-failing-4175705126/)

badman 12-18-2021 08:34 PM

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?

hendrickxm 12-19-2021 02:55 AM

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.

hazel 12-19-2021 07:31 AM

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.

wiigelec 12-19-2021 02:47 PM

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?


All times are GMT -5. The time now is 08:08 AM.