public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/13035] New: Ada testsuite uses installed gcc
@ 2003-11-13  4:52 billingd at gcc dot gnu dot org
  2003-11-13  5:32 ` [Bug ada/13035] " billingd at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: billingd at gcc dot gnu dot org @ 2003-11-13  4:52 UTC (permalink / raw)
  To: gcc-bugs

The ada testsuite uses (perhaps only sometimes) an installed gcc component, 
rather than the newly build one.

Running the testsuite with gcc-3.3.1 in the path I get

$ make check-ada
test -d testsuite/ada/acats || mkdir -p testsuite/ada/acats
testdir=`cd /usr/local/src/gcc/gcc/testsuite/ada/acats; ${PWDCMD-pwd}`; \
export testdir; cd testsuite/ada/acats; ${testdir}/run_acats
                === acats configuration ===
gcc is /usr/local/obj/gcc/gcc/testsuite/ada/acats/gcc
Reading specs from /usr/local/obj/gcc/gcc/specs Configured 
with: /usr/local/src/
gcc/configure --prefix=/usr/local/gcc-3_4 --enable-threads=posix --disable-
libgc
j --enable-sjlj-exceptions --with-system-zlib --enable-nls --disable-libstdcxx-
p
ch --enable-version-specific-runtime-libs --without-included-gettext --disable-
s
hared Thread model: posix gcc version 3.4 20031112 (experimental)
host=i686-pc-cygwin
target=i686-pc-cygwin
gnatmake is /usr/local/obj/gcc/gcc/gnatmake

                === acats support ===
Generating support files... done.
Compiling support files...gnatmake: "check_file.ali" incompatible ALI file, 
plea
se recompile
gnatmake: "check_file.adb" compilation error
 done.

                === acats tests ===
Running chapter a ...
FAIL:   a22006b
FAIL:   a22006c
FAIL:   a22006d
FAIL:   a26007a


If I install the newly built gcc-3.4 and put it in the path then the testsuite 
runs.  It doesn't finish.  After completing a substantial number of tests the 
machine hangs.

-- 
           Summary: Ada testsuite uses installed gcc
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: billingd at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13035


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug ada/13035] Ada testsuite uses installed gcc
  2003-11-13  4:52 [Bug ada/13035] New: Ada testsuite uses installed gcc billingd at gcc dot gnu dot org
@ 2003-11-13  5:32 ` billingd at gcc dot gnu dot org
  2003-11-13  5:36 ` billingd at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: billingd at gcc dot gnu dot org @ 2003-11-13  5:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From billingd at gcc dot gnu dot org  2003-11-13 05:32 -------
The testsuite is using the installed gcc.exe.

If I add the installed gcc bin directory to the path, then rename that gcc.exe 
then we revert to the original error.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13035


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug ada/13035] Ada testsuite uses installed gcc
  2003-11-13  4:52 [Bug ada/13035] New: Ada testsuite uses installed gcc billingd at gcc dot gnu dot org
  2003-11-13  5:32 ` [Bug ada/13035] " billingd at gcc dot gnu dot org
@ 2003-11-13  5:36 ` billingd at gcc dot gnu dot org
  2003-11-14  0:43 ` charlet at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: billingd at gcc dot gnu dot org @ 2003-11-13  5:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From billingd at gcc dot gnu dot org  2003-11-13 05:36 -------
http://gcc.gnu.org/ml/gcc/2003-11/msg00601.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-11-13 05:36:21
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13035


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug ada/13035] Ada testsuite uses installed gcc
  2003-11-13  4:52 [Bug ada/13035] New: Ada testsuite uses installed gcc billingd at gcc dot gnu dot org
  2003-11-13  5:32 ` [Bug ada/13035] " billingd at gcc dot gnu dot org
  2003-11-13  5:36 ` billingd at gcc dot gnu dot org
@ 2003-11-14  0:43 ` charlet at gcc dot gnu dot org
  2003-11-14  7:53 ` c dot christian dot joensson at comhem dot se
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: charlet at gcc dot gnu dot org @ 2003-11-14  0:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From charlet at gcc dot gnu dot org  2003-11-14 00:43 -------
I do not see that at all in your log:

<<
gcc is /usr/local/obj/gcc/gcc/testsuite/ada/acats/gcc
>>

which seems exactly right. Could you check the contents of this script
file ?

Also, could you add '-v -gnatv' to the gnatmake options at the
beginning of run_all.sh and send the output of make check-ada ?

