Commit ffe51045 by Jack Howarth Committed by Mike Stump

re PR target/49461 (boehm-gc and gcj incompatible with pie)

	PR target/49461
	* libjava/configure.ac (SYSTEMSPEC): Pass -no_pie for darwin11.
	* libjava/configure: Regenerate.

From-SVN: r175182
parent 0c587260
2011-06-17 Jack Howarth <howarth@bromo.med.uc.edu>
PR target/49461
* libjava/configure.ac (SYSTEMSPEC): Pass -no_pie for darwin11.
* libjava/configure: Regenerate.
2011-06-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 2011-06-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR libgcj/49315 PR libgcj/49315
......
...@@ -19788,9 +19788,14 @@ case "${host}" in ...@@ -19788,9 +19788,14 @@ case "${host}" in
SYSTEMSPEC="-lunicows $SYSTEMSPEC" SYSTEMSPEC="-lunicows $SYSTEMSPEC"
fi fi
;; ;;
*-*-darwin[912]*) *-*-darwin9*)
SYSTEMSPEC="%{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}" SYSTEMSPEC="%{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}"
;; ;;
*-*-darwin[12]*)
# Something is incompatible with pie, would be nice to fix it and
# remove -no_pie. PR49461
SYSTEMSPEC="-no_pie %{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}"
;;
*) *)
SYSTEMSPEC= SYSTEMSPEC=
;; ;;
......
...@@ -898,9 +898,14 @@ case "${host}" in ...@@ -898,9 +898,14 @@ case "${host}" in
SYSTEMSPEC="-lunicows $SYSTEMSPEC" SYSTEMSPEC="-lunicows $SYSTEMSPEC"
fi fi
;; ;;
*-*-darwin[[912]]*) *-*-darwin9*)
SYSTEMSPEC="%{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}" SYSTEMSPEC="%{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}"
;; ;;
*-*-darwin[[12]]*)
# Something is incompatible with pie, would be nice to fix it and
# remove -no_pie. PR49461
SYSTEMSPEC="-no_pie %{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}"
;;
*) *)
SYSTEMSPEC= SYSTEMSPEC=
;; ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment