[Bug libgcj/33263] New: [4.3 regression] libjava testsuite failures on alpha-linux

View: New views
14 Messages — Rating Filter:   Alert me  

[Bug libgcj/33263] New: [4.3 regression] libjava testsuite failures on alpha-linux

by Bugzilla from gcc-bugzilla@gcc.gnu.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

seen with trunk 20070829

                === libffi Summary ===

# of expected passes            1108
# of unsupported tests          8

                === libjava tests ===

Running target unix
FAIL: TestClosureGC run
FAIL:
/build/buildd/gcc-snapshot-20070829/src/libjava/testsuite/libjava.jar/TestClosureGC.jar
execution - gij test
FAIL: pr11951 run
FAIL: natgetargssize.cc compilation
FAIL: natgetlocalvartable.cc compilation
FAIL: natgetstacktrace.cc compilation
FAIL: natevents.cc compilation
FAIL: natgetallthreads.cc compilation
FAIL: natgeterrorname.cc compilation
FAIL: natgetmethodname.cc compilation
FAIL: Array_3 execution - source compiled test
FAIL: Array_3 -findirect-dispatch execution - source compiled test
FAIL: Array_3 -O3 execution - source compiled test
FAIL: Array_3 -O3 -findirect-dispatch execution - source compiled test
FAIL: G19990303_02 execution - source compiled test
FAIL: G19990303_02 -findirect-dispatch execution - source compiled test
FAIL: G19990303_02 -O3 execution - source compiled test
FAIL: G19990303_02 -O3 -findirect-dispatch execution - source compiled test
FAIL: Invoke_1 execution - source compiled test
FAIL: Invoke_1 -findirect-dispatch execution - source compiled test
FAIL: Invoke_1 -O3 execution - source compiled test
FAIL: Invoke_1 -O3 -findirect-dispatch execution - source compiled test
FAIL: N19990310_02 -O3 output - source compiled test
FAIL: N19990310_02 -O3 -findirect-dispatch output - source compiled test
FAIL: PR218 output - source compiled test
FAIL: PR218 -O3 output - source compiled test
FAIL: StackTrace2 execution - source compiled test
FAIL: StackTrace2 -findirect-dispatch execution - source compiled test
FAIL: StackTrace2 -O3 execution - source compiled test
FAIL: StackTrace2 -O3 -findirect-dispatch execution - source compiled test
FAIL: Throw_2 execution - source compiled test
FAIL: Throw_2 -findirect-dispatch execution - source compiled test
FAIL: Throw_2 -O3 execution - source compiled test
FAIL: Throw_2 -O3 -findirect-dispatch execution - source compiled test
FAIL: Throw_3 output - source compiled test
FAIL: Throw_3 -findirect-dispatch output - source compiled test
FAIL: Throw_3 -O3 output - source compiled test
FAIL: Throw_3 -O3 -findirect-dispatch output - source compiled test
FAIL: initexc execution - source compiled test
FAIL: initexc -findirect-dispatch execution - source compiled test
FAIL: initexc -O3 execution - source compiled test
FAIL: initexc -O3 -findirect-dispatch execution - source compiled test
FAIL: invokethrow execution - source compiled test
FAIL: invokethrow -findirect-dispatch output - source compiled test
FAIL: invokethrow -O3 execution - source compiled test
FAIL: invokethrow -O3 -findirect-dispatch output - source compiled test
FAIL: pr83 -findirect-dispatch execution - source compiled test
FAIL: pr83 -O3 -findirect-dispatch execution - source compiled test

                === libjava Summary ===

# of expected passes            2448
# of unexpected failures        48
# of untested testcases         31


to compare with 4.1.0:

                === libjava Summary ===

# of expected passes            4011
# of expected failures          10
# of untested testcases         8


--
           Summary: [4.3 regression] libjava testsuite failures on alpha-
                    linux
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org
GCC target triplet: alpha-linux-gnu


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


[Bug libgcj/33263] [4.3 regression] libjava testsuite failures on alpha-linux

by Bugzilla from gcc-bugzilla@gcc.gnu.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



--

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.3.0


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


[Bug libgcj/33263] [4.3 regression] libjava testsuite failures on alpha-linux

