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-2016, 07:45 PM   #1
oldrunner
LQ Newbie
 
Registered: Aug 2016
Location: Wherever the RV is parked.
Distribution: Daily driver Linux Mint / Play machine Slackware & LFS
Posts: 5

Rep: Reputation: Disabled
Fatal Error gcc-5.3.0 LFS 7.10


Slackware
LFS 7.10
Section 5.10.1. Installation of GCC
PC is an old Dell 6000, 32bit, single processor

Output of make
Code:
make[1]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build'
make[2]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/libiberty'
make[3]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/libiberty/testsuite'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/libiberty/testsuite'
make[2]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/libiberty'
make[2]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/fixincludes'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/fixincludes'
make[2]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp'
make  all-recursive
make[3]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp'
Making all in tests
make[4]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/tests'
Making all in .
make[5]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/tests'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/tests'
Making all in devel
make[5]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/tests/devel'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/tests/devel'
Making all in mpn
make[5]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/tests/mpn'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/tests/mpn'
Making all in mpz
make[5]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/tests/mpz'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/tests/mpz'
Making all in mpq
make[5]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/tests/mpq'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/tests/mpq'
Making all in mpf
make[5]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/tests/mpf'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/tests/mpf'
Making all in rand
make[5]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/tests/rand'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/tests/rand'
Making all in misc
make[5]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/tests/misc'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/tests/misc'
Making all in cxx
make[5]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/tests/cxx'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/tests/cxx'
make[4]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/tests'
Making all in mpn
make[4]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/mpn'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/mpn'
Making all in mpz
make[4]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/mpz'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/mpz'
Making all in mpq
make[4]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/mpq'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/mpq'
Making all in mpf
make[4]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/mpf'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/mpf'
Making all in printf
make[4]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/printf'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/printf'
Making all in scanf
make[4]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/scanf'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/scanf'
Making all in rand
make[4]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/rand'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/rand'
Making all in cxx
make[4]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/cxx'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/cxx'
Making all in demos
make[4]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/demos'
Making all in calc
make[5]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/demos/calc'
make  all-am
make[6]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/demos/calc'
make[6]: Nothing to be done for 'all-am'.
make[6]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/demos/calc'
make[5]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/demos/calc'
Making all in expr
make[5]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/demos/expr'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/demos/expr'
make[5]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/demos'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/demos'
make[4]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/demos'
Making all in tune
make[4]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/tune'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/tune'
Making all in doc
make[4]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/doc'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp/doc'
make[4]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp'
make[4]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp'
make[3]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp'
make[2]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gmp'
make[2]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/mpfr'
Making all in doc
make[3]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/mpfr/doc'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/mpfr/doc'
Making all in src
make[3]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/mpfr/src'
make  all-am
make[4]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/mpfr/src'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/mpfr/src'
make[3]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/mpfr/src'
Making all in tests
make[3]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/mpfr/tests'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/mpfr/tests'
Making all in tune
make[3]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/mpfr/tune'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/mpfr/tune'
make[3]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/mpfr'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/mpfr'
make[2]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/mpfr'
make[2]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/mpc'
make  all-recursive
make[3]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/mpc'
Making all in src
make[4]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/mpc/src'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/mpc/src'
Making all in tests
make[4]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/mpc/tests'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/mpc/tests'
Making all in doc
make[4]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/mpc/doc'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/mpc/doc'
make[4]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/mpc'
make[4]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/mpc'
make[3]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/mpc'
make[2]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/mpc'
make[2]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/lto-plugin'
make  all-am
make[3]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/lto-plugin'
make[3]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/lto-plugin'
make[2]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/lto-plugin'
make[2]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/intl'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/intl'
make[2]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/build-i686-pc-linux-gnu/libiberty'
make[3]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/build-i686-pc-linux-gnu/libiberty/testsuite'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/build-i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/build-i686-pc-linux-gnu/libiberty'
make[2]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/build-i686-pc-linux-gnu/fixincludes'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/build-i686-pc-linux-gnu/fixincludes'
make[2]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/build-i686-pc-linux-gnu/libcpp'
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[2]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/build-i686-pc-linux-gnu/libcpp'
make[2]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=i686-lfs-linux-gnu-gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/bin/ginstall -c" "INSTALL_DATA=/bin/ginstall -c -m 644" "INSTALL_PROGRAM=/bin/ginstall -c" "INSTALL_SCRIPT=/bin/ginstall -c" "LDFLAGS=-static-libstdc++ -static-libgcc " "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/tools" "infodir=/tools/share/info" "libdir=/tools/lib" "prefix=/tools" "tooldir=/tools/i686-pc-linux-gnu" "AR=i686-lfs-linux-gnu-ar" "AS=as" "CC=i686-lfs-linux-gnu-gcc" "CXX=i686-lfs-linux-gnu-g++" "LD=/mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/5.3.0/../../../../i686-lfs-linux-gnu/bin/ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=i686-lfs-linux-gnu-ranlib" "DESTDIR=" DO=all multi-do # make
make[2]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/zlib'
make[2]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/libbacktrace'
make  all-am
make[3]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/libbacktrace'
true  DO=all multi-do # make
make[3]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/libbacktrace'
make[2]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/libbacktrace'
make[2]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/libcpp'
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[2]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/libcpp'
make[2]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/libdecnumber'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/libdecnumber'
make[2]: Entering directory '/mnt/lfs/sources/gcc-5.3.0/build/gcc'
i686-lfs-linux-gnu-g++ -c   -g -O2 -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc -I../../gcc/build -I../../gcc/../include  -I../../gcc/../libcpp/include  \
	-o build/genmddeps.o ../../gcc/genmddeps.c
