[ECOS] SH Tool Building Problem (egcs-20000403 snapshot)

John M. Mills jmills@tga.com
Thu Apr 6 11:29:00 GMT 2000

I trying to build the eCos toolset for Hitachi SH processors under
WinNT/SP4, and failing with egcs-20000403.

I did fresh installations of Cygwin-B20.1 and gcc-2_95_2-cygb20.tar.gz. 

I built and installed binutils-000404 and added their (exec-prefix)/bin to
my path.

I configured for:
/c/usr/src/egcs-20000403/configure \
 --target=sh-elf --prefix=<blah> --exec-prefix=<blah>/<host> \
 --with-gnu-as --with-gnu-ld --with-newlib

'make -w all-gcc' fails with an internal compiler error while trying to
build 'tmplibgcc2.a'. The build log ends as follows:


Configuring for a i586-pc-cygwin host.


make[3]: Entering directory `/c/build/egcs/gcc'
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}; \
  /c/build/egcs/gcc/xgcc -B/c/build/egcs/gcc/ -B/opt/ecos/H-i586-pc-cygwin/sh-elf/bin/ -I/opt/ecos/H-i586-pc-cygwin/sh-elf/include -O2  -DCROSS_COMPILE -DIN_GCC    -g -O2 -I./include   -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc  -m3e -I. -I/c/usr/src/egcs-20000403/gcc -I/c/usr/src/egcs-20000403/gcc/config -I/c/usr/src/egcs-20000403/gcc/../include -c -DL${name} \
       /c/usr/src/egcs-20000403/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  sh-elf-ar  rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
/c/usr/src/egcs-20000403/gcc/libgcc2.c: In function `__fixunssfsi':
/c/usr/src/egcs-20000403/gcc/libgcc2.c:1026: Insn does not satisfy its constraints:
(insn 59 55 4 (set (reg:SI 0 r0)
        (reg:SI 28 fr4)) 123 {movsi_ie} (nil)
/c/usr/src/egcs-20000403/gcc/libgcc2.c:1026: Internal compiler error in `reload_cse_simplify_operands', at reload1.c:8130
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
make[3]: *** [libgcc2.a] Error 1
make[3]: Leaving directory `/c/build/egcs/gcc'
make[2]: *** [stmp-multilib-sub] Error 2
make[2]: Leaving directory `/c/build/egcs/gcc'
make[1]: *** [stmp-multilib] Error 1
make[1]: Leaving directory `/c/build/egcs/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/c/build/egcs'

I got similar results with other snapshots. Does this look familiar to


   John Mills
   Sr. Software Engineer
   TGA Technologies, Inc.
   100 Pinnacle Way, Suite 140
   Norcross, GA 30071-3633
   e-mail: jmills@tga.com
   Phone: 770-441-2100 ext.124 (voice)
          770-449-7740 (FAX)

More information about the Ecos-discuss mailing list