by Bugzilla from gcc-bugzilla@gcc.gnu.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



--

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5


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


[Bug libgcj/33263] [4.3 regression] libjava testsuite failures on alpha-linux

by Bugzilla from gcc-bugzilla@gcc.gnu.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



------- Comment #1 from rguenth at gcc dot gnu dot org  2008-01-13 14:58 -------
How is the status now?


--

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |WAITING


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


[Bug libgcj/33263] [4.3 regression] libjava testsuite failures on alpha-linux

by Bugzilla from gcc-bugzilla@gcc.gnu.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



------- Comment #2 from debian-gcc at lists dot debian dot org  2008-01-14 15:18 -------
yes, see
http://buildd.debian.org/fetch.cgi?&pkg=gcj-4.3&ver=4.3-20080112-1&arch=alpha&stamp=1200316559&file=log
test results will appear on gcc-testresults shortly.

  Matthias


--

debian-gcc at lists dot debian dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |UNCONFIRMED


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


[Bug libgcj/33263] [4.3 regression] libjava testsuite failures on alpha-linux

by Bugzilla from gcc-bugzilla@gcc.gnu.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



------- Comment #3 from debian-gcc at lists dot debian dot org  2008-02-05 15:01 -------
reconfirmed with 20080202:
http://buildd.debian.org/fetch.cgi?&pkg=gcj-4.3&ver=4.3-20080202-1&arch=alpha&stamp=1202180571&file=log

  Matthias


--


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


[Bug libgcj/33263] [4.3/4.4 regression] libjava testsuite failures on alpha-linux

by Bugzilla from gcc-bugzilla@gcc.gnu.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



------- Comment #4 from jsm28 at gcc dot gnu dot org  2008-03-15 00:41 -------
Update milestone after 4.3.0 release.


--

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.0                       |4.3.1


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


[Bug libgcj/33263] [4.3/4.4 regression] libjava testsuite failures on alpha-linux

by Bugzilla from gcc-bugzilla@gcc.gnu.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



------- Comment #5 from rguenth at gcc dot gnu dot org  2008-06-06 14:58 -------
4.3.1 is being released, adjusting target milestone.


--

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.1                       |4.3.2


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


[Bug libgcj/33263] [4.3/4.4 regression] libjava testsuite failures on alpha-linux

by Bugzilla from gcc-bugzilla@gcc.gnu.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



------- Comment #6 from jsm28 at gcc dot gnu dot org  2008-08-27 22:02 -------
4.3.2 is released, changing milestones to 4.3.3.


--

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.2                       |4.3.3


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


[Bug testsuite/33263] [4.3/4.4 regression] libjava testsuite failures on alpha-linux

by Bugzilla from gcc-bugzilla@gcc.gnu.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



------- Comment #7 from ubizjak at gmail dot com  2009-01-07 14:02 -------
(In reply to comment #0)

> FAIL: natgetargssize.cc compilation
> FAIL: natgetlocalvartable.cc compilation
> FAIL: natgetstacktrace.cc compilation
> FAIL: natevents.cc compilation
> FAIL: natgetallthreads.cc compilation
> FAIL: natgeterrorname.cc compilation
> FAIL: natgetmethodname.cc compilation

These are in fact due to PR31488.

> FAIL: Array_3 execution - source compiled test
> FAIL: Array_3 -findirect-dispatch execution - source compiled test
> FAIL: Array_3 -O3 execution - source compiled test
> FAIL: Array_3 -O3 -findirect-dispatch execution - source compiled test
> FAIL: G19990303_02 execution - source compiled test
> FAIL: G19990303_02 -findirect-dispatch execution - source compiled test
> FAIL: G19990303_02 -O3 execution - source compiled test
> FAIL: G19990303_02 -O3 -findirect-dispatch execution - source compiled test
> FAIL: Invoke_1 execution - source compiled test
> FAIL: Invoke_1 -findirect-dispatch execution - source compiled test
> FAIL: Invoke_1 -O3 execution - source compiled test
> FAIL: Invoke_1 -O3 -findirect-dispatch execution - source compiled test
> FAIL: N19990310_02 -O3 output - source compiled test
> FAIL: N19990310_02 -O3 -findirect-dispatch output - source compiled test
> FAIL: PR218 output - source compiled test
> FAIL: PR218 -O3 output - source compiled test
> FAIL: StackTrace2 execution - source compiled test
> FAIL: StackTrace2 -findirect-dispatch execution - source compiled test
> FAIL: StackTrace2 -O3 execution - source compiled test
> FAIL: StackTrace2 -O3 -findirect-dispatch execution - source compiled test
> FAIL: Throw_2 execution - source compiled test
> FAIL: Throw_2 -findirect-dispatch execution - source compiled test
> FAIL: Throw_2 -O3 execution - source compiled test
> FAIL: Throw_2 -O3 -findirect-dispatch execution - source compiled test
> FAIL: Throw_3 output - source compiled test
> FAIL: Throw_3 -findirect-dispatch output - source compiled test
> FAIL: Throw_3 -O3 output - source compiled test
> FAIL: Throw_3 -O3 -findirect-dispatch output - source compiled test
> FAIL: initexc execution - source compiled test
> FAIL: initexc -findirect-dispatch execution - source compiled test
> FAIL: initexc -O3 execution - source compiled test
> FAIL: initexc -O3 -findirect-dispatch execution - source compiled test
> FAIL: invokethrow execution - source compiled test
> FAIL: invokethrow -findirect-dispatch output - source compiled test
> FAIL: invokethrow -O3 execution - source compiled test
> FAIL: invokethrow -O3 -findirect-dispatch output - source compiled test
> FAIL: pr83 -findirect-dispatch execution - source compiled test
> FAIL: pr83 -O3 -findirect-dispatch execution - source compiled test

These are due to some strange failure in dejagnu framework on debian alpha.
From my private communication with Matthias Close:

--quote--
I'm trying to fix last remaining gcc testsuite errors [0] on Debian
alpha gcc (gcc30 cfarm machine) and I tripped on some strange
dejagnu/Expect/Tcl error on Debian system.

This problem causes following teststuite failures:

FAIL: g++.dg/ext/cleanup-10.C execution test
FAIL: g++.dg/ext/cleanup-11.C execution test
FAIL: g++.dg/ext/cleanup-8.C execution test
FAIL: g++.dg/ext/cleanup-9.C execution test

FAIL: gcc.dg/cleanup-10.c execution test
FAIL: gcc.dg/cleanup-11.c execution test
FAIL: gcc.dg/cleanup-8.c execution test
FAIL: gcc.dg/cleanup-9.c execution test

and all remaining libjava test failures, FWIW.

These runtime testcases (including java) all work OK when executed
directly from the shell (using just built libraries, so all libraries
are exactly the same), but fail when run from dejagnu framework. They
also fail when executing these test cases through dejagnu with default
installed compiler (gcc-4.2.4).

The problem is, that SIGSEGV handling is somehow suppressed when run
from dejagnu framework. To check this, please put attached sig.c to
gcc/testsuite/dg.exp directory and execute "make -k check-gcc
RUNTESTFLAGS=dg.exp=sig.c" from gcc/ subdirectory of your build dir.
The testcase will fail, OTOH, it will finish without problems when
executed directly from the shell.

I have noticed, that in some of your testreports, these strange
failures happen [1], but some of your testreports doesn't show them
[2], [3]. Are these tests performed on the same machine? If not, what
is the difference with runtime/testing environments between these test
runs?

[0] http://gcc.gnu.org/ml/gcc-testresults/2008-12/msg02551.html
[1] http://gcc.gnu.org/ml/gcc-testresults/2009-01/msg00182.html
[2] http://gcc.gnu.org/ml/gcc-testresults/2008-12/msg01836.html
[3] http://gcc.gnu.org/ml/gcc-testresults/2008-12/msg00926.html
--/quote--

--quote2--
The question is, why we abort on following dejagnu testcase on alpha systems:

--cut here--

/* { dg-do run } */

#include <stdlib.h>
#include <signal.h>

char *null;

static void fn4 (int sig)
{
 exit (0);
}

int main()
{  signal (SIGSEGV, fn4);
 *null = 0;
 abort ();
}

--cut here--

When this test is executed via dejagnu framework from i.e. gcc/testsuite/gcc.dg
directory using


make -k check-gcc RUNTESTFLAGS=dg.exp=sig.c

from gcc subdir of the build dir, the SEGV redirection is simply ignored and
testcase aborts in the last line, although exactly the same binary works fine
when executed from the command prompt.

This problem causes follwing spurious java testsuite failures (in addition to
failures mentioned below):

FAIL: TestClosureGC run
FAIL: Array_3 execution - source compiled test
FAIL: Array_3 -findirect-dispatch execution - source compiled test
FAIL: Array_3 -O3 execution - source compiled test
FAIL: Array_3 -O3 -findirect-dispatch execution - source compiled test
FAIL: Invoke_1 execution - source compiled test
FAIL: Invoke_1 -findirect-dispatch execution - source compiled test
FAIL: Invoke_1 -O3 execution - source compiled test
FAIL: Invoke_1 -O3 -findirect-dispatch execution - source compiled test
FAIL: PR218 output - source compiled test
FAIL: PR218 -O3 output - source compiled test
FAIL: StackTrace2 execution - source compiled test
FAIL: StackTrace2 -findirect-dispatch execution - source compiled test
FAIL: StackTrace2 -O3 execution - source compiled test
FAIL: StackTrace2 -O3 -findirect-dispatch execution - source compiled test
FAIL: Throw_2 execution - source compiled test
FAIL: Throw_2 -findirect-dispatch execution - source compiled test
FAIL: Throw_2 -O3 execution - source compiled test
FAIL: Throw_2 -O3 -findirect-dispatch execution - source compiled test
FAIL: Throw_3 output - source compiled test
FAIL: Throw_3 -findirect-dispatch output - source compiled test
FAIL: Throw_3 -O3 output - source compiled test
FAIL: Throw_3 -O3 -findirect-dispatch output - source compiled test
FAIL: pr83 -findirect-dispatch execution - source compiled test
FAIL: pr83 -O3 -findirect-dispatch execution - source compiled test

This is on gcc30 CompileFarm machine, see http://gcc.gnu.org/wiki/CompileFarm
--/quote2--

Confirmed as a testsuite framework problem.


--

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |31488
             Status|UNCONFIRMED                 |NEW
          Component|libgcj                      |testsuite
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-01-07 14:02:20
               date|                            |


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


[Bug testsuite/33263] [4.3/4.4 regression] libjava testsuite failures on alpha-linux

by Bugzilla from gcc-bugzilla@gcc.gnu.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



------- Comment #8 from rguenth at gcc dot gnu dot org  2009-01-24 10:19 -------
GCC 4.3.3 is being released, adjusting target milestone.


--

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.3                       |4.3.4


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


[Bug testsuite/33263] [4.3/4.4/4.5 regression] libjava testsuite failures on alpha-linux

by Bugzilla from gcc-bugzilla@gcc.gnu.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



------- Comment #9 from rguenth at gcc dot gnu dot org  2009-08-04 12:28 -------
GCC 4.3.4 is being released, adjusting target milestone.


--

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.4                       |4.3.5


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


[Bug testsuite/33263] [4.3/4.4/4.5 regression] libjava testsuite failures on alpha-linux

by Bugzilla from gcc-bugzilla@gcc.gnu.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



------- Comment #10 from ubizjak at gmail dot com  2009-09-29 22:06 -------
Libjava has zero failures with gcc 4.3.5, 4.4.2 and 4.5.0 for me on latest
Gentoo. Please reopen if it still fails for you.


--

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME


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


[Bug testsuite/33263] [4.3/4.4/4.5 regression] libjava testsuite failures on alpha-linux

by Bugzilla from gcc-bugzilla@gcc.gnu.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



------- Comment #11 from debian-gcc at lists dot debian dot org  2009-09-29 22:45 -------
confirmed:

https://buildd.debian.org/fetch.cgi?&pkg=gcc-snapshot&ver=20090923-1&arch=alpha&stamp=1253933048&file=log
https://buildd.debian.org/fetch.cgi?&pkg=gcj-4.4&ver=4.4.1-4&arch=alpha&stamp=1252769258&file=log

thanks!

although I see regression in the libffi testsuite on trunk

  Matthias


--


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