From d5be1dd4e62d46eeb63b9a37928205f1818b5f01 Mon Sep 17 00:00:00 2001 From: Roger Sayle Date: Fri, 1 Feb 2008 17:41:48 +0000 Subject: [PATCH] re PR bootstrap/33781 ("Arg list too long" building libgcc.a) PR bootstrap/33781 * configure.ac (--enable-fixed-point): Disable unless explicitly requested on IRIX. * configure: Regenerate. From-SVN: r132047 --- gcc/ChangeLog | 7 +++++++ gcc/configure | 11 ++++++++++- gcc/configure.ac | 14 +++++++++++--- 3 files changed, 28 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 021814aec84..35f0e75eed2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2008-02-01 Roger Sayle + + PR bootstrap/33781 + * configure.ac (--enable-fixed-point): Disable unless explicitly + requested on IRIX. + * configure: Regenerate. + 2008-02-01 Richard Guenther PR other/35042 diff --git a/gcc/configure b/gcc/configure index 5581fd628d2..ed7bba16e0e 100755 --- a/gcc/configure +++ b/gcc/configure @@ -7056,7 +7056,16 @@ else case $target in mips*-*-*) - enable_fixed_point=yes + case $host in + mips*-sgi-irix*) + { echo "$as_me:$LINENO: WARNING: fixed-point support is not available for IRIX" >&5 +echo "$as_me: WARNING: fixed-point support is not available for IRIX" >&2;} + enable_fixed_point=no + ;; + *) + enable_fixed_point=yes + ;; + esac ;; *) { echo "$as_me:$LINENO: WARNING: fixed-point is not supported for this target" >&5 diff --git a/gcc/configure.ac b/gcc/configure.ac index 18406c7221f..f3bc7b352c5 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -1,8 +1,8 @@ # configure.ac for GCC # Process this file with autoconf to generate a configuration script. -# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 -# Free Software Foundation, Inc. +# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, +# 2007, 2008 Free Software Foundation, Inc. #This file is part of GCC. @@ -649,7 +649,15 @@ AC_ARG_ENABLE(fixed-point, [ case $target in mips*-*-*) - enable_fixed_point=yes + case $host in + mips*-sgi-irix*) + AC_MSG_WARN(fixed-point is not supported on IRIX, ignored) + enable_fixed_point=no + ;; + *) + enable_fixed_point=yes + ;; + esac ;; *) AC_MSG_WARN(fixed-point is not supported for this target, ignored)