public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc-3.1 2002-04-26 Array_3 testsuite failure on sparc32-linux
@ 2002-04-27  2:23 Christian Jönsson
  2002-04-27  2:45 ` Bryce McKinlay
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Jönsson @ 2002-04-27  2:23 UTC (permalink / raw)
  To: java

This was on a Debian Woody (test release) sun4m system with these
packages:

binutils                           2.12.90.0.1-1
dejagnu                            1.4.2-1.1
gcc                                2:2.95.4-14 (Debian prerelease)
gcc-2.95			   1:2.95.4-7 (Debian prerelease)
gnat				   3.14p-3
kernel-image-2.2.20-sun4dm-smp     9
libc6                              2.2.5-4

In-tree joined gcc-3.1 and binutils-2.12 cvs branches.

LAST_UPDATED: Fri Apr 26 12:44:42 UTC 2002


The Array_3 tests have been failing for some time on my system.

Here's a basic debug output of the -O execution:

chj@fw:/share2/gcc-rel/objdir/sparc-linux/libjava/testsuite$ cat Array_3.dbg 
env LD_LIBRARY_PATH=/share2/gcc-rel/objdir/sparc-linux/libjava/testsuite/../../../gcc:/share2/gcc-rel/objdir/sparc-linux/libjava/testsuite/../.libs  ~/gdb Array_3
chj@fw:/share2/gcc-rel/objdir/sparc-linux/libjava/testsuite$ env LD_LIBRARY_PATH=/share2/gcc-rel/objdir/sparc-linux/libjava/testsuite/../../../gcc:/share2/gcc-rel/objdir/sparc-linux/libjava/testsuite/../.libs  ~/gdb Array_3
GNU gdb 5.1.90_20020403
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-linux"...
(gdb) r
Starting program: /share2/gcc-rel/objdir/sparc-linux/libjava/testsuite/Array_3 

Program received signal SIGSEGV, Segmentation fault.
0x00010b20 in Array_3.main(java.lang.String[]) () at Array_3.java:23
23	Array_3.java: No such file or directory.
	in Array_3.java
Current language:  auto; currently java
(gdb) bt
#0  0x00010b20 in Array_3.main(java.lang.String[]) () at Array_3.java:23
#1  0x503411a8 in gnu::gcj::runtime::FirstThread::call_main() (this=@7d8f8)
    at /share2/gcc-rel/gcc/libjava/gnu/gcj/runtime/natFirstThread.cc:46
#2  0x5034bfb0 in _Jv_ThreadRun(java::lang::Thread*) (thread=@7d8f8)
    at /share2/gcc-rel/gcc/libjava/java/lang/natThread.cc:285
#3  0x50332098 in _Jv_RunMain(java::lang::Class*, char const*, int, char const**, bool) (klass=@20db4, name=null, argc=-4096, argv=@e8ffec94, is_jar=false)
    at /share2/gcc-rel/gcc/libjava/prims.cc:1010
#4  0x00010a98 in main (argc=0, argv=@fffff000) at /tmp/ccLkpPdn.i:11
(gdb) quit
The program is running.  Exit anyway? (y or n) y
chj@fw:/share2/gcc-rel/objdir/sparc-linux/libjava/testsuite$ 

Is this what to expect? Could I help with any more debuggin here?

Cheers,

/ChJ

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

* Re: gcc-3.1 2002-04-26 Array_3 testsuite failure on sparc32-linux
  2002-04-27  2:23 gcc-3.1 2002-04-26 Array_3 testsuite failure on sparc32-linux Christian Jönsson
@ 2002-04-27  2:45 ` Bryce McKinlay
  0 siblings, 0 replies; 2+ messages in thread
From: Bryce McKinlay @ 2002-04-27  2:45 UTC (permalink / raw)
  To: Christian Jönsson; +Cc: java

Christian Jönsson wrote:

>The Array_3 tests have been failing for some time on my system.
>

Array_3 fails on powerpc-linux also. It seems to be a generic EH problem 
in the compiler - a trapping instruction (which has no side effects) is 
optimized away or moves out of the "catch" range. IIRC, if the test case 
is modified so that the result of the dereference is used then it works 
correctly.

Its a bug, but IMO not particularly serious (and not specific to sparc) 
so I wouldn't worry about it too much.

regards

Bryce.


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

end of thread, other threads:[~2002-04-27  9:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-27  2:23 gcc-3.1 2002-04-26 Array_3 testsuite failure on sparc32-linux Christian Jönsson
2002-04-27  2:45 ` Bryce McKinlay

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).