public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] backport r175089/r175108 to gcc-4_5-branch
@ 2011-06-19  7:57 Jack Howarth
  2011-06-19 18:19 ` Mike Stump
  0 siblings, 1 reply; 2+ messages in thread
From: Jack Howarth @ 2011-06-19  7:57 UTC (permalink / raw)
  To: gcc-patches; +Cc: mikestump, iains

   Since the common config/mh-darwin file doesn't exist on gcc-4_5-branch, the following patch
creates a config/mh-x86-darwin to allow r175089 and r175108 to be effectively backported. This
change is worthwhile to provide darwin11 users access to dragonegg (since dragonegg doesn't
build on gcc 4.6.x yet). Bootstrap and regression tested on x86_64-apple-darwin11. Okay
for gcc-4_5-branch?
           Jack

2011-06-18  Jack Howarth <howarth@bromo.med.uc.edu>

	PR target/49461
	* configure.ac:  Use mh-x86-darwin.
	* configure: Regenerate.
	* config/mh-x86-darwin: Add file and pass -no_pie on BOOT_LDFLAGS for darwin11.



Index: configure.ac
===================================================================
--- configure.ac	(revision 175182)
+++ configure.ac	(working copy)
@@ -1135,6 +1135,9 @@ case "${host}" in
     tentative_cc="/usr/cygnus/progressive/bin/gcc"
     host_makefile_frag="config/mh-lynxrs6k"
     ;;
+  i[[3456789]]86-*-darwin* | x86_64-*-darwin*)
+    host_makefile_frag="config/mh-x86-darwin"
+    ;;
   powerpc-*-darwin*)
     host_makefile_frag="config/mh-ppc-darwin"
     ;;

--- /dev/null	2011-06-18 11:57:42.000000000 -0400
+++ config/mh-x86-darwin	2011-06-18 11:52:12.000000000 -0400
@@ -0,0 +1,2 @@
+# Ensure we don't try and use -pie, as it is incompatible with pch.
+BOOT_LDFLAGS += `case ${host} in *-*-darwin[1][1-9]*) echo -Wl,-no_pie ;; esac;`

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

* Re: [PATCH] backport r175089/r175108 to gcc-4_5-branch
  2011-06-19  7:57 [PATCH] backport r175089/r175108 to gcc-4_5-branch Jack Howarth
@ 2011-06-19 18:19 ` Mike Stump
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Stump @ 2011-06-19 18:19 UTC (permalink / raw)
  To: Jack Howarth; +Cc: gcc-patches, iains

On Jun 18, 2011, at 6:10 PM, Jack Howarth wrote:
>   Since the common config/mh-darwin file doesn't exist on gcc-4_5-branch, the following patch
> creates a config/mh-x86-darwin to allow r175089 and r175108 to be effectively backported. This
> change is worthwhile to provide darwin11 users access to dragonegg (since dragonegg doesn't
> build on gcc 4.6.x yet). Bootstrap and regression tested on x86_64-apple-darwin11. Okay
> for gcc-4_5-branch?

Ok and applied.

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

end of thread, other threads:[~2011-06-19 18:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-19  7:57 [PATCH] backport r175089/r175108 to gcc-4_5-branch Jack Howarth
2011-06-19 18:19 ` Mike Stump

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