<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - ARM assembler messages "Error: bad arguments to instruction""
href="http://llvm.org/bugs/show_bug.cgi?id=15404">15404</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>ARM assembler messages "Error: bad arguments to instruction"
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>viniciustinti@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=10115" name="attach_10115" title="Command and respective output error">attachment 10115</a> <a href="attachment.cgi?id=10115&action=edit" title="Command and respective output error">[details]</a></span>
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@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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>