NEON instructions presents in jemalloc for Armv7 android #48207
Labels
C-bug
Category: This is a bug.
O-Arm
Target: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Armv7 android spec do not ensure NEON support, even if most actual devices have it. The simulator does not support the extensions.
When running rust executable in the android emulator, jemalloc triggers Invalid instructions errors as its code contains vmov.i32 (among others) instructions.
This issue is only visible when 1/ running a rust binary (as in, not a library) and 2/ on the simulator or one of the very rare devices that do not actually have support.
to reproduce:
adb logcat should point to a tombstone...
invalid op:
We know for sure that this code comes from jemalloc, but we suspect at last backtrace contains some NEON instructions has well. (we grepped vmov in objdump output, and some functions (like read_attribute) containing them come from backtrace.
The text was updated successfully, but these errors were encountered: