From: Jack Howarth <howarth@bromo.med.uc.edu>
To: Mike Stump <mikestump@comcast.net>
Cc: gcc-patches@gcc.gnu.org, iains@gcc.gnu.org
Subject: Re: [PATCH][Revised] Pass -no_pie on SYSTEMSPEC for darwin11
Date: Sat, 18 Jun 2011 19:02:00 -0000 [thread overview]
Message-ID: <20110618153146.GB963@bromo.med.uc.edu> (raw)
In-Reply-To: <0FD640D8-9759-4607-B21F-937355E6C3EB@comcast.net>
On Sat, Jun 18, 2011 at 07:48:51AM -0700, Mike Stump wrote:
> On Jun 17, 2011, at 7:49 PM, Jack Howarth wrote:
> > The gcj compiler needs to pass -no_pie for linkage on darwin11 due to the new -pie
> > default of the linker. The attached patch accomplishes this by passing -no_pie on SYSTEMSPEC
> > for *-*-darwin[12]*. Since Darwin10 supports -no_pie in its linker, I included it in the
> > triplet match to simplify the syntax. Bootstrap and tested on x86_64-apple-darwin11.
> > Okay for gcc trunk with PR added to comment as requested?
>
> > ps This change also works for gcc-4_6-branch in concert with a backport of
> > r175089 and r175108.
>
> I've backported these two to the gcc-4_6-branch. I tried 4.5, but, they'd need to have mh-darwin backported, so I didn't bother.
Mike,
We might just create a mh-x86-darwin for gcc 4.5. Currently dragonegg only supports that FSF gcc release
so it would be nice to have a clean bootstrap on darwin11 to support that option.
Jack
ps FYI, I am only suggesting we populate mh-x86-darwin with...
# 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;`
and skip the...
BOOT_CFLAGS += -mdynamic-no-pic
bit.
next prev parent reply other threads:[~2011-06-18 15:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-18 5:52 Jack Howarth
2011-06-18 14:53 ` Mike Stump
2011-06-18 19:02 ` Jack Howarth [this message]
2011-06-18 15:28 ` Mike Stump
2011-06-18 15:32 ` Mike Stump
2011-06-18 15:33 ` Jack Howarth
2011-06-19 18:20 ` Mike Stump
2011-06-19 20:18 ` Jack Howarth
2011-06-19 23:20 ` Mike Stump
2011-06-19 23:33 ` Jack Howarth
[not found] ` <47DFC4C2-9E8E-40BD-BA97-2314A8263A68@comcast.net>
[not found] ` <20110619235544.GA32119@bromo.med.uc.edu>
2011-06-30 16:40 ` 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=20110618153146.GB963@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).