public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/23602] New: [4.1 regression] 1081 test failures in libjava, when configured for i486-linux
@ 2005-08-28 16:41 debian-gcc at lists dot debian dot org
  2005-08-28 17:20 ` [Bug target/23602] " debian-gcc at lists dot debian dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 19+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2005-08-28 16:41 UTC (permalink / raw)
  To: gcc-bugs

configuring HEAD 20050828 for i486-linux (instead of the default i686-linux),
libjava fails with 1081 test failures (instead of two with i686-linux).
apparently all the execution tests fail. I don't see any additional information
from the test log (attached). Compiling the a testcase by hand, and running it,
succeeds.

Environment is current Debian unstable, binutils 2.16.1, glibc-2.3.5.

  Matthias

Running
/home/packages/gcc/snap/tst/gcc-20050828/libjava/testsuite/libjava.lang/lang.exp ...
FAIL: ArrayStore execution - source compiled test
FAIL: ArrayStore execution - gij test
FAIL: ArrayStore execution - bytecode->native test
FAIL: ArrayStore -O3 execution - source compiled test
FAIL: ArrayStore execution - gij test
FAIL: ArrayStore -O3 execution - bytecode->native test
FAIL: ArrayStore2 execution - source compiled test
FAIL: ArrayStore2 execution - gij test
FAIL: ArrayStore2 execution - bytecode->native test
FAIL: ArrayStore2 -O3 execution - source compiled test
FAIL: ArrayStore2 execution - gij test
FAIL: ArrayStore2 -O3 execution - bytecode->native test
[...]
FAIL: utilTest execution - source compiled test
FAIL: utilTest execution - gij test
FAIL: utilTest execution - bytecode->native test
FAIL: utilTest -O3 execution - source compiled test
FAIL: utilTest execution - gij test
FAIL: utilTest -O3 execution - bytecode->native test
FAIL: verify execution - source compiled test
FAIL: verify execution - gij test
FAIL: verify execution - bytecode->native test
FAIL: verify -O3 execution - source compiled test
FAIL: verify execution - gij test
FAIL: verify -O3 execution - bytecode->native test
Running
/home/packages/gcc/snap/tst/gcc-20050828/libjava/testsuite/libjava.loader/loader.exp
...
FAIL:
/home/packages/gcc/snap/tst/build486/i486-linux-gnu/libjava/testsuite/TestEarlyGC.exe
execution -
/home/packages/gcc/snap/tst/build486/i486-linux-gnu/libjava/testsuite/TestEarlyGC.exe
FAIL:
/home/packages/gcc/snap/tst/build486/i486-linux-gnu/libjava/testsuite/TestLeak.exe
execution -
/home/packages/gcc/snap/tst/build486/i486-linux-gnu/libjava/testsuite/TestLeak.exe
FAIL:
/home/packages/gcc/snap/tst/build486/i486-linux-gnu/libjava/testsuite/TestMultiple.exe
execution -
/home/packages/gcc/snap/tst/build486/i486-linux-gnu/libjava/testsuite/TestMultiple.exe
FAIL:
/home/packages/gcc/snap/tst/build486/i486-linux-gnu/libjava/testsuite/TestParent.exe
execution -
/home/packages/gcc/snap/tst/build486/i486-linux-gnu/libjava/testsuite/TestParent.exe
Running
/home/packages/gcc/snap/tst/gcc-20050828/libjava/testsuite/libjava.mauve/mauve.exp
...
Running
/home/packages/gcc/snap/tst/gcc-20050828/libjava/testsuite/libjava.special/special.exp
...
FAIL: pr21115 run
Running
/home/packages/gcc/snap/tst/gcc-20050828/libjava/testsuite/libjava.verify/verify.exp
...

                === libjava Summary ===

# of expected passes            1783
# of unexpected failures        1081
# of expected failures          4
# of untested testcases         1089
make[2]: *** [check-DEJAGNU] Error 1
make[2]: Leaving directory
`/home/packages/gcc/snap/tst/build486/i486-linux-gnu/libjava/testsuite'
make[1]: *** [check-am] Error 2

-- 
           Summary: [4.1 regression] 1081 test failures in libjava, when
                    configured for i486-linux
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i486-linux


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


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

* [Bug target/23602] [4.1 regression] 1081 test failures in libjava, when configured for i486-linux
  2005-08-28 16:41 [Bug target/23602] New: [4.1 regression] 1081 test failures in libjava, when configured for i486-linux debian-gcc at lists dot debian dot org
@ 2005-08-28 17:20 ` debian-gcc at lists dot debian dot org
  2005-08-28 21:58 ` pinskia at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 19+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2005-08-28 17:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From debian-gcc at lists dot debian dot org  2005-08-28 16:41 -------
Created an attachment (id=9602)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9602&action=view)
test log


-- 


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


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

* [Bug target/23602] [4.1 regression] 1081 test failures in libjava, when configured for i486-linux
  2005-08-28 16:41 [Bug target/23602] New: [4.1 regression] 1081 test failures in libjava, when configured for i486-linux debian-gcc at lists dot debian dot org
  2005-08-28 17:20 ` [Bug target/23602] " debian-gcc at lists dot debian dot org
@ 2005-08-28 21:58 ` pinskia at gcc dot gnu dot org
  2005-08-29 21:08 ` debian-gcc at lists dot debian dot org
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-28 21:58 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
   Target Milestone|---                         |4.1.0


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


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

* [Bug target/23602] [4.1 regression] 1081 test failures in libjava, when configured for i486-linux
  2005-08-28 16:41 [Bug target/23602] New: [4.1 regression] 1081 test failures in libjava, when configured for i486-linux debian-gcc at lists dot debian dot org
  2005-08-28 17:20 ` [Bug target/23602] " debian-gcc at lists dot debian dot org
  2005-08-28 21:58 ` pinskia at gcc dot gnu dot org
@ 2005-08-29 21:08 ` debian-gcc at lists dot debian dot org
  2005-08-30  2:46 ` rth at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 19+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2005-08-29 21:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From debian-gcc at lists dot debian dot org  2005-08-29 21:05 -------
the test results from CVS 20050607 look ok, those from CVS 20050719 show the
failures.

  Matthias

-- 


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


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

* [Bug target/23602] [4.1 regression] 1081 test failures in libjava, when configured for i486-linux
  2005-08-28 16:41 [Bug target/23602] New: [4.1 regression] 1081 test failures in libjava, when configured for i486-linux debian-gcc at lists dot debian dot org
                   ` (2 preceding siblings ...)
  2005-08-29 21:08 ` debian-gcc at lists dot debian dot org
@ 2005-08-30  2:46 ` rth at gcc dot gnu dot org
  2005-08-30  6:00 ` rth at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 19+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-08-30  2:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2005-08-30 02:09 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rth at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-08-30 02:09:43
               date|                            |


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


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

* [Bug target/23602] [4.1 regression] 1081 test failures in libjava, when configured for i486-linux
  2005-08-28 16:41 [Bug target/23602] New: [4.1 regression] 1081 test failures in libjava, when configured for i486-linux debian-gcc at lists dot debian dot org
                   ` (3 preceding siblings ...)
  2005-08-30  2:46 ` rth at gcc dot gnu dot org
@ 2005-08-30  6:00 ` rth at gcc dot gnu dot org
  2005-08-30  7:33 ` debian-gcc at lists dot debian dot org
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 19+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-08-30  6:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2005-08-30 02:46 -------
That said, I can't get any test to fail when run by hand.  libtool compile
and link line pasted out of the log, as well as the associated LD_LIBRARY_PATH.
What am I missing?

-- 


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


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

* [Bug target/23602] [4.1 regression] 1081 test failures in libjava, when configured for i486-linux
  2005-08-28 16:41 [Bug target/23602] New: [4.1 regression] 1081 test failures in libjava, when configured for i486-linux debian-gcc at lists dot debian dot org
                   ` (4 preceding siblings ...)
  2005-08-30  6:00 ` rth at gcc dot gnu dot org
@ 2005-08-30  7:33 ` debian-gcc at lists dot debian dot org
  2005-08-31 10:17 ` debian-gcc at lists dot debian dot org
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 19+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2005-08-30  7:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From debian-gcc at lists dot debian dot org  2005-08-30 07:27 -------
Same thing here. It works, when run from the command line.

I narrowed down the failures a bit.

CVS 20050628 and 20050714 fail with just 17 test cases, this is introduced
between 20050607 and 20050628.

FAIL: ArrayStore -O3 execution - source compiled test
FAIL: ArrayStore -O3 execution - bytecode->native test
FAIL: Divide_1 execution - source compiled test
FAIL: Divide_1 output - gij test
FAIL: Divide_1 execution - bytecode->native test
FAIL: Divide_1 -O3 execution - source compiled test
FAIL: Divide_1 output - gij test
FAIL: Divide_1 -O3 execution - bytecode->native test
FAIL: Invoke_1 -O3 execution - source compiled test
FAIL: String_overflow -O3 execution - source compiled test
FAIL: Thread_Interrupt -O3 execution - source compiled test
FAIL: Throw_1 -O3 execution - source compiled test
FAIL: initexc -O3 execution - source compiled test
FAIL: instinit2 -O3 execution - source compiled test
FAIL: instinit2 -O3 execution - bytecode->native test
FAIL: newarray_overflow -O3 execution - source compiled test
FAIL: newarray_overflow -O3 execution - bytecode->native test

I'm able to reproduce these on the command line (at least with the binaries,
which are kept after running the testsuite).

-- 


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


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

* [Bug target/23602] [4.1 regression] 1081 test failures in libjava, when configured for i486-linux
  2005-08-28 16:41 [Bug target/23602] New: [4.1 regression] 1081 test failures in libjava, when configured for i486-linux debian-gcc at lists dot debian dot org
                   ` (5 preceding siblings ...)
  2005-08-30  7:33 ` debian-gcc at lists dot debian dot org
@ 2005-08-31 10:17 ` debian-gcc at lists dot debian dot org
  2005-08-31 14:12 ` debian-gcc at lists dot debian dot org
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 19+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2005-08-31 10:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From debian-gcc at lists dot debian dot org  2005-08-31 10:16 -------
tracked down the 15 failures to this patch:

2005-06-14  Tom Tromey  <tromey@redhat.com>

       PR libgcj/19877:
       * no-executables.m4: Call real AC_FUNC_MMAP when cache variable
       is set but not 'no'.

2005-06-14  Tom Tromey  <tromey@redhat.com>

       PR libgcj/19877:
       * configure, aclocal.m4, Makefile.in: Rebuilt.

looking at the generated libjava/Makefile, the only interesting difference is

-BACKTRACESPEC = -fno-omit-frame-pointer
+BACKTRACESPEC = -fomit-frame-pointer

but that macro isn't used anywhere.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org


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


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

* [Bug target/23602] [4.1 regression] 1081 test failures in libjava, when configured for i486-linux
  2005-08-28 16:41 [Bug target/23602] New: [4.1 regression] 1081 test failures in libjava, when configured for i486-linux debian-gcc at lists dot debian dot org
                   ` (6 preceding siblings ...)
  2005-08-31 10:17 ` debian-gcc at lists dot debian dot org
@ 2005-08-31 14:12 ` debian-gcc at lists dot debian dot org
  2005-09-02 21:39 ` rth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 19+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2005-08-31 14:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From debian-gcc at lists dot debian dot org  2005-08-31 14:08 -------
tracked down the 1000+ test failures to the import of classpath from 20050716
(well not exactly, but between 2005-07-16 00:00 UTC and 02:00 UTC).

  Matthias

2005-07-15  Mark Mitchell  <mark@codesourcery.com>

       PR c++/22204
       * repo.c (repo_emit_p): Robustify.

2005-07-15  Tom Tromey  <tromey@redhat.com>

       Major merge with Classpath.
       Removed many duplicate files.
       * HACKING: Updated.x
       * classpath: Imported new directory.
       * standard.omit: New file.
       * Makefile.in, aclocal.m4, configure: Rebuilt.
       * sources.am: New file.
       * configure.ac: Run Classpath configure script.  Moved code around
       to support.  Disable xlib AWT peers (temporarily).
       * Makefile.am (SUBDIRS): Added 'classpath'
       (JAVAC): Removed.
       (AM_CPPFLAGS): Added more -I options.
       (BOOTCLASSPATH): Simplified.
       Completely redid how sources are built.
       Include sources.am.
       * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
       * include/jni.h: Removed (in Classpath).
       * scripts/classes.pl: Updated to look at built classes.
       * scripts/makemake.tcl: New file.
       * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
       -I options.
       (gcj_jni_invocation_compile_c_to_binary): Likewise.


-- 


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


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

* [Bug target/23602] [4.1 regression] 1081 test failures in libjava, when configured for i486-linux
  2005-08-28 16:41 [Bug target/23602] New: [4.1 regression] 1081 test failures in libjava, when configured for i486-linux debian-gcc at lists dot debian dot org
                   ` (7 preceding siblings ...)
  2005-08-31 14:12 ` debian-gcc at lists dot debian dot org
@ 2005-09-02 21:39 ` rth at gcc dot gnu dot org
  2005-09-02 21:46 ` tromey at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 19+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-09-02 21:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2005-09-02 21:39 -------
Actually, BACKTRACESPEC does make it into libgcj.spec via substitution.

-- 


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


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

* [Bug target/23602] [4.1 regression] 1081 test failures in libjava, when configured for i486-linux
  2005-08-28 16:41 [Bug target/23602] New: [4.1 regression] 1081 test failures in libjava, when configured for i486-linux debian-gcc at lists dot debian dot org
                   ` (8 preceding siblings ...)
  2005-09-02 21:39 ` rth at gcc dot gnu dot org
@ 2005-09-02 21:46 ` tromey at gcc dot gnu dot org
  2005-09-02 22:09 ` rth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 19+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-09-02 21:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tromey at gcc dot gnu dot org  2005-09-02 21:46 -------
About comment #6 - it doesn't seem to me that this patch could have affected
the setting of BACKTRACESPEC.  The most recent change there was on
01-Jun-05; see libjava/configure.host (via cvs annotate) for details.

About comment #7 - it would be helpful to know how the execution tests
fail.  For instance a gdb backtrace from one of them.


-- 


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


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

* [Bug target/23602] [4.1 regression] 1081 test failures in libjava, when configured for i486-linux
  2005-08-28 16:41 [Bug target/23602] New: [4.1 regression] 1081 test failures in libjava, when configured for i486-linux debian-gcc at lists dot debian dot org
                   ` (9 preceding siblings ...)
  2005-09-02 21:46 ` tromey at gcc dot gnu dot org
@ 2005-09-02 22:09 ` rth at gcc dot gnu dot org
  2005-09-02 22:21 ` debian-gcc at lists dot debian dot org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 19+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-09-02 22:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2005-09-02 22:08 -------
I'm sure that the patches listed in comments #6 and #7 are bogus.

But we've had problems before with unwinding with -mno-accumulate-outgoing-args
(implied by -mtune=i486, implied by i486-linux), plus -fomit-frame-pointer.  I
assume this problem has returned.  But since essentially no one uses this 
combination regularly, we don't know exactly when it failed.

I'm trying to get reduced unwind test cases to fail.  If that works, it'll be
easier than looking at libjava itself.

-- 


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


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

* [Bug target/23602] [4.1 regression] 1081 test failures in libjava, when configured for i486-linux
  2005-08-28 16:41 [Bug target/23602] New: [4.1 regression] 1081 test failures in libjava, when configured for i486-linux debian-gcc at lists dot debian dot org
                   ` (10 preceding siblings ...)
  2005-09-02 22:09 ` rth at gcc dot gnu dot org
@ 2005-09-02 22:21 ` debian-gcc at lists dot debian dot org
  2005-09-05 13:26 ` debian-gcc at lists dot debian dot org
  2005-09-26 13:23 ` debian-gcc at lists dot debian dot org
  13 siblings, 0 replies; 19+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2005-09-02 22:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From debian-gcc at lists dot debian dot org  2005-09-02 22:21 -------
(In reply to comment #9)
> About comment #7 - it would be helpful to know how the execution tests
> fail.  For instance a gdb backtrace from one of them.

it would, but running them from the commandline let's the test succeed :-/

Running the ArrayStore test from 20050715, I get

$ gdb ./ArrayStore.exe
GNU gdb 6.3-debian
Copyright 2004 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 "x86_64-linux-gnu"...Using host libthread_db library
"/lib/libthread_db.so.1".

(gdb) run
Starting program:
/home/packages/gcc/cvs/build-20050715-12/i486-linux-gnu/libjava/testsuite/ArrayStore.exe
[Thread debugging using libthread_db enabled]
[New Thread 1450720736 (LWP 14599)]
[New Thread 1459313584 (LWP 14604)]
java.lang.ArrayStoreException
java.lang.ArrayStoreException

Program received signal SIGABRT, Aborted.
[Switching to Thread 1450720736 (LWP 14599)]
0x5668362b in raise () from /lib32/tls/libc.so.6
(gdb) bt
#0  0x5668362b in raise () from /lib32/tls/libc.so.6
#1  0x56684d3f in abort () from /lib32/tls/libc.so.6
#2  0x55bd0451 in _Jv_Throw (value=0xffffd3ac)
    at ../../../gcc-20050715-12/libjava/exception.cc:111
#3  0x55bc4bd0 in _Jv_ThrowBadArrayIndex (bad_index=1)
    at ../../../gcc-20050715-12/libjava/prims.cc:353
#4  0x080491a8 in ArrayStore.b(java.lang.String[]) (this=0x47f00, sa=Variable
"sa" is not available.
)
    at Throwable.java:50
