<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - [ARM] libc++ fails with bad_cast on ARM"
href="https://bugs.llvm.org/show_bug.cgi?id=33136">33136</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[ARM] libc++ fails with bad_cast on ARM
</td>
</tr>
<tr>
<th>Product</th>
<td>libc++
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>renato.golin@linaro.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, mclow.lists@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>We have around 150 failures on ARM when building libc++/libc++abi/libunwind and
running the LIT tests from "ninja check-all". Attached is a way to reproduce
using Clang 3.8 as the compiler (breaks with current trunk, too, in the same
way).
Apart from the bad_cast problem, there's also the issue that the libc++ tests
are being compiled with the system compiler (which happens to be clang 3.8),
but to be in line with other tests, it should actually pick the fresh in-tree
compiler instead.
Attached is a tarball with the script, sources, includes and libraries needed
to make that work locally. It should be reproducible with any Clang, and I
believe with any GCC, too.
I haven't tested on QEMU, but this happens in every ARM board I have ever
tried.</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>