[LLVMbugs] [Bug 17240] New: no-integrated-as targeting armv7 generates unrecognized alignment syntax on osx

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Sep 13 17:57:10 PDT 2013


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

            Bug ID: 17240
           Summary: no-integrated-as targeting armv7 generates
                    unrecognized alignment syntax on osx
           Product: clang
           Version: trunk
          Hardware: PC
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: fischman at chromium.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11194
  --> http://llvm.org/bugs/attachment.cgi?id=11194&action=edit
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)

-- 
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/20130914/2aba0d9d/attachment.html>


More information about the llvm-bugs mailing list