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 07-31-2017, 05:11 PM   #1
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
BLFS: gcc recompile may have failed


So I recompiled gcc. The intent was to add Fortran (I used it ages ago and darn it I may just want to try it again) and Go (I have some curiosity about this relatively new language).

Naturally, I followed the directions of the BLFS8 (stable) book. I figured that since I was compiling the same version of GCC that I had already in-place, things should go OK? Right? I hope?

Ran it. No obvious errors during sed, configure & make.

Then I ran "make -k check". The process ran for some time (expected) but I did not expect the check itself to fail and that is what looks like has happened (quote instead of code, so it wraps):
Quote:
PASS: old/regexp
PASS: old/template
PASS: os/exec
PASS: os/signal
PASS: os/user
PASS: path/filepath
PASS: regexp/syntax
PASS: runtime/pprof
PASS: sync/atomic
PASS: text/scanner
PASS: text/tabwriter
PASS: text/template
PASS: text/template/parse
PASS: testing/quick
PASS: unicode/utf16
PASS: unicode/utf8
make[4]: Leaving directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libgo'
make[3]: [Makefile:6623: check-am] Error 2 (ignored)
make[3]: Leaving directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libgo'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CC_FOR_TARGET=/hsc/big/gcc-6.3.0/build/./gcc/xgcc -B/hsc/big/gcc-6.3.0/build/./gcc/" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2 -D_GNU_SOURCE" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "GOC_FOR_TARGET=/hsc/big/gcc-6.3.0/build/./gcc/gccgo -B/hsc/big/gcc-6.3.0/build/./gcc/" "GOC=/hsc/big/gcc-6.3.0/build/./gcc/gccgo -B/hsc/big/gcc-6.3.0/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include " "GOCFLAGS=-O2 -g" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "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" "RUNTESTFLAGS=" "exec_prefix=/usr" "infodir=/usr/share/info" "libdir=/usr/lib" "includedir=/usr/include" "prefix=/usr" "tooldir=/usr/x86_64-pc-linux-gnu" "gxx_include_dir=" "AR=ar" "AS=/hsc/big/gcc-6.3.0/build/./gcc/as" "LD=/hsc/big/gcc-6.3.0/build/./gcc/collect-ld" "RANLIB=ranlib" "NM=/hsc/big/gcc-6.3.0/build/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=nm" "DESTDIR=" "WERROR=-Werror" DO=check-am multi-do # make
make[2]: *** [Makefile:6552: check-tail] Error 1
make[2]: Target 'check' not remade because of errors.
make[2]: Leaving directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libgo'
make[1]: *** [Makefile:19360: check-target-libgo] Error 2
make[2]: Entering directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libffi'
Making check in include
make[3]: Entering directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libffi/include'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libffi/include'
Making check in testsuite
make[3]: Entering directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libffi/testsuite'
make check-DEJAGNU
make[4]: Entering directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libffi/testsuite'
Making a new site.exp file...
srcdir='../../../../libffi/testsuite'; export srcdir; \
EXPECT=`if [ -f ../../expect/expect ] ; then echo ../../expect/expect ; else echo expect ; fi`; export EXPECT; \
runtest=`if [ -f ../../../../libffi/../dejagnu/runtest ] ; then echo ../../../../libffi/../dejagnu/runtest ; else echo runtest; fi`; \
if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \
exit_status=0; l='libffi'; for tool in $l; do \
if $runtest --tool $tool --srcdir $srcdir ; \
then :; else exit_status=1; fi; \
done; \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi; \
exit $exit_status
WARNING: Couldn't find the global config file.
Test run by root on Sun Jul 30 17:48:03 2017
Native configuration is x86_64-pc-linux-gnu

=== libffi tests ===

Schedule of variations:
unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ../../../../libffi/testsuite/config/default.exp as tool-and-target-specific interface file.
Running ../../../../libffi/testsuite/libffi.call/call.exp ...
Running ../../../../libffi/testsuite/libffi.complex/complex.exp ...
Running ../../../../libffi/testsuite/libffi.go/go.exp ...
Running ../../../../libffi/testsuite/libffi.special/special.exp ...

=== libffi Summary ===

# of expected passes 2214
make[4]: Leaving directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libffi/testsuite'
make[3]: Leaving directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libffi/testsuite'
Making check in man
make[3]: Entering directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libffi/man'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libffi/man'
make[3]: Entering directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libffi'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2 -D_GNU_SOURCE" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 -I ../../../libffi/../gcc/doc/include -I ../../../libffi/../gcc/doc/include" "PICFLAG=" "PICFLAG_FOR_TARGET=" "RUNTESTFLAGS=" "SHELL=/bin/sh" "exec_prefix=/usr" "infodir=/usr/share/info" "libdir=/usr/lib" "mandir=/usr/share/man" "prefix=/usr" "AR=ar" "AS=/hsc/big/gcc-6.3.0/build/./gcc/as" "CC=/hsc/big/gcc-6.3.0/build/./gcc/xgcc -B/hsc/big/gcc-6.3.0/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include " "CXX=/hsc/big/gcc-6.3.0/build/./gcc/xg++ -B/hsc/big/gcc-6.3.0/build/./gcc/ -nostdinc++ -nostdinc++ -I/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libstdc++-v3/include -I/hsc/big/gcc-6.3.0/libstdc++-v3/libsupc++ -I/hsc/big/gcc-6.3.0/libstdc++-v3/include/backward -I/hsc/big/gcc-6.3.0/libstdc++-v3/testsuite/util -L/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libstdc++-v3/src -L/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -B/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -B/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include " "LD=/hsc/big/gcc-6.3.0/build/./gcc/collect-ld" "NM=/hsc/big/gcc-6.3.0/build/./gcc/nm" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
make[3]: Leaving directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libffi'
make[2]: Leaving directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libffi'
make[2]: Entering directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libgomp'
Making check in testsuite
make[3]: Entering directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libgomp/testsuite'
make check-DEJAGNU
make[4]: Entering directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libgomp/testsuite'
Making a new site.exp file...
srcdir='../../../../libgomp/testsuite'; export srcdir; \
EXPECT=expect; export EXPECT; \
runtest=runtest; \
if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \
exit_status=0; l='libgomp'; for tool in $l; do \
if $runtest --tool $tool --srcdir $srcdir ; \
then :; else exit_status=1; fi; \
done; \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi; \
exit $exit_status
WARNING: Couldn't find the global config file.
Test run by root on Sun Jul 30 17:49:39 2017
Native configuration is x86_64-pc-linux-gnu

=== libgomp tests ===

Schedule of variations:
unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ../../../../libgomp/testsuite/config/default.exp as tool-and-target-specific interface file.
Running ../../../../libgomp/testsuite/libgomp.c/c.exp ...
Running ../../../../libgomp/testsuite/libgomp.c++/c++.exp ...
Running ../../../../libgomp/testsuite/libgomp.fortran/fortran.exp ...
Running ../../../../libgomp/testsuite/libgomp.graphite/graphite.exp ...
Running ../../../../libgomp/testsuite/libgomp.hsa.c/c.exp ...
Running ../../../../libgomp/testsuite/libgomp.oacc-c/c.exp ...
Running ../../../../libgomp/testsuite/libgomp.oacc-c++/c++.exp ...
Running ../../../../libgomp/testsuite/libgomp.oacc-fortran/fortran.exp ...

=== libgomp Summary ===

# of expected passes 5106
# of unsupported tests 271
make[4]: Leaving directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libgomp/testsuite'
make[3]: Leaving directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libgomp/testsuite'
make[3]: Entering directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libgomp'
true DO=all multi-do # make
:
:
:
make[3]: Leaving directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libgomp'
make[2]: Leaving directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libgomp'
make[2]: Entering directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libitm'
Making check in testsuite
make[3]: Entering directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libitm/testsuite'
make check-DEJAGNU
make[4]: Entering directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libitm/testsuite'
Making a new site.exp file...
srcdir='../../../../libitm/testsuite'; export srcdir; \
EXPECT=expect; export EXPECT; \
runtest=runtest; \
if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \
exit_status=0; l='libitm'; for tool in $l; do \
if $runtest --tool $tool --srcdir $srcdir ; \
then :; else exit_status=1; fi; \
done; \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi; \
exit $exit_status
WARNING: Couldn't find the global config file.
Test run by root on Sun Jul 30 17:58:05 2017
Native configuration is x86_64-pc-linux-gnu

=== libitm tests ===

Schedule of variations:
unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ../../../../libitm/testsuite/config/default.exp as tool-and-target-specific interface file.
Running ../../../../libitm/testsuite/libitm.c/c.exp ...
Running ../../../../libitm/testsuite/libitm.c++/c++.exp ...

=== libitm Summary ===

