From unknown Sun Aug 17 09:10:57 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#44681 <44681@debbugs.gnu.org> To: bug#44681 <44681@debbugs.gnu.org> Subject: Status: [PATCH] gnu: gnubg: Prevent building with avx instructions. Reply-To: bug#44681 <44681@debbugs.gnu.org> Date: Sun, 17 Aug 2025 16:10:57 +0000 retitle 44681 [PATCH] gnu: gnubg: Prevent building with avx instructions. reassign 44681 guix-patches submitter 44681 Michael Rohleder severity 44681 normal tag 44681 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 16 07:17:55 2020 Received: (at submit) by debbugs.gnu.org; 16 Nov 2020 12:17:55 +0000 Received: from localhost ([127.0.0.1]:55334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kedSE-00087Q-UN for submit@debbugs.gnu.org; Mon, 16 Nov 2020 07:17:55 -0500 Received: from lists.gnu.org ([209.51.188.17]:34966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kedSA-00087H-Ri for submit@debbugs.gnu.org; Mon, 16 Nov 2020 07:17:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kedSA-0007Ol-MJ for guix-patches@gnu.org; Mon, 16 Nov 2020 07:17:50 -0500 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:53142) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kedS8-0000qG-Pj for guix-patches@gnu.org; Mon, 16 Nov 2020 07:17:50 -0500 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1kedS5-00084A-5X; Mon, 16 Nov 2020 13:17:45 +0100 Received: from [192.168.1.3] (helo=micha.rohleder.de) by www.rohleder.de with esmtp (Exim 4.94) (envelope-from ) id 1kedS3-0001zN-Iy; Mon, 16 Nov 2020 13:17:44 +0100 From: Michael Rohleder To: guix-patches@gnu.org Subject: [PATCH] gnu: gnubg: Prevent building with avx instructions. Date: Mon, 16 Nov 2020 13:17:37 +0100 Message-Id: <20201116121737.22825-1-mike@rohleder.de> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1605529068;a3588486; X-HE-SMSGID: 1kedS5-00084A-5X Received-SPF: permerror client-ip=2a01:488:42:1000:50ed:84e7::; envelope-from=mike@rohleder.de; helo=wp224.webpack.hosteurope.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/16 04:46:36 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: Michael Rohleder X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/games.scm (gnubg): Prevent building with avx instructions. [arguments]: Add configure-flags for Intel systems. --- gnu/packages/games.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 97b0cb976d..12cc64fefa 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -1605,7 +1605,14 @@ such as chess or stockfish.") (native-inputs `(("python-2" ,python-2) ("pkg-config" ,pkg-config))) (arguments - `(#:phases + `(#:configure-flags + ;; SSE instructions are available on Intel systems only. + (list ,@(if (any (cute string-prefix? <> (or (%current-target-system) + (%current-system))) + '("x86_64" "i686")) + '("--enable-simd=sse2") ; prevent avx instructions + '())) + #:phases (modify-phases %standard-phases (add-after 'install 'install-desktop-file (lambda* (#:key outputs #:allow-other-keys) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 17 21:27:23 2020 Received: (at 44681) by debbugs.gnu.org; 18 Nov 2020 02:27:23 +0000 Received: from localhost ([127.0.0.1]:33504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfDBq-0001X0-Qh for submit@debbugs.gnu.org; Tue, 17 Nov 2020 21:27:23 -0500 Received: from mout01.posteo.de ([185.67.36.65]:48101) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfDBn-0001Wh-4V for 44681@debbugs.gnu.org; Tue, 17 Nov 2020 21:27:21 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 9E2CE16005C for <44681@debbugs.gnu.org>; Wed, 18 Nov 2020 03:27:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1605666432; bh=BBM0wsVxlgqGSE3sdg+HsdaM8jlHk/QMTySoKVVI+04=; h=From:To:Cc:Subject:Date:From; b=Dtz2CSOMlZpqaprzX9Gadq3BvCbqOBCopbZwBV3IpXUGzSVCZW7dlEOsGFzxe9I5e HZQi0miwWJtTxs5ThAR8fhcANHP/KKg7vVYIToTeigSqVMzmWQSZba27la1nGA/Y/l +mCfMLzYh5qcJKvAlqa09A01HYvWLqEkz7drtYCwNfWM/8Q1eJ5bDZG55OjBYU5ltV 8xcHQnePbSGIfSpQVVM4aNrEw+UngJa/mkivmhMmgbxXMSRezA738ua3GXGHsLtKyh UJGCseu0A4iPCK8u7+Vhz+sB/aFdOQHBlellgXGAroHehtGE9i6BId+Lq07a4pZrYp 5XvQpYf4ZZ6UA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CbRXb2gZsz9rxG; Wed, 18 Nov 2020 03:27:11 +0100 (CET) From: Kei Kebreau To: Michael Rohleder Subject: Re: [bug#44681] [PATCH] gnu: gnubg: Prevent building with avx instructions. References: <20201116121737.22825-1-mike@rohleder.de> Date: Tue, 17 Nov 2020 21:27:09 -0500 In-Reply-To: <20201116121737.22825-1-mike@rohleder.de> (Michael Rohleder's message of "Mon, 16 Nov 2020 13:17:37 +0100") Message-ID: <87pn4bv1qa.fsf@posteo.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44681 Cc: 44681@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Hi Michael! Michael Rohleder writes: > * gnu/packages/games.scm (gnubg): Prevent building with avx instructions. > [arguments]: Add configure-flags for Intel systems. I'd modify the commit message to be a bit shorter, like so: gnu: gnubg: Prevent building with AVX instructions. * gnu/packages/games.scm (gnubg)[arguments]: Add configure-flags for Intel systems to build without AVX instructions. > --- > gnu/packages/games.scm | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm > index 97b0cb976d..12cc64fefa 100644 > --- a/gnu/packages/games.scm > +++ b/gnu/packages/games.scm > @@ -1605,7 +1605,14 @@ such as chess or stockfish.") > (native-inputs `(("python-2" ,python-2) > ("pkg-config" ,pkg-config))) > (arguments > - `(#:phases > + `(#:configure-flags > + ;; SSE instructions are available on Intel systems only. > + (list ,@(if (any (cute string-prefix? <> (or (%current-target-system) > + (%current-system))) > + '("x86_64" "i686")) > + '("--enable-simd=sse2") ; prevent avx instructions > + '())) > + #:phases > (modify-phases %standard-phases > (add-after 'install 'install-desktop-file > (lambda* (#:key outputs #:allow-other-keys) Otherwise, the patch looks and works fine. I didn't even know that GNU Backgammon didn't work on my machine until I tested this patch! Please let me know whether you're okay with the commit message modification, and I'll push this for you. Thanks, Kei --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAl+0hn0ACgkQ5qXuPBlG eg0Kug//UkPC2JuAb8V0SiL5CwlyRyNHiIG9I9h+nxkWqLTExzlLUPndJAZi8mf1 PBi8vSfgtb6mMPzkP5ulBxOpW/EeVwJsDojfXKct/OCXg5k5PDaKOKwIuz2u5k0f qoI87zjWaqJWEgr2t+QKK1gIgGDQ6tWSBWp3Pul9T/is7Qom1WpRrBGvTpmJAVOc WtlhsmSn1Wg/OgualelVZLrA0j2bCfvfWIl95MNHpXnc4iQWaWybv7u0fNiYdoMa uENlk3DYkrojat1ydhgR033z0BhFmhDqEUkdOklETQRf3l3NXCT8FtkceKKLDRRx Bs0JyBGVEdzKiVJWE7/HLxqMHmyGyj8kX1Wpcb829exhSNrrRbLRqnFV/NNHynLd oxJ5uFeVlwkMjpjXhQ7mnWEDi0NmwBsherzk3+pZiJ4xTvG/3eSq51EQVfVd4bQn sTCZxK+E0G7lVCaakug4VtUZvPRDiXL+HlgeT/T4DzKy2SNB4E7EsvJxT4HS96DF H/nspRq0/23wuYyEsgerFx6saRJwdlJZPEL90Nqb4+JjoM48c5xw3yv6P3DHBTuU yQKjg+DRq1eK/91utzSRI77ZxpuKwQoFv5IhCZMbvEq+Eb/4XrPVWhQcLaMo9kZu 0oKT/LYzt4qyI5hEC40kBGZ5nM30F5KB6BtveoMVpRdOX3TVQ88= =VjAT -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 18 01:54:05 2020 Received: (at 44681) by debbugs.gnu.org; 18 Nov 2020 06:54:05 +0000 Received: from localhost ([127.0.0.1]:33849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfHLx-0002G0-8F for submit@debbugs.gnu.org; Wed, 18 Nov 2020 01:54:05 -0500 Received: from wp224.webpack.hosteurope.de ([80.237.132.231]:34500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfHLs-0002FX-5s for 44681@debbugs.gnu.org; Wed, 18 Nov 2020 01:54:03 -0500 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1kfHLq-0005O2-44; Wed, 18 Nov 2020 07:53:58 +0100 Received: from [192.168.1.3] (helo=micha) by www.rohleder.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1kfHLo-0005Ww-Iz; Wed, 18 Nov 2020 07:53:57 +0100 From: Michael Rohleder To: Kei Kebreau Subject: Re: [bug#44681] [PATCH] gnu: gnubg: Prevent building with avx instructions. References: <20201116121737.22825-1-mike@rohleder.de> <87pn4bv1qa.fsf@posteo.net> Date: Wed, 18 Nov 2020 07:53:50 +0100 In-Reply-To: <87pn4bv1qa.fsf@posteo.net> (Kei Kebreau's message of "Tue, 17 Nov 2020 21:27:09 -0500") Message-ID: <87sg976tq9.fsf@rohleder.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1605682440;150f58d2; X-HE-SMSGID: 1kfHLq-0005O2-44 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44681 Cc: 44681@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Kei! Kei Kebreau writes: > Please let me know whether you're okay with the commit message > modification, and I'll push this for you. This is perfectly fine! Thank you very much for reviewing, testing, rewriting, asking and pushing ;) =2D-=20 Some people claim that the UNIX learning curve is steep, but at least you only have to climb it once. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFFBAEBCAAvFiEEdV4t5dDVhcUueCgwfHr/vv7yyyUFAl+0xP4RHG1pa2VAcm9o bGVkZXIuZGUACgkQfHr/vv7yyyVC3Qf/Y34Z2wKPGegj/pB01BO0QzFCHQpwE5xK a3gJNrmhry2yVTjE6S+ZcLwsRUAZzU3rXTFph4ptdN2zI0jsAcTCGWZSLSLIp8gK tzqRjz/jq9icxH1qAe2B4HIBPjTcjNDoWc6eqqpMZEJAdra/lojvx1yyxEPUi9B/ UgaMCEjqKaI2qPWwhJQ2brlkWDyr1uKSwqP3cJImJrKz0hZhQ7JYolsSjdjYAyO1 ICFimxlKH11P0+RhoOW6N6JzBmlIniaj82cZRtyV4RyGJLHGglHba0X/BwcX/mrt 1daf74tVxG6RTSZ429DzRvhtqmgbEQ8sCl9BBvgYslBZCZsw2aQn2g== =g0PY -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 18 09:06:13 2020 Received: (at 44681-done) by debbugs.gnu.org; 18 Nov 2020 14:06:13 +0000 Received: from localhost ([127.0.0.1]:34592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfO65-0002ha-TD for submit@debbugs.gnu.org; Wed, 18 Nov 2020 09:06:13 -0500 Received: from mout02.posteo.de ([185.67.36.66]:37009) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfO60-0002gy-Hq for 44681-done@debbugs.gnu.org; Wed, 18 Nov 2020 09:06:08 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 0FECF2400FB for <44681-done@debbugs.gnu.org>; Wed, 18 Nov 2020 15:05:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1605708358; bh=DewuADHcCeSNve2rNAYpYAZYUtfMjgYJF1XQw6RxuL8=; h=From:To:Cc:Subject:Date:From; b=qXv6pSCfzLQFzJRTvhAveJCsmONvtj5IZ+wtbBss5o7PwpsNaZtN9IVFbnvofF2uC rwFDwlZYx9Tc5LpACGr8eXSIMMZIz4Id8bUgSjH1XHfLdlIUReMos+7J0H5ySHVt7l 3FWzF1E4MV/GW60nw1EhlZaKdGUDwDOx4GZZp95AfEVU6uraPGSiJji0V01byXof9j 0TPIYzxb+ykTt3MuwRjn2SEMSQU3f/MHKn2xtFAKh5z3n3gjxfni8SKdwejn1aHyjn Aqoxki7kSUeTkzrsGkEe7Vh/kPMvVfkM6NZMBAQ8/bZLLrcWvnQEyZfD0T1/I74s8Q bMG5aK/Mwa3Ow== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Cbl2s09vpz9rxB; Wed, 18 Nov 2020 15:05:56 +0100 (CET) From: Kei Kebreau To: Michael Rohleder Subject: Re: [bug#44681] [PATCH] gnu: gnubg: Prevent building with avx instructions. References: <20201116121737.22825-1-mike@rohleder.de> <87pn4bv1qa.fsf@posteo.net> <87sg976tq9.fsf@rohleder.de> Date: Wed, 18 Nov 2020 09:05:55 -0500 In-Reply-To: <87sg976tq9.fsf@rohleder.de> (Michael Rohleder's message of "Wed, 18 Nov 2020 07:53:50 +0100") Message-ID: <87lfeyvjy4.fsf@posteo.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44681-done Cc: 44681-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Michael Rohleder writes: > Hi Kei! > > Kei Kebreau writes: >> Please let me know whether you're okay with the commit message >> modification, and I'll push this for you. > > This is perfectly fine! > Thank you very much for reviewing, testing, rewriting, asking and > pushing ;) You're welcome! This patch has been pushed to master as commit 82df93e27c. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAl+1KkMACgkQ5qXuPBlG eg1uVxAAsAePytQ+IC4/jy16PqUgq7H5WDQun09ZvKb3qnLtQIZtAJiXEiqxozoe BHpFWd49kVIYtDB6tKKPip3ZMn/jbzQ/ErWj3wRKfp8QzGazuo3/YrpSJvE1rX6d P6THkhvQJ3kv1sfTaie3B6FaMX0x17pn/xS5jVZJX+Ms2fhF403tbzo+jnR4Lksi 5N8enurgYwE/U/Db5GuChUec+jU6w3XN6t9pLGHOWAQZVvdJr78DqyiY6wYwMhts 2FQoE/j9Gm5NbjYHDw6cZl8RbZJDN471BDwKZ8ZS+UqWe+h9VO/funntuF22Er8E Tya1ItkcmG+U5/2kwwWng7fwN2p+UxLb4JYc9ldNmjV8HDfMMCqPc8x/dGA9nQoB zJKJCJEBp9zip3cB7ONSD+l/v1d9nA8OcSRo9I6x/nEasmFHhFRYhBV2qpBEMeZC Jvo16rMjPejFCpONGt6dxFQbaKLQWD3Rm5NSwXFd3N+dETu41j+wH4cKEW0IwAVv Mkq90zcUH8nesGu60Oo/oF7v/Vu5hlLs39dUrCJj0c6fieyFtsUiXkBPtWtu1LfX nvnEvc0Loqm4Rbx3Rw+zSQAiyk77iVP8vs1h90s7I4l4PeZq5+pw4MziCCAwySLr i0bL3SbEmw0dKXdNCL2PWaOJaVAN1ZTXO/lB7XWozWWgoGL5B5Y= =MSQo -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Aug 17 09:10:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 17 Dec 2020 12:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator