compile breaks with --enable-checking

Jeff Garzik jgarzik@pobox.com
Sat Sep 4 13:46:00 GMT 1999


Platform: i586-pc-linux-gnu
Code: egcs HEAD branch, updated perhaps an hour previous to this message
Configure: ./configure --prefix=/usr/local/egcs --enable-checking
--enable-languages=c --enable-cpplib

Compile error:

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}; \
  ./xgcc -B/usr/local/egcs/i586-pc-linux-gnu/bin/ -B./
-I/usr/local/egcs/i586-pc-linux-gnu/include -O2   -DIN_GCC    -g -W
-Wall -I./include  -fPIC -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  
-I. -I. -I./config -I./../include -c -DL${name} \
       ./libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  ` if [ -f /.automount/bum/root/g/cvs/egcs/gcc/../binutils/ar ] ; then
echo /.automount/bum/root/g/cvs/egcs/gcc/../binutils/ar ; else if [
"i586-pc-linux-gnu" = "i586-pc-linux-gnu" ] ; then echo ar; else
t='s,x,x,'; echo ar | sed -e $t ; fi; fi` rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
./libgcc2.c: In function `__muldi3':
./libgcc2.c:305: RTL check: expected code `set' or `clobber', have
`pre_dec'
./libgcc2.c:305: Internal compiler error in `sched_analyze_1', at
haifa-sched.c:3242
Please submit a full bug report.

-- 
Custom driver development	|    Never worry about theory as long
Open source programming		|    as the machinery does what it's
				|    supposed to do.  -- R. A. Heinlein


More information about the Gcc-bugs mailing list