LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-10-2013, 07:32 AM   #1
flighter
LQ Newbie
 
Registered: Aug 2013
Posts: 17

Rep: Reputation: Disabled
LFS 7.4 Chapter 6.17 Check fail


hey

after running:
Code:
make -k check
in chapter 6.17

i got this fail in === g++ tests ===:
Code:
FAIL: c-c++-common/asan/clone-test-1.c  -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions  execution test
i couldn't find information about this fail.
is it a serious error?
 
Old 09-10-2013, 11:18 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,349

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
The book gives you examples of how the tests should look, and then says
Quote:
Unless the test results are vastly different from those at the above URL, it is safe to continue.
 
Old 09-10-2013, 06:51 PM   #3
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Often those tests will fail due to lack of memory, disk space, or exhausting the stack.

After you ran

Code:
make
Did you also run

Code:
ulimit -s 32768
before you ran

Code:
make -k check
Often at times, the stack will always get exhausted even with the stack limit raised. However, tests will vary from system to system in which pass and fail. Usually, and often tests will fail although the program itself is fine and compiled correctly, due to the test code not being updated properly with the rest of the sources. It's rather commonplace this happens.

However, to avoid the majority of problems, you should ALWAYS follow the book to the letter, and not take shortcuts.
 
  


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.4 r.c.] Chapter 6 : GCC Sanity Check Fails DeeGee Linux From Scratch 2 09-26-2013 01:09 AM
LFS 7.0 chapter 6.17 sanity check problem manzig Linux From Scratch 1 12-11-2011 04:19 AM
[SOLVED] LFS 6.8 Chapter 6.9 Glibc 2.13 All Tests Fail! eliadk Linux From Scratch 2 10-11-2011 02:23 AM
[SOLVED] LFS 6.7 - Chapter 6.59 - Udev-161 tests completely fail (can't exec tree) tomw2005 Linux From Scratch 3 01-30-2011 11:38 AM
LFS 6, chapter 6.11; Glibc 'make check' error Zamochit Linux From Scratch 5 05-31-2005 12:54 PM

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

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