#5  0x00000001 in ?? ()
#6  0x08049120 in ArrayStore::a () at Throwable.java:45
#7  0x00047f00 in ?? ()
#8  0x08048f2f in ArrayStore.main(java.lang.String[]) (args=0x563a7e88)
    at ArrayStore.java:30
#9  0x55befd0b in gnu::java::lang::MainThread::call_main (this=0x61f18)
    at ../../../gcc-20050715-12/libjava/gnu/java/lang/natMainThread.cc:47
#10 0x55c29e66 in gnu.java.lang.MainThread.run() (this=0x61f18)
    at MainThread.java:105
#11 0x55bfea26 in _Jv_ThreadRun (thread=0x61f18)
    at ../../../gcc-20050715-12/libjava/java/lang/natThread.cc:296
#12 0x55bc5ba5 in _Jv_RunMain (vm_args=0x0, klass=0x804a980, name=0x0, argc=1,
    argv=0xffffd734, is_jar=false)
    at ../../../gcc-20050715-12/libjava/prims.cc:1386
#13 0x55bc5cf0 in _Jv_RunMain (klass=0x804a980, name=0x0, argc=1,
    argv=0xffffd734, is_jar=false)
    at ../../../gcc-20050715-12/libjava/prims.cc:1397
#14 0x55bc5d28 in JvRunMain (klass=0x804a980, argc=1, argv=0xffffd734)
    at ../../../gcc-20050715-12/libjava/prims.cc:1403
#15 0x08048ea8 in main (argc=1, argv=0xffffd734) at /tmp/cc7ZPyq6.i:11

Running the same test with 20050717, the debugger hangs:
$ gdb ./ArrayStore.exe
GNU gdb 6.3-debian
Copyright 2004 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 "i386-linux"...Using host libthread_db library
"/lib/tls/libthread_db.so.1".

(gdb) run
Starting program:
/home/packages/gcc/cvs/build-20050717/i486-linux-gnu/libjava/testsuite/ArrayStore.exe
[Thread debugging using libthread_db enabled]
Error while reading shared library symbols:
Cannot find new threads: generic error



-- 


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


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

* [Bug target/23602] [4.1 regression] 1081 test failures in libjava, when configured for i486-linux
  2005-08-28 16:41 [Bug target/23602] New: [4.1 regression] 1081 test failures in libjava, when configured for i486-linux debian-gcc at lists dot debian dot org
                   ` (11 preceding siblings ...)
  2005-09-02 22:21 ` debian-gcc at lists dot debian dot org
@ 2005-09-05 13:26 ` debian-gcc at lists dot debian dot org
  2005-09-26 13:23 ` debian-gcc at lists dot debian dot org
  13 siblings, 0 replies; 19+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2005-09-05 13:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From debian-gcc at lists dot debian dot org  2005-09-05 13:26 -------
