[LLVMdev] ARM integrated assembler - unknown directive errors

Rehman Saeed rehman_saeed at live.com
Mon Sep 9 03:53:34 PDT 2013


I am trying to compile a test case with latest LLVM 3.3 release using integrated assembler. I have looked through previous mailing discussion on this subject and it appears that perhaps by now the appropriate changes are checked-in however my test case is failing. Maybe I am missing something and not specifying appropriate options on the commandline.

My setup:

Host operating System: Ubuntu 12
Cross toolchain: built latest release 3.3

If I need to provide more info please let me know


void main {return;}

arm-linux-clang -Iarm-2013.05-24-arm-none-linux/arm-none-linux-gnueabi/libc/usr/include -integrated-as -msoft-float -save-temps -O3 -mcpu=cortex-a8 -c -o test.o test.c

ffconf.rmzKnl5U.s:2:2: error: unknown directive
        .cpu cortex-a8
ffconf.rmzKnl5U.s:3:2: error: unknown directive
        .eabi_attribute 6, 10
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130909/3f2484b2/attachment.html>

More information about the llvm-dev mailing list