[LLVMdev] RM Build

Amit Singh amit.singh2241 at gmail.com
Mon Sep 24 03:34:46 PDT 2007


Hi,

I tried compiling llvm-gcc front end by giving the configure commands :

$  ../llvm-gcc4-2.0.source/configure   --enable-checking
--enable-languages=c --target=arm-none-linux


But I am getting the following kind of assembeler errors when I do  "make
$BUILDOPTIONS"

/tmp/ccYAgFFY.s: Assembler messages:
/tmp/ccYAgFFY.s:36: Error: junk at end of line, first unrecognized character
is `@'
/tmp/ccYAgFFY.s:37: Error: junk at end of line, first unrecognized character
is `@'
/tmp/ccYAgFFY.s:38: Error: no such instruction: `stmfd sp!,{r4,r5,lr}'
/tmp/ccYAgFFY.s:39: Error: no such instruction: `ldr r5,.L14'
/tmp/ccYAgFFY.s:40: Error: no such instruction: `ldrb r3,[r5,'
/tmp/ccYAgFFY.s:41: Error: expecting operand after ','; got nothing
/tmp/ccYAgFFY.s:42: Error: no such instruction: `ldmnefd sp!,{r4,r5,pc}'
/tmp/ccYAgFFY.s:43: Error: no such instruction: `ldr r4,.L14+4'
/tmp/ccYAgFFY.s:44: Error: no such instruction: `ldr r3,[r4,'
/tmp/ccYAgFFY.s:45: Error: no such instruction: `ldr r2,[r3,'
/tmp/ccYAgFFY.s:46: Error: expecting operand after ','; got nothing
/tmp/ccYAgFFY.s:47: Error: no such instruction: `beq .L6'
/tmp/ccYAgFFY.s:49: Error: too many memory references for `add'
/tmp/ccYAgFFY.s:50: Error: invalid char '[' beginning operand 2 `[r4'
/tmp/ccYAgFFY.s:51: Error: too many memory references for `mov'
/tmp/ccYAgFFY.s:52: Error: too many memory references for `mov'
/tmp/ccYAgFFY.s:53: Error: no such instruction: `ldr r3,[r4,'
/tmp/ccYAgFFY.s:54: Error: no such instruction: `ldr r2,[r3,'
/tmp/ccYAgFFY.s:55: Error: expecting operand after ','; got nothing
/tmp/ccYAgFFY.s:56: Error: no such instruction: `bne .L11'
/tmp/ccYAgFFY.s:58: Error: no such instruction: `ldr r3,.L14+8'
/tmp/ccYAgFFY.s:59: Error: expecting operand after ','; got nothing
/tmp/ccYAgFFY.s:60: Error: no such instruction: `ldrne r0,.L14+12'
/tmp/ccYAgFFY.s:61: Error: no such instruction: `movne lr,pc'
/tmp/ccYAgFFY.s:62: Error: no such instruction: `movne pc,r3'
/tmp/ccYAgFFY.s:64: Error: expecting operand after ','; got nothing
/tmp/ccYAgFFY.s:65: Error: invalid char '[' beginning operand 2 `[r5'
/tmp/ccYAgFFY.s:66: Error: no such instruction: `ldmfd sp!,{r4,r5,pc}'
/tmp/ccYAgFFY.s:77: Error: junk at end of line, first unrecognized character
is `@'
/tmp/ccYAgFFY.s:78: Error: junk at end of line, first unrecognized character
is `@'
/tmp/ccYAgFFY.s:79: Error: invalid char '[' beginning operand 2 `[sp'
/tmp/ccYAgFFY.s:82: Error: no such instruction: `bl __do_global_dtors_aux'
/tmp/ccYAgFFY.s:85: Error: no such instruction: `ldr pc,[sp],'
/tmp/ccYAgFFY.s:91: Error: junk at end of line, first unrecognized character
is `@'
/tmp/ccYAgFFY.s:92: Error: junk at end of line, first unrecognized character
is `@'
/tmp/ccYAgFFY.s:93: Error: no such instruction: `ldr r3,.L25'
/tmp/ccYAgFFY.s:94: Error: expecting operand after ','; got nothing
/tmp/ccYAgFFY.s:95: Error: invalid char '[' beginning operand 2 `[sp'
/tmp/ccYAgFFY.s:96: Error: no such instruction: `ldr r0,.L25+4'
/tmp/ccYAgFFY.s:97: Error: no such instruction: `ldr r1,.L25+8'
/tmp/ccYAgFFY.s:98: Error: no such instruction: `movne lr,pc'
/tmp/ccYAgFFY.s:99: Error: no such instruction: `movne pc,r3'
/tmp/ccYAgFFY.s:101: Error: no such instruction: `ldr r0,.L25+12'
/tmp/ccYAgFFY.s:102: Error: no such instruction: `ldr r3,[r0,'
/tmp/ccYAgFFY.s:103: Error: expecting operand after ','; got nothing
/tmp/ccYAgFFY.s:104: Error: no such instruction: `ldr r3,.L25+16'
/tmp/ccYAgFFY.s:105: Error: no such instruction: `ldreq pc,[sp],'
/tmp/ccYAgFFY.s:106: Error: expecting operand after ','; got nothing
/tmp/ccYAgFFY.s:107: Error: no such instruction: `ldreq pc,[sp],'
/tmp/ccYAgFFY.s:108: Error: too many memory references for `mov'
/tmp/ccYAgFFY.s:109: Error: too many memory references for `mov'
/tmp/ccYAgFFY.s:110: Error: no such instruction: `ldr pc,[sp],'
/tmp/ccYAgFFY.s:122: Error: junk at end of line, first unrecognized
character is `@'
/tmp/ccYAgFFY.s:123: Error: junk at end of line, first unrecognized
character is `@'
/tmp/ccYAgFFY.s:124: Error: invalid char '[' beginning operand 2 `[sp'
/tmp/ccYAgFFY.s:127: Error: no such instruction: `bl frame_dummy'
/tmp/ccYAgFFY.s:130: Error: no such instruction: `ldr pc,[sp],'
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/home/amitsingh/llvm-research/llvm-gcc/obj/gcc'
make: *** [all-gcc] Error 2

I don't know what to do now? Is anything wrong with the configure?

Please help...
Amit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070924/a71b79f4/attachment.html>


More information about the llvm-dev mailing list