This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 3.1 bootstrap failure on sparc-sun-solaris2.8



   From: Brad Lucier <lucier@math.purdue.edu>
   Date: Sun, 28 Apr 2002 19:44:24 -0500 (EST)

   on sparc-sun-solaris2.8 with Solaris as/ld/sh and gnu make, bootstrap fails
   with
   
   /export/u3/lucier/programs/gcc/gcc-3.1/libffi/configure: test: unknown operator ==

This should obviously should fix it.

2002-04-28  David S. Miller  <davem@redhat.com>

	* configure.in, configure: Fix SPARC test in previous change.

--- libffi/configure.~1~	Sun Apr 28 21:16:32 2002
+++ libffi/configure	Sun Apr 28 21:19:36 2002
@@ -3421,7 +3421,7 @@
 fi
 
 
-if test x$TARGET == xSPARC; then
+if test x$TARGET = xSPARC; then
     echo $ac_n "checking assembler and linker support unaligned pc related relocs""... $ac_c" 1>&6
 echo "configure:3426: checking assembler and linker support unaligned pc related relocs" >&5
 if eval "test \"`echo '$''{'libffi_cv_as_sparc_ua_pcrel'+set}'`\" = set"; then
--- libffi/configure.in.~1~	Sun Apr 28 21:16:32 2002
+++ libffi/configure.in	Sun Apr 28 21:19:31 2002
@@ -96,7 +96,7 @@
 AC_COMPILE_CHECK_SIZEOF(void *)
 AC_C_BIGENDIAN_CROSS
 
-if test x$TARGET == xSPARC; then
+if test x$TARGET = xSPARC; then
     AC_CACHE_CHECK([assembler and linker support unaligned pc related relocs],
 	libffi_cv_as_sparc_ua_pcrel, [
 	save_CFLAGS="$CFLAGS"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]