This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
check-DEJAGNU error occurred when running gcc4.6.3 testsuite
- From: Sylvia <xdwang_tju at yahoo dot com dot cn>
- To: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Fri, 10 May 2013 11:34:57 +0800 (CST)
- Subject: check-DEJAGNU error occurred when running gcc4.6.3 testsuite
- Reply-to: Sylvia <xdwang_tju at yahoo dot com dot cn>
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=/ho
me/linchongzhi/local/gmp
--with-mpc=/home/linchongzhi/local/mpc
--with-mpfr=/home/linchongzhi/local/mpfr --with-ppl=no --with-cloog=no
--disable-shared --enable-thread
s=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!