openblas FTBFS in KVM with default CPU

  • Done
  • quality assurance status badge
Details
2 participants
  • Maxim Cournoyer
  • 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
M
M
Maxim Cournoyer wrote on 10 Mar 02:02 +0100
control message for bug #60082
(address . control@debbugs.gnu.org)
87ttledhky.fsf@gmail.com
tags 60082 notabug
close 60082
quit
M
M
Maxim Cournoyer wrote on 10 Mar 02:02 +0100
Re: bug#60082: openblas FTBFS in KVM with default CPU
(name . Tril)(address . tril@metapipe.net)(address . 60082-done@debbugs.gnu.org)
87v85udhli.fsf@gmail.com
Hi,

<tril@metapipe.net> writes:

Toggle quote (30 lines)
> 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

Thanks for the report. That's probably due to some limitation in QEMU.
It'd be best to report it there -- it's outside of the scope of Guix,
although you could offer a Guix-based reproducer in your upstream
report.

Closing.

--
Thanks,
Maxim
Closed
?