GNU bug report logs - #65903
[PATCH] gnu: Make vice tunable.

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-patches; Reported by: raingloom <raingloom@HIDDEN>; Keywords: patch moreinfo; dated Wed, 13 Sep 2023 03:51:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Added tag(s) moreinfo. Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 65903) by debbugs.gnu.org; 19 Sep 2023 09:46:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 19 05:46:10 2023
Received: from localhost ([127.0.0.1]:55396 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qiXJ0-00068z-W0
	for submit <at> debbugs.gnu.org; Tue, 19 Sep 2023 05:46:10 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:49468)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1qiXIv-00068P-CU
 for 65903 <at> debbugs.gnu.org; Tue, 19 Sep 2023 05:46:05 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1qiXIh-0007un-86; Tue, 19 Sep 2023 05:45:47 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=MY627KnK8vjMBUcFUyFFdzPZs2TCFFNyFb4vZpEftYI=; b=oVQ37Tk7lFfT+2kVKv+l
 9TjydOkTVxmc5oSSd1ekomrzuuld5zpjmtNWUAItkGtrWCePsxw26QG9JZBM4WNV00GibZlKI5viU
 I0R7pJrjNyZVe/oLr0ZTaMLL7G0wEbB8izxDAIvvsdQdIpRVXlVnRCfJTTdG6qQP8Wsg96VNPOzW2
 fG8C3/nnrY7fbgVbi7vRf3r87cCngQjwibu4pqE+BxbUzok3etfiWLgEhislf3uS5l0ZZpFSFBUsJ
 YaVZ2UcLuVQj9sE2qZ/lj5/hYn0XmT241cHj9omW2QHisUavdgx55xFUdh2j1J7j+XVt4B2AViM68
 nQ17cG4l1ig2lQ==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Csepp <raingloom@HIDDEN>
