openblas FTBFS in KVM with default CPU

  • Open
  • quality assurance status badge
Details
One participant
  • Tril
Owner
unassigned
Submitted by
Tril
Severity
normal
T
(address . bug-guix@gnu.org)
20221214172435.GB1182@bespin.org
FTBFS = "Fails To Build From Source"

guix package --no-substitutes -i openblas

resulted in the error below on Guix System running on a KVM in Proxmox
VE using the default CPU called "kvm64".

---
OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 ./sblat3 < ./sblat3.dat

Program received signal SIGILL: Illegal instruction.

Backtrace for this error:
#0 0x7ffff7d2fc1a
#1 0x7ffff7d2ee45
#2 0x7ffff7a2209f
#3 0x186ac04
bash: line 1: 25848 Illegal instruction OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 ./sblat3 < ./sblat3.dat

make[1]: *** [Makefile:167: level3] Error 132
---

I shutdown the VM and changed the CPU type to "host" (which provides the full
instruction set of my CPU to the VM) and was able to build successfully
using the same command.

openblas 0.3.20 out /gnu/store/xghpgl3fnr603z16vg7hldmpxygriqm2-openblas-0.3.20
?