This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


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

Problems due to update?


Hello;
I'm following the exact instructions for building a crosscompiler in one
tree, and I am using the following files:

binutils-2.8.1
gcc-2.7.2.2 + crosspatch
newlib-1.8.0

It's very strange, but when I build i386-coff as target every thing
works fine, but when I use i386-sco or i386-linux as target the build
breaks! I am using FreeBSD-2.2.5R as host:
___________
....
/usr/home/pedro/ports/crosssco/work/src/gcc/xgcc
-B/usr/home/pedro/ports/crosssco/work/src/gcc/ -dumpspecs > tmp-specs
mv tmp-specs specs
rm -f gfloat.h
cp ./config/float.h-ieee gfloat.h
rm -f include/float.h
cp gfloat.h include/float.h
chmod a+r include/float.h
touch stmp-headers
mv libgcc1.a libgcc1.cross || (echo You must find a way to make
libgcc1.a; false)
if [ -f libgcc2.ready ] ; then \
	true; \
else \
	touch libgcc2.ready; \
fi
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 _eprintf _op_new
_op_vnew _new_handler _op_delete _op_vdel _bb _shtab _clear_cache
_trampoline __main _exit _ctors _eh _pure; \
do \
  echo ${name}; \
  /usr/home/pedro/ports/crosssco/work/src/gcc/xgcc
-B/usr/home/pedro/ports/crosssco/work/src/gcc/ -Dinhibit_libc -O2 
-DCROSS_COMPILE -DIN_GCC   -O -I./include  -I. -I. -I./config -c
-DL${name} \
      ./libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  /usr/home/pedro/ports/crosssco/work/src/binutils/ar rc tmplibgcc2.a
${name}.o; \
  rm -f ${name}.o; \
done
_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
_eprintf
_op_new
_op_vnew
_new_handler
_op_delete
_op_vdel
_bb
_shtab
_clear_cache
_trampoline
__main
_exit
_ctors
_eh
assertion "((N_TYPE_seg[((symbolP)->sy_symbol.n_type & 036)]) ==
SEG_ABSOLUTE) || ((N_TYPE_seg[((symbolP)->sy_symbol.n_type & 036)]) ==
SEG_DATA) || ((N_TYPE_seg[((symbolP)->sy_symbol.n_type & 036)]) ==
SEG_TEXT)" failed: file "/usr/src/gnu/usr.bin/as/write.c", line 765
xgcc: Internal compiler error: program as got fatal signal 6
gmake[1]: *** [libgcc2.a] Error 1
gmake[1]: Leaving directory
`/usr/home/pedro/ports/crosssco/work/gcc-2.7.2.2'
gmake: *** [all-gcc] Error 2
*** Error code 2

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
______________

TIA,
	Pedro.