[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc
Subject:    (SOLVED) Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++
From:       "Paul C. Leopardi" <leopardi () bigpond ! net ! au>
Date:       2005-07-28 15:46:12
Message-ID: 200507290146.12426.leopardi () bigpond ! net ! au
[Download RAW message or body]

Hi all, 
I've solved this. Thanks to Ian Lance Taylor, H. J. Lu and Mike Stump.
See below.
Best regards, Paul

I checked the output of make check-c++ RUNTESTFLAGS="-v" and noticed the line:
Found ~/.dejagnurc

In ~/.dejagnurc I found:
set GXX_UNDER_TEST "g++"

Judging form the modification date of the file, this is a hangover from May 
last year, when I reported "gcc 3.4.0 testsuit gives over 5000 g++ errors"
http://gcc.gnu.org/ml/gcc-help/2004-05/msg00008.html
It was still there later when I reported bug 15356, and has apparently been 
there ever since. At the time, I was using the Intel compiler as well as gcc 
and I was used to switching between the two via environment flags in .bashrc. 
I don't remember adding this line to .dejagnurc, but there it was.

I renamed .dejagnurc to old.dejagnurc. Running "make check-c++" in the gcc 
directory now results in:

(rootme=`${PWDCMD-pwd}`; export rootme; \
srcdir=`cd ../../gcc-4.0.1/gcc; ${PWDCMD-pwd}` ; export srcdir ; \
cd testsuite; \
EXPECT=`if [ -f ${rootme}/../expect/expect ] ; then echo 
${rootme}/../expect/expect ; else echo expect ; fi` ; export EXPECT ; \
if [ -f ${rootme}/../expect/expect ] ; then  \
   TCL_LIBRARY=`cd .. ; cd ../../gcc-4.0.1/gcc/../tcl/library ; 
${PWDCMD-pwd}` ; \
    export TCL_LIBRARY ; fi ; \
`if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo 
${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool g++ )
Test Run By leopardi on Fri Jul 29 01:18:57 2005
Native configuration is x86_64-suse-linux-gnu

		=== g++ 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 /home/leopardi/src/gcc/gcc-4.0.1/gcc/testsuite/config/default.exp as 
tool-and-target-specific interface file.
Running /home/leopardi/src/gcc/gcc-4.0.1/gcc/testsuite/g++.dg/bprob/bprob.exp ...
Running /home/leopardi/src/gcc/gcc-4.0.1/gcc/testsuite/g++.dg/charset/charset.exp ...
Running /home/leopardi/src/gcc/gcc-4.0.1/gcc/testsuite/g++.dg/compat/compat.exp ...
Running /home/leopardi/src/gcc/gcc-4.0.1/gcc/testsuite/g++.dg/debug/debug.exp ...
Running /home/leopardi/src/gcc/gcc-4.0.1/gcc/testsuite/g++.dg/dg.exp ...
Running /home/leopardi/src/gcc/gcc-4.0.1/gcc/testsuite/g++.dg/gcov/gcov.exp ...
Running /home/leopardi/src/gcc/gcc-4.0.1/gcc/testsuite/g++.dg/pch/pch.exp ...
Running /home/leopardi/src/gcc/gcc-4.0.1/gcc/testsuite/g++.dg/special/ecos.exp ...
Running /home/leopardi/src/gcc/gcc-4.0.1/gcc/testsuite/g++.dg/tls/tls.exp ...
Running /home/leopardi/src/gcc/gcc-4.0.1/gcc/testsuite/g++.dg/vect/vect.exp ...
Running /home/leopardi/src/gcc/gcc-4.0.1/gcc/testsuite/g++.old-deja/old-deja.exp ...
XPASS: g++.old-deja/g++.other/init5.C execution test

		=== g++ Summary ===

# of expected passes		10894
# of unexpected successes	1
# of expected failures		69
# of unsupported tests		90
/home/leopardi/src/gcc/gcc-4.0.1-obj/gcc/testsuite/../g++  version 4.0.1

make: [check-g++] Error 1 (ignored)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic