- 论坛徽章:
- 0
|
大家好,我在编译gcc3.3.4时碰到如下问题:
/home/zhenguo/work/armlinux/build-tools/build-gcc/gcc/xgcc -B/home/zhenguo/work/armlinux/build-tools/build-gcc/gcc/ -B/home/zhenguo/armlinux/tools/arm-linux/bin/ -B/home/zhenguo/armlinux/tools/arm-linux/lib/ -isystem /home/zhenguo/armlinux/tools/arm-linux/include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -I. -I. -I../../gcc-3.3.6/gcc -I../../gcc-3.3.6/gcc/. -I../../gcc-3.3.6/gcc/config -I../../gcc-3.3.6/gcc/../include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss \
-Dinhibit_libc -c ../../gcc-3.3.6/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
/tmp/ccmqEFkZ.s: Assembler messages:
/tmp/ccmqEFkZ.s:36: Error: junk at end of line, first unrecognized character is `@'
/tmp/ccmqEFkZ.s:37: Error: junk at end of line, first unrecognized character is `@'
/tmp/ccmqEFkZ.s:38: Error: no such instruction: `stmfd sp!,{r4,r5,lr}'
/tmp/ccmqEFkZ.s:39: Error: no such instruction: `ldr r5,.L10'
/tmp/ccmqEFkZ.s:40: Error: no such instruction: `ldrb r3,[r5,'
/tmp/ccmqEFkZ.s:41: Error: expecting operand after ','; got nothing
/tmp/ccmqEFkZ.s:42: Error: no such instruction: `ldmnefd sp!,{r4,r5,pc}'
/tmp/ccmqEFkZ.s:43: Error: no such instruction: `ldr r4,.L10+4'
/tmp/ccmqEFkZ.s:44: Error: no such instruction: `ldr r3,[r4,'
/tmp/ccmqEFkZ.s:45: Error: no such instruction: `ldr r2,[r3,'
/tmp/ccmqEFkZ.s:46: Error: expecting operand after ','; got nothing
/tmp/ccmqEFkZ.s:47: Error: no such instruction: `beq .L9'
/tmp/ccmqEFkZ.s:49: Error: no such instruction: `ldr r3,[r4,'
/tmp/ccmqEFkZ.s:50: Error: too many memory references for `add'
/tmp/ccmqEFkZ.s:51: Error: invalid char '[' beginning operand 2 `[r4'
/tmp/ccmqEFkZ.s:52: Error: too many memory references for `mov'
/tmp/ccmqEFkZ.s:53: Error: too many memory references for `mov'
/tmp/ccmqEFkZ.s:54: Error: no such instruction: `ldr r3,[r4,'
/tmp/ccmqEFkZ.s:55: Error: no such instruction: `ldr r2,[r3,'
/tmp/ccmqEFkZ.s:56: Error: expecting operand after ','; got nothing
/tmp/ccmqEFkZ.s:57: Error: no such instruction: `bne .L6'
/tmp/ccmqEFkZ.s:59: Error: no such instruction: `ldr r3,.L10+8'
/tmp/ccmqEFkZ.s:60: Error: expecting operand after ','; got nothing
/tmp/ccmqEFkZ.s:61: Error: no such instruction: `ldrne r0,.L10+12'
/tmp/ccmqEFkZ.s:62: Error: no such instruction: `movne lr,pc'
/tmp/ccmqEFkZ.s:63: Error: no such instruction: `movne pc,r3'
/tmp/ccmqEFkZ.s:65: Error: expecting operand after ','; got nothing
/tmp/ccmqEFkZ.s:66: Error: invalid char '[' beginning operand 2 `[r5'
/tmp/ccmqEFkZ.s:67: Error: no such instruction: `ldmfd sp!,{r4,r5,pc}'
/tmp/ccmqEFkZ.s:78: Error: junk at end of line, first unrecognized character is `@'
/tmp/ccmqEFkZ.s:79: Error: junk at end of line, first unrecognized character is `@'
/tmp/ccmqEFkZ.s:80: Error: invalid char '[' beginning operand 2 `[sp'
/tmp/ccmqEFkZ.s:82: Error: no such instruction: `bl __do_global_dtors_aux'
/tmp/ccmqEFkZ.s:84: Error: no such instruction: `ldr pc,[sp],'
/tmp/ccmqEFkZ.s:90: Error: junk at end of line, first unrecognized character is `@'
/tmp/ccmqEFkZ.s:91: Error: junk at end of line, first unrecognized character is `@'
/tmp/ccmqEFkZ.s:92: Error: no such instruction: `ldr r3,.L16'
/tmp/ccmqEFkZ.s:93: Error: expecting operand after ','; got nothing
/tmp/ccmqEFkZ.s:94: Error: invalid char '[' beginning operand 2 `[sp'
/tmp/ccmqEFkZ.s:95: Error: no such instruction: `ldr r0,.L16+4'
/tmp/ccmqEFkZ.s:96: Error: no such instruction: `ldr r1,.L16+8'
/tmp/ccmqEFkZ.s:97: Error: no such instruction: `movne lr,pc'
/tmp/ccmqEFkZ.s:98: Error: no such instruction: `movne pc,r3'
/tmp/ccmqEFkZ.s:100: Error: no such instruction: `ldr r0,.L16+12'
/tmp/ccmqEFkZ.s:101: Error: no such instruction: `ldr r3,[r0,'
/tmp/ccmqEFkZ.s:102: Error: expecting operand after ','; got nothing
/tmp/ccmqEFkZ.s:103: Error: no such instruction: `ldreq pc,[sp],'
/tmp/ccmqEFkZ.s:104: Error: no such instruction: `ldr r3,.L16+16'
/tmp/ccmqEFkZ.s:105: Error: expecting operand after ','; got nothing
/tmp/ccmqEFkZ.s:106: Error: no such instruction: `ldreq pc,[sp],'
/tmp/ccmqEFkZ.s:107: Error: no such instruction: `ldr lr,[sp],'
/tmp/ccmqEFkZ.s:108: Error: no such instruction: `b _Jv_RegisterClasses'
/tmp/ccmqEFkZ.s:120: Error: junk at end of line, first unrecognized character is `@'
/tmp/ccmqEFkZ.s:121: Error: junk at end of line, first unrecognized character is `@'
/tmp/ccmqEFkZ.s:122: Error: invalid char '[' beginning operand 2 `[sp'
/tmp/ccmqEFkZ.s:124: Error: no such instruction: `bl frame_dummy'
/tmp/ccmqEFkZ.s:126: Error: no such instruction: `ldr pc,[sp],'
make[1]: *** [crtbegin.o] 错误 1
make[1]:正在离开目录 `/home/zhenguo/work/armlinux/build-tools/build-gcc/gcc'
make: *** [all-gcc] 错误 2
请问什么原因造成的?如何解决?谢谢! |
|