# of expected passes 42
# of expected failures 3
# of unsupported tests 1
make[4]: Leaving directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libitm/testsuite'
make[3]: Leaving directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libitm/testsuite'
make[3]: Entering directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libitm'
true DO=all multi-do # make
make[3]: Leaving directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libitm'
make[2]: Leaving directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libitm'
make[2]: Entering directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libatomic'
Making check in testsuite
make[3]: Entering directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libatomic/testsuite'
make check-DEJAGNU
make[4]: Entering directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libatomic/testsuite'
Making a new site.exp file...
srcdir='../../../../libatomic/testsuite'; export srcdir; \
EXPECT=expect; export EXPECT; \
runtest=runtest; \
if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \
exit_status=0; l='libatomic'; for tool in $l; do \
if $runtest --tool $tool --srcdir $srcdir ; \
then :; else exit_status=1; fi; \
done; \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi; \
exit $exit_status
WARNING: Couldn't find the global config file.
Test run by root on Sun Jul 30 17:58:09 2017
Native configuration is x86_64-pc-linux-gnu

=== libatomic tests ===

Schedule of variations:
unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ../../../../libatomic/testsuite/config/default.exp as tool-and-target-specific interface file.
Running ../../../../libatomic/testsuite/libatomic.c/c.exp ...

=== libatomic Summary ===

# of expected passes 54
make[4]: Leaving directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libatomic/testsuite'
make[3]: Leaving directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libatomic/testsuite'
make[3]: Entering directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libatomic'
true DO=all multi-do # make
make[3]: Leaving directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libatomic'
make[2]: Leaving directory '/hsc/big/gcc-6.3.0/build/x86_64-pc-linux-gnu/libatomic'
make[1]: Target 'check-target' not remade because of errors.
make[1]: Leaving directory '/hsc/big/gcc-6.3.0/build'
make: *** [Makefile:2273: do-check] Error 2
make: Target 'check' not remade because of errors.
The above is not the complete output. It is all that screen had retained when I decided to copy-and-paste it. Near as I can tell, the last few error lines are not in any log. Those last few lines are what look bad.

Speaking of logs, following the guidance of the book, I was able to render this summary:
Quote:
root@artemis:build # ../contrib/test_summary
cat <<'EOF' |
LAST_UPDATED: Obtained from SVN: tags/gcc_6_3_0_release revision 243837

Native configuration is x86_64-pc-linux-gnu

=== gcc tests ===


Running target unix
FAIL: gcc.dg/cpp/trad/include.c (test for excess errors)

=== gcc Summary ===

# of expected passes 117921
# of unexpected failures 1
# of expected failures 316
# of unsupported tests 1702
/hsc/big/gcc-6.3.0/build/gcc/xgcc version 6.3.0 (GCC)

=== gfortran tests ===


Running target unix

=== gfortran Summary ===

# of expected passes 42766
# of expected failures 68
# of unsupported tests 76
/hsc/big/gcc-6.3.0/build/gcc/gfortran version 6.3.0 (GCC)

=== g++ tests ===


Running target unix
XPASS: g++.dg/tls/thread_local-order2.C -std=c++11 execution test
XPASS: g++.dg/tls/thread_local-order2.C -std=c++14 execution test

=== g++ Summary ===

# of expected passes 105874
# of unexpected successes 2
# of expected failures 318
# of unsupported tests 3793
/hsc/big/gcc-6.3.0/build/gcc/xg++ version 6.3.0 (GCC)

=== go tests ===


Running target unix

=== go Summary ===

# of expected passes 7255
# of expected failures 1
# of untested testcases 6
# of unsupported tests 1
/hsc/big/gcc-6.3.0/build/gcc/gccgo version 6.3.0 (GCC)

=== obj-c++ tests ===


Running target unix

=== obj-c++ Summary ===

# of expected passes 1446
# of expected failures 10
# of unsupported tests 77
/hsc/big/gcc-6.3.0/build/gcc/xg++ version 6.3.0 (GCC)

=== objc tests ===


Running target unix

=== objc Summary ===

# of expected passes 2783
# of expected failures 6
# of unsupported tests 68
/hsc/big/gcc-6.3.0/build/gcc/xgcc version 6.3.0 (GCC)

=== libatomic tests ===


Running target unix

=== libatomic Summary ===

# of expected passes 54
=== libffi tests ===


Running target unix

=== libffi Summary ===

# of expected passes 2214
=== libgo tests ===


Running target unix
FAIL: syscall

=== libgo Summary ===

# of expected passes 133
# of unexpected failures 1
/hsc/big/gcc-6.3.0/build/./gcc/gccgo version 6.3.0 (GCC)

=== libgomp tests ===


Running target unix

=== libgomp Summary ===

