assembler errors while compiling

Sascha Andres arm@keatec.com
Fri Apr 6 12:23:00 GMT 2001


hi,
i did a configure like this:

/armsrc/gcc-2.95.3/configure --prefix=/usr/local --target=arm-none-elf \
	--nfp --srcdir=/armsrc/gcc-2.95.3

i did a make.

this produces as error messages:

	/tmp/cczbJoW5.s: Assembler messages:
	/tmp/cczbJoW5.s:2: Error: Rest of line ignored. First ignored character is
`@'.
	/tmp/cczbJoW5.s:3: Error: Rest of line ignored. First ignored character is
`@'.
	/tmp/cczbJoW5.s:72: Error: no such instruction: `dividend .req r0'
	/tmp/cczbJoW5.s:73: Error: no such instruction: `divisor .req r1'
	/tmp/cczbJoW5.s:74: Error: no such instruction: `result .req r2'
	/tmp/cczbJoW5.s:75: Error: no such instruction: `curbit .req r3'
	/tmp/cczbJoW5.s:76: Error: no such instruction: `ip .req r12'
	/tmp/cczbJoW5.s:77: Error: no such instruction: `sp .req r13'
	/tmp/cczbJoW5.s:78: Error: no such instruction: `lr .req r14'
	/tmp/cczbJoW5.s:79: Error: no such instruction: `pc .req r15'
	/tmp/cczbJoW5.s:87: Error: expecting operand after ','; got nothing
	/tmp/cczbJoW5.s:88: Error: no such instruction: `beq Ldiv0'
	/tmp/cczbJoW5.s:89: Error: expecting operand after ','; got nothing
	/tmp/cczbJoW5.s:90: Error: expecting operand after ','; got nothing
	/tmp/cczbJoW5.s:91: Error: too many memory references for `cmp'
	/tmp/cczbJoW5.s:92: Error: no such instruction: `bcc Lgot_result'
	/tmp/cczbJoW5.s:94: Error: Rest of line ignored. First ignored character is
`@'.
	/tmp/cczbJoW5.s:95: Error: Rest of line ignored. First ignored character is
`@'.
	/tmp/cczbJoW5.s:96: Error: Rest of line ignored. First ignored character is
`@'.
	/tmp/cczbJoW5.s:97: Error: Rest of line ignored. First ignored character is
`@'.
	/tmp/cczbJoW5.s:98: Error: expecting operand after ','; got nothing
	/tmp/cczbJoW5.s:99: Error: no such instruction: `cmpcc divisor,dividend'
	/tmp/cczbJoW5.s:100: Error: no such instruction: `movcc
divisor,divisor,lsl'
	/tmp/cczbJoW5.s:101: Error: no such instruction: `movcc curbit,curbit,lsl'
	/tmp/cczbJoW5.s:102: Error: no such instruction: `bcc Loop1'
	/tmp/cczbJoW5.s:105: Error: Rest of line ignored. First ignored character
is `@'.
	/tmp/cczbJoW5.s:106: Error: Rest of line ignored. First ignored character
is `@'.
	/tmp/cczbJoW5.s:107: Error: expecting operand after ','; got nothing
	/tmp/cczbJoW5.s:108: Error: no such instruction: `cmpcc divisor,dividend'
	/tmp/cczbJoW5.s:109: Error: no such instruction: `movcc
divisor,divisor,lsl'
	/tmp/cczbJoW5.s:110: Error: no such instruction: `movcc curbit,curbit,lsl'
	/tmp/cczbJoW5.s:111: Error: no such instruction: `bcc Lbignum'
	/tmp/cczbJoW5.s:114: Error: Rest of line ignored. First ignored character
is `@'.
	/tmp/cczbJoW5.s:115: Error: Rest of line ignored. First ignored character
is `@'.
	/tmp/cczbJoW5.s:116: Error: Rest of line ignored. First ignored character
is `@'.
	/tmp/cczbJoW5.s:117: Error: Rest of line ignored. First ignored character
is `@'.
	/tmp/cczbJoW5.s:118: Error: too many memory references for `cmp'
	/tmp/cczbJoW5.s:119: Error: no such instruction: `subcs
dividend,dividend,divisor'
	/tmp/cczbJoW5.s:120: Error: no such instruction: `orrcs
result,result,curbit'
	/tmp/cczbJoW5.s:121: Error: too many memory references for `cmp'
	/tmp/cczbJoW5.s:122: Error: no such instruction: `subcs
dividend,dividend,divisor,lsr'
	/tmp/cczbJoW5.s:123: Error: no such instruction: `orrcs
result,result,curbit,lsr'
	/tmp/cczbJoW5.s:124: Error: too many memory references for `cmp'
	/tmp/cczbJoW5.s:125: Error: no such instruction: `subcs
dividend,dividend,divisor,lsr'
	/tmp/cczbJoW5.s:126: Error: no such instruction: `orrcs
result,result,curbit,lsr'
	/tmp/cczbJoW5.s:127: Error: too many memory references for `cmp'
	/tmp/cczbJoW5.s:128: Error: no such instruction: `subcs
dividend,dividend,divisor,lsr'
	/tmp/cczbJoW5.s:129: Error: no such instruction: `orrcs
result,result,curbit,lsr'
	/tmp/cczbJoW5.s:130: Error: expecting operand after ','; got nothing
	/tmp/cczbJoW5.s:131: Error: no such instruction: `movnes curbit,curbit,lsr'
	/tmp/cczbJoW5.s:132: Error: no such instruction: `movne
divisor,divisor,lsr'
	/tmp/cczbJoW5.s:133: Error: no such instruction: `bne Loop3'
	/tmp/cczbJoW5.s:135: Error: too many memory references for `mov'
	/tmp/cczbJoW5.s:136: Error: too many memory references for `mov'
	/tmp/cczbJoW5.s:139: Error: invalid char '[' beginning operand 2 `[sp'
	/tmp/cczbJoW5.s:140: Error: no such instruction: `bl __div0 (PLT)'
	/tmp/cczbJoW5.s:141: Error: expecting operand after ','; got nothing
	/tmp/cczbJoW5.s:142: Error: no such instruction: `ldmia sp!,{pc}'
	make[1]: *** [libgcc1-asm.a] Error 1
	make: *** [all-gcc] Error 2

any ideas how to fix this ?

my first impression is that there is a missing or invalid lib.

sascha


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list