cvs gcc crashes compiling libgcc

Per Bothner
Sat Dec 18 00:16:00 GMT 1999

I cannot build gcc out of cvs:

/home/bothner/GNU/egcs/gcc/libgcc2.c: In function `__muldi3':
/home/bothner/GNU/egcs/gcc/libgcc2.c:323: Internal compiler error in `reg_overlap_mentioned_for_reload_p', at reload.c:5846

This is on Debian GNU/Linux, using installed gcc version
The head of config.status is:

# /home/bothner/GNU/egcs/gcc/configure  --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --prefix=/home/bothner/GNU/linux --srcdir=/home/bothner/GNU/egcs/gcc --with-gcc-version-trigger=/home/bothner/GNU/egcs/gcc/version.c --cache-file=../config.cache

Last part of the compilation log:

touch stmp-fixinc
for file in .. /home/bothner/GNU/egcs/gcc/ginclude/stdarg.h /home/bothner/GNU/egcs/gcc/ginclude/stddef.h /home/bothner/GNU/egcs/gcc/ginclude/varargs.h /home/bothner/GNU/egcs/gcc/ginclude/proto.h /home/bothner/GNU/egcs/gcc/ginclude/stdbool.h /home/bothner/GNU/egcs/gcc/ginclude/iso646.h  /home/bothner/GNU/egcs/gcc/cp/inc/typeinfo /home/bothner/GNU/egcs/gcc/cp/inc/exception /home/bothner/GNU/egcs/gcc/cp/inc/new /home/bothner/GNU/egcs/gcc/cp/inc/new.h   ; do \
  if [ X$file != X.. ]; then \
    realfile=`echo $file | sed -e 's|.*/\([^/]*\)$|\1|'`; \
    touch include/$realfile; \
    rm -f include/$realfile; \
    cp $file include; \
    chmod a+r include/$realfile; \
  fi; \
rm -f include/limits.h
cp xlimits.h include/limits.h
chmod a+r include/limits.h
rm -f include/float.h
if [ xfloat-i386.h != ]; then \
  cp /home/bothner/GNU/egcs/gcc/config/float-i386.h include/float.h && \
  chmod a+r include/float.h; \
else :; fi
rm -f include/README
cp /home/bothner/GNU/egcs/gcc/README-fixinc include/README
chmod a+r include/README
touch stmp-int-hdrs
if [ -f libgcc2.ready ] ; then \
	true; \
else \
	touch libgcc2.ready; \
case " c gcov CHILL c++ f77 java objc " in \
*" "[cC]"++ "*) \
  echo tinfo.o tinfo2.o new.o opnew.o opnewnt.o opvnew.o opvnewnt.o opdel.o opdelnt.o opvdel.o opvdelnt.o exception.o >;; \
*) \
  echo "" >;; \
mv -f cplib2.txt 
rm -f tmplibgcc2.a
for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf _bb _shtab _clear_cache _trampoline __main _exit _ctors _pure; \
do \
  echo ${name}; \
  /home/bothner/GNU/linux-gcc/gcc/xgcc -B/home/bothner/GNU/linux-gcc/gcc/ -B/home/bothner/GNU/linux/i686-pc-linux-gnu/bin/ -I/home/bothner/GNU/linux/i686-pc-linux-gnu/include -O2   -DIN_GCC    -g -O2 -I./include  -fPIC -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I/home/bothner/GNU/egcs/gcc -I/home/bothner/GNU/egcs/gcc/config -I/home/bothner/GNU/egcs/gcc/../include -c -DL${name} \
       /home/bothner/GNU/egcs/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
/home/bothner/GNU/egcs/gcc/libgcc2.c: In function `__muldi3':
/home/bothner/GNU/egcs/gcc/libgcc2.c:323: Internal compiler error in `reg_overlap_mentioned_for_reload_p', at reload.c:5846
Please submit a full bug report.
See <URL: > for instructions.
make[1]: *** [libgcc2.a] Error 1
make[1]: Leaving directory `/home/bothner/GNU/linux-gcc/gcc'
make: *** [all-gcc] Error 2
	--Per Bothner

More information about the Gcc-bugs mailing list