Bug#986996: openblas: SIGILL on arm64 due when HWCAP_CPUID is not set

Thomas Viehmann tv at beamnet.de
Thu Apr 15 10:52:54 BST 2021


Package: libopenblas-base
Version: 0.3.13+ds-2
Severity: serious

Thank you for maintaining openblas.

There is a crashing bug (SIGILL) that also affects numpy on arm64. One 
line of processors affected are NVIDIA Tegra (Jetson devices). It would 
be great to have this fixed in bullseye.

On ARM64, openblas uses feature registers to detect the detailed 
processor arch. It queries HWCAP_CPUID to check if the feature registers 
are used. But due to a missing volatile declaration, gcc seems to break 
this guarding in optimization.

A fix is at:
https://github.com/xianyi/OpenBLAS/pull/3060

It seems to me that this is not in the 0.3.14 Debian packages even 
though it seems to be in upstreams 0.3.14, not sure what is up with 
that. (I could be mistaken.)

Best regards

Thomas



More information about the debian-science-maintainers mailing list