[Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*
howarth at nitro dot med dot uc dot edu
gcc-bugzilla@gcc.gnu.org
Thu Dec 3 15:33:00 GMT 2009
------- 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
More information about the Java-prs
mailing list