From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3782 invoked by alias); 19 Jun 2011 18:15:37 -0000 Received: (qmail 3765 invoked by uid 22791); 19 Jun 2011 18:15:36 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,TW_GC,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from qmta06.emeryville.ca.mail.comcast.net (HELO qmta06.emeryville.ca.mail.comcast.net) (76.96.30.56) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 19 Jun 2011 18:15:13 +0000 Received: from omta14.emeryville.ca.mail.comcast.net ([76.96.30.60]) by qmta06.emeryville.ca.mail.comcast.net with comcast id xuCp1g0021HpZEsA6uFB79; Sun, 19 Jun 2011 18:15:11 +0000 Received: from up.mrs.kithrup.com ([24.4.193.8]) by omta14.emeryville.ca.mail.comcast.net with comcast id xuFF1g0070BKwT48auFGmy; Sun, 19 Jun 2011 18:15:17 +0000 Subject: Re: [PATCH][Revised] Pass -no_pie on SYSTEMSPEC for darwin11 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Mike Stump In-Reply-To: <8035A572-9078-46F4-9172-8CB269E1E854@comcast.net> Date: Sun, 19 Jun 2011 18:20:00 -0000 Cc: Jack Howarth , Iain Sandoe Content-Transfer-Encoding: quoted-printable Message-Id: References: <20110618024913.GA29537@bromo.med.uc.edu> <8035A572-9078-46F4-9172-8CB269E1E854@comcast.net> To: "gcc-patches@gcc.gnu.org List" X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-06/txt/msg01415.txt.bz2 On Jun 18, 2011, at 8:11 AM, 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 th= e 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 in= cluded it in the >> triplet match to simplify the syntax. Bootstrap and tested on x86_64-app= le-darwin11. >> Okay for gcc trunk with PR added to comment as requested? >> Jack >> ps This change also works for gcc-4_6-branch in concert with a backport = of >> r175089 and r175108. >>=20 >> 2011-06-17 Jack Howarth >>=20 >> PR target/49461 >> * libjava/configure.ac (SYSTEMSPEC): Pass -no_pie for darwin11. >> * libjava/configure: Regenerate. >=20 > Checked in r175182, with one additional comment. We still welcome tracki= ng down what exactly doesn't work and a bug report and fix for that, until = then, I think life is too short to have java be broken for too long. Also backported for 4.6.1.