Re: (SOLVED) Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-29 Thread Nix
On 28 Jul 2005, Joe Buck announced authoritatively: > Glad you found this. Your experience is why I've always objected when > someone suggests a .gccrc or a GCC_OPTIONS environment variable or the > like; people will forget that they have such files and report > unreproducible bugs. Instead, peop

Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-28 Thread Mike Stump
On Jul 27, 2005, at 7:04 PM, Paul C. Leopardi wrote: OK. Looks like a long term project. Should be as easy as debugging three lines of code. Insert a couple of printf's and voila. Wild ass guess, did you type make -k check? Yes. Is there something wrong with that? No, that is the righ

Re: (SOLVED) Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-28 Thread Joe Buck
On Fri, Jul 29, 2005 at 01:46:12AM +1000, Paul C. Leopardi wrote: > 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 ~/

(SOLVED) Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-28 Thread Paul C. Leopardi
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

Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-28 Thread Paul C. Leopardi
Hi Ian, My replies are below, Best regards. Paul On Thu, 28 Jul 2005 11:05 am, Ian Lance Taylor wrote: > "Paul C. Leopardi" <[EMAIL PROTECTED]> writes: > > [EMAIL PROTECTED]:~/src/gcc/gcc-4.0.1-obj> ../gcc-4.0.1/configure > > --prefix=/usr/local/gcc/gcc-4.0.1 --enable-threads=posix > > --disable-l

Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-27 Thread Ian Lance Taylor
"Paul C. Leopardi" <[EMAIL PROTECTED]> writes: > I checked http://gcc.gnu.org/install/prerequisites.html > Under "Tools/packages necessary for modifying GCC" it has > > autogen version 5.5.4 (or later) > > My fault, but... I'm just testing my bootstrap and am not intending to modify > gcc, so

Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-27 Thread Paul C. Leopardi
Hi all, a quick follow-up below. Best regards, Paul Leopardi On Thu, 28 Jul 2005 12:04 pm, Paul C. Leopardi wrote: > In output of make -k check, I did notice that autogen is missing, causing > an "Error 2", but the test carries on regardless. Is this OK? ... > SUSE packaged autogen for SUSE Linux 9

Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-27 Thread H. J. Lu
On Thu, Jul 28, 2005 at 10:53:02AM +1000, Paul C. Leopardi wrote: > [EMAIL PROTECTED]:~/src/gcc/gcc-4.0.1-obj> ../gcc-4.0.1/configure > --prefix=/usr/local/gcc/gcc-4.0.1 --enable-threads=posix --disable-libgcj > --with-system-zlib --enable-shared --enable-__cxa_atexit > --enable-languages=c,c

Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-27 Thread Ian Lance Taylor
"Paul C. Leopardi" <[EMAIL PROTECTED]> writes: > The preamble to g++ testing says: > > make[1]: [check-gcc] Error 1 (ignored) > (rootme=`${PWDCMD-pwd}`; export rootme; \ > srcdir=`cd ../../gcc-4.0.1/gcc; ${PWDCMD-pwd}` ; export srcdir ; \ > cd testsuite; \ > EXPECT=expect ; export EXPECT ; \ > if

Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-27 Thread Paul C. Leopardi
Mike, Thanks. Reply below. Best regards, Paul Leopardi On Thu, 28 Jul 2005 10:40 am, Mike Stump wrote: > On Jul 27, 2005, at 5:21 PM, Paul C. Leopardi wrote: > >> What sets the value of this variable? > > We will expect you to be able to find the code and read it. The code > you want to read is o

Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-27 Thread Ian Lance Taylor
"Paul C. Leopardi" <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED]:~/src/gcc/gcc-4.0.1-obj> ../gcc-4.0.1/configure > --prefix=/usr/local/gcc/gcc-4.0.1 --enable-threads=posix --disable-libgcj > --with-system-zlib --enable-shared --enable-__cxa_atexit > --enable-languages=c,c++ x86_64-suse-lin

Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-27 Thread Paul C. Leopardi
Hi Lance, Thanks for your prompt reply. Point by point, below. Best regards, Paul Leopardi On Thu, 28 Jul 2005 10:26 am, Ian Lance Taylor wrote: > "Paul C. Leopardi" <[EMAIL PROTECTED]> writes: > > Hi all, > > I did not receive a reply to my earlier message. Have I posted it to the > > wrong list?

Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-27 Thread Mike Stump
On Jul 27, 2005, at 5:21 PM, Paul C. Leopardi wrote: How do I make the tests find the bootstrapped g++? You don't it already does. Shouldn't the test just do this automatically? Yes. How is the test supposed to find find the bootstrapped g++? Carefully, see the source code. Is it done

Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-27 Thread Ian Lance Taylor
"Paul C. Leopardi" <[EMAIL PROTECTED]> writes: > Hi all, > I did not receive a reply to my earlier message. Have I posted it to the > wrong > list? If so, what is the right list for this message? > Thanks > > On Sat, 23 Jul 2005 07:23 pm, Paul C. Leopardi wrote: > > How do I make the tests find

Re: GCC 4.0.1 testsuite uses installed g++ instead of newly bootstrapped g++

2005-07-27 Thread Paul C. Leopardi
Hi all, I did not receive a reply to my earlier message. Have I posted it to the wrong list? If so, what is the right list for this message? Thanks On Sat, 23 Jul 2005 07:23 pm, Paul C. Leopardi wrote: > How do I make the tests find the bootstrapped g++? Shouldn't the test just > do this automati