LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-25-2010, 04:07 PM   #16
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405

Hi,

Quote:
What about just deleting gcc-build and gcc-4.4.3, then extracting a fresh folder, and finally compiling pass 2. And then continuing. Would that work?
Nope. Like I said before, too many things have changed when you started working on chapter 6 to "redo" packages from chapter 5 (glibc, binutils and the toolchain are probably the most important ones).
 
Old 06-25-2010, 04:42 PM   #17
dragos240
Member
 
Registered: Apr 2009
Posts: 64

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by druuna View Post
Hi,

Nope. Like I said before, too many things have changed when you started working on chapter 6 to "redo" packages from chapter 5 (glibc, binutils and the toolchain are probably the most important ones).
So by "starting from scratch" you mean from the very beginning? *Sigh*. All right.
 
Old 06-25-2010, 04:46 PM   #18
dragos240
Member
 
Registered: Apr 2009
Posts: 64

Original Poster
Rep: Reputation: 15
WAIT!!!

I made a backup of my /tools folder! It's a complete backup, containing the old toolchain! I backed it up at the end of chapter 5! Can I use that?
 
Old 06-26-2010, 03:30 AM   #19
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

In theory: Yes.

But consider this: You made a mistake in chapter 5.10, which is very early in the build of chapter 5. Are you sure nothing else was impacted/went wrong? Do you trust what is build in chapter 5 enough to only re-install gcc and continue?

Ok, that said: You can always try to restore the backup you made and fix that one first. Worse thing that can happen is that you have to start over.

It is up to you to decide which way you want to go.

Hope this helps.

BTW: If you decide to restore the backup you made: First completely remove the current content of /mnt/lfs (as root: cd $LFS && rm -rf *), then restore the backup.
 
  


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
GCC fails to compile - Chapter 6.14 - C preprocessor "/lib/cpp" fails sanity check jaydoc Linux From Scratch 1 01-28-2009 05:17 PM
CPP fails sanity check on debian grapnell Debian 14 08-16-2006 01:18 PM
CPP Fails Sanity Check when compiling grapnell Linux - Software 4 08-16-2006 10:03 AM
cpp fails sanity check??? dinolinux Debian 2 07-30-2005 11:43 AM
cpp fails sanity check? linux-rulz Linux - Software 4 05-16-2005 04:00 AM

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

All times are GMT -5. The time now is 08:27 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