[llvm-bugs] [Bug 33136] New: [ARM] libc++ fails with bad_cast on ARM

via llvm-bugs llvm-bugs at lists.llvm.org
Tue May 23 02:41:47 PDT 2017


            Bug ID: 33136
           Summary: [ARM] libc++ fails with bad_cast on ARM
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: renato.golin at linaro.org
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

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

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

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/20170523/eeecd91f/attachment.html>

More information about the llvm-bugs mailing list