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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-13-2012, 08:24 AM
|
#1
|
|
Member
Registered: Dec 2007
Location: Amsterdam
Distribution: (K)Ubuntu
Posts: 102
Rep:
|
LFS 7.2 GCC test duration
In section 6.17 there is a GCC test that takes forever to complete. It has now been running for 6 hours.
make -k check
Is there anyway to split this or speed it up?
|
|
|
|
12-13-2012, 08:37 AM
|
#2
|
|
Member
Registered: Jun 2010
Location: Devon,UK
Distribution: Linux From Scratch, Slackware64,
Posts: 533
Rep: 
|
I got bored with waiting for the tests to finish when making my first LFS, so just quit them and figured if the compiler is fubar it will show up quite soon, I don't use the tests now, but thats just what I do 
|
|
|
|
12-13-2012, 08:39 AM
|
#3
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,695
|
Quote:
Originally Posted by Lancelot1
In section 6.17 there is a GCC test that takes forever to complete. It has now been running for 6 hours.
|
That is a long time, although the (old/slow?) hardware used could be the culprit.
Quote:
|
Is there anyway to split this or speed it up?
|
If your CPU has multiple cores you could try this:
Code:
export MAKEFLAGS='-j 2'
make -k check
If you have 4 cores try 4 instead of 2.
This might not work. If you see messages like this *** Waiting for unfinished jobs.... then you need to unset MAKEFLAGS and be be patient....
Not running the tests isn't an option in my opinion (unless you have successfully installed LFS version X on platform Y multiple times already).
|
|
|
|
12-13-2012, 08:40 AM
|
#4
|
|
Member
Registered: Dec 2007
Location: Amsterdam
Distribution: (K)Ubuntu
Posts: 102
Original Poster
Rep:
|
Quote:
Originally Posted by Keith Hedger
I got bored with waiting for the tests to finish when making my first LFS, so just quit them and figured if the compiler is fubar it will show up quite soon, I don't use the tests now, but thats just what I do 
|
ok but that isn't for everyone. This is a learning curve for me so I don't want to skip it
|
|
|
|
12-13-2012, 03:53 PM
|
#5
|
|
LQ Newbie
Registered: Oct 2011
Location: Texas, USA
Distribution: LFS, Gentoo, CentOS
Posts: 26
Rep: 
|
Quote:
Originally Posted by Lancelot1
In section 6.17 there is a GCC test that takes forever to complete. It has now been running for 6 hours.
make -k check
Is there anyway to split this or speed it up?
|
That's not at all atypical and is quite hardware dependent. When I recently upgraded to GCC 4.7.2, it took some 8 hours to run and that's on a quad core system. Having built several instances of LFS, I've just grown accustomed to the long wait and prefer to run the checks or tests on all packages. Knowing how long it would take gave me an opportunity to cut the grass, trim the hedges and clean up the leaves in the yard. Thanks to LFS, I have a good-looking yard and got some much-needed exercise. What a versatile distro!
|
|
|
|
12-14-2012, 02:20 AM
|
#6
|
|
Member
Registered: Dec 2007
Location: Amsterdam
Distribution: (K)Ubuntu
Posts: 102
Original Poster
Rep:
|
Quote:
Originally Posted by druuna
That is a long time, although the (old/slow?) hardware used could be the culprit.
If your CPU has multiple cores you could try this:
Code:
export MAKEFLAGS='-j 2'
make -k check
If you have 4 cores try 4 instead of 2.
This might not work. If you see messages like this *** Waiting for unfinished jobs.... then you need to unset MAKEFLAGS and be be patient....
Not running the tests isn't an option in my opinion (unless you have successfully installed LFS version X on platform Y multiple times already).
|
ok druuna thanks, will try it
Yeah my laptop is 3 years old so I guess there are some issues but still this shouldnt be a problem with linux.
I did see multi time outs on tests
Last edited by Lancelot1; 12-14-2012 at 02:34 AM.
|
|
|
|
12-14-2012, 02:41 AM
|
#7
|
|
LQ Newbie
Registered: Oct 2011
Location: Texas, USA
Distribution: LFS, Gentoo, CentOS
Posts: 26
Rep: 
|
Quote:
Originally Posted by re_nelson
When I recently upgraded to GCC 4.7.2, it took some 8 hours to run and that's on a quad core system.
|
Just for the record, I build GCC with ALL languages, including Ada, Java and Objective C as well as C and C++. So, even on a i5 quad core, it takes a long time to run.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:29 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|