This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libgcc2.h:99: no data type for mode `TI'
- To: pfeifer at dbai dot tuwien dot ac dot at, rth at cygnus dot com
- Subject: Re: libgcc2.h:99: no data type for mode `TI'
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Mon, 2 Oct 2000 15:36:35 -0400 (EDT)
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, jakub at redhat dot com
> 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])