[LLVMbugs] [Bug 15404] New: ARM assembler messages "Error: bad arguments to instruction"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Feb 28 20:51:58 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=15404

            Bug ID: 15404
           Summary: ARM assembler messages "Error: bad arguments to
                    instruction"
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: viniciustinti at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10115
  --> http://llvm.org/bugs/attachment.cgi?id=10115&action=edit
Command and respective output error

Please note that this is a minor patched version of clang.

When trying to build the file arch/arm/kernel/perf_event.c the compiler gives
the following output:

/tmp/perf_event-0Asnl4.s: Assembler messages:
/tmp/perf_event-0Asnl4.s:1272: Error: bad arguments to instruction -- `ldrexd
r0,,[r7]'
/tmp/perf_event-0Asnl4.s:1273: Error: bad arguments to instruction -- `strexd
r0,r2,,[r7]'
/tmp/perf_event-0Asnl4.s:1526: Error: bad arguments to instruction -- `ldrexd
r0,,[lr]'
/tmp/perf_event-0Asnl4.s:1591: Error: bad arguments to instruction -- `ldrexd
r0,,[r7]'
/tmp/perf_event-0Asnl4.s:1592: Error: bad arguments to instruction -- `strexd
r0,r2,,[r7]'

The command used to build was:

tinti at lyon:/mnt/w1/tinti/mine/llvmlinux/targets/nexus7/src/android_kernel_nexus7
(cm-10.1)$ /mnt/w1/tinti/mine/llvmlinux/toolchain/clang/install/bin/clang
-gcc-toolchain
/mnt/w1/tinti/mine/llvmlinux/arch/arm/toolchain/android/arm-linux-androideabi-4.6
-Wp,-MD,arch/arm/kernel/.perf_event.o.d  -nostdinc -isystem
/mnt/w1/tinti/mine/llvmlinux/arch/arm/toolchain/android/arm-linux-androideabi-4.6/include
-I/mnt/w1/tinti/mine/llvmlinux/targets/nexus7/src/android_kernel_nexus7/arch/arm/include
-Iarch/arm/include/generated -Iinclude  -include
/mnt/w1/tinti/mine/llvmlinux/targets/nexus7/src/android_kernel_nexus7/include/linux/kconfig.h
-D__KERNEL__ -Qunused-arguments -target arm-linux-androideabi -mlittle-endian
-Iarch/arm/mach-tegra/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
-Wno-format-security -fno-delete-null-pointer-checks -O2 -marm -fno-builtin
-Wno-asm-operand-widths -Xassembler -mno-warn-deprecated -fno-dwarf2-cfi-asm
-funwind-tables -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float
-Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-variable
-fomit-frame-pointer -g -fno-inline-functions-called-once
-Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow
-fconserve-stack   -isystem
/mnt/w1/tinti/mine/llvmlinux/arch/arm/toolchain/android/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/include
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(perf_event)" 
-D"KBUILD_MODNAME=KBUILD_STR(perf_event)" -c -o arch/arm/kernel/perf_event.o
arch/arm/kernel/perf_event.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130301/7be11368/attachment.html>


More information about the llvm-bugs mailing list