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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs