On 10 May 2013 04:34, Sylvia wrote: > > 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 (It would be more useful to provide the *exact* configure command, instead of saying "Configure gcc") Is there a good reason you're using --with-gmp, --with-mpfr and --with-mpc instead of building them in-tree, as described at http://gcc.gnu.org/wiki/InstallingGCC? > 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. Look for FAIL in /home/linchongzhi/software/objdir_463/x86_64-unknown-linux-gnu/libstdc++-v3/testsuite/libstdc++.log