[LLVMbugs] [Bug 19696] New: compiler-rt build error file clear_cache.c on ARM

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 8 21:38:42 PDT 2014


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

            Bug ID: 19696
           Summary: compiler-rt build error file clear_cache.c on ARM
           Product: Build scripts
           Version: trunk
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: autoconf
          Assignee: unassignedbugs at nondot.org
          Reporter: ullrich.kossow at web.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The problem came probably with commit bfbb8bbc8e4a4fce3538aa85b095543fee291df7
Last checked it with 18b85d57cc7a76897650e707a493a1c0f9206acc

Building LLVM using clang on a raspberry i get the build error

...
[ 45%] Building C object
projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.arm.dir/clear_cache.c.o
/mnt/x/Projects/LLVM/llvm/projects/compiler-rt/lib/builtins/clear_cache.c:36:1:
error: function declared 'aapcs' here was previously declared without calling
convention
__clear_cache(void* start, void* end)
^
/mnt/x/Projects/LLVM/llvm/projects/compiler-rt/lib/builtins/clear_cache.c:36:1:
note: previous declaration is here
1 error generated.



The compiler used for the build is:
clang version 3.5.0
Target: armv6l-unknown-linux-gnueabihf
Thread model: posix

-- 
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/20140509/f3ba329c/attachment.html>


More information about the llvm-bugs mailing list