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 04-12-2016, 07:36 PM   #1
skorm513
LQ Newbie
 
Registered: Nov 2015
Posts: 9

Rep: Reputation: Disabled
Just finished the last GCC compilation, please tell me if the following output is acceptable


So I'm at Chapter 6.17 (GCC) using version 7.9-systemd, using an x86_64 architecture.

After compiling, and running `make -k check`, I get this strange (but apparently non-fatal) error immediately after:

Code:
make[2]: autogen: Command not found
Makefile:176: recipe for target 'check' failed
make[2]: *** [check] Error 127
make[2]: Leaving directory '/sources/gcc-5.3.0/build/fixincludes'
Makefile:3560: recipe for target 'check-fixincludes' failed
make[1]: *** [check-fixincludes] Error 2
The test output however matches that of the logs located for my version in the LFS website, so I think that it's still fine?

Also, searching for the header files the compiler is using gives me a slightly different output instead of the expected /usr/lib/gcc/i686-pc-linux-gnu directory:

Code:
grep -B4 '^ /usr/include' dummy.log
gives me

Code:
                                          
#include <...> search starts here:
 /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include
 /usr/local/include
 /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include-fixed
 /usr/include
Is this okay?

Last edited by skorm513; 04-12-2016 at 07:49 PM.
 
Old 04-13-2016, 08:03 AM   #2
hpmachining
LQ Newbie
 
Registered: Apr 2016
Posts: 15

Rep: Reputation: 1
If your output matches the build logs it should be fine. Here is what the book says...
Quote:
Unless the test results are vastly different from those at the above URL, it is safe to continue.
The different output is also normal.
Quote:
Depending on your machine architecture, the above may differ slightly, the difference usually being the name of the directory after /usr/lib/gcc.
So you should be fine.
 
Old 04-13-2016, 08:37 AM   #3
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
Check always reports an overall failure if anything fails that the upstream developers don't consider to be an expected failure. That includes a few failures that are expected on LFS. That's why you use the -k option. If the failures are in the specimen log, you can ignore them.
 
1 members found this post helpful.
  


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
6.16 in book 6.8 Building GCC what errors are acceptable mreff555 Linux From Scratch 4 09-20-2011 03:02 PM
[SOLVED] Any option in GCC to SEE the dynamic bindings processing happening, in the compilation output? Aquarius_Girl Programming 8 02-23-2011 01:19 AM
installing GCC 'no acceptable C compiler found' picasso2526 Linux - Software 2 11-19-2007 09:05 PM
gcc, no acceptable c compiler found tomzo Linux - Newbie 3 01-22-2007 03:56 AM
how to place the output of compilation to some file (gcc) mlaich Programming 2 12-13-2005 05:52 PM

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

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