Hi all,

I have been trying to compile egcs 1.1.2 for elf binaries on my A5000 and have
hit a compile error I cannot fix.

source   : egcs-core-1.1.2
patch    : egcs-1.1.2-arm-diff-990325.gz
tools    : binutils 2.7
           gcc 2.7.2.2
kernel   : 2.0.36
commands : cd /usr/src
           mkdir my-egcs
           cd my-egcs
           ../egcs-1.1.2/configure armv2-linux --prefix=/usr/local/arm-tmp
           cd gcc
           make LANGUAGES="c"

output :

rm -f tmplibgcc1.a libgcc1.S
cp ../../egcs-1.1.2/gcc/config/arm/lib1funcs.asm libgcc1.S
for name in _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx; \
do \
  echo ${name}; \
  ./xgcc -B./ -O2 -fomit-frame-pointer -fPIC    -DIN_GCC    -g -I./include  -g0
-I. -I../../egcs-1.1.2/gcc -I../../egcs-1.1.2/gcc/config -c -DL${name} libgcc1.S; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  mv libgcc1.o ${name}.o; \
  ` if [ -f /usr/src/my-egcs/gcc/../binutils/ar ] ; then echo 
/usr/src/my-egcs/gcc/../binutils/ar ; else if [ "armv2-unknown-linux-gnu" = 
"armv2-unknown-linux-gnu" ] ; then echo ar; else t='s,x,x,'; echo ar | sed -e $t ; fi; 
fi` rc tmplibgcc1.a ${name}.o; \
  rm -f ${name}.o; \
done
_udivsi3
libgcc1.S: Assembler messages:
libgcc1.S:135: Error: Garbage following instruction -- statement `bl __div0(PLT)'

I discovered a bit about procedure lookup tables, but not enough to understand
why this isn't working. Can anyone help please?

cheers,

Pete



unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to