Seeing similiar failures on hppa-linux, filed as PR23731

  Matthias


-- 


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


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

* [Bug target/23602] [4.1 regression] 1081 test failures in libjava, when configured for i486-linux
  2005-08-28 16:41 [Bug target/23602] New: [4.1 regression] 1081 test failures in libjava, when configured for i486-linux debian-gcc at lists dot debian dot org
                   ` (12 preceding siblings ...)
  2005-09-05 13:26 ` debian-gcc at lists dot debian dot org
@ 2005-09-26 13:23 ` debian-gcc at lists dot debian dot org
  13 siblings, 0 replies; 19+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2005-09-26 13:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From debian-gcc at lists dot debian dot org  2005-09-26 13:22 -------
after an update to 2005-09-25, the bug seems to be hidden again, a diff on the
test summary i686/i486

  Matthias

--- ../test-summary-i686        2005-09-26 01:56:04.465389392 +0000
+++ test-summary        2005-09-26 13:11:28.149852952 +0000
@@ -25,13 +25,15 @@
 FAIL: gcc.dg/cleanup-11.c execution test
 FAIL: gcc.dg/cleanup-8.c execution test
 FAIL: gcc.dg/cleanup-9.c execution test
+XPASS: gcc.dg/tree-ssa/20040204-1.c scan-tree-dump-times link_error 0
 FAIL: gcc.dg/vect/pr20122.c scan-tree-dump-times vectorized 1 loops 2

                === gcc Summary ===

 # of expected passes           37375
 # of unexpected failures       5
-# of expected failures         96
+# of unexpected successes      1
+# of expected failures         95
 # of untested testcases                28
 # of unsupported tests         344
 /home/packages/gcc/snap/gcc-snapshot-20050925/build/gcc/xgcc  version 4.1.0
20050925 (experimental)
@@ -85,10 +87,13 @@


 Running target unix
+FAIL: objc/execute/exceptions/catchall-1.m execution,  -O3 -fomit-frame-pointer
 -fgnu-runtime
+FAIL: objc/execute/exceptions/local-variables-1.m execution,  -O3
-fomit-frame-pointer  -fgnu-runtime

                === objc Summary ===

-# of expected passes           1672
+# of expected passes           1670
+# of unexpected failures       2
 # of unsupported tests         22
 /home/packages/gcc/snap/gcc-snapshot-20050925/build/gcc/xgcc  version 4.1.0
20050925 (experimental)

@@ -113,12 +118,32 @@


 Running target unix
+FAIL: ArrayStore -O3 execution - source compiled test
+FAIL: ArrayStore -O3 execution - bytecode->native test
+FAIL: Divide_1 -O3 execution - source compiled test
+FAIL: Divide_1 -O3 execution - bytecode->native test
+FAIL: Invoke_1 -O3 execution - source compiled test
+FAIL: Serialization execution - source compiled test
+FAIL: Serialization execution - gij test
+FAIL: Serialization execution - bytecode->native test
+FAIL: Serialization -O3 execution - source compiled test
+FAIL: Serialization execution - gij test
+FAIL: Serialization -O3 execution - bytecode->native test
+FAIL: String_overflow -O3 execution - source compiled test
+FAIL: Thread_Interrupt -O3 execution - source compiled test
+FAIL: Throw_1 -O3 execution - source compiled test
+FAIL: initexc -O3 execution - source compiled test
+FAIL: instinit2 -O3 execution - source compiled test
+FAIL: instinit2 -O3 execution - bytecode->native test
+FAIL: newarray_overflow -O3 execution - source compiled test
+FAIL: newarray_overflow -O3 execution - bytecode->native test

                === libjava Summary ===

-# of expected passes           3968
-# of expected failures         10
-# of untested testcases                8
+# of expected passes           3931
+# of unexpected failures       19
+# of expected failures         9
+# of untested testcases                27
                === libmudflap tests ===


@@ -228,7 +253,7 @@

 Compiler version: 4.1.0 20050925 (experimental)
 Platform: i486-pc-linux-gnu
-configure flags: -v --prefix=/usr/lib/gcc-snapshot --enable-shared
--with-system-zlib --disable-nls --enable-__cxa_atexit
--enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug
--enable-java-gc=boehm --enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/gcc-snapshot/jre --enable-mpfr --disable-werror
--with-arch=i686 --with-tune=i686 i486-linux-gnu
--enable-languages=c,c++,fortran,java,objc,obj-c++,treelang
+configure flags: -v --prefix=/usr/lib/gcc-snapshot --enable-shared
--with-system-zlib --disable-nls --enable-__cxa_atexit
--enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug
--enable-java-gc=boehm --enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/gcc-snapshot/jre --enable-mpfr --disable-werror
--with-arch=i486 --with-tune=i686 i486-linux-gnu
--enable-languages=c,c++,fortran,java,objc,obj-c++,treelang
 BOOT_CFLAGS=-O2

-- 


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


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

* [Bug target/23602] [4.1 regression] 1081 test failures in libjava, when configured for i486-linux
       [not found] <bug-23602-5724@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2006-01-21  2:11 ` aoliva at gcc dot gnu dot org
