public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Problem making linux hosted cross compiler for powerpc
@ 1998-04-10 20:10 Jay Monkman
  0 siblings, 0 replies; only message in thread
From: Jay Monkman @ 1998-04-10 20:10 UTC (permalink / raw)
  To: 'egcs@cygnus.com'

I'm trying to compile a linux-i586 hosted cross compiler for the PowerPC
and I get an error. I'm using binutils-2.8.1 and egcs-1.0.2. I
included the output from make below. Is this a binutils problem
or egcs? And is there a fix? Thanks.


Configure options:
../egcs-1.0.2/configure --target=ppc-rtems --with-gnu-as --with-gnu-ld \
    --with-newlib --prefix=/usr/encap/crossdev-powerpc-rtems \
    --program-prefix=powerpc-rtems- --with-newlib


Output from make cross (I've also tried make all, make CFLAGS="-O2 -g"
all):
make GCC_FOR_TARGET="/home/jtm/rtems-mnt/crossbuild/build-egcs/gcc/xgcc
\
  -B/home/jtm/rtems-mnt/crossbuild/build-egcs/gcc/" \
  AR="powerpc-rtems-ar" AR_FLAGS="rc" CC="gcc" CFLAGS="-g -O2" \
  HOST_PREFIX="" HOST_PREFIX_1="loser-" \
  LANGUAGES="c c++" \
  LIBGCC2_CFLAGS="-O2  -DCROSS_COMPILE -DIN_GCC    -g -O2 -I./include
\
  -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fexceptions -Dinhibit_libc
\
  -mrelocatable-lib -mno-eabi -mstrict-align" libgcc2.a
make[3]: Entering directory
`/home/jtm/rtems-mnt/crossbuild/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 \
  _op_new _op_vnew _new_handler _op_delete _op_vdel _bb _shtab \
  _clear_cache _trampoline __main _exit _ctors _eh  _pure; \
do \
  echo ${name}; \
  /home/jtm/rtems-mnt/crossbuild/build-egcs/gcc/xgcc \
      -B/home/jtm/rtems-mnt/crossbuild/build-egcs/gcc/ -O2  \
      -DCROSS_COMPILE -DIN_GCC    -g -O2 -I./include   -g1  \
      -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fexceptions    \
      -Dinhibit_libc   -mrelocatable-lib -mno-eabi -mstrict-align \
      -I. -I../../egcs-1.0.2/gcc -I../../egcs-1.0.2/gcc/config -c \
      -DL${name} ../../egcs-1.0.2/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  powerpc-rtems-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
__dummy
_eprintf
_op_new
_op_vnew
_new_handler
_op_delete
_op_vdel
_bb
_shtab
_clear_cache
_trampoline
__main
_exit
_ctors
_eh
/tmp/cca12464.s: Assembler messages:
/tmp/cca12464.s:925: Internal error, aborting at
../../binutils-2.8.1/gas/config/tc-ppc.c line 4759 in md_apply_fix3
Please report this bug.
make[3]: *** [libgcc2.a] Error 1
make[3]: Leaving directory
`/home/jtm/rtems-mnt/crossbuild/build-egcs/gcc'
make[2]: *** [stmp-multilib-sub] Error 2
make[2]: Leaving directory
`/home/jtm/rtems-mnt/crossbuild/build-egcs/gcc'
make[1]: *** [stmp-multilib] Error 1
make[1]: Leaving directory
`/home/jtm/rtems-mnt/crossbuild/build-egcs/gcc'
make: *** [cross] Error 2

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-04-10 20:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-04-10 20:10 Problem making linux hosted cross compiler for powerpc Jay Monkman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).