From a6c71270541c643174b994f1ebc3788954f45673 Mon Sep 17 00:00:00 2001 From: Jack Howarth Date: Mon, 14 Mar 2011 02:47:49 +0000 Subject: [PATCH] re PR lto/48086 (bootstrap-lto creates c-common.s with too many sections on x86_64-apple-darwin10) 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. From-SVN: r170929 --- ChangeLog | 8 ++++++++ configure | 2 +- configure.ac | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 72d5ca7082c..ab6a900c51f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +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. + 2011-03-11 Chen Liqin * MAINTAINERS: Update myself as score backend maintainer, update my e-mail address. diff --git a/configure b/configure index 5e97d0f6d61..2a21f9f67b9 100755 --- a/configure +++ b/configure @@ -6206,7 +6206,7 @@ if test $target_elf = yes; then : 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 diff --git a/configure.ac b/configure.ac index 233ce0a768e..02eb78459ec 100644 --- a/configure.ac +++ b/configure.ac @@ -1743,7 +1743,7 @@ ACX_ELF_TARGET_IFELSE([# ELF platforms build the lto-plugin always. 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 -- 2.30.2