@ 2006-03-17  6:25 ` aoliva at gcc dot gnu dot org
  3 siblings, 0 replies; 19+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2006-03-17  6:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from aoliva at gcc dot gnu dot org  2006-03-17 06:25 -------
I failed to note this PR when I checked in
http://gcc.gnu.org/ml/gcc-patches/2006-03/msg01039.html as revision 112170,
sorry.


-- 


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


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

* [Bug target/23602] [4.1 regression] 1081 test failures in libjava, when configured for i486-linux
       [not found] <bug-23602-5724@http.gcc.gnu.org/bugzilla/>
  2005-10-05 18:19 ` cvs-commit at gcc dot gnu dot org
  2005-10-05 18:23 ` rth at gcc dot gnu dot org
@ 2006-01-21  2:11 ` aoliva at gcc dot gnu dot org
  2006-03-17  6:25 ` aoliva at gcc dot gnu dot org
  3 siblings, 0 replies; 19+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2006-01-21  2:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from aoliva at gcc dot gnu dot org  2006-01-21 02:11 -------
Created an attachment (id=10694)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10694&action=view)
Reduced testcase

This reduced testcase triggers the same bug before Richard's patch if compiled
with -fasynchronous-unwind-tables, generating very similar code to what broke
the unwinder in the libjava.lang ArrayTest on i486.  With current trunk, even
after reverting the patch, both the reduced testcase and the Java tests all
pass on an i486-pc-linux-gnu native toolchain.  Even though the generated code
is not significantly different, the EH tables are.  I can't tell immediately
whether the problem is actually fixed, and we could thus remove the patch that
hid the problem before, or if it's just more difficult to trigger now.


-- 


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


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

* [Bug target/23602] [4.1 regression] 1081 test failures in libjava, when configured for i486-linux
       [not found] <bug-23602-5724@http.gcc.gnu.org/bugzilla/>
  2005-10-05 18:19 ` cvs-commit at gcc dot gnu dot org
