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.