LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-05-2011, 09:46 PM   #1
randalleg
LQ Newbie
 
Registered: Apr 2011
Posts: 23

Rep: Reputation: 0
First try at LFS!


There is a question to my post, but first... much respect to all of you working not just on lfs but using these systems in the first place. I am not a computer person. I love computers, and problem solving, but I cook for a living. So six months ago I had NEVER even heard or unix, linux, ubuntu, open source or any of this vein of computer topics. I happened upon a free computer and googled how to fix the jacked up Windows on it and Linux came up! I now have a desktop and a laptop with Ubuntu one of which I'm trying to work through the lfs on a partition! So again, I think its great that so many people have a passion for this. I think Linux is like the Harley-Davidson of computers.

Anyway, so the lfs is going fairly well, the problems I've had I have found search answers too or figured out. BUT ,what I wanted someone to explain because I am not a prgramming person is in regards to the gcc test suite.

The tests seem so glitched themselves that I dont get why they are so relied upon. I even went to the gcc site and they (as well as the lfs book) talk about all these inevitable failures and bugs? So what gives. Is it just the only alternative for testing that package? Plus it seems so cumbersome? Anyway, just curious, thats the first part of the book I've thought wow this is a mess!!!

Look forward to interacting on the forum! Thanks!
 
Old 04-06-2011, 03:14 AM   #2
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 randalleg,

First of all: Welcome to LQ!

Quote:
BUT ,what I wanted someone to explain because I am not a prgramming person is in regards to the gcc test suite.
You don't mention which chapter you are referring to in regards to the test suites. Just in case: Running the test suites in chapter 5 is not needed/wanted. Although it is possible to run some of the test suites, at certain stages it isn't even possible to run them.

In general: Only run the test suites when doing chapter 6 and do make sure that the tests are successful. Don't continue when it fails.

Quote:
The tests seem so glitched themselves that I dont get why they are so relied upon. I even went to the gcc site and they (as well as the lfs book) talk about all these inevitable failures and bugs? So what gives. Is it just the only alternative for testing that package? Plus it seems so cumbersome? Anyway, just curious, thats the first part of the book I've thought wow this is a mess!!!
Gcc is an incredible complex piece of software that needs to be able to run on a wide variety of (old and new) hardware and it also has to take into account the OS it is installed on.

Saying that there will be inevitable failures and bugs is a bit strongly stated. As mentioned in chapter 6.16: unexpected failures cannot always be avoided.

My personal experience with building and testing gcc over the years (i've been using LFS from version 4 on a variety of hardware) is this: Yes, every so often you might see an error that is not mentioned in the build-logs, but most of the time they are harmless and can be ignored (one does need to do some on-line searching when this happens). Up 'till now I did not run into severe gcc test-suite problems and never had problems when using off-the-shelve pc hardware.

I have to agree that gcc is one of the more labour intensive packages when it comes to the test suit and the results it produces (although glibc comes in a close second). There is no alternative to the test suit and it is considered critical.

Hope this clears things up a bit.
 
  


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 6.7 : $LFS/sources and $LFS/tools folders missing prakashsince92 Linux From Scratch 5 12-09-2010 02:26 PM
LFS newbie stuck in Linux API headers step 5.5 LFS book 6.3 Vxplus Linux From Scratch 2 11-10-2008 08:13 PM
error using lfs while compiling lfs book's 6.12 (gcc-4.1.2) section aditya_gpch Linux From Scratch 3 04-24-2008 04:23 PM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM

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

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

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