@ 2005-10-05 18:23 ` rth at gcc dot gnu dot org
  2006-01-21  2:11 ` aoliva at gcc dot gnu dot org
  2006-03-17  6:25 ` aoliva at gcc dot gnu dot org
  3 siblings, 0 replies; 19+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-10-05 18:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from rth at gcc dot gnu dot org  2005-10-05 18:23 -------
"Fixed".


-- 

rth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug target/23602] [4.1 regression] 1081 test failures in libjava, when configured for i486-linux
       [not found] <bug-23602-5724@http.gcc.gnu.org/bugzilla/>
@ 2005-10-05 18:19 ` cvs-commit at gcc dot gnu dot org
  2005-10-05 18:23 ` rth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 19+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-05 18:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from cvs-commit at gcc dot gnu dot org  2005-10-05 18:19 -------
Subject: Bug 23602

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     rth@gcc.gnu.org 2005-10-05 18:19:26

Modified files:
        gcc            : ChangeLog toplev.c 
        gcc/config/i386: i386.c 
        gcc/testsuite  : ChangeLog 
        gcc/testsuite/g++.dg/eh: omit-frame-pointer.C 
                                 omit-frame-pointer2.C 
        libjava        : ChangeLog configure.host 

Log message:
        PR target/23602
        * toplev.c (process_options): Warn about unsupported combinations
        of unwind tables and omit-frame-pointer.
        * config/i386/i386.c (override_options): Similarly.  Enable
        accumulate-outgoing-args if not explicitly disabled.
        testsuite/
        * g++.dg/eh/omit-frame-pointer.C: Remove i?86 specific options.
        * g++.dg/eh/omit-frame-pointer2.C: Likewise.
        libjava/
        * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
        but not BACKTRACESPEC.
        (x86_64-*): Similarly.  Don't set -ffloat-store in 64-bit mode.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.10092&r2=2.10093
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/toplev.c.diff?cvsroot=gcc&r1=1.975&r2=1.976
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&r1=1.861&r2=1.862
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6142&r2=1.6143
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/eh/omit-frame-pointer.C.diff?cvsroot=gcc&r1=1.2&r2=1.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/eh/omit-frame-pointer2.C.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3752&r2=1.3753
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/configure.host.diff?cvsroot=gcc&r1=1.71&r2=1.72


-- 


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


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

end of thread, other threads:[~2006-03-17  6:25 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-28 16:41 [Bug target/23602] New: [4.1 regression] 1081 test failures in libjava, when configured for i486-linux debian-gcc at lists dot debian dot org
2005-08-28 17:20 ` [Bug target/23602] " debian-gcc at lists dot debian dot org
2005-08-28 21:58 ` pinskia at gcc dot gnu dot org
2005-08-29 21:08 ` debian-gcc at lists dot debian dot org
2005-08-30  2:46 ` rth at gcc dot gnu dot org
2005-08-30  6:00 ` rth at gcc dot gnu dot org
2005-08-30  7:33 ` debian-gcc at lists dot debian dot org
2005-08-31 10:17 ` debian-gcc at lists dot debian dot org
2005-08-31 14:12 ` debian-gcc at lists dot debian dot org
2005-09-02 21:39 ` rth at gcc dot gnu dot org
2005-09-02 21:46 ` tromey at gcc dot gnu dot org
2005-09-02 22:09 ` rth at gcc dot gnu dot org
2005-09-02 22:21 ` debian-gcc at lists dot debian dot org
2005-09-05 13:26 ` debian-gcc at lists dot debian dot org
2005-09-26 13:23 ` debian-gcc at lists dot debian dot org
     [not found] <bug-23602-5724@http.gcc.gnu.org/bugzilla/>
2005-10-05 18:19 ` cvs-commit at gcc dot gnu dot org
2005-10-05 18:23 ` rth at gcc dot gnu dot org
2006-01-21  2:11 ` aoliva at gcc dot gnu dot org
2006-03-17  6:25 ` aoliva 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).