public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jack Howarth <howarth@bromo.med.uc.edu>
To: gcc-patches@gcc.gnu.org
Cc: mikestump@comcast.net, iains@gcc.gnu.org
Subject: [PATCH] backport r175089/r175108 to gcc-4_5-branch
Date: Sun, 19 Jun 2011 07:57:00 -0000	[thread overview]
Message-ID: <20110619011002.GA3560@bromo.med.uc.edu> (raw)

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

             reply	other threads:[~2011-06-19  1:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-19  7:57 Jack Howarth [this message]
2011-06-19 18:19 ` Mike Stump

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110619011002.GA3560@bromo.med.uc.edu \
    --to=howarth@bromo.med.uc.edu \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=iains@gcc.gnu.org \
    --cc=mikestump@comcast.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).