[LLVMbugs] [Bug 18496] New: [cmake] .S assembly files not compiled by cmake in libclang_rt.ARCH

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jan 15 15:25:53 PST 2014


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

            Bug ID: 18496
           Summary: [cmake] .S assembly files not compiled by cmake in
                    libclang_rt.ARCH
           Product: compiler-rt
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: fang at csl.cornell.edu
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

In a cmake build of compiler-rt, the .S files listed in lib/CMakeLists.txt
under ${ARCH}_SOURCES are not compiled/linked into libclang_rt.
My build happens to be on powerpc-darwin8 (where I've defined ppc_SOURCES), but
another user (irc:Martell?) confirmed it for x86 as well.  

Those .S files need to be preprocessed before they are assembled.  
I don't know enough cmake to define a custom rule for this.  

This prevents me from testing compiler-rt (undefined references to
saveFP/restFP during linking of tests).

-- 
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/20140115/ef281add/attachment.html>


More information about the llvm-bugs mailing list