[LLVMbugs] [Bug 17007] New: error: conflicting types for '__clear_cache'
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Aug 26 16:33:18 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17007
Bug ID: 17007
Summary: error: conflicting types for '__clear_cache'
Product: new-bugs
Version: trunk
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: schnetter at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
LLVM trunk (Revision: 189279) does not build for me on a Raspberry Pi with
Raspbian. I configure with
../llvm/configure '--build=armv6-unknown-linux-gnueabihf'
'--with-cpu=arm1176jzf-s' '--with-float=hard' '--with-abi=aapcs-vfp'
'--enable-targets=arm' '--enable-optimized' '--enable-assertions'
'--enable-shared' '--prefix=/home/pi/llvm'
and then build with
make
and then receive the error message
make[1]: Entering directory
`/home/pi/eschnetter-titan/water/llvm-build/lib/Support'
llvm[1]: Compiling Memory.cpp for Release+Asserts build
In file included from
/home/pi/eschnetter-titan/water/llvm/lib/Support/Memory.cpp:21:
/home/pi/eschnetter-titan/water/llvm/lib/Support/Unix/Memory.inc:38:17: error:
conflicting types for '__clear_cache'
extern "C" void __clear_cache(void *, void*);
^
/home/pi/eschnetter-titan/water/llvm/lib/Support/Unix/Memory.inc:38:17: note:
'__clear_cache' is a builtin with type 'void ()'
1 error generated.
make[1]: ***
[/home/pi/eschnetter-titan/water/llvm-build/lib/Support/Release+Asserts/Memory.o]
Error 1
make[1]: Leaving directory
`/home/pi/eschnetter-titan/water/llvm-build/lib/Support'
make: *** [all] Error 1
I am using gcc 4.6.1 (Debian 4.6.3-14+rpi1) for building.
--
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/20130826/ee98a4bf/attachment.html>
More information about the llvm-bugs
mailing list