dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gcc testsuite apparently can't find g++


From: Paul C. Leopardi
Subject: gcc testsuite apparently can't find g++
Date: Wed, 5 May 2004 08:53:02 +1000
User-agent: KMail/1.6.2

Hi all,
Maybe it's the wrong place to ask, but I asked on the gcc-help mailing list 
and have hit a dead end:
http://gcc.gnu.org/ml/gcc-help/2004-05/msg00031.html
The problem seems to be that the gcc testsuite is not using the right g++:
http://gcc.gnu.org/ml/gcc-testresults/2004-05/msg00137.html

1) What file tells runtest where to find g++?
I have unpacked the gcc-3.4.0 source 
to /home/leopardi/Documents/src/gcc/gcc-3.4.0 and created an object 
directory /home/leopardi/Documents/src/gcc/gcc-3.4.0-obj, where I ran "make 
bootstrap".
The directory /home/leopardi/Documents/src/gcc/gcc-3.4.0-obj contains files 
named "site.exp":
gcc/site.exp
gcc/testsuite/site.exp 
x86_64-suse-linux/libffi/testsuite/site.exp
x86_64-suse-linux/libjava/testsuite/site.exp
x86_64-suse-linux/libstdc++-v3/testsuite/site.exp

I guess that gcc/testsuite/site.exp is the one that's supposed to tell runtest 
where to find g++. This file contains:

## these variables are automatically generated by make ##
# Do not edit here. If you wish to override these values
# add them to the last section
set rootme "/home/leopardi/Documents/src/gcc/gcc-3.4.0-obj/gcc"
set srcdir "/home/leopardi/Documents/src/gcc/gcc-3.4.0/gcc"
set host_triplet x86_64-suse-linux-gnu
set build_triplet x86_64-suse-linux-gnu
set target_triplet x86_64-suse-linux-gnu
set target_alias x86_64-suse-linux
set CFLAGS ""
set CXXFLAGS ""
set TESTING_IN_BUILD_TREE 1
set HAVE_LIBSTDCXX_V3 1
set tmpdir /home/leopardi/Documents/src/gcc/gcc-3.4.0-obj/gcc/testsuite
set srcdir "${srcdir}/testsuite"
## All variables above are generated by configure. Do Not Edit ##

2) Why is the test not 
using /home/leopardi/Documents/src/gcc/gcc-3.4.0-obj/gcc/g++ ?
The file g++ exists and is executable.

address@hidden:~/Documents/src/gcc/gcc-3.4.0-obj> gcc/g++ -v
Using built-in specs.
Configured with: ../gcc-3.4.0/configure --enable-threads=posix 
--prefix=/opt/gcc34 --enable-version-specific-runtime-libs 
--with-local-prefix=/usr/local --infodir=/opt/gcc34/share/info 
--mandir=/opt/gcc34/share/man --enable-languages=c,c++,f77,objc,java,ada 
--disable-checking --libdir=/opt/gcc34/lib64 --enable-libgcj 
--with-gxx-include-dir=/opt/gcc34/include/g++ --with-slibdir=/lib64 
--with-system-zlib --enable-shared --enable-__cxa_atexit x86_64-suse-linux
Thread model: posix
gcc version 3.4.0

3) How do I fix this? Or is it a bug in dejagnu? Or in the gcc testsuite?
Thanks




reply via email to

[Prev in Thread] Current Thread [Next in Thread]