This patch

http://gcc.gnu.org/ml/gcc-patches/2006-01/msg00463.html

breaks libjava on Linux/x86-64. I got many libjavaa failures:

[EMAIL PROTECTED] testsuite]$ gdb ./PR9577
GNU gdb Red Hat Linux (6.3.0.0-1.63rh)
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-redhat-linux-gnu"...Using host libthread_db
library "/lib64/tls/libthread_db.so.1".

(gdb) r
Starting program:
/export/build/gnu/gcc-next/build-x86_64-linux/x86_64-unknown-linux-gnu/libjava/testsuite/PR9577
[Thread debugging using libthread_db enabled]
[New Thread 182928830848 (LWP 985)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 182928830848 (LWP 985)]
0x0000000000000005 in ?? ()
(gdb) bt
#0  0x0000000000000005 in ?? ()
#1  0x0000002a96bb7b52 in __do_global_ctors_aux ()
   from
/export/build/gnu/gcc-next/build-x86_64-linux/x86_64-unknown-linux-gnu/./libjava/.libs/libgcj.so.7
#2  0x0000002a96653b73 in _init ()
   from
/export/build/gnu/gcc-next/build-x86_64-linux/x86_64-unknown-linux-gnu/./libjava/.libs/libgcj.so.7
#3  0x0000002a97685940 in ?? ()
#4  0x0000003d7c40ac7f in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
#5  0x0000003d7c400abb in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#6  0x0000000000000001 in ?? ()
#7  0x0000007fbffff96c in ?? ()
#8  0x0000000000000000 in ?? ()
(gdb)


-- 
           Summary: libjava is broken on Linux/x86-64
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl at lucon dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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

Reply via email to