This is the mail archive of the gcc-help@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]

Cross compiler Alpha->powerpc problems


Hi guys,

I am trying to build the development tools for ecos on an alpha (rh. 7.0
distribution, 2.2.17 kernel)

My native tools are gcc-2.95.3, binutils 2.10.1

I downloaded gcc-2.95.2 (core + g++) and binutils-2.10.1

Binutils compiled fine and where installed under
/usr/local/crossgcc/powerpc-eabi

I then tried to build the compiler using the following commands


## PATH=/usr/local/crossgcc/powerpc-eabi/bin:$PATH; export PATH

## configure --target=powerpc-eabi \
## --prefix=/usr/local/crossgcc/powerpc-eabi \
## --exec-prefix=/usr/local/crossgcc/powerpc-eabi \
## --with-gnu-as --with-gnu-ld --with-newlib \
## -v 2>&1 | tee configure.out

This did not report any errors. The build phase dies with the message 


make[3]: Entering directory `/home/bob/tmp/ecos-tools/build/gcc/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}; \
  /home/bob/tmp/ecos-tools/build/gcc/gcc/xgcc
-B/home/bob/tmp/ecos-tools/build/gcc/gcc/
-B/usr/local/crossgcc/powerpc-eabi/powerpc-eabi/bin/
-I/usr/local/crossgcc/powerpc-eabi/powerpc-eabi/include -O2 
-DCROSS_COMPILE -DIN_GCC -DHAIFA    -g -O2 -I./include    -g1 
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc   -mrelocatable-lib
-mno-eabi -mstrict-align -I. -I../../../src/gcc/gcc-2.95.2/gcc
-I../../../src/gcc/gcc-2.95.2/gcc/config
-I../../../src/gcc/gcc-2.95.2/gcc/../include -c -DL${name} \
       ../../../src/gcc/gcc-2.95.2/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  powerpc-eabi-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
../../../src/gcc/gcc-2.95.2/gcc/libgcc2.c: In function `__floatdisf':
../../../src/gcc/gcc-2.95.2/gcc/libgcc2.c:1069: Could not split insn
(insn:TI 144 16 18 (set (reg:SI 10 r10)
        (const_int 4294901760 [0xffff0000])) 423 {movsi+1} (insn_list
143 (nil))
    (nil))
make[3]: *** [libgcc2.a] Error 1




Any ideas ?? Suggestions

Thanks,

Bob


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