check-DEJAGNU error occurred when running gcc4.6.3 testsuite

Sylvia xdwang_tju@yahoo.com.cn
Fri May 10 03:45:00 GMT 2013


Hi,
 
I have built gcc 4.6.3 on Redhat 4.3, but it occurred below error when running testsuite with “make –k check”:

 === libstdc++ Summary ===
 
# of expected passes            8314
# of unexpected failures        1
# of expected failures          84
# of unsupported tests          113
make64[3]: *** [check-DEJAGNU] Error 1
make64[3]: Leaving directory `/home/linchongzhi/software/objdir_463/x86_64-unknown-linux-gnu/libstdc++-v3/testsuite'
make64[2]: *** [check-am] Error 2
make64[2]: Target `check' not remade because of errors.
make64[2]: Leaving directory
`/home/linchongzhi/software/objdir_463/x86_64-unknown-linux-gnu/libstdc++-v3/testsuite'
Making check in python
make64[2]: Entering directory `/home/linchongzhi/software/objdir_463/x86_64-unknown-linux-gnu/libstdc++-v3/python'
make64[2]: Nothing to be done for `check'.
make64[2]: Leaving directory `/home/linchongzhi/software/objdir_463/x86_64-unknown-linux-gnu/libstdc++-v3/python'
make64[2]: Entering directory `/home/linchongzhi/software/objdir_463/x86_64-unknown-linux-gnu/libstdc++-v3'
true
"AR_FLAGS=rc" "CC_FOR_BUILD=gcc" 
"CC_FOR_TARGET=/home/linchongzhi/software/objdir_463/./gcc/xgcc 
-B/home/linchongzhi/software/objdir_463/./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" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2"
"MAKE=/usr/bin/make64" "MAKEINFO=makeinfo --split-size=5000000  " 
"PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" 
"exec_prefix=/home/linchongzhi/local/gcc-4.6.3" 
"infodir=/home/linchongzhi/local/gcc-4.6.3/share/info" 
"libdir=/home/linchongzhi/local/gcc-4.6.3/lib" 
"includedir=/home/linchongzhi/local/gcc-4.6.3/include" 
"prefix=/home/linchongzhi/local/gcc-4.6.3" 
"tooldir=/home/linchongzhi/local/gcc-4.6.3/x86_64-unknown-linux-gnu" 
"gxx_include_dir=/home/linchongzhi/local/gcc-4.6.3/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include/c++"
"AR=ar" "AS=/home/linchongzhi/software/objdir_463/./gcc/as" 
"LD=/home/linchongzhi/software/objdir_463/./gcc/collect-ld" 
"RANLIB=ranlib" "NM=/home/linchongzhi/software/objdir_463/./gcc/nm" 
"NM_FOR_BUILD=" "NM_FOR_TARGET=nm" "DESTDIR=" "WERROR=" DO=all multi-do #
/usr/bin/make64
make64[2]: Leaving directory `/home/linchongzhi/software/objdir_463/x86_64-unknown-linux-gnu/libstdc++-v3'
make64[1]: ***
[check-recursive] Error 1
make64[1]: Target `check' not remade because of errors.
make64[1]: Leaving directory `/home/linchongzhi/software/objdir_463/x86_64-unknown-linux-gnu/libstdc++-v3'
make64: *** [check-target-libstdc++-v3] Error 2

DEJAGNU has already been installed and DEJAGNULIBS environment variable has been set: export DEJAGNULIBS=/home/linchongzhi/dejagnu/share/dejagnu as DEJAGUN is installed in /home/linchongzhi/dejagnu.

Here are my steps:
1. Configure gcc
--prefix=/home/linchongzhi/local/gcc-4.6.3 --disable-multilib --enable-languages=c,c++ --enable-version-specific-runtime-libs --with-gmp=/home/linchongzhi/local/gmp --with-mpc=/home/linchongzhi/local/mpc --with-mpfr=/home/linchongzhi/local/mpfr --with-ppl=no --with-cloog=no --disable-shared --enable-threads=posix --enable-__cxa_atexit --with-gnu-as --with-as=/home/linchongzhi/local/gcc-4.6.3/bin/as --with-gnu-ld --with-ld=/home/linchongzhi/local/gcc-4.6.3/bin/ld --with-build-time-tools=/home/linchongzhi/local/gcc-4.6.3/bin
2. Build gcc
3. cd objdir; make –k check


My environment is:
X86_64, Redhat 4.3
 
I don’t know why check-DEJAGNU error occurred and how to resolve it. Could you help? Thank you.
 
Best regards!



More information about the Gcc-testresults mailing list