<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - error: conflicting types for '__clear_cache'"
href="http://llvm.org/bugs/show_bug.cgi?id=17007">17007</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>error: conflicting types for '__clear_cache'
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>schnetter@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>