LinuxQuestions.org
Help answer threads with 0 replies.
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 12-18-2021, 08:34 PM   #1
badman
LQ Newbie
 
Registered: Dec 2021
Posts: 1

Rep: Reputation: Disabled
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?
 
Old 12-19-2021, 02:55 AM   #2
hendrickxm
Member
 
Registered: Feb 2014
Posts: 344

Rep: Reputation: Disabled
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.
 
Old 12-19-2021, 07:31 AM   #3
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,659
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
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.
 
Old 12-19-2021, 02:47 PM   #4
wiigelec
Member
 
Registered: Nov 2021
Distribution: Devuan
Posts: 67

Rep: Reputation: Disabled
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?
 
  


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
[SOLVED] LFS 7.2, chapter 5., section 5.4.1 Installation of Cross Binutils Lakhan Kumar Linux From Scratch 7 11-12-2012 04:22 PM
LFS version 6.5, chapter 6.12.1, make check Binutils-2.19.1 errors jbee Linux From Scratch 5 10-06-2009 09:41 AM
lfs-6.3 - chapter 6: binutils-2.17 - make error regarding libbfd-2.17.so :not found me-$-on Linux From Scratch 5 07-02-2009 02:49 PM
LFS 6.4 Chapter 5.4. Binutils-2.18 - Pass 1 gazza1z Linux From Scratch 2 01-23-2009 11:16 AM
lfs chapter 6.11 Binutils-2.16.1 make problems Nislick Linux From Scratch 3 08-15-2006 05:25 PM

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

All times are GMT -5. The time now is 04:04 PM.

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