This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi there. I'm trying to build an arm-none-elf crossgcc and I get assembler errors. I'm building on an up-to-date Debian Woody box (i386). First I built binutils-2.11.2: ~/build/binutils$ ../../src/binutils-2.11.2/configure --target=arm-none-elf --prefix=~/ ~/build/binutils$ make all install No problems thus far, and all the new binaries are in ~/bin. Then I try to build gcc 2.95.3: ~/build/gcc$ ../../src/gcc-2.95.3/configure --target=arm-none-elf --prefix=~/ ~/build/gcc$ make all install The make eventually dies (I'm pasting the output at the end of this message). I've seen suggestions that this is caused by not having an ARM binutils installed, but it seems to have built itself without trouble, and the binaries are definitely in my path. What am I doing wrong?? Any input greatly apprecated. Thanks very much in advance! Regards, Owen for name in _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls; \ do \ echo ${name}; \ /home/owen/build/gcc/gcc/xgcc -B/home/owen/build/gcc/gcc/ -B~//arm-none-elf/bin/ -I~//arm-none-elf/include -O2 -DC ROSS_COMPILE -DIN_GCC -g -O2 -I./include -Dinhibit_libc -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I../.. /../src/gcc-2.95.3/gcc -I../../../src/gcc-2.95.3/gcc/config -I../../../src/gcc-2.95.3/gcc/../include -c -DL${name} li bgcc1.S; \ if [ $? -eq 0 ] ; then true; else exit 1; fi; \ mv libgcc1.o ${name}.o; \ arm-none-elf-ar rc tmplibgcc1.a ${name}.o; \ rm -f ${name}.o; \ done _udivsi3 /tmp/ccaC2BGe.s: Assembler messages: /tmp/ccaC2BGe.s:2: Warning: rest of line ignored; first ignored character is `@' /tmp/ccaC2BGe.s:3: Warning: rest of line ignored; first ignored character is `@' /tmp/ccaC2BGe.s:72: Error: no such instruction: `dividend .req r0' /tmp/ccaC2BGe.s:73: Error: no such instruction: `divisor .req r1' /tmp/ccaC2BGe.s:74: Error: no such instruction: `result .req r2' /tmp/ccaC2BGe.s:75: Error: no such instruction: `curbit .req r3' /tmp/ccaC2BGe.s:76: Error: no such instruction: `ip .req r12' /tmp/ccaC2BGe.s:77: Error: no such instruction: `sp .req r13' /tmp/ccaC2BGe.s:78: Error: no such instruction: `lr .req r14' /tmp/ccaC2BGe.s:79: Error: no such instruction: `pc .req r15' /tmp/ccaC2BGe.s:87: Error: expecting operand after ','; got nothing /tmp/ccaC2BGe.s:88: Error: no such instruction: `beq Ldiv0' /tmp/ccaC2BGe.s:89: Error: expecting operand after ','; got nothing /tmp/ccaC2BGe.s:90: Error: expecting operand after ','; got nothing /tmp/ccaC2BGe.s:91: Error: too many memory references for `cmp' /tmp/ccaC2BGe.s:92: Error: no such instruction: `bcc Lgot_result' /tmp/ccaC2BGe.s:94: Warning: rest of line ignored; first ignored character is `@' /tmp/ccaC2BGe.s:95: Warning: rest of line ignored; first ignored character is `@' /tmp/ccaC2BGe.s:96: Warning: rest of line ignored; first ignored character is `@' /tmp/ccaC2BGe.s:97: Warning: rest of line ignored; first ignored character is `@' /tmp/ccaC2BGe.s:98: Error: expecting operand after ','; got nothing /tmp/ccaC2BGe.s:99: Error: no such instruction: `cmpcc divisor,dividend' /tmp/ccaC2BGe.s:100: Error: no such instruction: `movcc divisor,divisor,lsl' /tmp/ccaC2BGe.s:101: Error: no such instruction: `movcc curbit,curbit,lsl' /tmp/ccaC2BGe.s:102: Error: no such instruction: `bcc Loop1' /tmp/ccaC2BGe.s:105: Warning: rest of line ignored; first ignored character is `@' /tmp/ccaC2BGe.s:106: Warning: rest of line ignored; first ignored character is `@' /tmp/ccaC2BGe.s:107: Error: expecting operand after ','; got nothing /tmp/ccaC2BGe.s:108: Error: no such instruction: `cmpcc divisor,dividend' /tmp/ccaC2BGe.s:109: Error: no such instruction: `movcc divisor,divisor,lsl' /tmp/ccaC2BGe.s:110: Error: no such instruction: `movcc curbit,curbit,lsl' /tmp/ccaC2BGe.s:111: Error: no such instruction: `bcc Lbignum' /tmp/ccaC2BGe.s:114: Warning: rest of line ignored; first ignored character is `@' /tmp/ccaC2BGe.s:115: Warning: rest of line ignored; first ignored character is `@' /tmp/ccaC2BGe.s:116: Warning: rest of line ignored; first ignored character is `@' /tmp/ccaC2BGe.s:117: Warning: rest of line ignored; first ignored character is `@' /tmp/ccaC2BGe.s:118: Error: too many memory references for `cmp' /tmp/ccaC2BGe.s:119: Error: no such instruction: `subcs dividend,dividend,divisor' /tmp/ccaC2BGe.s:120: Error: no such instruction: `orrcs result,result,curbit' /tmp/ccaC2BGe.s:121: Error: too many memory references for `cmp' /tmp/ccaC2BGe.s:122: Error: no such instruction: `subcs dividend,dividend,divisor,lsr' /tmp/ccaC2BGe.s:123: Error: no such instruction: `orrcs result,result,curbit,lsr' /tmp/ccaC2BGe.s:124: Error: too many memory references for `cmp' /tmp/ccaC2BGe.s:125: Error: no such instruction: `subcs dividend,dividend,divisor,lsr' /tmp/ccaC2BGe.s:126: Error: no such instruction: `orrcs result,result,curbit,lsr' /tmp/ccaC2BGe.s:127: Error: too many memory references for `cmp' /tmp/ccaC2BGe.s:128: Error: no such instruction: `subcs dividend,dividend,divisor,lsr' /tmp/ccaC2BGe.s:129: Error: no such instruction: `orrcs result,result,curbit,lsr' /tmp/ccaC2BGe.s:130: Error: expecting operand after ','; got nothing /tmp/ccaC2BGe.s:131: Error: no such instruction: `movnes curbit,curbit,lsr' /tmp/ccaC2BGe.s:132: Error: no such instruction: `movne divisor,divisor,lsr' /tmp/ccaC2BGe.s:133: Error: no such instruction: `bne Loop3' /tmp/ccaC2BGe.s:135: Error: too many memory references for `mov' /tmp/ccaC2BGe.s:136: Error: too many memory references for `mov' /tmp/ccaC2BGe.s:139: Error: invalid char '[' beginning operand 2 `[sp' /tmp/ccaC2BGe.s:140: Error: no such instruction: `bl __div0 (PLT)' /tmp/ccaC2BGe.s:141: Error: expecting operand after ','; got nothing /tmp/ccaC2BGe.s:142: Error: no such instruction: `ldmia sp!,{pc}' make[1]: *** [libgcc1-asm.a] Error 1 make[1]: Leaving directory `/home/owen/build/gcc/gcc' make: *** [all-gcc] Error 2 ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |