This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: 4.3 bootstrap broken when configured as i386-linux
- From: "Michael Meissner" <michael dot meissner at amd dot com>
- To: "Andreas Schwab" <schwab at suse dot de>
- Cc: "H. J. Lu" <hjl at lucon dot org>, "Martin Michlmayr" <tbm at cyrius dot com>, "Matthias Klose" <doko at cs dot tu-berlin dot de>, gcc-patches at gcc dot gnu dot org, michael dot meissner at amd dot com
- Date: Mon, 26 Mar 2007 13:31:15 -0400
- Subject: Re: PATCH: 4.3 bootstrap broken when configured as i386-linux
- References: <5BA1A644-ED1B-4726-A0BE-EEE74C960927@gmail.com> <17927.41708.85888.445898@gargle.gargle.HOWL> <20070326160004.GA29243@unjust.cyrius.com> <20070326164646.GA30013@lucon.org> <jelkhkuetf.fsf@sykes.suse.de>
On Mon, Mar 26, 2007 at 06:53:16PM +0200, Andreas Schwab wrote:
> "H. J. Lu" <hjl@lucon.org> writes:
>
> > There is nothing wrong to use AC_CANONICAL_SYSTEM for target
> > library.
>
> Actually there is, AC_CANONICAL_SYSTEM is obsolete.
>
> Andreas.
>
> --
> Andreas Schwab, SuSE Labs, schwab@suse.de
> SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
> PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
> "And now for something completely different."
Rather than using AC_CANONICAL and friends, a simpler patch follows. Any
comments on the patch, particularly from the libgcc maintainers?
libgcc/
2007-03-26 Michael Meissner <michael.meissner@amd.com>
* configure.ac (--enable-decimal-float): Change x86 targets to
just x86_64*-linux* and i?86*-linux* so that a non-canonical
target of x86_64-linux will be handled.
* configure: Regenerate.
--- libgcc/configure.ac.~1~ 2007-03-24 13:25:28.593802000 -0400
+++ libgcc/configure.ac 2007-03-26 13:17:46.577488000 -0400
@@ -121,7 +121,7 @@ Valid choices are 'yes', 'bid', 'dpd', a
],
[
case $target in
- powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
+ powerpc*-*-linux* | i?86*-linux* | x86_64*-linux*)
enable_decimal_float=yes
;;
*)
@@ -133,7 +133,7 @@ Valid choices are 'yes', 'bid', 'dpd', a
# x86's use BID format instead of DPD
if test x$enable_decimal_float = xyes; then
case $target in
- i?86*-*-linux* | x86_64*-*-linux*)
+ i?86*-linux* | x86_64*-linux*)
enable_decimal_float=bid
;;
*)
--- libgcc/configure.~1~ 2007-03-26 13:17:14.691407000 -0400
+++ libgcc/configure 2007-03-26 13:17:55.282777000 -0400
@@ -3306,7 +3306,7 @@ Valid choices are 'yes', 'bid', 'dpd', a
else
case $target in
- powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
+ powerpc*-*-linux* | i?86*-linux* | x86_64*-linux*)
enable_decimal_float=yes
;;
*)
@@ -3319,7 +3319,7 @@ fi;
# x86's use BID format instead of DPD
if test x$enable_decimal_float = xyes; then
case $target in
- i?86*-*-linux* | x86_64*-*-linux*)
+ i?86*-linux* | x86_64*-linux*)
enable_decimal_float=bid
;;
*)
--
Michael Meissner, AMD
90 Central Street, MS 83-29, Boxborough, MA, 01719, USA
michael.meissner@amd.com