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