public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/41991]  New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
@ 2009-11-09  0:24 howarth at nitro dot med dot uc dot edu
  2009-11-09  0:44 ` [Bug java/41991] " howarth at nitro dot med dot uc dot edu
                   ` (53 more replies)
  0 siblings, 54 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-09  0:24 UTC (permalink / raw)
  To: java-prs

The gcj compiler in 4.4.x and gcc trunk segfaults when compiling sample java
code like...

public class testme { 
  public static void main(String args[]){ 
    System.out.println("Hello"); 
  } 
} 

with "gcj --main=testme -O testme.java" with a failure of...

gcj: Internal error: Abort trap (program ecj1)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

This is for gcc built with...

../gcc-4.5-20091107/configure --prefix=/sw --prefix=/sw/lib/gcc4.5
--mandir=/sw/share/man --infodir=/sw/share/info
--enable-languages=c,c++,fortran,objc,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-system-zlib
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--disable-libjava-multilib --with-arch=nocona --with-tune=generic
--build=i686-apple-darwin9 --host=i686-apple-darwin9
--target=i686-apple-darwin9

where ftp://sourceware.org/pub/java/ecj-latest.jar is used in the toplevel of
the gcc build to provide ecj1.


-- 
           Summary: gcj segfaults on i686-apple-darwin* and x86_64-apple-
                    darwin*
           Product: gcc
           Version: 4.4.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 GCC build triplet: i686/x86_64-apple-darwin*
  GCC host triplet: i686/x86_64-apple-darwin*
GCC target triplet: i686/x86_64-apple-darwin*


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
@ 2009-11-09  0:44 ` howarth at nitro dot med dot uc dot edu
  2009-11-09  0:45 ` howarth at nitro dot med dot uc dot edu
                   ` (52 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-09  0:44 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from howarth at nitro dot med dot uc dot edu  2009-11-09 00:44 -------
A backtrace of the segfault under i686-apple-darwin10 for gcc trunk is...

gdb /sw/lib/gcc4.5/libexec/gcc/i686-apple-darwin9/4.5.0/ecj1
...
(gdb) r testme.java
-fbootclasspath=./:/sw/lib/gcc4.5/share/java/libgcj-4.5.0.jar -fsource=1.5
-ftarget=1.5 -fzip-dependency
/var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccCFc8VX.zip -fzip-target
/var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccBrG88S.jar
Starting program: /sw/lib/gcc4.5/libexec/gcc/i686-apple-darwin9/4.5.0/ecj1
testme.java -fbootclasspath=./:/sw/lib/gcc4.5/share/java/libgcj-4.5.0.jar
-fsource=1.5 -ftarget=1.5 -fzip-dependency
/var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccCFc8VX.zip -fzip-target
/var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccBrG88S.jar
Reading symbols for shared libraries ++++.+. done

Program received signal SIGABRT, Aborted.
0x94cc2e42 in __kill ()
(gdb) bt
#0  0x94cc2e42 in __kill ()
#1  0x94cc2e34 in kill$UNIX2003 ()
#2  0x94d3523a in raise ()
#3  0x94d41679 in abort ()
#4  0x038de502 in _Jv_Throw (value=<value temporarily unavailable, due to
optimizations>) at ../../../gcc-4.5-20091107/libjava/exception.cc:128
#5  0x039359bb in _ZN4java4lang5Class7forNameEJPS1_PNS0_6StringES2_
(className=<value temporarily unavailable, due to optimizations>, caller=<value
temporarily unavailable, due to optimizations>) at Class.java:133
Previous frame inner to this frame (gdb could not unwind past this frame)

We don't seem to have any significant failures in the libjava testsuite for
i686-apple-darwin9/10 or x86_64-apple-darwin9/10 builds of gcc 4.4.2 or trunk
though. This problem seems unique to gcj and it is unclear if gcj is well
tested in the libjava testsuite.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
  2009-11-09  0:44 ` [Bug java/41991] " howarth at nitro dot med dot uc dot edu
