unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#60082: openblas FTBFS in KVM with default CPU
@ 2022-12-14 17:24 Tril
  2024-03-10  1:02 ` Maxim Cournoyer
  0 siblings, 1 reply; 2+ messages in thread
From: Tril @ 2022-12-14 17:24 UTC (permalink / raw)
  To: 60082

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#60082: openblas FTBFS in KVM with default CPU
  2022-12-14 17:24 bug#60082: openblas FTBFS in KVM with default CPU Tril
@ 2024-03-10  1:02 ` Maxim Cournoyer
  0 siblings, 0 replies; 2+ messages in thread
From: Maxim Cournoyer @ 2024-03-10  1:02 UTC (permalink / raw)
  To: Tril; +Cc: 60082-done

Hi,

<tril@metapipe.net> writes:

> 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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-10  1:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-14 17:24 bug#60082: openblas FTBFS in KVM with default CPU Tril
2024-03-10  1:02 ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).