Concerning the hanging test, the simplest is to put the tests that
hang in the file norun.lst designed for this purpose, to allow the
run to complete.

Arno

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13035


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug ada/13035] Ada testsuite uses installed gcc
  2003-11-13  4:52 [Bug ada/13035] New: Ada testsuite uses installed gcc billingd at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2003-11-14  0:43 ` charlet at gcc dot gnu dot org
@ 2003-11-14  7:53 ` c dot christian dot joensson at comhem dot se
  2003-11-14  8:03 ` c dot christian dot joensson at comhem dot se
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: c dot christian dot joensson at comhem dot se @ 2003-11-14  7:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From c dot christian dot joensson at comhem dot se  2003-11-14 07:53 -------
for me, the contents is

$ more testsuite/ada/acats/gcc
#!/bin/sh
exec /usr/local/src/gcc-binutils/trunk/objdir/gcc/xgcc -B/usr/local/src/gcc-
binutils/trunk/objdir/gcc/ "$@"

chj@Luddes /usr/local/src/trunk/objdir/gcc
$

the top few lines from the output of make check-ada is this:

test -d testsuite/ada/acats || mkdir -p testsuite/ada/acats
testdir=`cd /usr/local/src/trunk/gcc/gcc/testsuite/ada/acats; ${PWDCMD-pwd}`; \
export testdir; cd testsuite/ada/acats; ${testdir}/run_acats 
		=== acats configuration ===
gcc is /usr/local/src/gcc-binutils/trunk/objdir/gcc/testsuite/ada/acats/gcc
Reading specs from /usr/local/src/gcc-binutils/trunk/objdir/gcc/specs 
Configured with: /usr/local/src/trunk/gcc/configure pentium4-cygwin --
prefix=/usr/local/gcc-binutils --enable-shared --enable-threads=posix --with-
system-zlib --enable-libgcj Thread model: posix gcc version 3.4 20031113 
(experimental)
host=i686-pc-cygwin
target=pentium4-cygwin
gnatmake is /usr/local/src/gcc-binutils/trunk/objdir/gcc/gnatmake

		=== acats support ===
Generating support files... done.
Compiling support files...
GNATMAKE 3.4 20031113 (experimental) Copyright 1995-2003 Free Software 
Foundation, Inc.
  "check_file.ali" being checked ...
  -> "check_file.ali" missing.

GNAT 3.3.1 (cygming special)
Copyright 1992-2002 Free Software Foundation, Inc.

Compiling: check_file.adb (source file time stamp: 2003-11-14 06:54:42)
 197 lines: No errors
gnatmake: "check_file.ali" incompatible ALI file, please recompile
End of compilation
gnatmake: "check_file.adb" compilation error
 done.

		=== acats tests ===
Running chapter a ...
FAIL:	a22006b
FAIL:	a22006c


but if I first installed the newly built gcc and then run make check-ada, I 
get these lines of output...

and the hanging test is cxg2014. BTW, the Ada testsuite gives this:

                === acats Summary ===
# of expected passes            1937
# of unexpected failures        28
# of unsupported tests          357

Cheers,

/ChJ


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13035


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug ada/13035] Ada testsuite uses installed gcc
  2003-11-13  4:52 [Bug ada/13035] New: Ada testsuite uses installed gcc billingd at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2003-11-14  7:53 ` c dot christian dot joensson at comhem dot se
@ 2003-11-14  8:03 ` c dot christian dot joensson at comhem dot se
  2003-11-14  8:04 ` charlet at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: c dot christian dot joensson at comhem dot se @ 2003-11-14  8:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From c dot christian dot joensson at comhem dot se  2003-11-14 08:03 -------
oops, missed to paste in the first lines of output from make checka-ada when 
the newly built gcc is installed before running the test suite...

test -d testsuite/ada/acats || mkdir -p testsuite/ada/acats
testdir=`cd /usr/local/src/trunk/gcc/gcc/testsuite/ada/acats; ${PWDCMD-pwd}`; \
export testdir; cd testsuite/ada/acats; ${testdir}/run_acats 
		=== acats configuration ===
