[LLVMbugs] [Bug 18622] New: Clang - assembler command failed on ARM ObjC build

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jan 26 03:03:52 PST 2014


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

            Bug ID: 18622
           Summary: Clang - assembler command failed on ARM ObjC build
           Product: clang
           Version: 3.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: lubos at dolezel.info
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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

-- 
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/20140126/445f6835/attachment.html>


More information about the llvm-bugs mailing list