LinuxQuestions.org
Visit Jeremy's Blog.
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, 08: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 08:49 PM.
 
Old 04-13-2016, 09: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, 09:37 AM   #3
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware, OpenBSD
Posts: 3,937
Blog Entries: 11

Rep: Reputation: 2174Reputation: 2174Reputation: 2174Reputation: 2174Reputation: 2174Reputation: 2174Reputation: 2174Reputation: 2174Reputation: 2174Reputation: 2174Reputation: 2174
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 04:02 PM
[SOLVED] Any option in GCC to SEE the dynamic bindings processing happening, in the compilation output? TheIndependentAquarius Programming 8 02-23-2011 02:19 AM
installing GCC 'no acceptable C compiler found' picasso2526 Linux - Software 2 11-19-2007 10:05 PM
gcc, no acceptable c compiler found tomzo Linux - Newbie 3 01-22-2007 04:56 AM
how to place the output of compilation to some file (gcc) mlaich Programming 2 12-13-2005 06:52 PM

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

All times are GMT -5. The time now is 07:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration