<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 --- - no-integrated-as targeting armv7 generates unrecognized alignment syntax on osx"
   href="http://llvm.org/bugs/show_bug.cgi?id=17240">17240</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>no-integrated-as targeting armv7 generates unrecognized alignment syntax on osx
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </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>fischman@chromium.org
          </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=11194" name="attach_11194" title="minimized repro case">attachment 11194</a> <a href="attachment.cgi?id=11194&action=edit" title="minimized repro case">[details]</a></span>
minimized repro case

When compiling the attached min.E file, clang emits alignment (I think) syntax
(":128") that is unrecognized by the system assembler:

~/src/wr/trunk/third_party/llvm-build/Release+Asserts/bin/clang  -Os -arch
armv7 -no-integrated-as -x c -c /tmp/min.E -o /dev/null
var/folders/00/0871r000h01000cxqpysvccm0010w7/T/min-c96ef1.s:19:']' expected --
`vst1.64 {d8,d9},[r4:128]'
/var/folders/00/0871r000h01000cxqpysvccm0010w7/T/min-c96ef1.s:46:']' expected
-- `vld1.64 {d8,d9},[r4:128]'
clang: error: assembler command failed with exit code 1 (use -v to see
invocation)


This is on OSX 10.8.4, xcode 4.6.3 is installed (which is where I'm guessing
the /usr/bin/as binary comes from).

Verbose console log below:
/tmp $ ~/src/wr/trunk/third_party/llvm-build/Release+Asserts/bin/clang
--verbose  -Os -arch armv7 -no-integrated-as -x c -c /tmp/min.E -o /dev/null
clang version 3.4 (trunk 186332)
Target: arm-apple-darwin12.4.0
Thread model: posix

"/Users/fischman/src/wr/trunk/third_party/llvm-build/Release+Asserts/bin/clang"
-cc1 -triple thumbv7-apple-ios3.0.0 -S -disable-free -main-file-name min.E
-mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -target-abi
apcs-gnu -target-cpu cortex-a8 -mfloat-abi soft -target-feature +soft-float-abi
-target-linker-version 136 -v -coverage-file
/var/folders/00/0871r000h01000cxqpysvccm0010w7/T/min-9c76ab.s -resource-dir
/Users/fischman/src/wr/trunk/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.4
-Os -fno-dwarf2-cfi-asm -fno-dwarf-directory-asm -fno-autolink
-fdebug-compilation-dir /tmp -ferror-limit 19 -fmessage-length 178
-stack-protector 1 -mstackrealign -fblocks -fblocks-runtime-optional
-fobjc-runtime=ios-3.0.0 -fobjc-default-synthesize-properties
-fencode-extended-block-signature -fsjlj-exceptions -fdiagnostics-show-option
-fcolor-diagnostics -vectorize-loops -o
/var/folders/00/0871r000h01000cxqpysvccm0010w7/T/min-9c76ab.s -x c /tmp/min.E
clang -cc1 version 3.4 based upon LLVM 3.4svn default target
x86_64-apple-darwin12.4.0
ignoring nonexistent directory "/usr/local/include"
#include "..." search starts here:
#include <...> search starts here:

/Users/fischman/src/wr/trunk/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.4/include
 /usr/include
 /System/Library/Frameworks (framework directory)
 /Library/Frameworks (framework directory)
End of search list.
 "/usr/bin/as" -arch armv7 -o /dev/null
/var/folders/00/0871r000h01000cxqpysvccm0010w7/T/min-9c76ab.s
/var/folders/00/0871r000h01000cxqpysvccm0010w7/T/min-9c76ab.s:19:']' expected
-- `vst1.64 {d8,d9},[r4:128]'
/var/folders/00/0871r000h01000cxqpysvccm0010w7/T/min-9c76ab.s:46:']' expected
-- `vld1.64 {d8,d9},[r4:128]'
clang: error: assembler command failed with exit code 1 (use -v to see
invocation)</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>