libgcc2.h:99: no data type for mode `TI'

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Mon Oct 2 12:36:00 GMT 2000


 > From: Richard Henderson <rth@cygnus.com>
 > 
 > On Sat, Sep 30, 2000 at 12:20:58PM +0200, Gerald Pfeifer wrote:
 > > On a related note I realized that Jakub failed to specify whether he
 > > did a full bootstrap and testsuite run and on which platform for his
 > > original patch.
 > 
 > I'm sure it was for sparc64-linux -- the patch *is* necessary
 > for sparc64 to work.  The failure you're seeing is common to
 > any 32-to-64 cross at the moment.
 > 
 > There are two options: disable the 64-bit parts when building
 > from a 32-bit host (like solaris 2.7), or to fix 32-to-64 bit
 > cross compilation (replace CONST_DOUBLE with arbitrary precision
 > arithmetic).
 > 
 > The first option is surely easier.
 > r~

Here's a patch which does option 1.  Using it and Jan's patch:
http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00014.html
I am able to bootstrap again on solaris2.7.

Should I install it?

		--Kaveh

2000-10-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* configure.in (sparc-*-solaris2*): Disable 32-to-64 cross
	compilation for solaris versions 2.7 and greater.

diff -rup orig/egcs-CVS20001002/gcc/configure.in egcs-CVS20001002/gcc/configure.in
--- orig/egcs-CVS20001002/gcc/configure.in	Mon Oct  2 10:20:05 2000
+++ egcs-CVS20001002/gcc/configure.in	Mon Oct  2 13:21:08 2000
@@ -3525,20 +3525,21 @@ changequote([,])dnl
 		tmake_file=sparc/t-sol2
 		xmake_file=sparc/x-sysv4
 		extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
-		case $machine in
-changequote(,)dnl
-		*-*-solaris2.[0-6] | *-*-solaris2.[0-6].*) ;;
-changequote([,])dnl
-		*-*-solaris2*)
-			if test x$gnu_ld = xyes
-			then
-				tm_file=sparc/sol2-64.h
-			else
-				tm_file=sparc/sol2-sld-64.h
-			fi
-			tmake_file="$tmake_file sparc/t-sol2-64"
-			;;
-		esac
+# At the moment, 32-to-64 cross compilation doesn't work.
+#		case $machine in
+#changequote(,)dnl
+#		*-*-solaris2.[0-6] | *-*-solaris2.[0-6].*) ;;
+#changequote([,])dnl
+#		*-*-solaris2*)
+#			if test x$gnu_ld = xyes
+#			then
+#				tm_file=sparc/sol2-64.h
+#			else
+#				tm_file=sparc/sol2-sld-64.h
+#			fi
+#			tmake_file="$tmake_file sparc/t-sol2-64"
+#			;;
+#		esac
 		case $machine in
 changequote(,)dnl
 		*-*-solaris2.[0-4])


More information about the Gcc-patches mailing list