libc++abi 3.9.0-3 armhf tests showing broken exceptions

Pauli suokkos at gmail.com
Tue Nov 8 19:00:28 UTC 2016


On Tue, Nov 8, 2016 at 8:05 PM, Pauli <suokkos at gmail.com> wrote:
> Hi,
>
> I noticed that buildd failed all exception tests libc++abi tests. I
> tried to reproduce the failure in my chroot but all test passed.
>
> I used dpkg-buildpackage with all local changes cleaned and sources
> unpacked from tarball. Quick check to important parts of logs look
> exactly same. Only difference appears to be that buildd has all
> exceptions broken while my local test in qemu-arm-static vm has them
> working correctly.
>
>
> Pauli

Yeah. There was a hidden difference in a long line:
line 4:  3190 Illegal instruction

I managed to reproduce that when running qemu-arm-static -cpu
cortex-r5 that doesn't have neon. While trying to find correct config
without neon I noticed that qemu-arm is missing cpu feature disabling
that exists for x86. With x86 I could have just said -cpu any,-neon.

So armhf won't build correctly in all buildds until clang generates
code without neon instructions.

Pauli



More information about the Pkg-llvm-team mailing list