@ 2009-11-09  0:45 ` howarth at nitro dot med dot uc dot edu
  2009-11-11 22:40 ` andreast at gcc dot gnu dot org
                   ` (51 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-09  0:45 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from howarth at nitro dot med dot uc dot edu  2009-11-09 00:45 -------
(In reply to comment #1)
> A backtrace of the segfault under i686-apple-darwin10 for gcc trunk is...
> 

This should have read...

A backtrace of the segfault under i686-apple-darwin9 for gcc trunk is...


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
  2009-11-09  0:44 ` [Bug java/41991] " howarth at nitro dot med dot uc dot edu
  2009-11-09  0:45 ` howarth at nitro dot med dot uc dot edu
@ 2009-11-11 22:40 ` andreast at gcc dot gnu dot org
  2009-11-12  2:43 ` howarth at nitro dot med dot uc dot edu
                   ` (50 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: andreast at gcc dot gnu dot org @ 2009-11-11 22:40 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from andreast at gcc dot gnu dot org  2009-11-11 22:40 -------
Does this help:

[deuterium:head/gcc/libjava] andreast% svn diff Makefile.am Makefile.in 
Index: Makefile.am
===================================================================
--- Makefile.am (revision 154097)
+++ Makefile.am (working copy)
@@ -1085,7 +1085,7 @@

 if NATIVE

-ecjx_LINK = $(GCJLINK) $(ecjx_LDFLAGS)
+ecjx_LINK = $(GCJLINK) $(ecjx_LDFLAGS) $(extra_gij_ldflags)

 if ENABLE_SHARED
 ## Use ecj.jar at runtime.
Index: Makefile.in
===================================================================
--- Makefile.in (revision 154097)
+++ Makefile.in (working copy)
@@ -8511,7 +8511,7 @@
        --main=org.eclipse.jdt.internal.compiler.batch.GCCMain

 @NATIVE_FALSE@ecjx_LINK = $(GCJ_FOR_ECJX_LINK) $(ecjx_LDFLAGS)
-@NATIVE_TRUE@ecjx_LINK = $(GCJLINK) $(ecjx_LDFLAGS)
+@NATIVE_TRUE@ecjx_LINK = $(GCJLINK) $(ecjx_LDFLAGS) $(extra_gij_ldflags)
 @ENABLE_SHARED_FALSE@@NATIVE_TRUE@ecjx_LDFLAGS = $(ECJX_BASE_FLAGS)
$(ECJ_BUILD_JAR) -fbootclasspath=$(BOOTCLASSPATH)
 @ENABLE_SHARED_TRUE@@NATIVE_TRUE@ecjx_LDFLAGS = $(ECJX_BASE_FLAGS)
-Djava.class.path=$(ECJ_JAR)
 @NATIVE_FALSE@ecjx_LDFLAGS = $(ECJX_BASE_FLAGS) $(ECJ_BUILD_JAR)


-- 

andreast at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |andreast at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-11-11 22:40:42
               date|                            |


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (2 preceding siblings ...)
  2009-11-11 22:40 ` andreast at gcc dot gnu dot org
@ 2009-11-12  2:43 ` howarth at nitro dot med dot uc dot edu
  2009-11-13 14:26 ` howarth at nitro dot med dot uc dot edu
                   ` (49 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-12  2:43 UTC (permalink / raw)
  To: java-prs



------- Comment #4 from howarth at nitro dot med dot uc dot edu  2009-11-12 02:43 -------
Unfortunately, the proposed patch doesn't solve the crashes in gcj on intel
darwin. I would note that if I use javac to convert testme.java into
testme.class that...

gcj --main=testme -O testme.class

compiles fine on x86_64-apple-darwin10. This is likely why the problem went
unnoticed for so long as the libjava testsuite appears to test gcj via the
class files in the associated jar files rather than with the java files
themselves (if ejc1 is present).


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (3 preceding siblings ...)
  2009-11-12  2:43 ` howarth at nitro dot med dot uc dot edu
@ 2009-11-13 14:26 ` howarth at nitro dot med dot uc dot edu
  2009-11-14 20:57 ` andreast at gcc dot gnu dot org
                   ` (48 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-13 14:26 UTC (permalink / raw)
  To: java-prs



------- Comment #5 from howarth at nitro dot med dot uc dot edu  2009-11-13 14:26 -------
I tried the patch from comment 3 on x86_64-apple-darwin9.8.0 and the gcj
crashes still occur. I wonder if this change only makes the bug potentially go
latent on certain hardware for intel darwin. It is unclear why this change
would really fix an unwinder issue.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (4 preceding siblings ...)
  2009-11-13 14:26 ` howarth at nitro dot med dot uc dot edu
@ 2009-11-14 20:57 ` andreast at gcc dot gnu dot org
  2009-11-15  1:57 ` howarth at nitro dot med dot uc dot edu
                   ` (47 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: andreast at gcc dot gnu dot org @ 2009-11-14 20:57 UTC (permalink / raw)
  To: java-prs



------- Comment #6 from andreast at gcc dot gnu dot org  2009-11-14 20:57 -------
I tried on another core2duo (x86_64-apple-darwin9), same issue. W/o
extra_gij_ldflags=-Wl,-allow_stack_execute for ecjx_LINK I fail with the same
entry in Library/Logs/CrashReporter:

ecj1_2009-11-14-202538_imac-catherine.crash
...

Thread 0 Crashed:
0   libSystem.B.dylib                   0x00007fff83de6f16 __kill + 10
1   libgcj.11.dylib                     0x00000001000129db _Jv_Throw + 75
(exception.cc:128)
2   libgcj.11.dylib                     0x00000001000050fd __ZL10catch_segvi +
61
3   libSystem.B.dylib                   0x00007fff83de53fa _sigtramp + 26
4   ???                                 0x0000000103f057a0 0 + 4361050016

Thread 1:
0   libSystem.B.dylib                   0x00007fff83d86dc2 __semwait_signal +
10
1   libgcj.11.dylib                     0x0000000100060bd4
_Jv_CondWait(_Jv_ConditionVariable_t*, _Jv_Mutex_t*, long long, int) + 404
...

Adding '-Wl,-allow_stack_execute' to the ecjx_LINK stage, I can build _and_
execute the resulting class (with gij) and the resulting binary w/o
CrashReporter call.

Also, I removed the '-Wl,-allow_stack_execute' invocation in
testsuite/lib/libjava.exp and ran the testsuite. I then found exactly the same
pattern as from the above pattern from CrashReporter for several test cases.

>From my POV, the failure has nothing todo with unwinder issues.

I'd like to know what CPU you're running the build/install/test on.
Is your extra_gij_ldflags equal to '-Wl,-allow_stack_execute'?
Do you clean the install directory before installing a new version?

And yes, it is not gcj which fails but ecj.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (5 preceding siblings ...)
  2009-11-14 20:57 ` andreast at gcc dot gnu dot org
@ 2009-11-15  1:57 ` howarth at nitro dot med dot uc dot edu
  2009-11-15 19:20 ` howarth at nitro dot med dot uc dot edu
                   ` (46 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-15  1:57 UTC (permalink / raw)
  To: java-prs



------- Comment #7 from howarth at nitro dot med dot uc dot edu  2009-11-15 01:57 -------
Yes, I have...

[MacPro:darwin_objdir/x86_64-apple-darwin10.2.0/libjava] howarth% grep
extra_gij_ldflags  *
Makefile:extra_gij_ldflags = -Wl,-allow_stack_execute

I have been testing on a late 2008 MacPro with quad-core Xeon's and still see
the problem.
I'll try building on my MacBook Pro with Core2Duo next.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (6 preceding siblings ...)
  2009-11-15  1:57 ` howarth at nitro dot med dot uc dot edu
@ 2009-11-15 19:20 ` howarth at nitro dot med dot uc dot edu
  2009-11-15 22:52 ` howarth at nitro dot med dot uc dot edu
                   ` (45 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-15 19:20 UTC (permalink / raw)
  To: java-prs



------- Comment #8 from howarth at nitro dot med dot uc dot edu  2009-11-15 19:20 -------
I have the same problem with current gcc trunk and the proposed patch on a
Core2Duo under x86_64-apple-darwin10...

gcj --main=testme -O testme.java
gcj: Internal error: Abort trap (program ecj1)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

gcc-4 -v
Using built-in specs.
COLLECT_GCC=gcc-4
COLLECT_LTO_WRAPPER=/sw/lib/gcc4.5/libexec/gcc/x86_64-apple-darwin10.2.0/4.5.0/lto-wrapper
Target: x86_64-apple-darwin10.2.0
Configured with: ../gcc-4.5-20091115/configure --prefix=/sw
--prefix=/sw/lib/gcc4.5 --mandir=/sw/share/man --infodir=/sw/share/info
--enable-languages=c,c++,fortran,objc,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-system-zlib
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--disable-libjava-multilib
Thread model: posix
gcc version 4.5.0 20091115 (experimental) (GCC) 

Also, I always install the gcc trunk release before running any tests on it.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (7 preceding siblings ...)
  2009-11-15 19:20 ` howarth at nitro dot med dot uc dot edu
@ 2009-11-15 22:52 ` howarth at nitro dot med dot uc dot edu
  2009-11-16  1:26 ` howarth at nitro dot med dot uc dot edu
                   ` (44 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-15 22:52 UTC (permalink / raw)
  To: java-prs



------- Comment #9 from howarth at nitro dot med dot uc dot edu  2009-11-15 22:52 -------
Comparing the linkages of ecjx and gij on x86_64-apple-darwin10 with your
patch, one thing I did notice is that there is a slight difference in the link
flags. The ecjx linkage is passed -findirect-dispatch but not -shared-libgcc
while the linkage of gij is passed -shared-libgcc but not -findirect-dispatch.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (8 preceding siblings ...)
  2009-11-15 22:52 ` howarth at nitro dot med dot uc dot edu
@ 2009-11-16  1:26 ` howarth at nitro dot med dot uc dot edu
  2009-11-17  0:37 ` howarth at nitro dot med dot uc dot edu
                   ` (43 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-16  1:26 UTC (permalink / raw)
  To: java-prs



------- Comment #10 from howarth at nitro dot med dot uc dot edu  2009-11-16 01:26 -------
This doesn't solve the abort in ejc1 on x86_64-apple-darwin10, but shouldn't we
have...

Index: libjava/Makefile.in
===================================================================
--- libjava/Makefile.in (revision 154191)
+++ libjava/Makefile.in (working copy)
@@ -8510,11 +8510,12 @@
 ECJX_BASE_FLAGS = -findirect-dispatch \
        --main=org.eclipse.jdt.internal.compiler.batch.GCCMain

-@NATIVE_FALSE@ecjx_LINK = $(GCJ_FOR_ECJX_LINK) $(ecjx_LDFLAGS)
-@NATIVE_TRUE@ecjx_LINK = $(GCJLINK) $(ecjx_LDFLAGS)
 @ENABLE_SHARED_FALSE@@NATIVE_TRUE@ecjx_LDFLAGS = $(ECJX_BASE_FLAGS)
$(ECJ_BUILD_JAR) -fbootclasspath=$(BOOTCLASSPATH)
 @ENABLE_SHARED_TRUE@@NATIVE_TRUE@ecjx_LDFLAGS = $(ECJX_BASE_FLAGS)
-Djava.class.path=$(ECJ_JAR)
 @NATIVE_FALSE@ecjx_LDFLAGS = $(ECJX_BASE_FLAGS) $(ECJ_BUILD_JAR)
+@NATIVE_FALSE@ecjx_LINK = $(GCJ_FOR_ECJX_LINK) $(ecjx_LDFLAGS)
+@NATIVE_TRUE@ecjx_LINK = $(GCJLINK) $(ecjx_LDFLAGS) -shared-libgcc
$(extra_gij_ldflags)
+
 @NATIVE_FALSE@ecjx_LDADD = 
 @NATIVE_TRUE@ecjx_LDADD = -L$(here)/.libs $(extra_ldflags) \
 @NATIVE_TRUE@  $(am__append_31)
Index: libjava/Makefile.am
===================================================================
--- libjava/Makefile.am (revision 154191)
+++ libjava/Makefile.am (working copy)
@@ -1085,8 +1085,6 @@

 if NATIVE

-ecjx_LINK = $(GCJLINK) $(ecjx_LDFLAGS)
-
 if ENABLE_SHARED
 ## Use ecj.jar at runtime.
 ecjx_LDFLAGS = $(ECJX_BASE_FLAGS) -Djava.class.path=$(ECJ_JAR)
@@ -1095,6 +1093,8 @@
 ecjx_LDFLAGS = $(ECJX_BASE_FLAGS) $(ECJ_BUILD_JAR)
-fbootclasspath=$(BOOTCLASSPATH)
 endif !ENABLE_SHARED

+ecjx_LINK = $(GCJLINK) $(ecjx_LDFLAGS) -shared-libgcc $(extra_gij_ldflags)
+
 ecjx_LDADD = -L$(here)/.libs $(extra_ldflags)
 ecjx_DEPENDENCIES = libgcj.la libgcj.spec
 if BUILD_SUBLIBS

Currently ecjx_LDFLAGS is used in assigning ecjx_LINK before it is assigned
itself.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (9 preceding siblings ...)
  2009-11-16  1:26 ` howarth at nitro dot med dot uc dot edu
@ 2009-11-17  0:37 ` howarth at nitro dot med dot uc dot edu
  2009-11-17  0:39 ` howarth at nitro dot med dot uc dot edu
                   ` (42 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-17  0:37 UTC (permalink / raw)
  To: java-prs



------- Comment #11 from howarth at nitro dot med dot uc dot edu  2009-11-17 00:37 -------
Created an attachment (id=19027)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19027&action=view)
gdb walk from _Jv_Throw breakpoint


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (10 preceding siblings ...)
  2009-11-17  0:37 ` howarth at nitro dot med dot uc dot edu
@ 2009-11-17  0:39 ` howarth at nitro dot med dot uc dot edu
  2009-11-18  1:04 ` howarth at nitro dot med dot uc dot edu
                   ` (41 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-17  0:39 UTC (permalink / raw)
  To: java-prs



------- Comment #12 from howarth at nitro dot med dot uc dot edu  2009-11-17 00:39 -------
The attached unwinder_walk.txt is the log of walk of ecj1 when compiling the
testme,java test code. This uses r154217  with the patch from comment 3 and
with the installed libgcc replaced with a copy compiled with -O0. The walk
begins at the _Jv_Throw breakpoint.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (11 preceding siblings ...)
  2009-11-17  0:39 ` howarth at nitro dot med dot uc dot edu
@ 2009-11-18  1:04 ` howarth at nitro dot med dot uc dot edu
  2009-11-18  1:19 ` howarth at nitro dot med dot uc dot edu
                   ` (40 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-18  1:04 UTC (permalink / raw)
  To: java-prs



------- Comment #13 from howarth at nitro dot med dot uc dot edu  2009-11-18 01:04 -------
One oddity in the libgcj.dylib build on darwin is that this only shared library
in libjava which doesn't get a .dSYM directory built for it. All the other
shared libs have one...

ls -R libjava | grep dSYM | grep DWARF
libjava/.libs/ecjx.dSYM/Contents/Resources/DWARF:
libjava/.libs/gappletviewer.dSYM/Contents/Resources/DWARF:
libjava/.libs/gc-analyze.dSYM/Contents/Resources/DWARF:
libjava/.libs/gcj-dbtool.dSYM/Contents/Resources/DWARF:
libjava/.libs/gcjh.dSYM/Contents/Resources/DWARF:
libjava/.libs/gjar.dSYM/Contents/Resources/DWARF:
libjava/.libs/gjarsigner.dSYM/Contents/Resources/DWARF:
libjava/.libs/gjavah.dSYM/Contents/Resources/DWARF:
libjava/.libs/gkeytool.dSYM/Contents/Resources/DWARF:
libjava/.libs/gnative2ascii.dSYM/Contents/Resources/DWARF:
libjava/.libs/gorbd.dSYM/Contents/Resources/DWARF:
libjava/.libs/grmic.dSYM/Contents/Resources/DWARF:
libjava/.libs/grmid.dSYM/Contents/Resources/DWARF:
libjava/.libs/grmiregistry.dSYM/Contents/Resources/DWARF:
libjava/.libs/gserialver.dSYM/Contents/Resources/DWARF:
libjava/.libs/gtnameserv.dSYM/Contents/Resources/DWARF:
libjava/.libs/jv-convert.dSYM/Contents/Resources/DWARF:
libjava/.libs/libgcj-tools.11.dylib.dSYM/Contents/Resources/DWARF:
libjava/.libs/libgij.11.dylib.dSYM/Contents/Resources/DWARF:
libjava/.libs/libjvm.dylib.dSYM/Contents/Resources/DWARF:


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (12 preceding siblings ...)
  2009-11-18  1:04 ` howarth at nitro dot med dot uc dot edu
@ 2009-11-18  1:19 ` howarth at nitro dot med dot uc dot edu
  2009-11-18  1:39 ` howarth at nitro dot med dot uc dot edu
                   ` (39 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-18  1:19 UTC (permalink / raw)
  To: java-prs



------- Comment #14 from howarth at nitro dot med dot uc dot edu  2009-11-18 01:19 -------
The missing .dSYM for libgcj is a blocker for debugging this issue on darwin...

(gdb) break _Jv_Throw
Breakpoint 1 at 0x20c49ba3dcddf8: file
../../../gcc-4.5-20091116/libjava/exception.cc, line 100.
(gdb) break Unwind_RaiseException
Function "Unwind_RaiseException" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 2 (Unwind_RaiseException) pending.
(gdb) r testme.java
-fbootclasspath=./:/sw/lib/gcc4.5/share/java/libgcj-4.5.0.jar -fsource=1.5
-ftarget=1.5 -fzip-dependency
/var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccnFt6vF.zip -fzip-target
/var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccrNgp0M.jar
Starting program:
/sw/src/fink.build/gcc45-4.4.999-20091116/darwin_objdir/x86_64-apple-darwin9.8.0/libjava/.libs/ecjx
testme.java -fbootclasspath=./:/sw/lib/gcc4.5/share/java/libgcj-4.5.0.jar
-fsource=1.5 -ftarget=1.5 -fzip-dependency
/var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccnFt6vF.zip -fzip-target
/var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccrNgp0M.jar
warning: posix_spawn failed, trying execvp, error: 86
Reading symbols for shared libraries ++++.+. done
Breakpoint 1 at 0x10001adf8: file
../../../gcc-4.5-20091116/libjava/exception.cc, line 100.

Breakpoint 1, _Jv_Throw (value=0x104d656c0) at
../../../gcc-4.5-20091116/libjava/exception.cc:100
100     {
(gdb) c
Continuing.
Current language:  auto; currently c++

Program received signal SIGABRT, Aborted.
0x00007fff810c3f16 in __kill () at .././libjava/../gcc/unwind-pe.h:285
285     }

There might be an off chance that this is somehow related to the problem
itself. That is, if we fix the build to have a proper dSYM for libgcj, it might
resolve the bug.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (13 preceding siblings ...)
  2009-11-18  1:19 ` howarth at nitro dot med dot uc dot edu
@ 2009-11-18  1:39 ` howarth at nitro dot med dot uc dot edu
  2009-11-18 14:02 ` howarth at nitro dot med dot uc dot edu
                   ` (38 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-18  1:39 UTC (permalink / raw)
  To: java-prs



------- Comment #15 from howarth at nitro dot med dot uc dot edu  2009-11-18 01:39 -------
Argh, the dSYM issue looks like another variation of the current dsymutil
issues...

libtool: link: 
/sw/src/fink.build/gcc45-4.4.999-20091116/darwin_objdir/./gcc/xgcc
-shared-libgcc -B/sw/src/fink.build/gcc45-4.4.999-20091116/darwin_objdir/./gcc
-nostdinc++
-L/sw/src/fink.build/gcc45-4.4.999-20091116/darwin_objdir/x86_64-apple-darwin10.2.0/libstdc++-v3/src
-L/sw/src/fink.build/gcc45-4.4.999-20091116/darwin_objdir/x86_64-apple-darwin10.2.0/libstdc++-v3/src/.libs
-B/sw/lib/gcc4.5/x86_64-apple-darwin10.2.0/bin/
-B/sw/lib/gcc4.5/x86_64-apple-darwin10.2.0/lib/ -isystem
/sw/lib/gcc4.5/x86_64-apple-darwin10.2.0/include -isystem
/sw/lib/gcc4.5/x86_64-apple-darwin10.2.0/sys-include    -dynamiclib
-Wl,-undefined -Wl,dynamic_lookup -o .libs/libgcj.11.dylib  .libs/prims.o
.libs/jni.o .libs/exception.o .libs/stacktrace.o .libs/link.o
.libs/defineclass.o .libs/verify.o .libs/jvmti.o .libs/interpret.o
gnu/classpath/jdwp/.libs/natVMFrame.o gnu/classpath/jdwp/.libs/natVMMethod.o
gnu/classpath/jdwp/.libs/natVMVirtualMachine.o
gnu/classpath/.libs/natConfiguration.o
gnu/classpath/.libs/natSystemProperties.o
gnu/classpath/.libs/natVMStackWalker.o gnu/gcj/.libs/natCore.o
gnu/gcj/convert/.libs/JIS0208_to_Unicode.o
gnu/gcj/convert/.libs/JIS0212_to_Unicode.o
gnu/gcj/convert/.libs/Unicode_to_JIS.o gnu/gcj/convert/.libs/natIconv.o
gnu/gcj/convert/.libs/natInput_EUCJIS.o gnu/gcj/convert/.libs/natInput_SJIS.o
gnu/gcj/convert/.libs/natOutput_EUCJIS.o gnu/gcj/convert/.libs/natOutput_SJIS.o
gnu/gcj/io/.libs/natSimpleSHSStream.o gnu/gcj/io/.libs/shs.o
gnu/gcj/jvmti/.libs/natBreakpoint.o gnu/gcj/jvmti/.libs/natNormalBreakpoint.o
gnu/gcj/runtime/.libs/natFinalizerThread.o
gnu/gcj/runtime/.libs/natSharedLibLoader.o
gnu/gcj/runtime/.libs/natSystemClassLoader.o
gnu/gcj/runtime/.libs/natStringBuffer.o gnu/gcj/util/.libs/natDebug.o
gnu/gcj/util/.libs/natGCInfo.o gnu/java/lang/.libs/natMainThread.o
gnu/java/lang/management/.libs/natVMClassLoadingMXBeanImpl.o
gnu/java/lang/management/.libs/natVMCompilationMXBeanImpl.o
gnu/java/lang/management/.libs/natVMGarbageCollectorMXBeanImpl.o
gnu/java/lang/management/.libs/natVMMemoryMXBeanImpl.o
gnu/java/lang/management/.libs/natVMMemoryManagerMXBeanImpl.o
gnu/java/lang/management/.libs/natVMMemoryPoolMXBeanImpl.o
gnu/java/lang/management/.libs/natVMOperatingSystemMXBeanImpl.o
gnu/java/lang/management/.libs/natVMRuntimeMXBeanImpl.o
gnu/java/lang/management/.libs/natVMThreadMXBeanImpl.o
gnu/java/net/.libs/natPlainDatagramSocketImpl.o
gnu/java/net/.libs/natPlainSocketImpl.o
gnu/java/net/protocol/core/.libs/natCoreInputStream.o
gnu/java/nio/.libs/natVMPipe.o gnu/java/nio/.libs/natVMSelector.o
gnu/java/nio/.libs/natNIOServerSocket.o gnu/java/nio/.libs/natVMChannel.o
gnu/java/nio/channels/.libs/natFileChannelImpl.o
gnu/java/security/jce/prng/.libs/natVMSecureRandom.o java/io/.libs/natFile.o
java/io/.libs/natVMObjectInputStream.o java/io/.libs/natVMObjectStreamClass.o
java/lang/.libs/natCharacter.o java/lang/.libs/natClass.o
java/lang/.libs/natClassLoader.o java/lang/.libs/natConcreteProcess.o
java/lang/.libs/natVMDouble.o java/lang/.libs/natVMFloat.o
java/lang/.libs/natMath.o java/lang/.libs/natObject.o
java/lang/.libs/natRuntime.o java/lang/.libs/natString.o
java/lang/.libs/natAbstractStringBuffer.o java/lang/.libs/natSystem.o
java/lang/.libs/natThread.o java/lang/.libs/natThreadLocal.o
java/lang/.libs/natVMClassLoader.o java/lang/.libs/natVMProcess.o
java/lang/.libs/natVMThrowable.o java/lang/ref/.libs/natReference.o
java/lang/reflect/.libs/natArray.o java/lang/reflect/.libs/natConstructor.o
java/lang/reflect/.libs/natField.o java/lang/reflect/.libs/natMethod.o
java/lang/reflect/.libs/natVMProxy.o java/net/.libs/natVMInetAddress.o
java/net/.libs/natVMNetworkInterface.o java/net/.libs/natVMURLConnection.o
java/nio/channels/.libs/natVMChannels.o
java/nio/.libs/natVMDirectByteBufferImpl.o
java/security/.libs/natVMAccessController.o
java/security/.libs/natVMAccessControlState.o java/text/.libs/natCollator.o
java/util/.libs/natVMTimeZone.o
java/util/concurrent/atomic/.libs/natAtomicLong.o
java/util/logging/.libs/natLogger.o java/util/zip/.libs/natDeflater.o
java/util/zip/.libs/natInflater.o sun/misc/.libs/natUnsafe.o .libs/boehm.o
.libs/posix.o .libs/darwin.o .libs/posix-threads.o java/lang/.libs/Object.o
java/lang/.libs/Class.o java/.libs/process-Posix.o gnu/.libs/awt.o
gnu/awt/.libs/j2d.o gnu/.libs/classpath.o gnu/classpath/.libs/debug.o
gnu/classpath/.libs/toolkit.o gnu/.libs/gcj.o gnu/gcj/.libs/convert.o
gnu/gcj/.libs/io.o gnu/gcj/.libs/runtime.o gnu/gcj/.libs/util.o
gnu/java/.libs/awt.o gnu/java/awt/.libs/color.o gnu/java/awt/.libs/dnd.o
gnu/java/awt/.libs/font.o gnu/java/awt/font/.libs/autofit.o
gnu/java/awt/font/.libs/opentype.o gnu/java/awt/font/opentype/.libs/truetype.o
gnu/java/awt/.libs/image.o gnu/java/awt/.libs/java2d.o
gnu/java/awt/.libs/peer.o gnu/java/awt/peer/.libs/headless.o
gnu/java/awt/.libs/print.o gnu/java/.libs/io.o gnu/java/.libs/lang.o
gnu/java/lang/.libs/reflect.o gnu/java/.libs/locale.o gnu/java/.libs/net.o
gnu/java/net/.libs/loader.o gnu/java/net/.libs/local.o
gnu/java/net/protocol/.libs/core.o gnu/java/net/protocol/.libs/file.o
gnu/java/net/protocol/.libs/ftp.o gnu/java/net/protocol/.libs/gcjlib.o
gnu/java/net/protocol/.libs/http.o gnu/java/net/protocol/.libs/https.o
gnu/java/net/protocol/.libs/jar.o gnu/java/.libs/nio.o
gnu/java/nio/.libs/channels.o gnu/java/nio/.libs/charset.o gnu/java/.libs/rmi.o
gnu/java/rmi/.libs/activation.o gnu/java/rmi/.libs/dgc.o
gnu/java/rmi/.libs/registry.o gnu/java/rmi/.libs/server.o
gnu/java/.libs/security.o gnu/java/security/.libs/action.o
gnu/java/security/.libs/ber.o gnu/java/security/.libs/der.o
gnu/java/security/.libs/hash.o gnu/java/security/jce/.libs/hash.o
gnu/java/security/jce/.libs/prng.o gnu/java/security/jce/.libs/sig.o
gnu/java/security/.libs/key.o gnu/java/security/key/.libs/dss.o
gnu/java/security/key/.libs/rsa.o gnu/java/security/.libs/pkcs.o
gnu/java/security/.libs/prng.o gnu/java/security/.libs/provider.o
gnu/java/security/.libs/sig.o gnu/java/security/sig/.libs/dss.o
gnu/java/security/sig/.libs/rsa.o gnu/java/security/.libs/util.o
gnu/java/security/.libs/x509.o gnu/java/security/x509/.libs/ext.o
gnu/java/.libs/text.o gnu/java/.libs/util.o gnu/java/util/.libs/jar.o
gnu/java/util/.libs/prefs.o gnu/java/util/.libs/regex.o
gnu/javax/activation/.libs/viewers.o gnu/javax/.libs/crypto.o
gnu/javax/crypto/.libs/assembly.o gnu/javax/crypto/.libs/cipher.o
gnu/javax/crypto/.libs/jce.o gnu/javax/crypto/jce/.libs/cipher.o
gnu/javax/crypto/jce/.libs/key.o gnu/javax/crypto/jce/.libs/keyring.o
gnu/javax/crypto/jce/.libs/mac.o gnu/javax/crypto/jce/.libs/params.o
gnu/javax/crypto/jce/.libs/prng.o gnu/javax/crypto/jce/.libs/sig.o
gnu/javax/crypto/jce/.libs/spec.o gnu/javax/crypto/.libs/key.o
gnu/javax/crypto/key/.libs/dh.o gnu/javax/crypto/key/.libs/srp6.o
gnu/javax/crypto/.libs/keyring.o gnu/javax/crypto/.libs/kwa.o
gnu/javax/crypto/.libs/mac.o gnu/javax/crypto/.libs/mode.o
gnu/javax/crypto/.libs/pad.o gnu/javax/crypto/.libs/prng.o
gnu/javax/crypto/.libs/sasl.o gnu/javax/crypto/sasl/.libs/anonymous.o
gnu/javax/crypto/sasl/.libs/crammd5.o gnu/javax/crypto/sasl/.libs/plain.o
gnu/javax/crypto/sasl/.libs/srp.o gnu/javax/.libs/imageio.o
gnu/javax/imageio/.libs/bmp.o gnu/javax/imageio/.libs/gif.o
gnu/javax/imageio/.libs/jpeg.o gnu/javax/imageio/.libs/png.o
gnu/javax/naming/.libs/giop.o gnu/javax/naming/ictxImpl/.libs/trans.o
gnu/javax/naming/jndi/url/.libs/corbaname.o
gnu/javax/naming/jndi/url/.libs/rmi.o gnu/javax/net/.libs/ssl.o
gnu/javax/net/ssl/.libs/provider.o gnu/javax/.libs/print.o
gnu/javax/print/.libs/ipp.o gnu/javax/print/ipp/.libs/attribute.o
gnu/javax/print/ipp/attribute/.libs/defaults.o
gnu/javax/print/ipp/attribute/.libs/job.o
gnu/javax/print/ipp/attribute/.libs/printer.o
gnu/javax/print/ipp/attribute/.libs/supported.o gnu/javax/security/.libs/auth.o
gnu/javax/security/auth/.libs/callback.o gnu/javax/security/auth/.libs/login.o
gnu/javax/.libs/sound.o gnu/javax/sound/sampled/.libs/AU.o
gnu/javax/sound/sampled/.libs/WAV.o gnu/javax/swing/plaf/.libs/gnu.o
gnu/javax/swing/plaf/.libs/metal.o gnu/javax/swing/text/.libs/html.o
gnu/javax/swing/text/html/.libs/css.o
gnu/javax/swing/text/html/parser/.libs/GnuParserDelegator.o
gnu/javax/swing/text/html/parser/.libs/HTML_401F.o
gnu/javax/swing/text/html/parser/.libs/SmallHtmlAttributeSet.o
gnu/javax/swing/text/html/parser/.libs/gnuDTD.o
gnu/javax/swing/text/html/parser/.libs/htmlAttributeSet.o
gnu/javax/swing/text/html/parser/.libs/htmlValidator.o
gnu/javax/swing/text/html/parser/.libs/models.o
gnu/javax/swing/text/html/parser/.libs/support.o
gnu/javax/swing/text/html/parser/support/.libs/low.o
gnu/javax/swing/.libs/tree.o java/.libs/applet.o java/.libs/awt.o
java/awt/.libs/color.o java/awt/.libs/datatransfer.o java/awt/.libs/dnd.o
java/awt/dnd/.libs/peer.o java/awt/.libs/event.o java/awt/.libs/font.o
java/awt/.libs/geom.o java/awt/.libs/im.o java/awt/im/.libs/spi.o
java/awt/.libs/image.o java/awt/image/.libs/renderable.o java/awt/.libs/peer.o
java/awt/.libs/print.o java/.libs/beans.o java/beans/.libs/beancontext.o
java/.libs/io.o java/.libs/lang.o java/lang/.libs/annotation.o
java/lang/.libs/instrument.o java/lang/.libs/ref.o java/lang/.libs/reflect.o
java/.libs/math.o java/.libs/net.o java/.libs/nio.o java/nio/.libs/channels.o
java/nio/channels/.libs/spi.o java/nio/.libs/charset.o
java/nio/charset/.libs/spi.o java/.libs/rmi.o java/rmi/.libs/activation.o
java/rmi/.libs/dgc.o java/rmi/.libs/registry.o java/rmi/.libs/server.o
java/.libs/security.o java/security/.libs/acl.o java/security/.libs/cert.o
java/security/.libs/interfaces.o java/security/.libs/spec.o java/.libs/sql.o
java/.libs/text.o java/text/.libs/spi.o java/.libs/util.o
java/util/.libs/concurrent.o java/util/concurrent/.libs/atomic.o
java/util/concurrent/.libs/locks.o java/util/.libs/jar.o
java/util/.libs/logging.o java/util/.libs/prefs.o java/util/.libs/regex.o
java/util/.libs/spi.o java/util/.libs/zip.o javax/.libs/accessibility.o
javax/.libs/activation.o javax/.libs/activity.o javax/.libs/crypto.o
javax/crypto/.libs/interfaces.o javax/crypto/.libs/spec.o
javax/.libs/management.o javax/management/.libs/loading.o
javax/management/.libs/openmbean.o javax/management/.libs/remote.o
javax/management/remote/.libs/rmi.o javax/.libs/naming.o
javax/naming/.libs/directory.o javax/naming/.libs/event.o
javax/naming/.libs/ldap.o javax/naming/.libs/spi.o javax/.libs/net.o
javax/net/.libs/ssl.o javax/.libs/print.o javax/print/.libs/attribute.o
javax/print/attribute/.libs/standard.o javax/print/.libs/event.o
javax/security/.libs/auth.o javax/security/auth/.libs/callback.o
javax/security/auth/.libs/kerberos.o javax/security/auth/.libs/login.o
javax/security/auth/.libs/spi.o javax/security/auth/.libs/x500.o
javax/security/.libs/cert.o javax/security/.libs/sasl.o
javax/sound/.libs/midi.o javax/sound/midi/.libs/spi.o
javax/sound/.libs/sampled.o javax/sound/sampled/.libs/spi.o javax/.libs/sql.o
javax/.libs/swing.o javax/swing/.libs/border.o javax/swing/.libs/colorchooser.o
javax/swing/.libs/event.o javax/swing/.libs/filechooser.o
javax/swing/.libs/plaf.o javax/swing/plaf/.libs/basic.o
javax/swing/plaf/.libs/metal.o javax/swing/plaf/.libs/multi.o
javax/swing/plaf/.libs/synth.o javax/swing/.libs/table.o
javax/swing/.libs/text.o javax/swing/text/.libs/html.o
javax/swing/text/html/.libs/parser.o javax/swing/text/.libs/rtf.o
javax/swing/.libs/tree.o javax/swing/.libs/undo.o javax/.libs/tools.o
javax/.libs/transaction.o javax/transaction/.libs/xa.o org/ietf/.libs/jgss.o
sun/.libs/awt.o sun/.libs/misc.o sun/.libs/reflect.o
sun/reflect/.libs/annotation.o sun/reflect/.libs/misc.o
gnu/classpath/.libs/jdwp.o gnu/classpath/jdwp/.libs/event.o
gnu/classpath/jdwp/event/.libs/filters.o gnu/classpath/jdwp/.libs/exception.o
gnu/classpath/jdwp/.libs/id.o gnu/classpath/jdwp/.libs/processor.o
gnu/classpath/jdwp/.libs/transport.o gnu/classpath/jdwp/.libs/util.o
gnu/classpath/jdwp/.libs/value.o gnu/gcj/.libs/jvmti.o
gnu/java/awt/font/.libs/fonts.properties.o
gnu/java/awt/peer/gtk/.libs/font.properties.o
gnu/java/awt/peer/x/.libs/fonts.properties.o
gnu/java/awt/peer/x/.libs/xfonts.properties.o
gnu/java/locale/.libs/LocaleInformation.properties.o
gnu/java/locale/.libs/LocaleInformation_aa.properties.o
gnu/java/locale/.libs/LocaleInformation_aa_DJ.properties.o
gnu/java/locale/.libs/LocaleInformation_aa_ER.properties.o
gnu/java/locale/.libs/LocaleInformation_aa_ER_SAAHO.properties.o
gnu/java/locale/.libs/LocaleInformation_aa_ET.properties.o
gnu/java/locale/.libs/LocaleInformation_af.properties.o
gnu/java/locale/.libs/LocaleInformation_af_NA.properties.o
gnu/java/locale/.libs/LocaleInformation_af_ZA.properties.o
gnu/java/locale/.libs/LocaleInformation_ak.properties.o
gnu/java/locale/.libs/LocaleInformation_am.properties.o
gnu/java/locale/.libs/LocaleInformation_am_ET.properties.o
gnu/java/locale/.libs/LocaleInformation_ar.properties.o
gnu/java/locale/.libs/LocaleInformation_ar_DZ.properties.o
gnu/java/locale/.libs/LocaleInformation_ar_JO.properties.o
gnu/java/locale/.libs/LocaleInformation_ar_LB.properties.o
gnu/java/locale/.libs/LocaleInformation_ar_MA.properties.o
gnu/java/locale/.libs/LocaleInformation_ar_QA.properties.o
gnu/java/locale/.libs/LocaleInformation_ar_SA.properties.o
gnu/java/locale/.libs/LocaleInformation_ar_SY.properties.o
gnu/java/locale/.libs/LocaleInformation_ar_TN.properties.o
gnu/java/locale/.libs/LocaleInformation_ar_YE.properties.o
gnu/java/locale/.libs/LocaleInformation_as.properties.o
gnu/java/locale/.libs/LocaleInformation_as_IN.properties.o
gnu/java/locale/.libs/LocaleInformation_az.properties.o
gnu/java/locale/.libs/LocaleInformation_az_Cyrl.properties.o
gnu/java/locale/.libs/LocaleInformation_be.properties.o
gnu/java/locale/.libs/LocaleInformation_be_BY.properties.o
gnu/java/locale/.libs/LocaleInformation_bg.properties.o
gnu/java/locale/.libs/LocaleInformation_bg_BG.properties.o
gnu/java/locale/.libs/LocaleInformation_bn.properties.o
gnu/java/locale/.libs/LocaleInformation_bn_IN.properties.o
gnu/java/locale/.libs/LocaleInformation_bo.properties.o
gnu/java/locale/.libs/LocaleInformation_bs.properties.o
gnu/java/locale/.libs/LocaleInformation_byn.properties.o
gnu/java/locale/.libs/LocaleInformation_byn_ER.properties.o
gnu/java/locale/.libs/LocaleInformation_ca.properties.o
gnu/java/locale/.libs/LocaleInformation_ca_ES.properties.o
gnu/java/locale/.libs/LocaleInformation_cch.properties.o
gnu/java/locale/.libs/LocaleInformation_cop.properties.o
gnu/java/locale/.libs/LocaleInformation_cs.properties.o
gnu/java/locale/.libs/LocaleInformation_cs_CZ.properties.o
gnu/java/locale/.libs/LocaleInformation_cy.properties.o
gnu/java/locale/.libs/LocaleInformation_cy_GB.properties.o
gnu/java/locale/.libs/LocaleInformation_da.properties.o
gnu/java/locale/.libs/LocaleInformation_da_DK.properties.o
gnu/java/locale/.libs/LocaleInformation_de.properties.o
gnu/java/locale/.libs/LocaleInformation_de_AT.properties.o
gnu/java/locale/.libs/LocaleInformation_de_BE.properties.o
gnu/java/locale/.libs/LocaleInformation_de_CH.properties.o
gnu/java/locale/.libs/LocaleInformation_de_DE.properties.o
gnu/java/locale/.libs/LocaleInformation_de_LI.properties.o
gnu/java/locale/.libs/LocaleInformation_de_LU.properties.o
gnu/java/locale/.libs/LocaleInformation_dv.properties.o
gnu/java/locale/.libs/LocaleInformation_dv_MV.properties.o
gnu/java/locale/.libs/LocaleInformation_dz.properties.o
gnu/java/locale/.libs/LocaleInformation_dz_BT.properties.o
gnu/java/locale/.libs/LocaleInformation_ee.properties.o
gnu/java/locale/.libs/LocaleInformation_el.properties.o
gnu/java/locale/.libs/LocaleInformation_el_CY.properties.o
gnu/java/locale/.libs/LocaleInformation_el_GR.properties.o
gnu/java/locale/.libs/LocaleInformation_en.properties.o
gnu/java/locale/.libs/LocaleInformation_en_AS.properties.o
gnu/java/locale/.libs/LocaleInformation_en_AU.properties.o
gnu/java/locale/.libs/LocaleInformation_en_BE.properties.o
gnu/java/locale/.libs/LocaleInformation_en_BW.properties.o
gnu/java/locale/.libs/LocaleInformation_en_BZ.properties.o
gnu/java/locale/.libs/LocaleInformation_en_CA.properties.o
gnu/java/locale/.libs/LocaleInformation_en_Dsrt.properties.o
gnu/java/locale/.libs/LocaleInformation_en_GB.properties.o
gnu/java/locale/.libs/LocaleInformation_en_GU.properties.o
gnu/java/locale/.libs/LocaleInformation_en_HK.properties.o
gnu/java/locale/.libs/LocaleInformation_en_IE.properties.o
gnu/java/locale/.libs/LocaleInformation_en_IN.properties.o
gnu/java/locale/.libs/LocaleInformation_en_JM.properties.o
gnu/java/locale/.libs/LocaleInformation_en_MH.properties.o
gnu/java/locale/.libs/LocaleInformation_en_MP.properties.o
gnu/java/locale/.libs/LocaleInformation_en_MT.properties.o
gnu/java/locale/.libs/LocaleInformation_en_NA.properties.o
gnu/java/locale/.libs/LocaleInformation_en_NZ.properties.o
gnu/java/locale/.libs/LocaleInformation_en_PH.properties.o
gnu/java/locale/.libs/LocaleInformation_en_PK.properties.o
gnu/java/locale/.libs/LocaleInformation_en_SG.properties.o
gnu/java/locale/.libs/LocaleInformation_en_Shaw.properties.o
gnu/java/locale/.libs/LocaleInformation_en_TT.properties.o
gnu/java/locale/.libs/LocaleInformation_en_UM.properties.o
gnu/java/locale/.libs/LocaleInformation_en_US.properties.o
gnu/java/locale/.libs/LocaleInformation_en_US_POSIX.properties.o
gnu/java/locale/.libs/LocaleInformation_en_VI.properties.o
gnu/java/locale/.libs/LocaleInformation_en_ZA.properties.o
gnu/java/locale/.libs/LocaleInformation_en_ZW.properties.o
gnu/java/locale/.libs/LocaleInformation_eo.properties.o
gnu/java/locale/.libs/LocaleInformation_es.properties.o
gnu/java/locale/.libs/LocaleInformation_es_AR.properties.o
gnu/java/locale/.libs/LocaleInformation_es_BO.properties.o
gnu/java/locale/.libs/LocaleInformation_es_CL.properties.o
gnu/java/locale/.libs/LocaleInformation_es_CO.properties.o
gnu/java/locale/.libs/LocaleInformation_es_CR.properties.o
gnu/java/locale/.libs/LocaleInformation_es_DO.properties.o
gnu/java/locale/.libs/LocaleInformation_es_EC.properties.o
gnu/java/locale/.libs/LocaleInformation_es_ES.properties.o
gnu/java/locale/.libs/LocaleInformation_es_GT.properties.o
gnu/java/locale/.libs/LocaleInformation_es_HN.properties.o
gnu/java/locale/.libs/LocaleInformation_es_MX.properties.o
gnu/java/locale/.libs/LocaleInformation_es_NI.properties.o
gnu/java/locale/.libs/LocaleInformation_es_PA.properties.o
gnu/java/locale/.libs/LocaleInformation_es_PE.properties.o
gnu/java/locale/.libs/LocaleInformation_es_PR.properties.o
gnu/java/locale/.libs/LocaleInformation_es_PY.properties.o
gnu/java/locale/.libs/LocaleInformation_es_SV.properties.o
gnu/java/locale/.libs/LocaleInformation_es_US.properties.o
gnu/java/locale/.libs/LocaleInformation_es_UY.properties.o
gnu/java/locale/.libs/LocaleInformation_es_VE.properties.o
gnu/java/locale/.libs/LocaleInformation_et.properties.o
gnu/java/locale/.libs/LocaleInformation_et_EE.properties.o
gnu/java/locale/.libs/LocaleInformation_eu.properties.o
gnu/java/locale/.libs/LocaleInformation_eu_ES.properties.o
gnu/java/locale/.libs/LocaleInformation_fa.properties.o
gnu/java/locale/.libs/LocaleInformation_fa_AF.properties.o
gnu/java/locale/.libs/LocaleInformation_fa_IR.properties.o
gnu/java/locale/.libs/LocaleInformation_fi.properties.o
gnu/java/locale/.libs/LocaleInformation_fi_FI.properties.o
gnu/java/locale/.libs/LocaleInformation_fil.properties.o
gnu/java/locale/.libs/LocaleInformation_fo.properties.o
gnu/java/locale/.libs/LocaleInformation_fo_FO.properties.o
gnu/java/locale/.libs/LocaleInformation_fr.properties.o
gnu/java/locale/.libs/LocaleInformation_fr_BE.properties.o
gnu/java/locale/.libs/LocaleInformation_fr_CA.properties.o
gnu/java/locale/.libs/LocaleInformation_fr_CH.properties.o
gnu/java/locale/.libs/LocaleInformation_fr_LU.properties.o
gnu/java/locale/.libs/LocaleInformation_fur.properties.o
gnu/java/locale/.libs/LocaleInformation_ga.properties.o
gnu/java/locale/.libs/LocaleInformation_ga_IE.properties.o
gnu/java/locale/.libs/LocaleInformation_gaa.properties.o
gnu/java/locale/.libs/LocaleInformation_gez.properties.o
gnu/java/locale/.libs/LocaleInformation_gez_ER.properties.o
gnu/java/locale/.libs/LocaleInformation_gez_ET.properties.o
gnu/java/locale/.libs/LocaleInformation_gl.properties.o
gnu/java/locale/.libs/LocaleInformation_gl_ES.properties.o
gnu/java/locale/.libs/LocaleInformation_gu.properties.o
gnu/java/locale/.libs/LocaleInformation_gu_IN.properties.o
gnu/java/locale/.libs/LocaleInformation_gv.properties.o
gnu/java/locale/.libs/LocaleInformation_gv_GB.properties.o
gnu/java/locale/.libs/LocaleInformation_ha.properties.o
gnu/java/locale/.libs/LocaleInformation_ha_Arab.properties.o
gnu/java/locale/.libs/LocaleInformation_haw.properties.o
gnu/java/locale/.libs/LocaleInformation_haw_US.properties.o
gnu/java/locale/.libs/LocaleInformation_he.properties.o
gnu/java/locale/.libs/LocaleInformation_he_IL.properties.o
gnu/java/locale/.libs/LocaleInformation_hi.properties.o
gnu/java/locale/.libs/LocaleInformation_hi_IN.properties.o
gnu/java/locale/.libs/LocaleInformation_hr.properties.o
gnu/java/locale/.libs/LocaleInformation_hu.properties.o
gnu/java/locale/.libs/LocaleInformation_hu_HU.properties.o
gnu/java/locale/.libs/LocaleInformation_hy.properties.o
gnu/java/locale/.libs/LocaleInformation_hy_AM.properties.o
gnu/java/locale/.libs/LocaleInformation_hy_AM_REVISED.properties.o
gnu/java/locale/.libs/LocaleInformation_ia.properties.o
gnu/java/locale/.libs/LocaleInformation_id.properties.o
gnu/java/locale/.libs/LocaleInformation_id_ID.properties.o
gnu/java/locale/.libs/LocaleInformation_ig.properties.o
gnu/java/locale/.libs/LocaleInformation_ii.properties.o
gnu/java/locale/.libs/LocaleInformation_is.properties.o
gnu/java/locale/.libs/LocaleInformation_is_IS.properties.o
gnu/java/locale/.libs/LocaleInformation_it.properties.o
gnu/java/locale/.libs/LocaleInformation_it_CH.properties.o
gnu/java/locale/.libs/LocaleInformation_it_IT.properties.o
gnu/java/locale/.libs/LocaleInformation_iu.properties.o
gnu/java/locale/.libs/LocaleInformation_ja.properties.o
gnu/java/locale/.libs/LocaleInformation_ja_JP.properties.o
gnu/java/locale/.libs/LocaleInformation_ka.properties.o
gnu/java/locale/.libs/LocaleInformation_kaj.properties.o
gnu/java/locale/.libs/LocaleInformation_kam.properties.o
gnu/java/locale/.libs/LocaleInformation_kcg.properties.o
gnu/java/locale/.libs/LocaleInformation_kfo.properties.o
gnu/java/locale/.libs/LocaleInformation_kk.properties.o
gnu/java/locale/.libs/LocaleInformation_kk_KZ.properties.o
gnu/java/locale/.libs/LocaleInformation_kl.properties.o
gnu/java/locale/.libs/LocaleInformation_kl_GL.properties.o
gnu/java/locale/.libs/LocaleInformation_km.properties.o
gnu/java/locale/.libs/LocaleInformation_km_KH.properties.o
gnu/java/locale/.libs/LocaleInformation_kn.properties.o
gnu/java/locale/.libs/LocaleInformation_kn_IN.properties.o
gnu/java/locale/.libs/LocaleInformation_ko.properties.o
gnu/java/locale/.libs/LocaleInformation_ko_KR.properties.o
gnu/java/locale/.libs/LocaleInformation_kok.properties.o
gnu/java/locale/.libs/LocaleInformation_kok_IN.properties.o
gnu/java/locale/.libs/LocaleInformation_kpe.properties.o
gnu/java/locale/.libs/LocaleInformation_ku.properties.o
gnu/java/locale/.libs/LocaleInformation_ku_Arab.properties.o
gnu/java/locale/.libs/LocaleInformation_ku_Latn.properties.o
gnu/java/locale/.libs/LocaleInformation_kw.properties.o
gnu/java/locale/.libs/LocaleInformation_kw_GB.properties.o
gnu/java/locale/.libs/LocaleInformation_ky.properties.o
gnu/java/locale/.libs/LocaleInformation_ln.properties.o
gnu/java/locale/.libs/LocaleInformation_lo.properties.o
gnu/java/locale/.libs/LocaleInformation_lo_LA.properties.o
gnu/java/locale/.libs/LocaleInformation_lt.properties.o
gnu/java/locale/.libs/LocaleInformation_lt_LT.properties.o
gnu/java/locale/.libs/LocaleInformation_lv.properties.o
gnu/java/locale/.libs/LocaleInformation_lv_LV.properties.o
gnu/java/locale/.libs/LocaleInformation_mk.properties.o
gnu/java/locale/.libs/LocaleInformation_ml.properties.o
gnu/java/locale/.libs/LocaleInformation_ml_IN.properties.o
gnu/java/locale/.libs/LocaleInformation_mn.properties.o
gnu/java/locale/.libs/LocaleInformation_mr.properties.o
gnu/java/locale/.libs/LocaleInformation_mr_IN.properties.o
gnu/java/locale/.libs/LocaleInformation_ms.properties.o
gnu/java/locale/.libs/LocaleInformation_ms_BN.properties.o
gnu/java/locale/.libs/LocaleInformation_ms_MY.properties.o
gnu/java/locale/.libs/LocaleInformation_mt.properties.o
gnu/java/locale/.libs/LocaleInformation_mt_MT.properties.o
gnu/java/locale/.libs/LocaleInformation_my.properties.o
gnu/java/locale/.libs/LocaleInformation_nb.properties.o
gnu/java/locale/.libs/LocaleInformation_nb_NO.properties.o
gnu/java/locale/.libs/LocaleInformation_ne.properties.o
gnu/java/locale/.libs/LocaleInformation_nl.properties.o
gnu/java/locale/.libs/LocaleInformation_nl_BE.properties.o
gnu/java/locale/.libs/LocaleInformation_nl_NL.properties.o
gnu/java/locale/.libs/LocaleInformation_nn.properties.o
gnu/java/locale/.libs/LocaleInformation_nn_NO.properties.o
gnu/java/locale/.libs/LocaleInformation_nr.properties.o
gnu/java/locale/.libs/LocaleInformation_nso.properties.o
gnu/java/locale/.libs/LocaleInformation_ny.properties.o
gnu/java/locale/.libs/LocaleInformation_om.properties.o
gnu/java/locale/.libs/LocaleInformation_om_ET.properties.o
gnu/java/locale/.libs/LocaleInformation_om_KE.properties.o
gnu/java/locale/.libs/LocaleInformation_or.properties.o
gnu/java/locale/.libs/LocaleInformation_or_IN.properties.o
gnu/java/locale/.libs/LocaleInformation_pa.properties.o
gnu/java/locale/.libs/LocaleInformation_pa_Arab.properties.o
gnu/java/locale/.libs/LocaleInformation_pa_IN.properties.o
gnu/java/locale/.libs/LocaleInformation_pl.properties.o
gnu/java/locale/.libs/LocaleInformation_pl_PL.properties.o
gnu/java/locale/.libs/LocaleInformation_ps.properties.o
gnu/java/locale/.libs/LocaleInformation_ps_AF.properties.o
gnu/java/locale/.libs/LocaleInformation_pt.properties.o
gnu/java/locale/.libs/LocaleInformation_pt_BR.properties.o
gnu/java/locale/.libs/LocaleInformation_pt_PT.properties.o
gnu/java/locale/.libs/LocaleInformation_ro.properties.o
gnu/java/locale/.libs/LocaleInformation_ro_RO.properties.o
gnu/java/locale/.libs/LocaleInformation_ru.properties.o
gnu/java/locale/.libs/LocaleInformation_ru_RU.properties.o
gnu/java/locale/.libs/LocaleInformation_ru_UA.properties.o
gnu/java/locale/.libs/LocaleInformation_rw.properties.o
gnu/java/locale/.libs/LocaleInformation_sa.properties.o
gnu/java/locale/.libs/LocaleInformation_sa_IN.properties.o
gnu/java/locale/.libs/LocaleInformation_se.properties.o
gnu/java/locale/.libs/LocaleInformation_se_FI.properties.o
gnu/java/locale/.libs/LocaleInformation_si.properties.o
gnu/java/locale/.libs/LocaleInformation_sid.properties.o
gnu/java/locale/.libs/LocaleInformation_sid_ET.properties.o
gnu/java/locale/.libs/LocaleInformation_sk.properties.o
gnu/java/locale/.libs/LocaleInformation_sk_SK.properties.o
gnu/java/locale/.libs/LocaleInformation_sl.properties.o
gnu/java/locale/.libs/LocaleInformation_sl_SI.properties.o
gnu/java/locale/.libs/LocaleInformation_so.properties.o
gnu/java/locale/.libs/LocaleInformation_so_DJ.properties.o
gnu/java/locale/.libs/LocaleInformation_so_ET.properties.o
gnu/java/locale/.libs/LocaleInformation_so_KE.properties.o
gnu/java/locale/.libs/LocaleInformation_so_SO.properties.o
gnu/java/locale/.libs/LocaleInformation_sq.properties.o
gnu/java/locale/.libs/LocaleInformation_sq_AL.properties.o
gnu/java/locale/.libs/LocaleInformation_sr.properties.o
gnu/java/locale/.libs/LocaleInformation_sr_BA_Cyrl.properties.o
gnu/java/locale/.libs/LocaleInformation_sr_BA_Latn.properties.o
gnu/java/locale/.libs/LocaleInformation_sr_Cyrl.properties.o
gnu/java/locale/.libs/LocaleInformation_sr_Latn.properties.o
gnu/java/locale/.libs/LocaleInformation_sr_ME_Latn.properties.o
gnu/java/locale/.libs/LocaleInformation_sr_RS_Latn.properties.o
gnu/java/locale/.libs/LocaleInformation_ss.properties.o
gnu/java/locale/.libs/LocaleInformation_ssy.properties.o
gnu/java/locale/.libs/LocaleInformation_st.properties.o
gnu/java/locale/.libs/LocaleInformation_sv.properties.o
gnu/java/locale/.libs/LocaleInformation_sv_FI.properties.o
gnu/java/locale/.libs/LocaleInformation_sv_SE.properties.o
gnu/java/locale/.libs/LocaleInformation_sw.properties.o
gnu/java/locale/.libs/LocaleInformation_sw_KE.properties.o
gnu/java/locale/.libs/LocaleInformation_sw_TZ.properties.o
gnu/java/locale/.libs/LocaleInformation_syr.properties.o
gnu/java/locale/.libs/LocaleInformation_syr_SY.properties.o
gnu/java/locale/.libs/LocaleInformation_ta.properties.o
gnu/java/locale/.libs/LocaleInformation_ta_IN.properties.o
gnu/java/locale/.libs/LocaleInformation_te.properties.o
gnu/java/locale/.libs/LocaleInformation_te_IN.properties.o
gnu/java/locale/.libs/LocaleInformation_tg.properties.o
gnu/java/locale/.libs/LocaleInformation_th.properties.o
gnu/java/locale/.libs/LocaleInformation_th_TH.properties.o
gnu/java/locale/.libs/LocaleInformation_ti.properties.o
gnu/java/locale/.libs/LocaleInformation_ti_ER.properties.o
gnu/java/locale/.libs/LocaleInformation_ti_ET.properties.o
gnu/java/locale/.libs/LocaleInformation_tig.properties.o
gnu/java/locale/.libs/LocaleInformation_tig_ER.properties.o
gnu/java/locale/.libs/LocaleInformation_tn.properties.o
gnu/java/locale/.libs/LocaleInformation_to.properties.o
gnu/java/locale/.libs/LocaleInformation_tr.properties.o
gnu/java/locale/.libs/LocaleInformation_tr_TR.properties.o
gnu/java/locale/.libs/LocaleInformation_trv.properties.o
gnu/java/locale/.libs/LocaleInformation_ts.properties.o
gnu/java/locale/.libs/LocaleInformation_tt.properties.o
gnu/java/locale/.libs/LocaleInformation_tt_RU.properties.o
gnu/java/locale/.libs/LocaleInformation_ug.properties.o
gnu/java/locale/.libs/LocaleInformation_uk.properties.o
gnu/java/locale/.libs/LocaleInformation_uk_UA.properties.o
gnu/java/locale/.libs/LocaleInformation_ur.properties.o
gnu/java/locale/.libs/LocaleInformation_ur_IN.properties.o
gnu/java/locale/.libs/LocaleInformation_uz.properties.o
gnu/java/locale/.libs/LocaleInformation_uz_AF_Arab.properties.o
gnu/java/locale/.libs/LocaleInformation_uz_Arab.properties.o
gnu/java/locale/.libs/LocaleInformation_uz_Latn.properties.o
gnu/java/locale/.libs/LocaleInformation_ve.properties.o
gnu/java/locale/.libs/LocaleInformation_vi.properties.o
gnu/java/locale/.libs/LocaleInformation_wal.properties.o
gnu/java/locale/.libs/LocaleInformation_wal_ET.properties.o
gnu/java/locale/.libs/LocaleInformation_wo.properties.o
gnu/java/locale/.libs/LocaleInformation_xh.properties.o
gnu/java/locale/.libs/LocaleInformation_yo.properties.o
gnu/java/locale/.libs/LocaleInformation_zh.properties.o
gnu/java/locale/.libs/LocaleInformation_zh_CN_Hans.properties.o
gnu/java/locale/.libs/LocaleInformation_zh_HK_Hant.properties.o
gnu/java/locale/.libs/LocaleInformation_zh_Hant.properties.o
gnu/java/locale/.libs/LocaleInformation_zh_MO_Hant.properties.o
gnu/java/locale/.libs/LocaleInformation_zh_SG_Hans.properties.o
gnu/java/locale/.libs/LocaleInformation_zh_TW_Hant.properties.o
gnu/java/locale/.libs/LocaleInformation_zu.properties.o
gnu/java/util/regex/.libs/MessagesBundle.properties.o
gnu/java/util/regex/.libs/MessagesBundle_fr.properties.o
gnu/java/util/regex/.libs/MessagesBundle_it.properties.o
gnu/javax/print/.libs/PrinterDialog.properties.o
gnu/javax/print/.libs/PrinterDialog_de.properties.o
gnu/javax/security/auth/callback/.libs/MessagesBundle.properties.o
java/text/.libs/metazones.properties.o java/util/.libs/iso4217.properties.o
java/util/.libs/weeks.properties.o
javax/imageio/plugins/jpeg/.libs/MessagesBundle.properties.o
javax/swing/text/html/.libs/default.css.o
org/ietf/jgss/.libs/MessagesBundle.properties.o
META-INF/services/.libs/java.util.prefs.PreferencesFactory.o
META-INF/services/.libs/java.util.prefs.PreferencesFactory.in.o
META-INF/services/.libs/javax.sound.midi.spi.MidiDeviceProvider.o
META-INF/services/.libs/javax.sound.midi.spi.MidiFileReader.o
META-INF/services/.libs/javax.sound.midi.spi.MidiFileWriter.o
META-INF/services/.libs/javax.sound.sampled.spi.AudioFileReader.o
.libs/gnu-CORBA.o .libs/gnu-java-awt-dnd-peer-gtk.o
.libs/gnu-java-awt-peer-gtk.o .libs/gnu-java-awt-peer-swing.o
.libs/gnu-java-beans.o .libs/gnu-java-lang-management.o .libs/gnu-java-math.o
.libs/gnu-java-util-prefs-gconf.o .libs/gnu-javax-management.o
.libs/gnu-javax-rmi.o .libs/gnu-javax-sound-midi.o .libs/gnu-xml-aelfred2.o
.libs/gnu-xml-dom.o .libs/gnu-xml-libxmlj.o .libs/gnu-xml-pipeline.o
.libs/gnu-xml-stream.o .libs/gnu-xml-transform.o .libs/gnu-xml-util.o
.libs/gnu-xml-validation.o .libs/gnu-xml-xpath.o .libs/java-lang-management.o
.libs/javax-imageio.o .libs/javax-rmi.o .libs/javax-xml.o .libs/org-omg-CORBA.o
.libs/org-omg-CORBA_2_3.o .libs/org-omg-CosNaming.o .libs/org-omg-Dynamic.o
.libs/org-omg-DynamicAny.o .libs/org-omg-IOP.o .libs/org-omg-Messaging.o
.libs/org-omg-PortableInterceptor.o .libs/org-omg-PortableServer.o
.libs/org-omg-SendingContext.o .libs/org-omg-stub.o .libs/org-relaxng.o
.libs/org-w3c.o .libs/org-xml.o   .libs/libgcj.lax/libltdlc.a/ltdl.o 
.libs/libgcj.lax/libfdlibm.a/dtoa.o .libs/libgcj.lax/libfdlibm.a/e_acos.o
.libs/libgcj.lax/libfdlibm.a/e_asin.o .libs/libgcj.lax/libfdlibm.a/e_atan2.o
.libs/libgcj.lax/libfdlibm.a/e_cosh.o .libs/libgcj.lax/libfdlibm.a/e_exp.o
.libs/libgcj.lax/libfdlibm.a/e_fmod.o .libs/libgcj.lax/libfdlibm.a/e_hypot.o
.libs/libgcj.lax/libfdlibm.a/e_log.o .libs/libgcj.lax/libfdlibm.a/e_log10.o
.libs/libgcj.lax/libfdlibm.a/e_pow.o .libs/libgcj.lax/libfdlibm.a/e_rem_pio2.o
.libs/libgcj.lax/libfdlibm.a/e_remainder.o
.libs/libgcj.lax/libfdlibm.a/e_scalb.o .libs/libgcj.lax/libfdlibm.a/e_sinh.o
.libs/libgcj.lax/libfdlibm.a/e_sqrt.o .libs/libgcj.lax/libfdlibm.a/k_cos.o
.libs/libgcj.lax/libfdlibm.a/k_rem_pio2.o .libs/libgcj.lax/libfdlibm.a/k_sin.o
.libs/libgcj.lax/libfdlibm.a/k_tan.o .libs/libgcj.lax/libfdlibm.a/mprec.o
.libs/libgcj.lax/libfdlibm.a/s_atan.o .libs/libgcj.lax/libfdlibm.a/s_cbrt.o
.libs/libgcj.lax/libfdlibm.a/s_ceil.o .libs/libgcj.lax/libfdlibm.a/s_copysign.o
.libs/libgcj.lax/libfdlibm.a/s_cos.o .libs/libgcj.lax/libfdlibm.a/s_expm1.o
.libs/libgcj.lax/libfdlibm.a/s_fabs.o .libs/libgcj.lax/libfdlibm.a/s_finite.o
.libs/libgcj.lax/libfdlibm.a/s_floor.o .libs/libgcj.lax/libfdlibm.a/s_log1p.o
.libs/libgcj.lax/libfdlibm.a/s_rint.o .libs/libgcj.lax/libfdlibm.a/s_scalbn.o
.libs/libgcj.lax/libfdlibm.a/s_sin.o .libs/libgcj.lax/libfdlibm.a/s_tan.o
.libs/libgcj.lax/libfdlibm.a/s_tanh.o .libs/libgcj.lax/libfdlibm.a/sf_fabs.o
.libs/libgcj.lax/libfdlibm.a/sf_rint.o .libs/libgcj.lax/libfdlibm.a/strtod.o
.libs/libgcj.lax/libfdlibm.a/w_acos.o .libs/libgcj.lax/libfdlibm.a/w_asin.o
.libs/libgcj.lax/libfdlibm.a/w_atan2.o .libs/libgcj.lax/libfdlibm.a/w_cosh.o
.libs/libgcj.lax/libfdlibm.a/w_exp.o .libs/libgcj.lax/libfdlibm.a/w_fmod.o
.libs/libgcj.lax/libfdlibm.a/w_hypot.o .libs/libgcj.lax/libfdlibm.a/w_log.o
.libs/libgcj.lax/libfdlibm.a/w_log10.o .libs/libgcj.lax/libfdlibm.a/w_pow.o
.libs/libgcj.lax/libfdlibm.a/w_remainder.o
.libs/libgcj.lax/libfdlibm.a/w_sinh.o .libs/libgcj.lax/libfdlibm.a/w_sqrt.o 
.libs/libgcj.lax/libffi_convenience.a/closures.o
.libs/libgcj.lax/libffi_convenience.a/darwin.o
.libs/libgcj.lax/libffi_convenience.a/darwin64.o
.libs/libgcj.lax/libffi_convenience.a/debug.o
.libs/libgcj.lax/libffi_convenience.a/ffi.o
.libs/libgcj.lax/libffi_convenience.a/ffi64.o
.libs/libgcj.lax/libffi_convenience.a/java_raw_api.o
.libs/libgcj.lax/libffi_convenience.a/prep_cif.o
.libs/libgcj.lax/libffi_convenience.a/raw_api.o
.libs/libgcj.lax/libffi_convenience.a/types.o 
.libs/libgcj.lax/libgcjgc_convenience.a/allchblk.o
.libs/libgcj.lax/libgcjgc_convenience.a/alloc.o
.libs/libgcj.lax/libgcjgc_convenience.a/backgraph.o
.libs/libgcj.lax/libgcjgc_convenience.a/blacklst.o
.libs/libgcj.lax/libgcjgc_convenience.a/checksums.o
.libs/libgcj.lax/libgcjgc_convenience.a/darwin_stop_world.o
.libs/libgcj.lax/libgcjgc_convenience.a/dbg_mlc.o
.libs/libgcj.lax/libgcjgc_convenience.a/dyn_load.o
.libs/libgcj.lax/libgcjgc_convenience.a/finalize.o
.libs/libgcj.lax/libgcjgc_convenience.a/gc_dlopen.o
.libs/libgcj.lax/libgcjgc_convenience.a/gcj_mlc.o
.libs/libgcj.lax/libgcjgc_convenience.a/headers.o
.libs/libgcj.lax/libgcjgc_convenience.a/mach_dep.o
.libs/libgcj.lax/libgcjgc_convenience.a/malloc.o
.libs/libgcj.lax/libgcjgc_convenience.a/mallocx.o
.libs/libgcj.lax/libgcjgc_convenience.a/mark.o
.libs/libgcj.lax/libgcjgc_convenience.a/mark_rts.o
.libs/libgcj.lax/libgcjgc_convenience.a/misc.o
.libs/libgcj.lax/libgcjgc_convenience.a/new_hblk.o
.libs/libgcj.lax/libgcjgc_convenience.a/obj_map.o
.libs/libgcj.lax/libgcjgc_convenience.a/os_dep.o
.libs/libgcj.lax/libgcjgc_convenience.a/pcr_interface.o
.libs/libgcj.lax/libgcjgc_convenience.a/pthread_stop_world.o
.libs/libgcj.lax/libgcjgc_convenience.a/pthread_support.o
.libs/libgcj.lax/libgcjgc_convenience.a/ptr_chck.o
.libs/libgcj.lax/libgcjgc_convenience.a/real_malloc.o
.libs/libgcj.lax/libgcjgc_convenience.a/reclaim.o
.libs/libgcj.lax/libgcjgc_convenience.a/specific.o
.libs/libgcj.lax/libgcjgc_convenience.a/stubborn.o
.libs/libgcj.lax/libgcjgc_convenience.a/typd_mlc.o
.libs/libgcj.lax/libgcjgc_convenience.a/win32_threads.o  
-L/sw/src/fink.build/gcc45-4.4.999-20091116/darwin_objdir/x86_64-apple-darwin10.2.0/libstdc++-v3/src
-L/sw/src/fink.build/gcc45-4.4.999-20091116/darwin_objdir/x86_64-apple-darwin10.2.0/libstdc++-v3/src/.libs
-L/sw/src/fink.build/gcc45-4.4.999-20091116/darwin_objdir/x86_64-apple-darwin10.2.0/libjava
-lpthread -ldl -lz    -install_name  /sw/lib/gcc4.5/lib/libgcj.11.dylib
-compatibility_version 12 -current_version 12.0 -Wl,-single_module
libtool: link: dsymutil .libs/libgcj.11.dylib || :
Assertion failed: (orig_str), function FixReferences, file
/SourceCache/dwarf_utilities/dwarf_utilities-70/source/DWARFdSYM.cpp, line
3641.
./libtool: line 7996:  1014 Abort trap              dsymutil
.libs/libgcj.11.dylib


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (14 preceding siblings ...)
  2009-11-18  1:39 ` howarth at nitro dot med dot uc dot edu
@ 2009-11-18 14:02 ` howarth at nitro dot med dot uc dot edu
  2009-11-19 21:15 ` andreast at gcc dot gnu dot org
                   ` (37 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-18 14:02 UTC (permalink / raw)
  To: java-prs



------- Comment #16 from howarth at nitro dot med dot uc dot edu  2009-11-18 14:02 -------
The dSYM issues looks like part of PR41473. I'll revert to debugging in gcc
4.4.2 for now which shouldn't have the issue.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (15 preceding siblings ...)
  2009-11-18 14:02 ` howarth at nitro dot med dot uc dot edu
@ 2009-11-19 21:15 ` andreast at gcc dot gnu dot org
  2009-11-27 21:28 ` howarth at nitro dot med dot uc dot edu
                   ` (36 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: andreast at gcc dot gnu dot org @ 2009-11-19 21:15 UTC (permalink / raw)
  To: java-prs



------- Comment #17 from andreast at gcc dot gnu dot org  2009-11-19 21:15 -------
Unfortunately I'm now in the same boat with you:

[deuterium:gcc/head/objdir-x86_64] andreast% ./gcc/xgcc -v
Using built-in specs.
COLLECT_GCC=./gcc/xgcc
Target: x86_64-apple-darwin9
Configured with: /Volumes/development/gcc/head/gcc/configure
--prefix=/Volumes/development/gcc/head/testbin-x86_64
--build=x86_64-apple-darwin9 --target=x86_64-apple-darwin9
--with-gmp=/usr/local/x86_64 --with-mpfr=/usr/local/x86_64 --disable-static
--enable-languages=c,c++,java --disable-multilib
Thread model: posix
gcc version 4.5.0 20091119 (experimental) [trunk revision 154326] (GCC)

And now I always get the abort too:
[deuterium:~] andreast% gcj -C hello.java
gcj: Internal error: Abort trap (program ecj1)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

CrashReporter:
Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0

Thread 0 Crashed:
0   libSystem.B.dylib                   0x00007fff80fc1f16 __kill + 10
1   libgcj.11.dylib                     0x00000001000136bb _Jv_Throw + 75
(exception.cc:128)
2   libgcj.11.dylib                     0x0000000100052582 java::lang::Class*
java::lang::Class::forName(java::lang::String*, bool, java::lang::ClassLoader*)
+ 226 (natClass.cc:108)
3   ???                                 0x6176616a2e756e67 0 +
7022907777604742759


Big sigh!


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (16 preceding siblings ...)
  2009-11-19 21:15 ` andreast at gcc dot gnu dot org
@ 2009-11-27 21:28 ` howarth at nitro dot med dot uc dot edu
  2009-11-27 21:38 ` howarth at nitro dot med dot uc dot edu
                   ` (35 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-27 21:28 UTC (permalink / raw)
  To: java-prs



------- Comment #18 from howarth at nitro dot med dot uc dot edu  2009-11-27 21:28 -------
Created an attachment (id=19164)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19164&action=view)
complete walk from _Jv_Throw as bz2 archive

Used proposed patch from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41473#c85
to construct usable dSYMs and rebuilt missing *.o files from convenience
libraries that libtool destroys. This walk should be very complete from the
first _Jv_Throw breakpoint on x86_64-apple-darwin10.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (17 preceding siblings ...)
  2009-11-27 21:28 ` howarth at nitro dot med dot uc dot edu
@ 2009-11-27 21:38 ` howarth at nitro dot med dot uc dot edu
  2009-11-28 20:14 ` andreast at gcc dot gnu dot org
                   ` (34 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-27 21:38 UTC (permalink / raw)
  To: java-prs



------- Comment #19 from howarth at nitro dot med dot uc dot edu  2009-11-27 21:38 -------
In case it helps, a break point on _Unwind_RaiseException () is hit 39 times.
When you continue from the 39th instance of that break point having hit, when
compiling the testme.java test code, you get...

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x0000000104c003e0
0x0000000104c003e0 in ?? ()


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (18 preceding siblings ...)
  2009-11-27 21:38 ` howarth at nitro dot med dot uc dot edu
@ 2009-11-28 20:14 ` andreast at gcc dot gnu dot org
  2009-11-28 20:25 ` howarth at nitro dot med dot uc dot edu
                   ` (33 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: andreast at gcc dot gnu dot org @ 2009-11-28 20:14 UTC (permalink / raw)
  To: java-prs



------- Comment #20 from andreast at gcc dot gnu dot org  2009-11-28 20:14 -------
Jack, can you point DYLD_LIBRARY_PATH to your installed libgcc_s.dylib and try
to run a gcj -C testme.java?

I did so with todays trunk and the patch from lxo (Alex), the one you sent me
as well as mine from comment #3

[deuterium:~] andreast% setenv DYLD_LIBRARY_PATH
/Volumes/development/gcc/head/testbin-x86_64/lib
[deuterium:~] andreast% gcj -C hello.java                                       
[deuterium:~] andreast% gij hello
Hello World
Hello Andreas


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (19 preceding siblings ...)
  2009-11-28 20:14 ` andreast at gcc dot gnu dot org
@ 2009-11-28 20:25 ` howarth at nitro dot med dot uc dot edu
  2009-11-28 20:27 ` andreast at gcc dot gnu dot org
                   ` (32 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-28 20:25 UTC (permalink / raw)
  To: java-prs



------- Comment #21 from howarth at nitro dot med dot uc dot edu  2009-11-28 20:25 -------
Andreas,
    Actually we have another issue at the moment. See [Bug target/42208]. It
appears that at some point in late Sept or earlier Oct, darwin starting linking
both the system and the gcc built libgcc into its shared library. I am trying
to puzzle out when it started to occur.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (20 preceding siblings ...)
  2009-11-28 20:25 ` howarth at nitro dot med dot uc dot edu
@ 2009-11-28 20:27 ` andreast at gcc dot gnu dot org
  2009-11-28 20:32 ` howarth at nitro dot med dot uc dot edu
                   ` (31 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: andreast at gcc dot gnu dot org @ 2009-11-28 20:27 UTC (permalink / raw)
  To: java-prs



------- Comment #22 from andreast at gcc dot gnu dot org  2009-11-28 20:27 -------
I follow this one too, that is why I ask!


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (21 preceding siblings ...)
  2009-11-28 20:27 ` andreast at gcc dot gnu dot org
@ 2009-11-28 20:32 ` howarth at nitro dot med dot uc dot edu
  2009-11-28 23:01 ` howarth at nitro dot med dot uc dot edu
                   ` (30 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-28 20:32 UTC (permalink / raw)
  To: java-prs



------- Comment #23 from howarth at nitro dot med dot uc dot edu  2009-11-28 20:32 -------
No luck here with setting...

setenv DYLD_LIBRARY_PATH /sw/lib/gcc4.5/lib

I suspect this can randomly pass in some cases
as you have seen before.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (22 preceding siblings ...)
  2009-11-28 20:32 ` howarth at nitro dot med dot uc dot edu
@ 2009-11-28 23:01 ` howarth at nitro dot med dot uc dot edu
  2009-11-29  7:41 ` howarth at nitro dot med dot uc dot edu
                   ` (29 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-28 23:01 UTC (permalink / raw)
  To: java-prs



------- Comment #24 from howarth at nitro dot med dot uc dot edu  2009-11-28 23:01 -------
I figured out for darwin9 that the dual linkage to the system libgcc and the
FSF libgcc from...

http://gcc.gnu.org/viewcvs?view=revision&revision=154283
http://gcc.gnu.org/viewcvs?view=revision&revision=154282

was causing the system libgcc to be used (which lacks debug code). I will have
a complete walk soon.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (23 preceding siblings ...)
  2009-11-28 23:01 ` howarth at nitro dot med dot uc dot edu
@ 2009-11-29  7:41 ` howarth at nitro dot med dot uc dot edu
  2009-11-29  7:48 ` howarth at nitro dot med dot uc dot edu
                   ` (28 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-29  7:41 UTC (permalink / raw)
  To: java-prs



------- Comment #25 from howarth at nitro dot med dot uc dot edu  2009-11-29 07:41 -------
Created an attachment (id=19174)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19174&action=view)
gdb walk through w_frame_state_for calls in unwinder


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (24 preceding siblings ...)
  2009-11-29  7:41 ` howarth at nitro dot med dot uc dot edu
@ 2009-11-29  7:48 ` howarth at nitro dot med dot uc dot edu
  2009-12-01  4:56 ` howarth at nitro dot med dot uc dot edu
                   ` (27 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-29  7:48 UTC (permalink / raw)
  To: java-prs



------- Comment #26 from howarth at nitro dot med dot uc dot edu  2009-11-29 07:48 -------
I finally managed to sort out the darwin build to get access to the unwinder
debug symbols.
Walking through the testme.java test case using the _Unwind_RaiseException 39
times, I
then used a uw_frame_state_for to be able to sample the frames with 'x
context.ra'. A full log
of this is attached as walk_thru_breakpts.txt. The output for each instance of
'x context.ra' is listed
below...

0x100013576 <_Jv_Throw+70>:     0x9816e9e8

0x1004357c5
<_ZN4java3net14URLClassLoader9findClassEJPNS_4lang5ClassEPNS2_6StringE+1253>:  
    0x00458b49

0x10040c8aa
<_ZN4java4lang11ClassLoader9loadClassEJPNS0_5ClassEPNS0_6StringEb+314>:    
0xffff75e9

0x10040c888
<_ZN4java4lang11ClassLoader9loadClassEJPNS0_5ClassEPNS0_6StringEb+280>:    
0x89449feb

0x100013576 <_Jv_Throw+70>:     0x9816e9e8

0x1004357c5
<_ZN4java3net14URLClassLoader9findClassEJPNS_4lang5ClassEPNS2_6StringE+1253>:  
    0x00458b49

0x10040c8aa
<_ZN4java4lang11ClassLoader9loadClassEJPNS0_5ClassEPNS0_6StringEb+314>:    
0xffff75e9

0x103daa6fe <_Unwind_Resume+61>:        0xc0958d48

0x10040c8c7
<_ZN4java4lang11ClassLoader9loadClassEJPNS0_5ClassEPNS0_6StringEb+343>:    
0x01ea8348

0x10040c888
<_ZN4java4lang11ClassLoader9loadClassEJPNS0_5ClassEPNS0_6StringEb+280>:    
0x89449feb
(gdb) c
Continuing.

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x0000000103f05db0
0x0000000103f05db0 in ?? () at .././libjava/../gcc/unwind-pe.h:104


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (25 preceding siblings ...)
  2009-11-29  7:48 ` howarth at nitro dot med dot uc dot edu
@ 2009-12-01  4:56 ` howarth at nitro dot med dot uc dot edu
  2009-12-03 15:33 ` howarth at nitro dot med dot uc dot edu
                   ` (26 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-12-01  4:56 UTC (permalink / raw)
  To: java-prs



------- Comment #27 from howarth at nitro dot med dot uc dot edu  2009-12-01 04:56 -------
Created an attachment (id=19192)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19192&action=view)
walk from last _Unwind_RaiseException  breakpoint until crash


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (26 preceding siblings ...)
  2009-12-01  4:56 ` howarth at nitro dot med dot uc dot edu
@ 2009-12-03 15:33 ` howarth at nitro dot med dot uc dot edu
  2009-12-05  7:03 ` howarth at nitro dot med dot uc dot edu
                   ` (25 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-12-03 15:33 UTC (permalink / raw)
  To: java-prs



------- Comment #28 from howarth at nitro dot med dot uc dot edu  2009-12-03 15:33 -------
Possible fix which is untested...

Index: libjava/configure.ac
===================================================================
--- libjava/configure.ac        (revision 154950)
+++ libjava/configure.ac        (working copy)
@@ -889,6 +889,9 @@
         SYSTEMSPEC="-lunicows $SYSTEMSPEC"
       fi
     ;;
+    *darwin*)
+      SYSTEMSPEC="-Wl,-allow_stack_execute"
+    ;;
     *)
       SYSTEMSPEC=
     ;;
Index: libjava/configure
===================================================================
--- libjava/configure   (revision 154950)
+++ libjava/configure   (working copy)
@@ -19595,6 +19595,9 @@
         SYSTEMSPEC="-lunicows $SYSTEMSPEC"
       fi
     ;;
+    *darwin*)
+      SYSTEMSPEC="-Wl,-allow_stack_execute"
+    ;;
     *)
       SYSTEMSPEC=
     ;;


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (27 preceding siblings ...)
  2009-12-03 15:33 ` howarth at nitro dot med dot uc dot edu
@ 2009-12-05  7:03 ` howarth at nitro dot med dot uc dot edu
  2009-12-05  8:21 ` howarth at nitro dot med dot uc dot edu
                   ` (24 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-12-05  7:03 UTC (permalink / raw)
  To: java-prs



------- Comment #29 from howarth at nitro dot med dot uc dot edu  2009-12-05 07:03 -------
The proposed patch to properly implement passing -allow_stack_execute on
SYSTEMSPEC...

http://gcc.gnu.org/ml/java/2009-12/msg00027.html

eliminates the crashes in gcj when compiling java code provided that r154282
and r154283
are regressed so that the FSF libgcc's unwinder is used.  When r154282 and
r154283 is left
in place, we run into two different crashes for darwin9 and darwin10 when gcj
compiles java
code. In the darwin9 case, the crash appears as...

(gdb) r testme.java
-fbootclasspath=/sw/share/java/ecj/ecj.jar:./:/sw/lib/gcc4.5/share/java/libgcj-4.5.0.jar
-fsource=1.5 -ftarget=1.5 -fzip-dependency
/var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccamdOl5.zip -fzip-target
/var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccaNqaGi.jar
Starting program:
/sw/lib/gcc4.5/libexec/gcc/x86_64-apple-darwin9.8.0/4.5.0/ecj1 testme.java
-fbootclasspath=/sw/share/java/ecj/ecj.jar:./:/sw/lib/gcc4.5/share/java/libgcj-4.5.0.jar
-fsource=1.5 -ftarget=1.5 -fzip-dependency
/var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccamdOl5.zip -fzip-target
/var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccaNqaGi.jar
warning: posix_spawn failed, trying execvp, error: 86
Reading symbols for shared libraries ++++.+. done

Program received signal SIGABRT, Aborted.
0x00007fff810c3f16 in __kill ()
(gdb) bt
#0  0x00007fff810c3f16 in __kill ()
#1  0x00007fff81134f6d in abort ()
#2  0x000000010001342b in _Jv_Throw (value=0x10483e6c0) at
../../../gcc-4.5-20091204/libjava/exception.cc:128


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (28 preceding siblings ...)
  2009-12-05  7:03 ` howarth at nitro dot med dot uc dot edu
@ 2009-12-05  8:21 ` howarth at nitro dot med dot uc dot edu
  2009-12-05  8:54 ` howarth at nitro dot med dot uc dot edu
                   ` (23 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-12-05  8:21 UTC (permalink / raw)
  To: java-prs



------- Comment #30 from howarth at nitro dot med dot uc dot edu  2009-12-05 08:21 -------
Confirmed that, as expected, the proposed patch,
http://gcc.gnu.org/ml/java/2009-12/msg00027.html, eliminates the crashes in gcj
in gcc 4.4.2 on x86_64-apple-darwin9 without any other changes.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (29 preceding siblings ...)
  2009-12-05  8:21 ` howarth at nitro dot med dot uc dot edu
@ 2009-12-05  8:54 ` howarth at nitro dot med dot uc dot edu
  2009-12-05  9:02 ` howarth at nitro dot med dot uc dot edu
                   ` (22 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-12-05  8:54 UTC (permalink / raw)
  To: java-prs



------- Comment #31 from howarth at nitro dot med dot uc dot edu  2009-12-05 08:54 -------
Interestingly gcc-4.4.2 with the proposed patch,
http://gcc.gnu.org/ml/java/2009-12/msg00027.html, shows gcj crashing the same
way as gcc trunk with the same patch....

(gdb) r testme.java
-fbootclasspath=/sw/share/java/ecj/ecj.jar:./:/sw/share/xtal/ccp4-6.1.2/bin/:/sw/lib/gcc4.4/share/java/libgcj-4.4.2.jar
-fsource=1.5 -ftarget=1.5 -fzip-dependency
/var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccyWYcT2.zip -fzip-target
/var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccHDO5f8.jar
Starting program: /sw/lib/gcc4.4/libexec/gcc/x86_64-apple-darwin10/4.4.2/ecj1
testme.java
-fbootclasspath=/sw/share/java/ecj/ecj.jar:./:/sw/share/xtal/ccp4-6.1.2/bin/:/sw/lib/gcc4.4/share/java/libgcj-4.4.2.jar
-fsource=1.5 -ftarget=1.5 -fzip-dependency
/var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccyWYcT2.zip -fzip-target
/var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccHDO5f8.jar
Reading symbols for shared libraries +++++. done

Program received signal SIGABRT, Aborted.
0x00007fff843d4fe6 in __kill ()
(gdb) bt
#0  0x00007fff843d4fe6 in __kill ()
#1  0x00007fff84475e32 in abort ()
#2  0x00007fff844bffc9 in _Unwind_FindEnclosingFunction ()
#3  0x000000010000fcbc in gnu::classpath::VMStackWalker::getCallingClassLoader
(pc=0x100980d1c) at
../../../gcc-4.4.2/libjava/gnu/classpath/natVMStackWalker.cc:104
Previous frame inner to this frame (gdb could not unwind past this frame)

So the crash on darwin10 appears to be independent of the libgcc_ext changes
added to gcc trunk.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (30 preceding siblings ...)
  2009-12-05  8:54 ` howarth at nitro dot med dot uc dot edu
@ 2009-12-05  9:02 ` howarth at nitro dot med dot uc dot edu
  2009-12-09 18:45 ` bryce at gcc dot gnu dot org
                   ` (21 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-12-05  9:02 UTC (permalink / raw)
  To: java-prs



------- Comment #32 from howarth at nitro dot med dot uc dot edu  2009-12-05 09:02 -------
Disassembling the crash on gcc-4.4.2 with the proposed patch on
x86_64-apple-darwin10 shows...

(gdb) x/10i 0x000000010000fcbc
0x10000fcbc
<_ZN3gnu9classpath13VMStackWalker21getCallingClassLoaderEJPN4java4lang11ClassLoaderEPNS_3gcj7RawDataE+28>:
 mov    %rax,%rbx
0x10000fcbf
<_ZN3gnu9classpath13VMStackWalker21getCallingClassLoaderEJPN4java4lang11ClassLoaderEPNS_3gcj7RawDataE+31>:
 callq  0x1000051e0 <_ZN14_Jv_StackTrace14UpdateNCodeMapEv>
0x10000fcc4
<_ZN3gnu9classpath13VMStackWalker21getCallingClassLoaderEJPN4java4lang11ClassLoaderEPNS_3gcj7RawDataE+36>:
 lea    0x1bf2f75(%rip),%rax        # 0x101c02c40
<_ZN14_Jv_StackTrace8ncodeMapE>
0x10000fccb
<_ZN3gnu9classpath13VMStackWalker21getCallingClassLoaderEJPN4java4lang11ClassLoaderEPNS_3gcj7RawDataE+43>:
 mov    %rbx,%rsi
0x10000fcce
<_ZN3gnu9classpath13VMStackWalker21getCallingClassLoaderEJPN4java4lang11ClassLoaderEPNS_3gcj7RawDataE+46>:
 mov    (%rax),%rdi
0x10000fcd1
<_ZN3gnu9classpath13VMStackWalker21getCallingClassLoaderEJPN4java4lang11ClassLoaderEPNS_3gcj7RawDataE+49>:
 mov    (%rdi),%rdx
0x10000fcd4
<_ZN3gnu9classpath13VMStackWalker21getCallingClassLoaderEJPN4java4lang11ClassLoaderEPNS_3gcj7RawDataE+52>:
 callq  *0x60(%rdx)
0x10000fcd7
<_ZN3gnu9classpath13VMStackWalker21getCallingClassLoaderEJPN4java4lang11ClassLoaderEPNS_3gcj7RawDataE+55>:
 test   %rax,%rax
0x10000fcda
<_ZN3gnu9classpath13VMStackWalker21getCallingClassLoaderEJPN4java4lang11ClassLoaderEPNS_3gcj7RawDataE+58>:
 je     0x10000fcf0
<_ZN3gnu9classpath13VMStackWalker21getCallingClassLoaderEJPN4java4lang11ClassLoaderEPNS_3gcj7RawDataE+80>
0x10000fcdc
<_ZN4java4lang5Class22getClassLoaderInternalEJPNS0_11ClassLoaderEv>:        mov
   0xa8(%rax),%rax
(gdb) 

which is almost identical to what I saw with my previous tests of gcc trunk on
darwin10 and a variation of the -allow_stack_execute fix...

http://gcc.gnu.org/ml/java/2009-12/msg00018.html


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (31 preceding siblings ...)
  2009-12-05  9:02 ` howarth at nitro dot med dot uc dot edu
@ 2009-12-09 18:45 ` bryce at gcc dot gnu dot org
  2009-12-09 18:46 ` bryce at gcc dot gnu dot org
                   ` (20 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: bryce at gcc dot gnu dot org @ 2009-12-09 18:45 UTC (permalink / raw)
  To: java-prs



------- Comment #33 from bryce at gcc dot gnu dot org  2009-12-09 18:45 -------
Subject: Bug 41991

Author: bryce
Date: Wed Dec  9 18:45:13 2009
New Revision: 155113

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155113
Log:
2009-12-09  Bryce McKinlay  <bmckinlay@gmail.com>

        PR java/41991  
        * configure.ac (SYSTEMSPEC): Pass -allow_stack_execute to Darwin
        linker.
        * Makefile.am (gij_LDFLAGS): Remove extra_gij_ldflags.
        * configure: Regenerate.  
        * Makefile.in: Regenerate.

Modified:
    trunk/libjava/ChangeLog
    trunk/libjava/Makefile.am
    trunk/libjava/Makefile.in
    trunk/libjava/configure
    trunk/libjava/configure.ac
    trunk/libjava/gcj/Makefile.in
    trunk/libjava/include/Makefile.in
    trunk/libjava/testsuite/Makefile.in


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (32 preceding siblings ...)
  2009-12-09 18:45 ` bryce at gcc dot gnu dot org
@ 2009-12-09 18:46 ` bryce at gcc dot gnu dot org
  2009-12-10 14:32 ` howarth at nitro dot med dot uc dot edu
                   ` (19 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: bryce at gcc dot gnu dot org @ 2009-12-09 18:46 UTC (permalink / raw)
  To: java-prs



------- Comment #34 from bryce at gcc dot gnu dot org  2009-12-09 18:46 -------
Subject: Bug 41991

Author: bryce
Date: Wed Dec  9 18:46:11 2009
New Revision: 155114

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155114
Log:
2009-12-09  Bryce McKinlay  <bmckinlay@gmail.com>

        PR java/41991  
        * configure.ac (SYSTEMSPEC): Pass -allow_stack_execute to Darwin
        linker.
        * Makefile.am (gij_LDFLAGS): Remove extra_gij_ldflags.
        * configure: Regenerate.  
        * Makefile.in: Regenerate.

Modified:
    branches/gcc-4_4-branch/libjava/ChangeLog
    branches/gcc-4_4-branch/libjava/Makefile.am
    branches/gcc-4_4-branch/libjava/Makefile.in
    branches/gcc-4_4-branch/libjava/configure
    branches/gcc-4_4-branch/libjava/configure.ac
    branches/gcc-4_4-branch/libjava/gcj/Makefile.in
    branches/gcc-4_4-branch/libjava/include/Makefile.in
    branches/gcc-4_4-branch/libjava/testsuite/Makefile.in


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (33 preceding siblings ...)
  2009-12-09 18:46 ` bryce at gcc dot gnu dot org
@ 2009-12-10 14:32 ` howarth at nitro dot med dot uc dot edu
  2009-12-17 23:30 ` howarth at nitro dot med dot uc dot edu
                   ` (18 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-12-10 14:32 UTC (permalink / raw)
  To: java-prs



------- Comment #35 from howarth at nitro dot med dot uc dot edu  2009-12-10 14:32 -------
     This might be a red herring but after what I observed for PR42333
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42333#c29) I went back and looked
at how the libjava libraries and executables are linked on darwin. They all end
up with /usr/lib/libSystem.B.dylib being resolved before
/sw/lib/gcc4.4/lib/libgcc_s.1.dylib. This is likely due to unnecessary link
flags for -ldl, -lpthread, -lm, etc that  link in symlinks of
/usr/lib/libSystem.B.dylib. 
      What we saw in PR42333 was that certain symbols in libgcc can be
overridden by those in libSystem if libSystem is linked in first. I am going to
try to hack a build of gcc trunk such that we end up with....

libgcj.10.dylib:
        /sw/lib/gcc4.4/lib/libgcj.10.dylib (compatibility version 11.0.0,
current version 11.0.0)
        /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version
1.2.3)
        /sw/lib/gcc4.4/lib/libgcc_s.1.dylib (compatibility version 1.0.0,
current version 1.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.1.4)

instead of...

libgcj.10.dylib:
        /sw/lib/gcc4.4/lib/libgcj.10.dylib (compatibility version 11.0.0,
current version 11.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.1.4)
        /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version
1.2.3)
        /sw/lib/gcc4.4/lib/libgcc_s.1.dylib (compatibility version 1.0.0,
current version 1.0.0)

etc to see if this has any impact on the PR41991 on darwin.  Note that I not
making any suggestions of how we would fix this if the cause is libSystem
occurring first in the linkage but rather trying to find the origin of the
unwinder aborts on darwin10.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (34 preceding siblings ...)
  2009-12-10 14:32 ` howarth at nitro dot med dot uc dot edu
@ 2009-12-17 23:30 ` howarth at nitro dot med dot uc dot edu
  2009-12-18 14:54 ` howarth at nitro dot med dot uc dot edu
                   ` (17 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-12-17 23:30 UTC (permalink / raw)
  To: java-prs



------- Comment #36 from howarth at nitro dot med dot uc dot edu  2009-12-17 23:30 -------
(In reply to comment #31)
> Interestingly gcc-4.4.2 with the proposed patch,
> http://gcc.gnu.org/ml/java/2009-12/msg00027.html, shows gcj crashing the same
> way as gcc trunk with the same patch....
> 
> (gdb) r testme.java
> -fbootclasspath=/sw/share/java/ecj/ecj.jar:./:/sw/share/xtal/ccp4-6.1.2/bin/:/sw/lib/gcc4.4/share/java/libgcj-4.4.2.jar
> -fsource=1.5 -ftarget=1.5 -fzip-dependency
> /var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccyWYcT2.zip -fzip-target
> /var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccHDO5f8.jar
> Starting program: /sw/lib/gcc4.4/libexec/gcc/x86_64-apple-darwin10/4.4.2/ecj1
> testme.java
> -fbootclasspath=/sw/share/java/ecj/ecj.jar:./:/sw/share/xtal/ccp4-6.1.2/bin/:/sw/lib/gcc4.4/share/java/libgcj-4.4.2.jar
> -fsource=1.5 -ftarget=1.5 -fzip-dependency
> /var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccyWYcT2.zip -fzip-target
> /var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccHDO5f8.jar
> Reading symbols for shared libraries +++++. done
> 
> Program received signal SIGABRT, Aborted.
> 0x00007fff843d4fe6 in __kill ()
> (gdb) bt
> #0  0x00007fff843d4fe6 in __kill ()
> #1  0x00007fff84475e32 in abort ()
> #2  0x00007fff844bffc9 in _Unwind_FindEnclosingFunction ()
> #3  0x000000010000fcbc in gnu::classpath::VMStackWalker::getCallingClassLoader
> (pc=0x100980d1c) at
> ../../../gcc-4.4.2/libjava/gnu/classpath/natVMStackWalker.cc:104
> Previous frame inner to this frame (gdb could not unwind past this frame)
> 
> So the crash on darwin10 appears to be independent of the libgcc_ext changes
> added to gcc trunk.
> 

The Darwin unwinder maintainer had the following response to this backtrace....

    I took a look at the bug report you made.   Right off, I can tell that the
    problem is that _Unwind_FindEnclosingFunction() is not implemented.  Well,
   it is implemented as a not_implemented macro...  It is an FSF extension and
   has some semantics that can't be supported.

   Do you know why it is being used?  It is just to tell if a code address is
   in static or dynamic (JIT) code?  Or darwin, you can call dladdr() find if
   a function is known to the dynamic loader.

So it would appear that since we now use the system libgcc in gcc trunk on
darwin,
the use of _Unwind_FindEnclosingFunction will have to be replaced with
something
more generic outside of libgcc.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (35 preceding siblings ...)
  2009-12-17 23:30 ` howarth at nitro dot med dot uc dot edu
@ 2009-12-18 14:54 ` howarth at nitro dot med dot uc dot edu
  2009-12-19  0:35 ` howarth at nitro dot med dot uc dot edu
                   ` (16 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-12-18 14:54 UTC (permalink / raw)
  To: java-prs



------- Comment #37 from howarth at nitro dot med dot uc dot edu  2009-12-18 14:54 -------
I noticed that in libjava/sysdep/arm/backtrace.h, arm has its own definition of
_Unwind_FindEnclosingFunction. Could we use the same approach for darwin10 to
override the default _Unwind_FindEnclosingFunction in darwin10?


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (36 preceding siblings ...)
  2009-12-18 14:54 ` howarth at nitro dot med dot uc dot edu
@ 2009-12-19  0:35 ` howarth at nitro dot med dot uc dot edu
  2010-02-02  8:18 ` andreast at gcc dot gnu dot org
                   ` (15 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-12-19  0:35 UTC (permalink / raw)
  To: java-prs



------- Comment #38 from howarth at nitro dot med dot uc dot edu  2009-12-19 00:35 -------
I've confirmed that both the WalkerTest failures and the gcj compiler crashes
on java code are eliminated on darwin10 if I duplicate the code for
_Unwind_FindEnclosingFunction() as _darwin10_Unwind_FindEnclosingFunction() and
export that via the versioned libgcc_ext. So the entire problem is that
darwin10's _Unwind_FindEnclosingFunction()  is non-functional (and just calls
abort()). Fortunately, since FSF gcc builds on darwin10 without compact unwind
we still have access to a functional _Unwind_Find_FDE(). We just need to find
some approach short of adding a new symbol to libgcc that will provide an
alternate means of accessing the code for _Unwind_FindEnclosingFunction() on
darwin.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (37 preceding siblings ...)
  2009-12-19  0:35 ` howarth at nitro dot med dot uc dot edu
@ 2010-02-02  8:18 ` andreast at gcc dot gnu dot org
  2010-02-02  8:19 ` andreast at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: andreast at gcc dot gnu dot org @ 2010-02-02  8:18 UTC (permalink / raw)
  To: java-prs



------- Comment #39 from andreast at gcc dot gnu dot org  2010-02-02 08:18 -------
Subject: Bug 41991

Author: andreast
Date: Tue Feb  2 08:18:08 2010
New Revision: 156444

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156444
Log:
2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>

        PR java/41991
        * unwind-dw2-fde-darwin.c: Re-export _Unwind_FindEnclosingFunction()
        as _darwin10_Unwind_FindEnclosingFunction().
        * libgcc-libsystem.ver: New.

Added:
    trunk/gcc/libgcc-libsystem.ver
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/unwind-dw2-fde-darwin.c


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (38 preceding siblings ...)
  2010-02-02  8:18 ` andreast at gcc dot gnu dot org
@ 2010-02-02  8:19 ` andreast at gcc dot gnu dot org
  2010-02-02  8:19 ` andreast at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: andreast at gcc dot gnu dot org @ 2010-02-02  8:19 UTC (permalink / raw)
  To: java-prs



------- Comment #41 from andreast at gcc dot gnu dot org  2010-02-02 08:19 -------
Subject: Bug 41991

Author: andreast
Date: Tue Feb  2 08:19:26 2010
New Revision: 156446

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156446
Log:
2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>

        PR java/41991
        * include/posix.h: Redefine _Unwind_FindEnclosingFunction.

Modified:
    trunk/libjava/ChangeLog
    trunk/libjava/include/posix.h


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (39 preceding siblings ...)
  2010-02-02  8:19 ` andreast at gcc dot gnu dot org
@ 2010-02-02  8:19 ` andreast at gcc dot gnu dot org
  2010-02-03  3:33 ` [Bug java/41991] gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9 howarth at nitro dot med dot uc dot edu
                   ` (12 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: andreast at gcc dot gnu dot org @ 2010-02-02  8:19 UTC (permalink / raw)
  To: java-prs



------- Comment #40 from andreast at gcc dot gnu dot org  2010-02-02 08:19 -------
Subject: Bug 41991

Author: andreast
Date: Tue Feb  2 08:18:48 2010
New Revision: 156445

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156445
Log:
2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>

        PR java/41991
        * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
        SHLIB_MAPFILES.

Modified:
    trunk/libgcc/ChangeLog
    trunk/libgcc/config/t-slibgcc-darwin


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (40 preceding siblings ...)
  2010-02-02  8:19 ` andreast at gcc dot gnu dot org
@ 2010-02-03  3:33 ` howarth at nitro dot med dot uc dot edu
  2010-06-20  6:57 ` gcc at ryandesign dot com
                   ` (11 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-02-03  3:33 UTC (permalink / raw)
  To: java-prs



------- Comment #42 from howarth at nitro dot med dot uc dot edu  2010-02-03 03:33 -------
Fixed on *-apple-darwin10. The gcj failures on intel darwin9 are due to a
different unwinder bug. Leaving open for darwin9.


-- 

howarth at nitro dot med dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  GCC build triplet|i686/x86_64-apple-darwin*   |i686/x86_64-apple-darwin9
   GCC host triplet|i686/x86_64-apple-darwin*   |i686/x86_64-apple-darwin9
 GCC target triplet|i686/x86_64-apple-darwin*   |i686/x86_64-apple-darwin9
            Summary|gcj segfaults on i686-apple-|gcj segfaults on i686-apple-
                   |darwin* and x86_64-apple-   |darwin9 and x86_64-apple-
                   |darwin*                     |darwin9


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (41 preceding siblings ...)
  2010-02-03  3:33 ` [Bug java/41991] gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9 howarth at nitro dot med dot uc dot edu
@ 2010-06-20  6:57 ` gcc at ryandesign dot com
  2010-08-11 12:32 ` iains at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: gcc at ryandesign dot com @ 2010-06-20  6:57 UTC (permalink / raw)
  To: java-prs



------- Comment #43 from gcc at ryandesign dot com  2010-06-20 06:57 -------
Is there a reason the 3 fixes Andreas committed in February were not backported
to the 4.4 branch? I just ran into "Internal error: Abort trap (program ecj1)"
with 4.4.4 on Snow Leopard 10.6.4 and applying those patches fixed it.


-- 

gcc at ryandesign dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gcc at ryandesign dot com


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (42 preceding siblings ...)
  2010-06-20  6:57 ` gcc at ryandesign dot com
@ 2010-08-11 12:32 ` iains at gcc dot gnu dot org
  2010-08-11 12:50 ` andreast at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: iains at gcc dot gnu dot org @ 2010-08-11 12:32 UTC (permalink / raw)
  To: java-prs



------- Comment #44 from iains at gcc dot gnu dot org  2010-08-11 12:32 -------
I do not think the current solution is complete/correct.

For 4.5.x and current trunk we still have a significant problem.  (4.4.x 
apparently still works, as of 4.4.5/r163091, at least for trivial cases)

[apollo is i686-darwin9 with r163091 bootstrapped and installed;
CWD=build-top-level].

apollo:gcc-4-5-branch-build$ /GCC/gcc-4-5-install/bin/gcj-4.5
../tests/HelloWorld.java --main=HelloWorld -o hw
gcj-4.5: Internal error: Abort trap (program ecj1):
FAILS

apollo:gcc-4-5-branch-build$ DYLD_LIBRARY_PATH=gcc
/GCC/gcc-4-5-install/bin/gcj-4.5 ../tests/HelloWorld.java --main=HelloWorld -o
hw
.................................................^^^^^^^^^^^^^^^^^^^^
OK - builds...

try to invoke the generated exe:
apollo:gcc-4-5-branch-build./hw
... a long wait ...   (on powerpc-darwin9 .. you get some interesting error
messages about repeated allocation of 1Gb memory chunks :/).
Abort trap

apollo:gcc-4-5-branch-build$ DYLD_LIBRARY_PATH=gcc ./hw
Hello, World

Incidentally, this applies equally if one starts from  HelloWorld.class

It seems to me that we have some dependancy issue that is causing libgcj to
link (some) symbols from <fsf>/libgcc_s.1dylib that should really be linked
from /usr/lib/libgcc_s.1.dylib - i.e. the unwinder is being invoked in two
different libs :(  see ****

=========

4.6-trunk behaves the same on Darwin9,   I've not tried Darwin10 (for reasons
which should be evident below).

=========

Taking the case of Darwin9/OSX 10.5:

(a) the code for _Unwind_FindEnclosingFunction &c. as posted on
http://www.opensource.apple.com/release/mac-os-x-1058/ is the same as fsf-gcc
(AFAICT from browsing it online) --  so I'm not sure why we added in the
darwin10_Unwind_FindEnclosingFunction (it's the same code as already present in
the system lib).   [having said that, even if the system code _is_ broken and
unusable, (b) applies. and one needs to work around the breakage without
bypassing said system code] 

(b) As the design(s) stand, we can only have one unwinder..
the choices are:

 1/ to use the system one in which case you can integrate your code with
system-supplied libraries [which is what, I suspect, the majority of users
want]

 2/ You can replace the system unwinder with the one in
<fsf-path>/libgcc_s.1.dylib - in which case you must point DYLD to that before
invoking any code generated by gcj (including the compiler itself).  That code
cannot use _any_ system facilities that might require the unwinder.
(ergo, the test-suite passes, but one can't build a general application using
arbitrary system facilities).

it seems we have (2) at present, and I wonder how useful that is to the
majority of end users?

(I guess there is also option (3) -> overwrite the system libgcc_s with the
<fsf> one .. but, if you do that, then you must take responsibility for any
other system breakage or security issues you cause ... not a route I'd
recommend for most end-users ;)).

=========

**** Incidentally, this is the whole reason we implemented the libgcc_ext.dylib
--- so that extensions to gcc (like emutls) could be applied to OSX without
interfering with the unwinder ;)  

.. and that is the reason that both /usr/lib/libgccs.1.dylib  _and_
<fsf>/libgcc_s.1.dylib are linked into darwin executables, (taking advantage of
the different namespaces).

However, in this case,  if  I regress the darwin10_Unwind_FindEnclosingFunction
change out, the code still fails - which indicates to me that:

(i)  somewhere else in the build of libgcj or the classpath there is a
dependency on some part of the unwinder that is being satisfied by a link from
<fsf>/libgcc_s.1dylib  (although a look at the Makefile didn't show anything
obvious, perhaps someone more familiar with libjava would be able to spot it?). 

(ii) or..  that there's a bug/incompatibility between the system unwinder & fsf
gcc that we haven't worked around.

in the case of (ii) the endgame is much the same as for darwin 10 .... 

=========

For Darwin10/OSX10.6

(a) I'm not sure that the current libjava design applies; it seems that the
relevant routines might have been replaced by no-ops (from comments posted
elsewhere, and a quick check of otool -tv -p _Unwind_FindEnclosingFunction).  
I.E the unwinder has changed to a different implementation.. 

However, as for darwin9,  (b) applies - one can "replace" the system unwinder
with the one in libgcc - but, again, that means the user will be limited to
self-contained code.

=====

If no-one has time to implement an integration of libjava with the Darwin 10
unwinders [and/or fix the breakage with Darwin9] (I don't, sorry), then
essentially gcj > 4.5 is unusable on current Darwin in any other manner than
stand-alone (and, frankly, I wonder how generally useful that is?).


-- 

iains at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrs at gcc dot gnu dot org,
                   |                            |iains at gcc dot gnu dot org


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (43 preceding siblings ...)
  2010-08-11 12:32 ` iains at gcc dot gnu dot org
@ 2010-08-11 12:50 ` andreast at gcc dot gnu dot org
  2010-08-11 13:14 ` howarth at nitro dot med dot uc dot edu
                   ` (8 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: andreast at gcc dot gnu dot org @ 2010-08-11 12:50 UTC (permalink / raw)
  To: java-prs



------- Comment #45 from andreast at gcc dot gnu dot org  2010-08-11 12:50 -------
I no longer have time to work on this.


-- 

andreast at gcc dot gnu dot org changed:

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


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (44 preceding siblings ...)
  2010-08-11 12:50 ` andreast at gcc dot gnu dot org
@ 2010-08-11 13:14 ` howarth at nitro dot med dot uc dot edu
  2010-08-11 13:42 ` howarth at nitro dot med dot uc dot edu
                   ` (7 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-08-11 13:14 UTC (permalink / raw)
  To: java-prs



------- Comment #46 from howarth at nitro dot med dot uc dot edu  2010-08-11 13:14 -------
(In reply to comment #44)
> I do not think the current solution is complete/correct.

Don't confuse the darwin9 and darwin10 unwinder issues. They are 
different incompatiibilities with the darwin unwinder. Also keep in mind
that darwin9 uses an unwinder derived from libgcc whereas darwin10
uses a compatibility unwinder from libSystem.


> Taking the case of Darwin9/OSX 10.5:
> 
> (a) the code for _Unwind_FindEnclosingFunction &c. as posted on
> http://www.opensource.apple.com/release/mac-os-x-1058/ is the same as fsf-gcc
> (AFAICT from browsing it online) --  so I'm not sure why we added in the
> darwin10_Unwind_FindEnclosingFunction (it's the same code as already present in
> the system lib).   [having said that, even if the system code _is_ broken and
> unusable, (b) applies. and one needs to work around the breakage without
> bypassing said system code] 
> 

Read http://gcc.gnu.org/ml/gcc-patches/2009-12/msg00998.html which explains
the logic of re-exporting _Unwind_FindEnclosingFunction() under a different
name for
darwin10.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (45 preceding siblings ...)
  2010-08-11 13:14 ` howarth at nitro dot med dot uc dot edu
@ 2010-08-11 13:42 ` howarth at nitro dot med dot uc dot edu
  2010-08-11 15:23 ` howarth at nitro dot med dot uc dot edu
                   ` (6 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-08-11 13:42 UTC (permalink / raw)
  To: java-prs



------- Comment #47 from howarth at nitro dot med dot uc dot edu  2010-08-11 13:42 -------
Also from a the darwin unwinder maintainer...

> I  took a look at the bug report you made.   Right off, I can tell that  
> the problem is that _Unwind_FindEnclosingFunction() is not  
> implemented.  Well, it is implemented as a not_implemented macro...   
> It is an FSF extension and has some semantics that can't be supported.
...
> _Unwind_Find_FDE is implemented on 10.6.
> 
> The general issue is that on 10.6 and later the dwarf unwind info may  
> not exist.  It may be replaced (by the linker tool) with compact  
> unwind info.  So any function that assumes FDEs exist may not work.

This is the reason that the  _Unwind_FindEnclosingFunction() call is
re-exported
under a different name in libgcc_ext. This call requires _Unwind_Find_FDE and
has been replaced with a not_implemented macro which silently aborts. A radar
is open to have the gross use of not_implemented macros replaced with a check
if -no-compact-unwind is in use. In that case, the compatibility unwinder in
libSystem (which supports FDEs) would be in use and those calls could be made
functional again.
    Note that this all stems from the fact that darwin10 has the compact unwind
code generation as the default. 


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (46 preceding siblings ...)
  2010-08-11 13:42 ` howarth at nitro dot med dot uc dot edu
@ 2010-08-11 15:23 ` howarth at nitro dot med dot uc dot edu
  2010-08-17 13:13 ` iains at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-08-11 15:23 UTC (permalink / raw)
  To: java-prs



------- Comment #48 from howarth at nitro dot med dot uc dot edu  2010-08-11 15:23 -------
These messages from the Apple developers also are useful in explaining the
situation...

http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-September/025894.html
http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-September/025898.html
http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-September/025900.html


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (47 preceding siblings ...)
  2010-08-11 15:23 ` howarth at nitro dot med dot uc dot edu
@ 2010-08-17 13:13 ` iains at gcc dot gnu dot org
  2010-08-21  0:31 ` howarth at nitro dot med dot uc dot edu
                   ` (4 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: iains at gcc dot gnu dot org @ 2010-08-17 13:13 UTC (permalink / raw)
  To: java-prs



------- Comment #49 from iains at gcc dot gnu dot org  2010-08-17 13:13 -------
the patch attached to 

http://gcc.gnu.org/ml/gcc-patches/2010-08/msg01249.html

solves the problem by suppression of the epilogues in _eh_frames;
 the patch might be an incomplete solution to darwin<->dwarf2 issues.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (48 preceding siblings ...)
  2010-08-17 13:13 ` iains at gcc dot gnu dot org
@ 2010-08-21  0:31 ` howarth at nitro dot med dot uc dot edu
  2010-08-21  0:55 ` howarth at nitro dot med dot uc dot edu
                   ` (3 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-08-21  0:31 UTC (permalink / raw)
  To: java-prs



------- Comment #50 from howarth at nitro dot med dot uc dot edu  2010-08-21 00:31 -------
According to the darwin unwinder maintainers in the Snow Leopard libunwind
sources...

// The following functions are implemented to just call abort
_Unwind_GetDataRelBase
_Unwind_GetTextRelBase
_Unwind_FindEnclosingFunction

//  The following functions are empty and do nothing
__register_frame_info_bases
__register_frame_info
__register_frame_info_table_bases
__register_frame_info_table
__register_frame_table
__deregister_frame_info
__deregister_frame_info_bases


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (49 preceding siblings ...)
  2010-08-21  0:31 ` howarth at nitro dot med dot uc dot edu
@ 2010-08-21  0:55 ` howarth at nitro dot med dot uc dot edu
  2010-08-21  2:24 ` howarth at nitro dot med dot uc dot edu
                   ` (2 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-08-21  0:55 UTC (permalink / raw)
  To: java-prs



------- Comment #51 from howarth at nitro dot med dot uc dot edu  2010-08-21 00:55 -------
An additional clarification from the darwin unwinder developers on the status
of the libunwind sources from Snow Leopard...

> Everything down in the darwin layer is supposed to be open source.  It was
> a glitch that our libunwind did not get the right sign offs to make that
> happen in SnowLeopard.
>
> A fork was made in libunwind and incorporated into the open source lldb  
> project.  You can view those sources at:
> 
> http://llvm.org/svn/llvmproject/lldb/trunk/source/Plugins/Process/Utility/libunwind/src/UnwindLevel1-gcc-ext.c
>


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (50 preceding siblings ...)
  2010-08-21  0:55 ` howarth at nitro dot med dot uc dot edu
@ 2010-08-21  2:24 ` howarth at nitro dot med dot uc dot edu
  2010-08-22  4:56 ` howarth at nitro dot med dot uc dot edu
  2010-08-23 16:32 ` howarth at nitro dot med dot uc dot edu
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-08-21  2:24 UTC (permalink / raw)
  To: java-prs



------- Comment #52 from howarth at nitro dot med dot uc dot edu  2010-08-21 02:24 -------
Also the additional clarification that...

> The UnwindLevel1-gcc-ext.c source file in lldb is the same as in SnowLeopard.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (51 preceding siblings ...)
  2010-08-21  2:24 ` howarth at nitro dot med dot uc dot edu
@ 2010-08-22  4:56 ` howarth at nitro dot med dot uc dot edu
  2010-08-23 16:32 ` howarth at nitro dot med dot uc dot edu
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-08-22  4:56 UTC (permalink / raw)
  To: java-prs



------- Comment #53 from howarth at nitro dot med dot uc dot edu  2010-08-22 04:56 -------
gcc/unwind-dw2-fde-darwin.c only uses

          __deregister_frame_info_bases (image->fde);

out of the non-functional unwinder calls for SL's libunwind.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9
  2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
                   ` (52 preceding siblings ...)
  2010-08-22  4:56 ` howarth at nitro dot med dot uc dot edu
@ 2010-08-23 16:32 ` howarth at nitro dot med dot uc dot edu
  53 siblings, 0 replies; 60+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-08-23 16:32 UTC (permalink / raw)
  To: java-prs



------- Comment #54 from howarth at nitro dot med dot uc dot edu  2010-08-23 16:32 -------
http://llvm.org/svn/llvm-project/lldb/trunk/source/Plugins/Process/Utility/libunwind/src/UnwindLevel1-gcc-ext.c

contains the sources for the libunwind in darwin10 (which shows the aborting
and non-functional unwinder calls.


-- 


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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9
       [not found] <bug-41991-8172@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2021-02-28 15:36 ` egallager at gcc dot gnu.org
@ 2023-05-16 19:14 ` iains at gcc dot gnu.org
  4 siblings, 0 replies; 60+ messages in thread
From: iains at gcc dot gnu.org @ 2023-05-16 19:14 UTC (permalink / raw)
  To: java-prs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41991
Bug 41991 depends on bug 44107, which changed state.

Bug 44107 Summary: gcc emits frame (epilogue) info incompatible with the darwin {8,9}-unwinder,10-compacter
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44107

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

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

* [Bug java/41991] gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9
       [not found] <bug-41991-8172@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2014-11-03 19:44 ` fxcoudert at gcc dot gnu.org
@ 2021-02-28 15:36 ` egallager at gcc dot gnu.org
  2023-05-16 19:14 ` iains at gcc dot gnu.org
  4 siblings, 0 replies; 60+ messages in thread
From: egallager at gcc dot gnu.org @ 2021-02-28 15:36 UTC (permalink / raw)
  To: java-prs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41991
Bug 41991 depends on bug 44107, which changed state.

Bug 44107 Summary: gcc emits frame (epilogue) info incompatible with the darwin {8,9}-unwinder,10-compacter
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44107

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

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

* [Bug java/41991] gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9
       [not found] <bug-41991-8172@http.gcc.gnu.org/bugzilla/>
  2013-09-14 12:01 ` iains at gcc dot gnu.org
  2014-02-16 13:15 ` jackie.rosen at hushmail dot com
@ 2014-11-03 19:44 ` fxcoudert at gcc dot gnu.org
  2021-02-28 15:36 ` egallager at gcc dot gnu.org
  2023-05-16 19:14 ` iains at gcc dot gnu.org
  4 siblings, 0 replies; 60+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-11-03 19:44 UTC (permalink / raw)
  To: java-prs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41991
Bug 41991 depends on bug 44107, which changed state.

Bug 44107 Summary: gcc emits frame (epilogue) info incompatible with the darwin {8,9}-unwinder,10-compacter
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44107

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


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9
       [not found] <bug-41991-8172@http.gcc.gnu.org/bugzilla/>
  2013-09-14 12:01 ` iains at gcc dot gnu.org
@ 2014-02-16 13:15 ` jackie.rosen at hushmail dot com
  2014-11-03 19:44 ` fxcoudert at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 60+ messages in thread
From: jackie.rosen at hushmail dot com @ 2014-02-16 13:15 UTC (permalink / raw)
  To: java-prs

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

Jackie Rosen <jackie.rosen at hushmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackie.rosen at hushmail dot com

--- Comment #56 from Jackie Rosen <jackie.rosen at hushmail dot com> ---
*** Bug 260998 has been marked as a duplicate of this bug. ***
Seen from the domain http://volichat.com
Page where seen: http://volichat.com/adult-chat-rooms
Marked for reference. Resolved as fixed @bugzilla.


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

* [Bug java/41991] gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9
       [not found] <bug-41991-8172@http.gcc.gnu.org/bugzilla/>
@ 2013-09-14 12:01 ` iains at gcc dot gnu.org
  2014-02-16 13:15 ` jackie.rosen at hushmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 60+ messages in thread
From: iains at gcc dot gnu.org @ 2013-09-14 12:01 UTC (permalink / raw)
  To: java-prs

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

Iain Sandoe <iains at gcc dot gnu.org> changed:

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

--- Comment #55 from Iain Sandoe <iains at gcc dot gnu.org> ---
this is actually a duplicate of 44107 - it is the unwinder failing that causes
java codes (including ejc1) to hang/fail.

*** This bug has been marked as a duplicate of bug 44107 ***


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

end of thread, other threads:[~2023-05-16 19:14 UTC | newest]

Thread overview: 60+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-09  0:24 [Bug java/41991] New: gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin* howarth at nitro dot med dot uc dot edu
2009-11-09  0:44 ` [Bug java/41991] " howarth at nitro dot med dot uc dot edu
2009-11-09  0:45 ` howarth at nitro dot med dot uc dot edu
2009-11-11 22:40 ` andreast at gcc dot gnu dot org
2009-11-12  2:43 ` howarth at nitro dot med dot uc dot edu
2009-11-13 14:26 ` howarth at nitro dot med dot uc dot edu
2009-11-14 20:57 ` andreast at gcc dot gnu dot org
2009-11-15  1:57 ` howarth at nitro dot med dot uc dot edu
2009-11-15 19:20 ` howarth at nitro dot med dot uc dot edu
2009-11-15 22:52 ` howarth at nitro dot med dot uc dot edu
2009-11-16  1:26 ` howarth at nitro dot med dot uc dot edu
2009-11-17  0:37 ` howarth at nitro dot med dot uc dot edu
2009-11-17  0:39 ` howarth at nitro dot med dot uc dot edu
2009-11-18  1:04 ` howarth at nitro dot med dot uc dot edu
2009-11-18  1:19 ` howarth at nitro dot med dot uc dot edu
2009-11-18  1:39 ` howarth at nitro dot med dot uc dot edu
2009-11-18 14:02 ` howarth at nitro dot med dot uc dot edu
2009-11-19 21:15 ` andreast at gcc dot gnu dot org
2009-11-27 21:28 ` howarth at nitro dot med dot uc dot edu
2009-11-27 21:38 ` howarth at nitro dot med dot uc dot edu
2009-11-28 20:14 ` andreast at gcc dot gnu dot org
2009-11-28 20:25 ` howarth at nitro dot med dot uc dot edu
2009-11-28 20:27 ` andreast at gcc dot gnu dot org
2009-11-28 20:32 ` howarth at nitro dot med dot uc dot edu
2009-11-28 23:01 ` howarth at nitro dot med dot uc dot edu
2009-11-29  7:41 ` howarth at nitro dot med dot uc dot edu
2009-11-29  7:48 ` howarth at nitro dot med dot uc dot edu
2009-12-01  4:56 ` howarth at nitro dot med dot uc dot edu
2009-12-03 15:33 ` howarth at nitro dot med dot uc dot edu
2009-12-05  7:03 ` howarth at nitro dot med dot uc dot edu
2009-12-05  8:21 ` howarth at nitro dot med dot uc dot edu
2009-12-05  8:54 ` howarth at nitro dot med dot uc dot edu
2009-12-05  9:02 ` howarth at nitro dot med dot uc dot edu
2009-12-09 18:45 ` bryce at gcc dot gnu dot org
2009-12-09 18:46 ` bryce at gcc dot gnu dot org
2009-12-10 14:32 ` howarth at nitro dot med dot uc dot edu
2009-12-17 23:30 ` howarth at nitro dot med dot uc dot edu
2009-12-18 14:54 ` howarth at nitro dot med dot uc dot edu
2009-12-19  0:35 ` howarth at nitro dot med dot uc dot edu
2010-02-02  8:18 ` andreast at gcc dot gnu dot org
2010-02-02  8:19 ` andreast at gcc dot gnu dot org
2010-02-02  8:19 ` andreast at gcc dot gnu dot org
2010-02-03  3:33 ` [Bug java/41991] gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9 howarth at nitro dot med dot uc dot edu
2010-06-20  6:57 ` gcc at ryandesign dot com
2010-08-11 12:32 ` iains at gcc dot gnu dot org
2010-08-11 12:50 ` andreast at gcc dot gnu dot org
2010-08-11 13:14 ` howarth at nitro dot med dot uc dot edu
2010-08-11 13:42 ` howarth at nitro dot med dot uc dot edu
2010-08-11 15:23 ` howarth at nitro dot med dot uc dot edu
2010-08-17 13:13 ` iains at gcc dot gnu dot org
2010-08-21  0:31 ` howarth at nitro dot med dot uc dot edu
2010-08-21  0:55 ` howarth at nitro dot med dot uc dot edu
2010-08-21  2:24 ` howarth at nitro dot med dot uc dot edu
2010-08-22  4:56 ` howarth at nitro dot med dot uc dot edu
2010-08-23 16:32 ` howarth at nitro dot med dot uc dot edu
     [not found] <bug-41991-8172@http.gcc.gnu.org/bugzilla/>
2013-09-14 12:01 ` iains at gcc dot gnu.org
2014-02-16 13:15 ` jackie.rosen at hushmail dot com
2014-11-03 19:44 ` fxcoudert at gcc dot gnu.org
2021-02-28 15:36 ` egallager at gcc dot gnu.org
2023-05-16 19:14 ` iains at gcc dot gnu.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).