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]
Other format: [Raw text]

error on lib1func.asm when building arm-thumb cross-compiler


Hi all,

Sorry if this does not go to this maillist.
I am getting errors when I try to build gcc with the --target=arm-thumb-elf
option for version gcc-3.0.4.  The error occurs when it is compiling the
file "lib1func.asm" in the ../gcc-3.0.4gcc/config/arm directory.

Below are some of the errors shown on the compile.  Can anyone please help
me out on this, or direct me to where I should go for help?

Thank you very much,
Ben

................

if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/gcc/build/gcc/gcc/xgcc -B/gcc/build/gcc/gcc/ -B/gcc/arm-thumb-elf/bin/
-B/gcc/arm-thumb-elf/lib/ -isystem /gc
c/arm-thumb-elf/include -O2  -DCROSS_COMPILE -DIN_GCC	 -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissin
g-prototypes -isystem ./include  -Dinhibit_libc -fno-inline -g1 
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I
. -I/gcc/gcc-3.0.4/gcc -I/gcc/gcc-3.0.4/gcc/. -I/gcc/gcc-3.0.4/gcc/config
-I/gcc/gcc-3.0.4/gcc/../include -DL_
udivsi3 -xassembler-with-cpp -c /gcc/gcc-3.0.4/gcc/config/arm/lib1funcs.asm
-o libgcc/./_udivsi3.o
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/cc4cG4YQ.s: Assembler messages:
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/cc4cG4YQ.s:2: Error: Rest of line
ignored. First ignored character is `@'.
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/cc4cG4YQ.s:3: Error: Rest of line
ignored. First ignored character is `@'.
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/cc4cG4YQ.s:52: Error: no such
instruction: `work .req r4 @ XXXX is this safe?'
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/cc4cG4YQ.s:53: Error: no such
instruction: `dividend .req r0'
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/cc4cG4YQ.s:54: Error: no such
instruction: `divisor .req r1'
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/cc4cG4YQ.s:55: Error: no such
instruction: `overdone .req r2'
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/cc4cG4YQ.s:56: Error: no such
instruction: `result .req r2'
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/cc4cG4YQ.s:57: Error: no such
instruction: `curbit .req r3'
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/cc4cG4YQ.s:58: Error: no such
instruction: `ip .req r12'
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/cc4cG4YQ.s:59: Error: no such
instruction: `sp .req r13'
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/cc4cG4YQ.s:60: Error: no such
instruction: `lr .req r14'
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/cc4cG4YQ.s:61: Error: no such
instruction: `pc .req r15'
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/cc4cG4YQ.s:316: Warning: .type
pseudo-op used outside of .def/.endef ignored.
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/cc4cG4YQ.s:316: Error: Rest of line
ignored. First ignored character is `_'.
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/cc4cG4YQ.s:318: Error: expecting
operand after ','; got nothing
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/cc4cG4YQ.s:319: Error: no such
instruction: `beq Ldiv0'
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/cc4cG4YQ.s:320: Error: expecting
operand after ','; got nothing
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/cc4cG4YQ.s:321: Error: expecting
operand after ','; got nothing
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/cc4cG4YQ.s:322: Error: too many
memory references for `cmp'
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/cc4cG4YQ.s:323: Error: no such
instruction: `blo Lgot_result'
/cygdrive/c/DOCUME~1/blee/LOCALS~1/Temp/cc4cG4YQ.s:325: Error: Rest of line
ignored. First ignored character is `@'.

............

****************************************************************************
***
****************************************************************************
*


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