# of expected passes 5106
# of unsupported tests 271
=== libitm tests ===


Running target unix

=== libitm Summary ===

# of expected passes 42
# of expected failures 3
# of unsupported tests 1
=== libstdc++ tests ===


Running target unix
FAIL: experimental/filesystem/iterators/directory_iterator.cc execution test
FAIL: experimental/filesystem/iterators/recursive_directory_iterator.cc execution test
FAIL: experimental/filesystem/operations/exists.cc execution test
FAIL: experimental/filesystem/operations/is_empty.cc execution test
FAIL: experimental/filesystem/operations/temp_directory_path.cc execution test

=== libstdc++ Summary ===

# of expected passes 11108
# of unexpected failures 5
# of expected failures 66
# of unsupported tests 235

Compiler version: 6.3.0 (GCC)
Platform: x86_64-pc-linux-gnu
configure flags: --prefix=/usr --disable-multilib --with-system-zlib --enable-languages=c,c++,fortran,go,objc,obj-c++
EOF
Mail -s "Results for 6.3.0 (GCC) testsuite on x86_64-pc-linux-gnu" gcc-testresults@gcc.gnu.org &&
mv /hsc/big/gcc-6.3.0/build/./gcc/testsuite/gcc/gcc.sum /hsc/big/gcc-6.3.0/build/./gcc/testsuite/gcc/gcc.sum.sent &&
mv /hsc/big/gcc-6.3.0/build/./gcc/testsuite/gfortran/gfortran.sum /hsc/big/gcc-6.3.0/build/./gcc/testsuite/gfortran/gfortran.sum.sent &&
mv /hsc/big/gcc-6.3.0/build/./gcc/testsuite/g++/g++.sum /hsc/big/gcc-6.3.0/build/./gcc/testsuite/g++/g++.sum.sent &&
mv /hsc/big/gcc-6.3.0/build/./gcc/testsuite/go/go.sum /hsc/big/gcc-6.3.0/build/./gcc/testsuite/go/go.sum.sent &&
mv /hsc/big/gcc-6.3.0/build/./gcc/testsuite/obj-c++/obj-c++.sum /hsc/big/gcc-6.3.0/build/./gcc/testsuite/obj-c++/obj-c++.sum.sent &&
mv /hsc/big/gcc-6.3.0/build/./gcc/testsuite/objc/objc.sum /hsc/big/gcc-6.3.0/build/./gcc/testsuite/objc/objc.sum.sent &&
mv /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libatomic/testsuite/libatomic.sum /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libatomic/testsuite/libatomic.sum.sent &&
mv /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libffi/testsuite/libffi.sum /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libffi/testsuite/libffi.sum.sent &&
mv /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libgo/libgo.sum /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libgo/libgo.sum.sent &&
mv /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libgomp/testsuite/libgomp.sum /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libgomp/testsuite/libgomp.sum.sent &&
mv /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libitm/testsuite/libitm.sum /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libitm/testsuite/libitm.sum.sent &&
mv /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum.sent &&
mv /hsc/big/gcc-6.3.0/build/./gcc/testsuite/gcc/gcc.log /hsc/big/gcc-6.3.0/build/./gcc/testsuite/gcc/gcc.log.sent &&
mv /hsc/big/gcc-6.3.0/build/./gcc/testsuite/gfortran/gfortran.log /hsc/big/gcc-6.3.0/build/./gcc/testsuite/gfortran/gfortran.log.sent &&
mv /hsc/big/gcc-6.3.0/build/./gcc/testsuite/g++/g++.log /hsc/big/gcc-6.3.0/build/./gcc/testsuite/g++/g++.log.sent &&
mv /hsc/big/gcc-6.3.0/build/./gcc/testsuite/go/go.log /hsc/big/gcc-6.3.0/build/./gcc/testsuite/go/go.log.sent &&
mv /hsc/big/gcc-6.3.0/build/./gcc/testsuite/obj-c++/obj-c++.log /hsc/big/gcc-6.3.0/build/./gcc/testsuite/obj-c++/obj-c++.log.sent &&
mv /hsc/big/gcc-6.3.0/build/./gcc/testsuite/objc/objc.log /hsc/big/gcc-6.3.0/build/./gcc/testsuite/objc/objc.log.sent &&
mv /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libatomic/testsuite/libatomic.log /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libatomic/testsuite/libatomic.log.sent &&
mv /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libffi/testsuite/libffi.log /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libffi/testsuite/libffi.log.sent &&
mv /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libgo/libgo.log /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libgo/libgo.log.sent &&
mv /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libgomp/testsuite/libgomp.log /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libgomp/testsuite/libgomp.log.sent &&
mv /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libitm/testsuite/libitm.log /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libitm/testsuite/libitm.log.sent &&
mv /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.log /hsc/big/gcc-6.3.0/build/./x86_64-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.log.sent &&
true
The book mentioned that if one has valgrind installed (I do) there will be more errors than mentioned in the book.

I checked other people's logs, who used a similar architecture, such as http://gcc.gnu.org/ml/gcc-testresult.../msg03046.html
but the numbers differeed enough from mine that I could not make a judgment.

I cannot determine from the data available if my GCC build is good or not.

At this moment I have not performed the "make install" and I would please like the opinions of those here. Thank you very much.
 
Old 07-31-2017, 07:21 PM   #2
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
make -k check will allow the tests to continue, if there are errors. As for your errors...

Code:
FAIL: gcc.dg/cpp/trad/include.c (test for excess errors)
FAIL: experimental/filesystem/iterators/directory_iterator.cc execution test
FAIL: experimental/filesystem/iterators/recursive_directory_iterator.cc execution test
FAIL: experimental/filesystem/operations/exists.cc execution test
FAIL: experimental/filesystem/operations/is_empty.cc execution test
FAIL: experimental/filesystem/operations/temp_directory_path.cc execution test
I've seen all of these myself on more than one build. None of them has ever caused any sort of issue later and those system were built all the way to functional desktops.
 
1 members found this post helpful.
Old 08-02-2017, 05:16 PM   #3
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651

Original Poster
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
Quote:
Originally Posted by Luridis View Post
make -k check will allow the tests to continue, if there are errors.
Does that mean that my "make -k check" run to completion (ie, ran every test)?

Quote:
I've seen all of these myself on more than one build. None of them has ever caused any sort of issue later and those system were built all the way to functional desktops.
This is encouraging, thank you. My BLFS system right now is my main desktop system, so I am a bit more cautious.

It looks like the best thing for me to do is a complete backup, the make install, reboot, then test the compiler by recompiling seamonkey.
 
Old 08-02-2017, 11:08 PM   #4
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
Yes, the "-k" stops it from bombing out when a test fails.

Recompiling SeaMonkey may be a bit extreme. There are a couple things the book forgets to mention about tests. First, they're the lowest priority to be updated by developers. In the OS/FS community, new bells and whistles come first, bug fixes or code spec updates are a grudging second and, at the bottom, lies updating tests that newer code has broken. Second, the tests can easily be broken by a build environment that's not very close to the developer's. Virtual environments, different processors... hell different memory timing (overclocked) can probably break some.

The important things to look for are a lot of fails and/or a lot of fails on a specific page of code and anything with functions derived from that page of code. If you get a ton of floating point division errors followed by a lot of failing advanced math tests (sin,cos,tan,Fourier) then that's a good indication something is actually broken. Likewise, if you get an error regarding the handling of bitstream data and then lots of file/pipe/network function tests fail, chances are good something is actually wrong.

The last time I had an actual problem... I made a mistake in
"Adjusting the Toolchain (Chapter 6)". Running "make check" on GCC produced more than 20,000 errors in just a few seconds. So, if you've made a major mistake, it will become apparent very quickly in most cases.

Last edited by Luridis; 08-02-2017 at 11:11 PM.
 
1 members found this post helpful.
Old 08-03-2017, 08:20 AM   #5
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651

Original Poster
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
Ahhhh, interesting. Thank you.

Still gonna recompile seamonkey afterwards: if that huge tower of cards actually compiles, then I *know* the compiler is good. Overkill works.
 
Old 08-09-2017, 12:51 PM   #6
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651

Original Poster
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
Quote:
Originally Posted by jr_bob_dobbs View Post
Ahhhh, interesting. Thank you.

Still gonna recompile seamonkey afterwards: if that huge tower of cards actually compiles, then I *know* the compiler is good. Overkill works.
Recompiled SeaMonkey. No problems. GCC is good. Thanks for the replies.
 
  


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] Building LFS/BLFS without GCC anak_bawang Linux From Scratch 4 04-18-2016 03:22 PM
[SOLVED] libcrypt-1.6.2 compilition failed in BLFS Carl_cj Linux From Scratch 13 09-24-2014 01:18 AM
[SOLVED] LFS/BLFS SVN: gcc-4.8.0 and glibc-2.17 re_nelson Linux From Scratch 3 07-09-2013 10:50 PM
What to recompile when moving to a new version of gcc? juanbobo Linux - Software 1 12-16-2009 08:11 AM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM

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

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