gcc is /usr/local/src/gcc-binutils/trunk/objdir/gcc/testsuite/ada/acats/gcc
Reading specs from /usr/local/src/gcc-binutils/trunk/objdir/gcc/specs 
Configured with: /usr/local/src/trunk/gcc/configure pentium4-cygwin --
prefix=/usr/local/gcc-binutils --enable-shared --enable-threads=posix --with-
system-zlib --enable-libgcj Thread model: posix gcc version 3.4 20031113 
(experimental)
host=pentium4-cygwin
target=pentium4-cygwin
gnatmake is /usr/local/src/gcc-binutils/trunk/objdir/gcc/gnatmake

		=== acats support ===
Generating support files... done.
Compiling support files...impdef-annex_c.ads:57:27: "SIGPIPE" not declared 
in "Names"
gnatmake: "impdef-annex_c.adb" compilation error
 done.

		=== acats tests ===
Running chapter a ...
Running chapter c2 ...
FAIL:	c23003b
FAIL:	c23003g
FAIL:	c23003i
Running chapter c3 ...

Cheers,

/ChJ

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13035


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug ada/13035] Ada testsuite uses installed gcc
  2003-11-13  4:52 [Bug ada/13035] New: Ada testsuite uses installed gcc billingd at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2003-11-14  8:03 ` c dot christian dot joensson at comhem dot se
@ 2003-11-14  8:04 ` charlet at gcc dot gnu dot org
  2003-11-14  9:57 ` charlet at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: charlet at gcc dot gnu dot org @ 2003-11-14  8:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From charlet at gcc dot gnu dot org  2003-11-14 08:04 -------
Thanks for the additional info.
The problem is that indeed we cannot used a shell script for 'gcc'
under Windows.

I'll have a look for a replacement. In the mean time, you indeed have
a reasonable work around.

Arno

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13035


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug ada/13035] Ada testsuite uses installed gcc
  2003-11-13  4:52 [Bug ada/13035] New: Ada testsuite uses installed gcc billingd at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2003-11-14  8:04 ` charlet at gcc dot gnu dot org
@ 2003-11-14  9:57 ` charlet at gcc dot gnu dot org
  2003-11-14 10:04 ` cvs-commit at gcc dot gnu dot org
  2003-11-14 10:06 ` charlet at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: charlet at gcc dot gnu dot org @ 2003-11-14  9:57 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |charlet at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13035


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug ada/13035] Ada testsuite uses installed gcc
  2003-11-13  4:52 [Bug ada/13035] New: Ada testsuite uses installed gcc billingd at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2003-11-14  9:57 ` charlet at gcc dot gnu dot org
@ 2003-11-14 10:04 ` cvs-commit at gcc dot gnu dot org
  2003-11-14 10:06 ` charlet at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-11-14 10:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-11-14 10:04 -------
Subject: Bug 13035

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	charlet@gcc.gnu.org	2003-11-14 10:04:31

Modified files:
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/ada/acats: run_acats run_all.sh 

Log message:
	PR ada/13035
	* ada/acats/run_acats, run_all.sh: Fix syntax errors.
	No longer use a wrapper for gcc, since this does not work under
	Windows, use --GCC switch instead.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3192&r2=1.3193
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ada/acats/run_acats.diff?cvsroot=gcc&r1=1.2&r2=1.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ada/acats/run_all.sh.diff?cvsroot=gcc&r1=1.9&r2=1.10



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13035


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug ada/13035] Ada testsuite uses installed gcc
  2003-11-13  4:52 [Bug ada/13035] New: Ada testsuite uses installed gcc billingd at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2003-11-14 10:04 ` cvs-commit at gcc dot gnu dot org
@ 2003-11-14 10:06 ` charlet at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: charlet at gcc dot gnu dot org @ 2003-11-14 10:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From charlet at gcc dot gnu dot org  2003-11-14 10:06 -------
All the errors you reported should now be fixed.

Arno

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13035


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-11-14 10:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-13  4:52 [Bug ada/13035] New: Ada testsuite uses installed gcc billingd at gcc dot gnu dot org
2003-11-13  5:32 ` [Bug ada/13035] " billingd at gcc dot gnu dot org
2003-11-13  5:36 ` billingd at gcc dot gnu dot org
2003-11-14  0:43 ` charlet at gcc dot gnu dot org
2003-11-14  7:53 ` c dot christian dot joensson at comhem dot se
2003-11-14  8:03 ` c dot christian dot joensson at comhem dot se
2003-11-14  8:04 ` charlet at gcc dot gnu dot org
2003-11-14  9:57 ` charlet at gcc dot gnu dot org
2003-11-14 10:04 ` cvs-commit at gcc dot gnu dot org
2003-11-14 10:06 ` charlet at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).