Subject: Re: [PATCH v2] gnu: Make vice tunable.
References: <6fc797b4ee3c49cb7fb730b4ba1664a733ebf0df.1694720820.git.raingloom@HIDDEN>
 <871qex15ex.fsf@HIDDEN> <cuc5y47ptao.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Tridi 3 jour =?utf-8?Q?compl=C3=A9mentaire?= an 231 de
 la =?utf-8?Q?R=C3=A9volution=2C?= jour du Travail
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Tue, 19 Sep 2023 11:45:44 +0200
In-Reply-To: <cuc5y47ptao.fsf@HIDDEN> (Csepp's message of "Mon, 18 Sep
 2023 14:17:25 +0200")
Message-ID: <87il86ebsn.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 65903
Cc: 65903 <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: -3.3 (---)

Hi,

Csepp <raingloom@HIDDEN> skribis:

> Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

[...]

>> The fix would be twofold: (1) remove =E2=80=98-march=E2=80=99 and simila=
r compiler
>> arguments that cause it to generate code that assumes AVX availability,
>> and (2) add the =E2=80=98tune?=E2=80=99 property for those who want a fi=
ne-tuned binary.
>>
>> Could you look into it?
>>
>> Thanks,
>> Ludo=E2=80=99.
>
> Umm, it definitely solved it on my machine, which doesn't have AVX.
> If that's not a "proper" fix, then sure, I can try looking into it more.
> But it seems to me like `tunable?` is already working as intended.

What I meant is that someone installing =E2=80=98vice=E2=80=99 without =E2=
=80=98--tune=E2=80=99 will
still get a binary that assumes AVXsomething, which may or may not work
on their machine.

The default binary (without =E2=80=98--tune=E2=80=99) should target baselin=
e x86_64.

That=E2=80=99s why we need both fixes I mentioned above.

HTH!

Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#65903; Package guix-patches. Full text available.

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


Received: (at 65903) by debbugs.gnu.org; 18 Sep 2023 12:20:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 18 08:20:19 2023
Received: from localhost ([127.0.0.1]:52326 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qiDEh-0007mK-HF
	for submit <at> debbugs.gnu.org; Mon, 18 Sep 2023 08:20:19 -0400
Received: from mx1.riseup.net ([198.252.153.129]:50076)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raingloom@HIDDEN>) id 1qiDEf-0007m4-EI
 for 65903 <at> debbugs.gnu.org; Mon, 18 Sep 2023 08:20:18 -0400
Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by mx1.riseup.net (Postfix) with ESMTPS id 4Rq3lR52FXzDqWn;
 Mon, 18 Sep 2023 12:20:03 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak;
 t=1695039603; bh=OTpGwgzFiKbGvNcFiTFl6iWczvMRqFHwDG0VaVgHWBw=;
 h=References:From:To:Cc:Subject:Date:In-reply-to:From;
 b=sSAzcHtSJKwqwbCwk3/U9XgK3JaKjRFayY/4GiOTmoqkwRfMp1AVxUdO7hPej9w5D
 6I0Ppxb491gkf7W+BjopPpCTKiNkmEoHc//+AizAslb25liq/h3W6gFYMrzHKh1toF
 Np7+VyNA0SvLXHUrL5YHprjChuRY8/6OE3DQIzBU=
X-Riseup-User-ID: 35D1E4BC5A21A664B67BDA9012290353912CEC77AA03D2849871E96E77975F07
Received: from [127.0.0.1] (localhost [127.0.0.1])
 by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4Rq3lQ70S3zJmrK;
 Mon, 18 Sep 2023 12:20:02 +0000 (UTC)
References: <6fc797b4ee3c49cb7fb730b4ba1664a733ebf0df.1694720820.git.raingloom@HIDDEN>
 <871qex15ex.fsf@HIDDEN>
From: Csepp <raingloom@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: [PATCH v2] gnu: Make vice tunable.
Date: Mon, 18 Sep 2023 14:17:25 +0200
In-reply-to: <871qex15ex.fsf@HIDDEN>
Message-ID: <cuc5y47ptao.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 65903
Cc: 65903 <at> debbugs.gnu.org, raingloom <raingloom@HIDDEN>
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.7 (-)


Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Hi,
>
> raingloom <raingloom@HIDDEN> skribis:
>
>> From: Csepp <raingloom@HIDDEN>
>>
>> * gnu/packages/emulators.scm (vice)[properties]: Set tunable? to #t.
>> ---
>>  gnu/packages/emulators.scm | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
>> index 1d50c9ef01..0fb4a5853b 100644
>> --- a/gnu/packages/emulators.scm
>> +++ b/gnu/packages/emulators.scm
>> @@ -118,6 +118,8 @@ (define-public vice
>>    (package
>>      (name "vice")
>>      (version "3.7.1")
>> +    ;; without this it would use AVX even when it's not suported:
>
> Oh I see.  It=E2=80=99s a problem that =E2=80=98tunable?=E2=80=99 in itse=
lf doesn=E2=80=99t solve.
>
> The fix would be twofold: (1) remove =E2=80=98-march=E2=80=99 and similar=
 compiler
> arguments that cause it to generate code that assumes AVX availability,
> and (2) add the =E2=80=98tune?=E2=80=99 property for those who want a fin=
e-tuned binary.
>
> Could you look into it?
>
> Thanks,
> Ludo=E2=80=99.

Umm, it definitely solved it on my machine, which doesn't have AVX.
If that's not a "proper" fix, then sure, I can try looking into it more.
But it seems to me like `tunable?` is already working as intended.




Information forwarded to guix-patches@HIDDEN:
bug#65903; Package guix-patches. Full text available.

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


Received: (at 65903) by debbugs.gnu.org; 17 Sep 2023 10:05:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 17 06:05:39 2023
Received: from localhost ([127.0.0.1]:49089 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qhoep-0003MP-7e
	for submit <at> debbugs.gnu.org; Sun, 17 Sep 2023 06:05:39 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:59992)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1qhoen-0003MC-FD
 for 65903 <at> debbugs.gnu.org; Sun, 17 Sep 2023 06:05:38 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1qhoeZ-0003RF-Pb; Sun, 17 Sep 2023 06:05:23 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=xO6HuQd7LbSCnBbj7F1eIIAoUqPjlIijeDVbMrRnBZM=; b=pa8jfmXM+KbU4lr992Z1
 aMz7u1jkJJmNZenRqvnyUE5R9QdWfWT1QCZT6gyXnJ48f6dh5hejImLyblHAnj7oTPqBtUhOrhWvT
 /jESRDVblYOlWYq/gfSM75wXoCxKFvIGISl0Tw4/HhEXYxeBC/PTgQ3s7t/VXv4meYUIELffdg+hR
 aqTyW3uVQHi3b16yg+KXwfU3JS8E6O/TXNw5YgR2CMzdkKPG2LmFS2UWYWV+qC/jQJ2M3aBznjwUN
 i2v4MzjH7kBT7AnFBcCFVHaGc4JngLj2NHxlItugQlYdYOJTWN+JySn92We6IyrKOtufKNM6GxGfe
 Erh/gIjOA9EiuA==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: raingloom <raingloom@HIDDEN>
Subject: Re: [PATCH v2] gnu: Make vice tunable.
References: <6fc797b4ee3c49cb7fb730b4ba1664a733ebf0df.1694720820.git.raingloom@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Primidi 1 jour =?utf-8?Q?compl=C3=A9mentaire?= an 231
 de la =?utf-8?Q?R=C3=A9volution=2C?= jour de la Vertu
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Sun, 17 Sep 2023 12:05:10 +0200
In-Reply-To: <6fc797b4ee3c49cb7fb730b4ba1664a733ebf0df.1694720820.git.raingloom@HIDDEN>
 (raingloom@HIDDEN's message of "Thu, 14 Sep 2023 21:47:00 +0200")
Message-ID: <871qex15ex.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 65903
Cc: 65903 <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: -3.3 (---)

Hi,

raingloom <raingloom@HIDDEN> skribis:

> From: Csepp <raingloom@HIDDEN>
>
> * gnu/packages/emulators.scm (vice)[properties]: Set tunable? to #t.
> ---
>  gnu/packages/emulators.scm | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
> index 1d50c9ef01..0fb4a5853b 100644
> --- a/gnu/packages/emulators.scm
> +++ b/gnu/packages/emulators.scm
> @@ -118,6 +118,8 @@ (define-public vice
>    (package
>      (name "vice")
>      (version "3.7.1")
> +    ;; without this it would use AVX even when it's not suported:

Oh I see.  It=E2=80=99s a problem that =E2=80=98tunable?=E2=80=99 in itself=
 doesn=E2=80=99t solve.

The fix would be twofold: (1) remove =E2=80=98-march=E2=80=99 and similar c=
ompiler
arguments that cause it to generate code that assumes AVX availability,
and (2) add the =E2=80=98tune?=E2=80=99 property for those who want a fine-=
tuned binary.

Could you look into it?

Thanks,
Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#65903; Package guix-patches. Full text available.

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


Received: (at 65903) by debbugs.gnu.org; 14 Sep 2023 19:49:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 14 15:49:25 2023
Received: from localhost ([127.0.0.1]:41198 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qgsL7-0000BA-6N
	for submit <at> debbugs.gnu.org; Thu, 14 Sep 2023 15:49:25 -0400
Received: from mx0.riseup.net ([198.252.153.6]:34598)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raingloom@HIDDEN>) id 1qgsL3-0000Aw-Ey
 for 65903 <at> debbugs.gnu.org; Thu, 14 Sep 2023 15:49:23 -0400
Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by mx0.riseup.net (Postfix) with ESMTPS id 4RmnvG6kgtz9tWB;
 Thu, 14 Sep 2023 19:48:58 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak;
 t=1694720950; bh=vMxXDtUZvhGmKGw9vd15yfUhNqLSpv95GtnYhNhdGZM=;
 h=From:To:Cc:Subject:Date:From;
 b=qcIikTa9LPlpIcQtgt3XTIwBWmtHWPxlQc1MhBT9K+Av0k9fBI8D/fJGmjB4XBxB6
 rrymIYkfPdvLkF4WAIXBQ6ZSogSkgCHLQSyiOQR1C5ucvouoD6zEzYkriiWkWlF+1X
 jGksKdLf9dCC1oNFemYpjNmlkB7kqaUW0Hjkk0mg=
X-Riseup-User-ID: 6348D46EBBD75FD9F30F329B4408AF3316DA69559C7A20C5FEA3102C53ADE125
Received: from [127.0.0.1] (localhost [127.0.0.1])
 by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4RmnvF4hVrzJqBQ;
 Thu, 14 Sep 2023 19:48:57 +0000 (UTC)
From: raingloom <raingloom@HIDDEN>
To: 65903 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: Make vice tunable.
Date: Thu, 14 Sep 2023 21:47:00 +0200
Message-ID: <6fc797b4ee3c49cb7fb730b4ba1664a733ebf0df.1694720820.git.raingloom@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 65903
Cc: ludo@HIDDEN, Csepp <raingloom@HIDDEN>
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.7 (-)

From: Csepp <raingloom@HIDDEN>

* gnu/packages/emulators.scm (vice)[properties]: Set tunable? to #t.
---
 gnu/packages/emulators.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index 1d50c9ef01..0fb4a5853b 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -118,6 +118,8 @@ (define-public vice
   (package
     (name "vice")
     (version "3.7.1")
+    ;; without this it would use AVX even when it's not suported:
+    (properties '((tunable? . #t)))
     (source
      (origin
        (method url-fetch)

base-commit: 07d43c66d5c11fef61f9846fefb97fa18e4764f1
-- 
2.41.0





Information forwarded to guix-patches@HIDDEN:
bug#65903; Package guix-patches. Full text available.

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


Received: (at 65903) by debbugs.gnu.org; 14 Sep 2023 14:46:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 14 10:46:22 2023
Received: from localhost ([127.0.0.1]:40794 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qgnbp-0002aW-M6
	for submit <at> debbugs.gnu.org; Thu, 14 Sep 2023 10:46:21 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36496)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>)
 id 1qgnbm-0002aD-OD; Thu, 14 Sep 2023 10:46:19 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1qgnbb-0001s5-E4; Thu, 14 Sep 2023 10:46:07 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=6mWKbka59MEfTLf8wSfqIC51+xccU6v6P9ZsXkoAo4Q=; b=qofDKk9zXRdIH0McBEP2
 L4sXtVIUp7ttzp7T4cmvgG3wKrdGkGeEqdOzHwXtVXG1+RFGWrbGxgJInx9VrYQa+inV6tthtwx4W
 hvLjS77ezNxs17GJSGPfybi/UeGOu5AD28UoSvJ4q7GtsHHQmnupQLTeQXFV+AIKoaKJLCt1RY9ik
 W8VtDfM9p2VHD6Ny4vgbvyeaVMBmyjp/FUgaVV0hss80VthnuIcqhYpsSoQRyXLDjriHUVUjAhRIz
 rFS7x0dryIglvLQA+S/V6IUaMRSAUCw6+gMNlaf/zBp/pEuAgqNPCTJaGXVzvalhoDOPxVZ+kJRzw
 624swrO62NYCYQ==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: raingloom <raingloom@HIDDEN>
Subject: Re: bug#65903: [PATCH] gnu: Make vice tunable.
References: <4a6e24ae29f8adca5aa80334f9e07955d15175a6.1694576934.git.raingloom@HIDDEN>
Date: Thu, 14 Sep 2023 16:46:04 +0200
In-Reply-To: <4a6e24ae29f8adca5aa80334f9e07955d15175a6.1694576934.git.raingloom@HIDDEN>
 (raingloom@HIDDEN's message of "Wed, 13 Sep 2023 05:48:54 +0200")
Message-ID: <87o7i4ak43.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 65903
Cc: 65903 <at> debbugs.gnu.org, 65890 <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: -3.3 (---)

Hi,

raingloom <raingloom@HIDDEN> skribis:

> From: Csepp <raingloom@HIDDEN>
>
> * gnu/packages/emulators.scm (vice)[properties]: Set tunable? to #t.
> ---
> This fixes the issue with unsupported AVX instructions.

Could you clarify what this means, ideally as a comment above the
property?

Thanks,
Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#65903; Package guix-patches. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 13 Sep 2023 03:50:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 12 23:50:23 2023
Received: from localhost ([127.0.0.1]:60464 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qgGtS-0004jo-S3
	for submit <at> debbugs.gnu.org; Tue, 12 Sep 2023 23:50:23 -0400
Received: from lists.gnu.org ([2001:470:142::17]:59780)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raingloom@HIDDEN>) id 1qgGtQ-0004jN-T5
 for submit <at> debbugs.gnu.org; Tue, 12 Sep 2023 23:50:21 -0400
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 <raingloom@HIDDEN>)
 id 1qgGtG-0003Tm-76
 for guix-patches@HIDDEN; Tue, 12 Sep 2023 23:50:10 -0400
Received: from mx0.riseup.net ([198.252.153.6])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <raingloom@HIDDEN>)
 id 1qgGtD-0000KH-LX
 for guix-patches@HIDDEN; Tue, 12 Sep 2023 23:50:09 -0400
Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by mx0.riseup.net (Postfix) with ESMTPS id 4RlmgK5KJWz9t0W;
 Wed, 13 Sep 2023 03:50:05 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak;
 t=1694577005; bh=CHLWvFO+BKmfXxkzzQ1el/US3Eg+6iPSL8xoGzkx52A=;
 h=From:To:Cc:Subject:Date:From;
 b=g6y6nj4vc8rFEF+306Xb1rSne7WzEVlXN5YiRGHzhtFsr8qfutoSRNZhIQgKSMhdI
 vZh92vFan939obW3U5URYgAvf4nLaEzcbGO/0hK02N0lpNUQdOnu6+ubp5DP3PH7FS
 cBHa+neyq70MVSbMMmCM7t1z1CozHJVOPVJP95GM=
X-Riseup-User-ID: CA319C76FBB1FDACD0D162E06DD6A55E2881B15B07B8FA7BE4DC82222FA23B9C
Received: from [127.0.0.1] (localhost [127.0.0.1])
 by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4RlmgJ3Pw7zJnsh;
 Wed, 13 Sep 2023 03:50:04 +0000 (UTC)
From: raingloom <raingloom@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Make vice tunable.
Date: Wed, 13 Sep 2023 05:48:54 +0200
Message-ID: <4a6e24ae29f8adca5aa80334f9e07955d15175a6.1694576934.git.raingloom@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=198.252.153.6; envelope-from=raingloom@HIDDEN;
 helo=mx0.riseup.net
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
Cc: 65890 <at> debbugs.gnu.org, Csepp <raingloom@HIDDEN>
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 (-)

From: Csepp <raingloom@HIDDEN>

* gnu/packages/emulators.scm (vice)[properties]: Set tunable? to #t.
---
This fixes the issue with unsupported AVX instructions.

 gnu/packages/emulators.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index 1d50c9ef01..dd1e3e877f 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -118,6 +118,7 @@ (define-public vice
   (package
     (name "vice")
     (version "3.7.1")
+    (properties '((tunable? . #t)))
     (source
      (origin
        (method url-fetch)

base-commit: 07d43c66d5c11fef61f9846fefb97fa18e4764f1
-- 
2.41.0





Acknowledgement sent to raingloom <raingloom@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#65903; Package guix-patches. 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, 8 Oct 2023 21:45:01 UTC

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