<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 --- - Clang - assembler command failed on ARM ObjC build"
href="http://llvm.org/bugs/show_bug.cgi?id=18622">18622</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Clang - assembler command failed on ARM ObjC build
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.4
</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>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>lubos@dolezel.info
</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=11944" name="attach_11944" title="arc.m">attachment 11944</a> <a href="attachment.cgi?id=11944&action=edit" title="arc.m">[details]</a></span>
arc.m
Hi,
I'm compiling libobjc2 (from the GNUstep project) on an ARMv7 system. One of
the files (arc.m) however fails to build with the following messages:
arc.s: Assembler messages:
arc.s:3099: Error: Missing symbol name in directive
arc.s:3099: Error: unrecognized symbol type ".objc_sel_nameaddObject"
arc.s:3099: Error: junk at end of line, first unrecognized character is `:'
arc.s:3101: Error: Missing symbol name in directive
arc.s:3101: Error: junk at end of line, first unrecognized character is `"'
arc.s:3102: Error: junk at end of line, first unrecognized character is `"'
arc.s:3104: Error: expected comma after name `' in .size directive
arc.s:3153: Error: bad expression
arc.s:3153: Error: junk at end of line, first unrecognized character is `.'
clang: error: assembler command failed with exit code 1 (use -v to see
invocation)
Attached is the preprocessed source code and generated assembler. Clang's
command line:
clang -std=gnu99 -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp
-fexceptions -fPIC -Wno-deprecated-objc-isa-usage -Wno-objc-root-class
-fobjc-runtime=gnustep-1.7 --save-temps -c arc.m</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>