LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-04-2021, 05:02 PM   #1
peristaltic
LQ Newbie
 
Registered: Mar 2005
Posts: 23

Rep: Reputation: 0
Question [LFS 11.0 - systemd] GCC test suite errors in Ch. 8.26


Hello --

Book version: LFS 11.0 systemd
Host system: Linux Mint 20.1
All tests passed in the HSR script
I tried using the search function here on LQ but got a "database error".

Everything has gone without a hitch until now, Chapter 8.26 - GCC-11.2.0

I am in the chroot environment. After running the "make check" command as "tester", I reviewed the summary of failures by running:

Code:
../contrib/test_summary | grep -A7 Summ
The number of unexpected failures in g++ worries me.

Code:
		=== g++ Summary ===

# of expected passes		210136
# of unexpected failures	2666
# of expected failures		1073
# of unresolved testcases	203
# of unsupported tests		9048
/sources/gcc-11.2.0/build/gcc/xg++  version 11.2.0 (GCC) 
--
This seems like a very large number, far more than the dozen or so failures listed as expected in the LFS chapter 8.26 page.

My questions are:
  • should I be concerned about this number of failures?
  • if this is indeed a problem, what went wrong and how to resolve it? I'm really hoping to avoid starting over because as you know it's a lot of manual typing.

I can provide any and all command output requested that would help.

Thanks!

Last edited by peristaltic; 09-04-2021 at 05:04 PM.
 
Old 09-05-2021, 10:29 AM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
If the sanity checks pass ok i wouldn't worry too much about the number of test errors, a lot of them really only apply to devs of gcc itself

P.S
As an aside I've been using LFS for years and i never run the tests just the sanity checks.

Last edited by Keith Hedger; 09-05-2021 at 10:31 AM.
 
2 members found this post helpful.
Old 09-06-2021, 07:33 PM   #3
peristaltic
LQ Newbie
 
Registered: Mar 2005
Posts: 23

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Keith Hedger View Post
If the sanity checks pass ok i wouldn't worry too much about the number of test errors, a lot of them really only apply to devs of gcc itself

P.S
As an aside I've been using LFS for years and i never run the tests just the sanity checks.
Thanks for your response. I realize I am being a little paranoid but I also understand the way that each chapter of LFS builds on the previous ones. GCC is probably a fairly important component for everything else I do going forrward. I didn't want to get to the end and find that ignoring these test failures had tainted the final product.

Despite your assurances, I'm not going to mark this thread as "Solved' because I'm not 100% sure of what lies ahead for this LFS build. But believe me if I ultimately encounter problems, someone's gonna hear about it... If I never update this thread again, take it as a good sign.
 
Old 09-06-2021, 10:51 PM   #4
anak_bawang
Member
 
Registered: Jun 2015
Location: Bandung Indonesia
Distribution: Debian, LFS/BLFS
Posts: 138

Rep: Reputation: 23
Quote:
Originally Posted by Keith Hedger View Post
P.S
As an aside I've been using LFS for years and i never run the tests just the sanity checks.
I did all the test only for the first time I built LFS.

Now, I ignore all the tests except for glibc, gmp, mpfr, and mpc.
 
1 members found this post helpful.
Old 09-23-2021, 11:14 PM   #5
peristaltic
LQ Newbie
 
Registered: Mar 2005
Posts: 23

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by peristaltic View Post
Hello --
...
Thanks!
Posting to resolve this thread in case anyone experienced the same concerns I did.

My LFS system has booted and performed successfully so I wouldn't worry about all those warnings when running tests against the build of GCC in Chapter 8.

Side note: I have started an LFS build 3 times since 2005 and this is the first time I reached the ultimate goal of a bootable system. I'm very grateful for the advice I have received here on these forums.
 
Old 09-24-2021, 05:14 AM   #6
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
I find this thread extraordinary. The Book emphasises the necessity of the tests for a small number of crucial packages (binutils, gcc, mpc, mpfr, gmp and glibc). They are "on no account to be omitted". The rest of the tests are less important and I don't usually bother with them any more, but I religiously carry out the tests on these packages. Fortunately I have never had the kind of error splurge that the OP had.

But now it turns out that you can have all that and still end up with a bootable LFS. So why are these tests described as so essential?
 
  


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] Test Suite for GCC 9.2.0 on LFS 9.1 Outputting About 1100 Unexpected Failures and About 6600 Unsupported Tests archbtw Linux From Scratch 9 04-17-2020 02:03 PM
GCC test summary shows too many unexpected failures - LFS - GCC 8.2.0 rithinskaria Linux From Scratch 4 09-17-2018 04:45 PM
LFS 7.6 chapter 6, gcc test suite computer reboot KeeganDeathman Linux From Scratch 2 07-10-2015 03:08 PM
Errors when running Glibc-2.3.6 test suite (reference: LFS 6.2 chapter 6.9) PingFloyd Linux From Scratch 2 02-02-2007 09:43 PM
LFS 6-1: Glibc Test Suite Fails at end with 2 errors in Chapter 6 TGWDNGHN Linux From Scratch 1 07-26-2005 12:23 PM

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

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