From patchwork Mon Mar 14 02:53:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Stump X-Patchwork-Id: 86656 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 9EBAEB6F12 for ; Mon, 14 Mar 2011 13:53:40 +1100 (EST) Received: (qmail 5784 invoked by alias); 14 Mar 2011 02:53:38 -0000 Received: (qmail 5769 invoked by uid 22791); 14 Mar 2011 02:53: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, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from qmta08.westchester.pa.mail.comcast.net (HELO qmta08.westchester.pa.mail.comcast.net) (76.96.62.80) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 Mar 2011 02:53:31 +0000 Received: from omta14.westchester.pa.mail.comcast.net ([76.96.62.60]) by qmta08.westchester.pa.mail.comcast.net with comcast id JqtQ1g0041HzFnQ58qtWjH; Mon, 14 Mar 2011 02:53:30 +0000 Received: from up.mrs.kithrup.com ([24.4.193.8]) by omta14.westchester.pa.mail.comcast.net with comcast id JqtR1g00V0BKwT43aqtSlz; Mon, 14 Mar 2011 02:53:29 +0000 Subject: Re: [PATCH] 'Fix' PR48086 by disabling LTO on darwin Mime-Version: 1.0 (Apple Message framework v1082) From: Mike Stump In-Reply-To: <20110314005739.GA15471@bromo.med.uc.edu> Date: Sun, 13 Mar 2011 19:53:23 -0700 Cc: gcc-patches@gcc.gnu.org, iains@gcc.gnu.org, steven@gcc.gnu.org, hubicka@ucw.cz Message-Id: References: <20110314005739.GA15471@bromo.med.uc.edu> To: Jack Howarth X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org On Mar 13, 2011, at 5:57 PM, Jack Howarth wrote: > Okay for gcc trunk? Ok, applied. I updated the wording of the checkin slightly, hope you don't mind. Thanks. Hate to find out late in the game, but, at least we figured it out before release. 2011-03-13 Jack Howarth PR lto/48086 * configure.ac: Disable LTO on darwin due to an assembler change in Xcode 3.2.6/4.0 that limits the total number of sections/segments to under 256. * configure: Regenerate. Index: configure =================================================================== --- configure (revision 170745) +++ configure (working copy) @@ -6206,7 +6206,7 @@ else if test x"$default_enable_lto" = x"yes" ; then case $target in - *-apple-darwin* | *-cygwin* | *-mingw*) ;; + *-cygwin* | *-mingw*) ;; # On other non-ELF platforms, LTO has yet to be validated. *) enable_lto=no ;; esac Index: configure.ac =================================================================== --- configure.ac (revision 170745) +++ configure.ac (working copy) @@ -1743,7 +1743,7 @@ build_lto_plugin=yes ],[if test x"$default_enable_lto" = x"yes" ; then case $target in - *-apple-darwin* | *-cygwin* | *-mingw*) ;; + *-cygwin* | *-mingw*) ;; # On other non-ELF platforms, LTO has yet to be validated. *) enable_lto=no ;; esac