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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Tril <tril@HIDDEN>; Keywords: notabug; Done: Maxim Cournoyer <maxim.cournoyer@HIDDEN>; Maintainer for guix is bug-guix@HIDDEN.

Message received at 60082-done <at> debbugs.gnu.org:


Received: (at 60082-done) by debbugs.gnu.org; 10 Mar 2024 01:04:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 09 20:04:18 2024
Received: from localhost ([127.0.0.1]:35004 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rj7bt-0007yI-NK
	for submit <at> debbugs.gnu.org; Sat, 09 Mar 2024 20:04:18 -0500
Received: from mail-qk1-f169.google.com ([209.85.222.169]:57496)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1rj7br-0007xw-2Z
 for 60082-done <at> debbugs.gnu.org; Sat, 09 Mar 2024 20:04:16 -0500
Received: by mail-qk1-f169.google.com with SMTP id
 af79cd13be357-781753f52afso236339185a.2
 for <60082-done <at> debbugs.gnu.org>; Sat, 09 Mar 2024 17:03:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1710032556; x=1710637356; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=Gbb0e0Wjnc4X/WML3r1JLS43Y0w8oMILuhDJ504tWW8=;
 b=NNslYDElYrDXHF9sdx0mn/e1SUBupp1+Gz6r3ACvqR6ZCvGI8zeUNFrlYaAV1CveTA
 ZN/vYg2WI3TdgdA08y5dDvMNxV8eDqL+SkBw/bDF6/TZkRdhiMWFoxShtJteJLLPYn3H
 /iEqMBCh31SeIOibKUt2DejlMLGSaypGcxLSxTGV4Ctc2uAPxWrp54ME5mv/PoFLJkCm
 7Lhig5zKkA9oBBNuOplMPvMO0TdHlsdnVuufnzl2uy3E8Dv0KVdzSAxEiwRHmmTecDS6
 Z4CfwW8+vKDquUjRdE7vtF/TOwW46NN58WJdjRiaXuq1s+DY96IDnjkTcn3HGEyRuT42
 nrpw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1710032556; x=1710637356;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=Gbb0e0Wjnc4X/WML3r1JLS43Y0w8oMILuhDJ504tWW8=;
 b=wZiwobUUcCZ21erzTMbDHsUteCeSnEh1bCQFiQeNWw4NlxFbNGsU47JnzQZqOfvJbc
 HdwuMV9Itlk7AAaSVY2/RRg5IfW/Fcef2Dew6+L8P41Y203sTE5N96lU2ECe4cN/Cqts
 tCm+CtX4hoNwY4fKO5XHuO3QcyDr0DacfmnaYvyZi2qO8nKmLSDY7k35jrK8ryvyQlvq
 i37rsx6NCqGMXvJEeV8Q95aIBmvLus+OP187IW9qSK72wmzn+3kRYZ9DNft+YAcMDPyK
 u0b8chy0zmhiUXNUGKtFms6Jj1t6t6ozlYJ+Q5rP1vID9m+Rc3l4STs8hWAbpqYNbpw5
 OurQ==
X-Gm-Message-State: AOJu0YzBN17thIHHqTKmCN5sqDXqLlDQaJqVMbSOk1VzDe53DLf4Co1W
 c8geFOxUWda6R51Uqr5w97n/9RtCAwX21oEZm9XZk6doIcpxZ/kHdLvWcZhOGSlPlg==
X-Google-Smtp-Source: AGHT+IEPky/tsnXvx8P8v/1hw4BE5AwqEa+5LdFMBP2Gw5PAyYlkiqH7D/rc27E2dWPowTR5B+VwOA==
X-Received: by 2002:a05:620a:2909:b0:787:d917:8805 with SMTP id
 m9-20020a05620a290900b00787d9178805mr4347926qkp.15.1710032555999; 
 Sat, 09 Mar 2024 17:02:35 -0800 (PST)
Received: from hurd (dsl-150-134.b2b2c.ca. [66.158.150.134])
 by smtp.gmail.com with ESMTPSA id
 l2-20020ae9f002000000b0078860cacdefsm1026914qkg.77.2024.03.09.17.02.34
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 09 Mar 2024 17:02:35 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Tril <tril@HIDDEN>
Subject: Re: bug#60082: openblas FTBFS in KVM with default CPU
In-Reply-To: <20221214172435.GB1182@HIDDEN> (tril@HIDDEN's message
 of "Wed, 14 Dec 2022 09:24:35 -0800")
References: <20221214172435.GB1182@HIDDEN>
Date: Sat, 09 Mar 2024 20:02:33 -0500
Message-ID: <87v85udhli.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 60082-done
Cc: 60082-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

<tril@HIDDEN> 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




Information forwarded to bug-guix@HIDDEN:
bug#60082; Package guix. Full text available.
bug closed, send any further explanations to 60082 <at> debbugs.gnu.org and Tril <tril@HIDDEN> Request was from Maxim Cournoyer <maxim.cournoyer@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Added tag(s) notabug. Request was from Maxim Cournoyer <maxim.cournoyer@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Dec 2022 07:43:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 15 02:43:26 2022
Received: from localhost ([127.0.0.1]:42463 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1p5itp-0007oa-7Z
	for submit <at> debbugs.gnu.org; Thu, 15 Dec 2022 02:43:26 -0500
Received: from lists.gnu.org ([209.51.188.17]:60178)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <BOUNCES@HIDDEN>) id 1p5WBp-00063Z-Fx
 for submit <at> debbugs.gnu.org; Wed, 14 Dec 2022 13:09:10 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <BOUNCES@HIDDEN>)
 id 1p5WBp-00071W-Bt
 for bug-guix@HIDDEN; Wed, 14 Dec 2022 13:09:09 -0500
Received: from smtp-out.metapipe.net ([2001:470:e86a:6004::4]
 helo=smtp.metapipe.net)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <BOUNCES@HIDDEN>)
 id 1p5WBn-0004FU-Kq
 for bug-guix@HIDDEN; Wed, 14 Dec 2022 13:09:09 -0500
Received: from mail.metapipe.us (internal.mail.metapipe.us
 [IPv6:2001:470:e86a:6800::2])
 by smtp.metapipe.net (Postfix) with ESMTP id 267D718D
 for <bug-guix@HIDDEN>; Wed, 14 Dec 2022 09:24:33 -0800 (PST)
Received: by mail.metapipe.us (Postfix, from userid 1001)
 id 6594819B1; Wed, 14 Dec 2022 09:24:35 -0800 (PST)
Date: Wed, 14 Dec 2022 09:24:35 -0800
From: Tril <tril@HIDDEN>
To: bug-guix@HIDDEN
Subject: openblas FTBFS in KVM with default CPU
Message-ID: <20221214172435.GB1182@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.20 (2009-06-14)
Received-SPF: none client-ip=2001:470:e86a:6004::4;
 envelope-from=BOUNCES@HIDDEN; helo=smtp.metapipe.net
X-Spam_score_int: -15
X-Spam_score: -1.6
X-Spam_bar: -
X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9,
 HEADER_FROM_DIFFERENT_DOMAINS=0.249, KHOP_HELO_FCRDNS=0.001,
 SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -2.1 (--)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 15 Dec 2022 02:43:23 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.1 (---)

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




Acknowledgement sent to Tril <tril@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#60082; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 10 Mar 2024 01:15:02 UTC

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