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 <howa...@bromo.med.uc.edu> 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