GNU bug report logs - #60082
openblas FTBFS in KVM with default CPU

Previous Next

Package: guix;

Reported by: Tril <tril <at> metapipe.net>

Date: Thu, 15 Dec 2022 07:44:01 UTC

Severity: normal

Tags: notabug

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 60082 in the body.
You can then email your comments to 60082 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#60082; Package guix. (Thu, 15 Dec 2022 07:44:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tril <tril <at> metapipe.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 15 Dec 2022 07:44:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tril <tril <at> metapipe.net>
To: bug-guix <at> gnu.org
Subject: openblas FTBFS in KVM with default CPU
Date: Wed, 14 Dec 2022 09:24:35 -0800
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




Added tag(s) notabug. Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 10 Mar 2024 01:05:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 60082 <at> debbugs.gnu.org and Tril <tril <at> metapipe.net> Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 10 Mar 2024 01:05:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#60082; Package guix. (Sun, 10 Mar 2024 01:05:03 GMT) Full text and rfc822 format available.

Message #12 received at 60082-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Tril <tril <at> metapipe.net>
Cc: 60082-done <at> debbugs.gnu.org
Subject: Re: bug#60082: openblas FTBFS in KVM with default CPU
Date: Sat, 09 Mar 2024 20:02:33 -0500
Hi,

<tril <at> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 07 Apr 2024 11:24:30 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 32 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.