6.12. GCC-4.0.3 - "make -k check" failed

Kai Ulrich kaiu at gmx.de
Wed Feb 21 13:10:52 PST 2007


Hallo,

I try to build 6.12. GCC-4.0.3 for the Basic System :

What I did:

1. Did the sed - commands (see I.)

2. ../gcc-4.0.3/configure - seems ok (see II.)

3. make - seems ok

4. make -k check - FAILS !!!
Lot of messages like (see III.) looks like all tests fail.
../gcc-4.0.3/contrib/test_summary | grep -A7 Summ
 prints (see IV)


Thanx for help.
KAi

I.)
root:/sources/gcc-4.0.3# sed -i 's/install_to_$(INSTALL_DEST) //' 
libiberty/Makefile.in
root:/sources/gcc-4.0.3# sed -i 's/^XCFLAGS =$/& -fomit-frame-pointer/' 
gcc/Makefile.in
root:/sources/gcc-4.0.3# sed -i 's@\./fixinc\.sh at -c true@' gcc/Makefile.in
root:/sources/gcc-4.0.3# sed -i 's/@have_mktemp_command@/yes/' gcc/gccbug.in

II.)
root:/sources/gcc-build# ../gcc-4.0.3/configure --prefix=/usr \
 >     --libexecdir=/usr/lib --enable-shared \
 >     --enable-threads=posix --enable-__cxa_atexit \
 >     --enable-clocale=gnu --enable-languages=c,c++
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /tools/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gnatbind... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 
$$f1 $$f2
checking for correct version of gmp.h... no
*** This configuration is not supported in the following subdirectories:
     target-libada target-libgfortran target-libffi target-boehm-gc 
target-zlib target-libjava zlib fastjar target-libobjc
    (Any other directories should still work fine.)
checking for bison... no
checking for bison... no
checking for byacc... no
checking for yacc... no
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... no
checking for flex... no
checking for lex... no
checking for makeinfo... makeinfo
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-linux-gnu-ld... no
checking for ld... ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... windres
checking for i686-pc-linux-gnu-objcopy... no
checking for objcopy... objcopy
checking for i686-pc-linux-gnu-objdump... no
checking for objdump... objdump
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-linux-gnu-ld... no
checking for ld... ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... windres
checking whether to enable maintainer-specific portions of Makefiles... no
checking if symbolic links between directories work... yes
updating cache ./config.cache
creating ./config.status
creating Makefile


III.)
[...]
FAIL: gcc.c-torture/execute/20041114-1.c compilation,  -O0
FAIL: gcc.c-torture/execute/20041114-1.c compilation,  -O1
FAIL: gcc.c-torture/execute/20041114-1.c compilation,  -O2
FAIL: gcc.c-torture/execute/20041114-1.c compilation,  -O3 
-fomit-frame-pointer
FAIL: gcc.c-torture/execute/20041114-1.c compilation,  -O3 -g
FAIL: gcc.c-torture/execute/20041114-1.c compilation,  -Os
[...]
or
[...]
FAIL: g++.old-deja/g++.jason/member.C  (test for errors, line 8)
FAIL: g++.old-deja/g++.jason/member.C  (test for errors, line 15)
FAIL: g++.old-deja/g++.jason/member.C  (test for errors, line 21)
FAIL: g++.old-deja/g++.jason/member.C  (test for errors, line 27)
FAIL: g++.old-deja/g++.jason/member.C  (test for errors, line 28)
FAIL: g++.old-deja/g++.jason/member.C  (test for errors, line 33)
FAIL: g++.old-deja/g++.jason/member.C  (test for errors, line 34)
FAIL: g++.old-deja/g++.jason/member.C (test for excess errors)
[...]
and ends with
make[3]: Leaving directory `/sources/gcc-build/i686-pc-linux-gnu/libmudflap'
make[2]: Leaving directory `/sources/gcc-build/i686-pc-linux-gnu/libmudflap'
make[1]: *** [check-recursive] Error 1
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/sources/gcc-build/i686-pc-linux-gnu/libmudflap'
make: *** [check-target-libmudflap] Error 2
make[1]: Entering directory `/sources/gcc-build/i686-pc-linux-gnu/libiberty'
make[2]: Entering directory 
`/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory 
`/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[1]: Leaving directory `/sources/gcc-build/i686-pc-linux-gnu/libiberty'
make: Target `check' not remade because of errors.


IV.
root:/sources/gcc-build# ../gcc-4.0.3/contrib/test_summary | grep -A7 Summ
                === g++ Summary ===

# of expected passes            244
# of unexpected failures        10222
# of unexpected successes       37
# of expected failures          30
# of unresolved testcases       169
# of untested testcases         54
--
                === gcc Summary ===

# of expected passes            817
# of unexpected failures        26885
# of unexpected successes       30
# of expected failures          20
# of unresolved testcases       6771
# of untested testcases         504
--
                === libmudflap Summary ===

# of unexpected failures        412
                === libstdc++ tests ===


Running target unix
ERROR: tcl error sourcing 
/sources/gcc-4.0.3/libstdc++-v3/testsuite/libstdc++-abi/abi.exp.
--
                === libstdc++ Summary ===


Compiler version: gcc
Platform: i686-pc-linux-gnu
configure flags: --prefix=/usr --libexecdir=/usr/lib --enable-shared 
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu 
--enable-languages=c,c++
EOF
Mail -s "Results for gcc testsuite on i686-pc-linux-gnu" 
gcc-testresults at gcc.gnu.org &&





More information about the lfs-support mailing list