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: gcc-bugs at gcc dot gnu dot org, pfeifer at dbai dot tuwien dot ac dot at
- Subject: Re: libgcc2.h:99: no data type for mode `TI'
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Fri, 29 Sep 2000 11:13:17 -0400 (EDT)
- Cc: gcc-patches at gcc dot gnu dot org, jakub at redhat dot com, rth at cygnus dot com
> From: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
>
> This is a new bootstrap failure seen on sparc-sun-solaris2.8 (running
> in 32bit mode, AFAIS):
>
> ./xgcc -B./ -B/sw/test/gcc/SunOS/sparc-sun-solaris2.8/bin/ -isystem
> /sw/test/gcc/SunOS/sparc-sun-solaris2.8/include -O2 -DIN_GCC -DSVR4
> -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wno-long-long -isystem ./include -fPIC -g1 -DHAVE_GTHR_DEFAULT
> -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I/sw/test/gcc/gcc/gcc
> -I/sw/test/gcc/gcc/gcc/config -I/sw/test/gcc/gcc/gcc/../include -m64
> -DL_muldi3 -c /sw/test/gcc/gcc/gcc/libgcc2.c -o
> libgcc/sparcv9/_muldi3.o
> /sw/test/gcc/gcc/gcc/libgcc2.h:99: no data type for mode `TI'
> /sw/test/gcc/gcc/gcc/libgcc2.h:100: no data type for mode `TI'
> gmake[3]: *** [libgcc/sparcv9/_muldi3.o] Error 1
> gmake[3]: Leaving directory `/files/pfeifer/OBJ-2809-18:01/gcc'
>
> Gerald
I get the same on solaris2.7. The following patch fixes it.
Should I install?
--Kaveh
2000-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* sparc.h (MIN_UNITS_PER_WORD): Revert last change.
diff -rup ../pats/egcs-CVS20000926/gcc/config/sparc/sparc.h egcs-CVS20000926/gcc/config/sparc/sparc.h
--- ../pats/egcs-CVS20000926/gcc/config/sparc/sparc.h Tue Sep 26 18:15:47 2000
+++ egcs-CVS20000926/gcc/config/sparc/sparc.h Wed Sep 27 00:51:22 2000
@@ -765,11 +765,7 @@ extern struct sparc_cpu_select sparc_sel
/* Width of a word, in units (bytes). */
#define UNITS_PER_WORD (TARGET_ARCH64 ? 8 : 4)
-#ifdef IN_LIBGCC2
-#define MIN_UNITS_PER_WORD UNITS_PER_WORD
-#else
#define MIN_UNITS_PER_WORD 4
-#endif
/* Now define the sizes of the C data types. */