In file included from ../../gcc/genmddeps.c:19:0:
../../gcc/system.h:201:19: fatal error: string: No such file or directory
compilation terminated.
Makefile:2429: recipe for target 'build/genmddeps.o' failed
make[2]: *** [build/genmddeps.o] Error 1
make[2]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build/gcc'
Makefile:4130: recipe for target 'all-gcc' failed
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory '/mnt/lfs/sources/gcc-5.3.0/build'
Makefile:880: recipe for target 'all' failed
make: *** [all] Error 2
Any help appreciated...
Thanks

Last edited by oldrunner; 09-10-2016 at 08:22 PM.
 
Old 09-11-2016, 02:07 PM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Did you delete the gcc directory after the first pass and do a fresh untar of the package? It looks to me from your print-out as if nothing is being built at all, which is usually caused by building in a directory that already contains the results of a previous build.
 
Old 09-11-2016, 02:12 PM   #3
oldrunner
LQ Newbie
 
Registered: Aug 2016
Location: Wherever the RV is parked.
Distribution: Daily driver Linux Mint / Play machine Slackware & LFS
Posts: 5

Original Poster
Rep: Reputation: Disabled
Yes I did clear out the directory. The only thing I can think of is I closed the terminal in window 1 and opened a new terminal in window 2 and su'd lfs. I'm currently doing everything over again from scratch to see if it occurs again. Thx for the reply...
 
Old 09-11-2016, 08:14 PM   #4
oldrunner
LQ Newbie
 
Registered: Aug 2016
Location: Wherever the RV is parked.
Distribution: Daily driver Linux Mint / Play machine Slackware & LFS
Posts: 5

Original Poster
Rep: Reputation: Disabled
Started over for the twelveteenth time and noticed some of my downloaded files are downlevel. Also some of the ../configure files refer to incorrect versions. Will mark this thread Solved for now...

Update: Successfully passed the dummy test in 5.7. Glibc-2.24.
The moral of the story was downlevel packages and a ..configure file referring to an incorrect version.

Life is good...

Last edited by oldrunner; 09-12-2016 at 08:16 AM.
 
  


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] Fatal error in building Acl in chapter 6.22 [LFS-7.7] mayur_ Linux From Scratch 1 10-07-2017 04:37 PM
[SOLVED] LFS 7.1, Chapter 5.4.1 fatal error: cannot find 'ld' engineer Linux From Scratch 15 12-13-2012 10:06 PM
[SOLVED] LFS: Error during GCC-4.7.1-Pass 1 (LFS 7.2, Section 5.5) erkant Linux From Scratch 7 11-28-2012 06:03 AM
error using lfs while compiling lfs book's 6.12 (gcc-4.1.2) section aditya_gpch Linux From Scratch 3 04-24-2008 04:23 PM

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

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