Cannot build egcs-1.1.1 on i386-sni-sysv4

Andrej Borsenkow borsenkow.msk@sni.de
Tue Dec 22 02:03:00 GMT 1998


The previous build (1.1a) was fine. Now I tried to build 1.1.1, core
distribution. It was nothing but

./configure --prefix=/tools (the same as for 1.1a)
gmake LANGUAGES=c CFLAGS=-O2 bootstrap

Unfortunately, it fails making libgcc2 as following:

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./ -O2   -DIN_GCC    -g -I./include  -fPIC -g1  -DIN_LIBGCC2 -D__GC
C_FLOAT_NOT_NEEDED   -I. -I. -I./config -c -DL${name} \
      ./libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  ` if [ -f /u1/src/egcs-1.1.1/gcc/../binutils/ar ] ; then echo
/u1/src/egcs-1.1.1/gcc/../binutils/ar ; else if [ "i386-sni-sysv4" =
"i386-sni-sysv4" ] ; 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
In file included from ./libgcc2.c:141:
longlong.h:339: unterminated string or character constant
longlong.h:0: possible real start of unterminated constant
longlong.h:348: unterminated string or character constant
longlong.h:0: possible real start of unterminated constant
gmake[2]: *** [libgcc2.a] Error 1
gmake[2]: Leaving directory `/u1/src/egcs-1.1.1/gcc'
gmake[1]: *** [bootstrap] Error 2
gmake[1]: Leaving directory `/u1/src/egcs-1.1.1/gcc'
gmake: *** [bootstrap] Error 2

The line 339 (and 348) look loke

  __asm__ ("addl %5,%1
        adcl %3,%0"                                                     \

(note character string with newline in it).

I am using binutils-2.9.1 as well.

thank you in advance

A. Borsenkow




More information about the Gcc-bugs mailing list