This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

i386-linux cross sh-elf build failure


version: CVS current
   host: i386-linux (Red Hat Linux 6.1)
 target: sh-elf

Build fails with the following error:

if [ -d m4-single ]; then \
  cd m4-single; \
  rm -f libgcc.a ; \
else true; \
fi
make GCC_FOR_TARGET="/home/tm/egcs-build/gcc/xgcc 
-B/home/tm/egcs-build/gcc/ -B/usr/local/sh-elf/bin/ 
-I/usr/local/sh-elf/include" \
  AR_FOR_TARGET="sh-elf-ar" \
  AR_CREATE_FOR_TARGET="sh-elf-ar  rc" \
  AR_EXTRACT_FOR_TARGET="sh-elf-ar  x" \
  AR_FLAGS_FOR_TARGET="" \
  CC="gcc" CFLAGS="-g -O2" \
  HOST_PREFIX="" HOST_PREFIX_1="loser-" \
  LANGUAGES="c gcov CHILL c++ f77 java objc" \
  LIBGCC2_CFLAGS="-O2  -DCROSS_COMPILE -DIN_GCC    -g -O2 -isystem 
./include   -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -m4-single" 
libgcc2.a
make[3]: Entering directory `/home/tm/egcs-build/gcc'
echo '/*WARNING: This file is automatically generated!*/' >tmp-c-parse.y
sed -e "/^ifobjc$/,/^end ifobjc$/d" \
  -e "/^ifc$/d" -e "/^end ifc$/d" \
  ../../egcs/gcc/c-parse.in >>tmp-c-parse.y
/bin/sh ../../egcs/gcc/move-if-change tmp-c-parse.y ../../egcs/gcc/c-parse.y
../../egcs/gcc/c-parse.y is unchanged
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/tm/egcs-build/gcc/xgcc -B/home/tm/egcs-build/gcc/ 
-B/usr/local/sh-elf/bin/ -I/usr/local/sh-elf/include -O2  -DCROSS_COMPILE 
-DIN_GCC    -g -O2 -isystem ./include   -g1  -DIN_LIBGCC2 
-D__GCC_FLOAT_NOT_NEEDED   -m4-single -I. -I../../egcs/gcc 
-I../../egcs/gcc/config -I../../egcs/gcc/../include -c -DL${name} \
       ../../egcs/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; \
done
_muldi3
../../egcs/gcc/libgcc2.c: In function `__muldi3':
../../egcs/gcc/libgcc2.c:204: Internal compiler error in 
`verify_wide_reg_1', at flow.c:2593
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 `/home/tm/egcs-build/gcc'
make[2]: *** [stmp-multilib-sub] Error 2
make[2]: Leaving directory `/home/tm/egcs-build/gcc'
make[1]: *** [stmp-multilib] Error 1
make[1]: Leaving directory `/home/tm/egcs-build/gcc'
make: *** [all-gcc] Error 2

Looks like it's failing when trying to build libgcc for -m4-single...

Toshi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]