error when building libgcc.a

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear gcc experts:

I'm new to making gcc for other targets. I have a gcc version 2.7.2.3 that compiles and works for my target dlx processor. I need to add SOFT floating point support to it so that it works. I read all the forums and everything related, and I did whatever was needed to do to use fp-bit.c as software fp emulator. When configure gcc and try making libgcc.a I get the message below. I think that xgcc which is the cross-gcc for the target should be used to compile libgcc1.c and libgcc2.c, can someone with better experience, explain it to me the reason for the error message at the end?

for name in _mulsi3 _udivsi3 _divsi3 _umodsi3 _modsi3 _lshrsi3 _ashrsi3
_ashlsi3 _divdf3 _muldf3 _negdf2 _adddf3 _subdf3 _fixdfsi _fixsfsi
_floatsidf _floatsisf _truncdfsf2 _extendsfdf2 _addsf3 _negsf2 _subsf3
_mulsf3 _divsf3 _eqdf2 _nedf2 _gtdf2 _gedf2 _ltdf2 _ledf2 _eqsf2 _nesf2
_gtsf2 _gesf2 _ltsf2 _lesf2; \
        do \
          echo ${name}; \
          rm -f ${name}.o; \
          cc -O -I. -I. -I./config -c -DL${name} ./libgcc1.c; \
          if [ $? -eq 0 ] ; then true; else exit 1; fi; \
          mv libgcc1.o ${name}.o; \
          /autofs/m/m2/safwat/navid/HS/DLXbinutils/dlx-elf/bin/ar rc
tmplibgcc1.a ${name}.o; \
          rm -f ${name}.o; \
        done
_mulsi3
_udivsi3
_divsi3
_umodsi3
_modsi3
_lshrsi3
_ashrsi3
_ashlsi3
_divdf3
_muldf3
_negdf2
_adddf3
_subdf3
_fixdfsi
_fixsfsi
_floatsidf
_floatsisf
_truncdfsf2
_extendsfdf2
_addsf3
_negsf2
_gtsf2
_gesf2
_ltsf2
_lesf2
for file in .. ; \
        do \
          if [ x${file} != x.. ]; then \
            name=`echo ${file} | sed -e 's/[.][cS]$//' -e 's/[.]asm$//'`;
\
            echo ${name}; \
            if [ ${name}.asm = ${file} ]; then \
              cp ${file} ${name}.s || exit 1; file=${name}.s; \
            else true; fi; \
            cc -O -I. -I. -I./config -c ${file}; \
            if [ $? -eq 0 ] ; then true; else exit 1; fi; \
            /autofs/m/m2/safwat/navid/HS/DLXbinutils/dlx-elf/bin/ar rc
tmplibgcc1.a ${name}.o; \
            if [ $? -eq 0 ] ; then true; else exit 1; fi; \
            rm -f ${name}.s ${name}.o; \
          else true; \
          fi; \
        done
if [ -f /autofs/m/m2/safwat/navid/HS/DLXbinutils/dlx-elf/bin/ranlib ] ;
then /autofs/m/m2/safwat/navid/HS/DLXbinutils/dlx-elf/b
/ranlib tmplibgcc1.a; else true; fi
mv tmplibgcc1.a libgcc1.a
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}; \
          ./xgcc -B./ -g -O5 -DCROSS_COMPILE -DIN_GCC  -DDONT_HAVE_SETJMP
-g -O3 -I./include  -I. -I. -I./config -c -DL${name} \
              ./libgcc2.c -o ${name}.o; \
          if [ $? -eq 0 ] ; then true; else exit 1; fi; \
          /autofs/m/m2/safwat/navid/HS/DLXbinutils/dlx-elf/bin/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
xgcc: Internal compiler error: program cc1 got fatal signal 6
make: *** [libgcc2.a] Error 1


      

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux