Article View: linux.gentoo.dev
Article #7Re: [gentoo-dev] [PATCH] profiles/base: default-enable USE=gmp
From: Eli Schwartz
Date: Sun, 11 Oct 2026 15:40
Date: Sun, 11 Oct 2026 15:40
91 lines
6097 bytes
6097 bytes
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------pCOwil0lzfOxaz0cAz6JbFqB Content-Type: multipart/mixed; boundary="------------QZTQk0oKKl4ozs41roZG701A"; protected-headers="v1"; hp="clear" Message-ID: <89edc55a-7801-4847-8f80-6f4bbacdd362@gentoo.org> Date: Sun, 11 Oct 2026 11:36:12 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [gentoo-dev] [PATCH] profiles/base: default-enable USE=gmp To: gentoo-dev@lists.gentoo.org References: <bf22d6afd355e01a4c1479ab2b21076f75468578.1790430550.git.sam@gentoo.org> <arf2N_n5IAxe8eht@mertle> <877bk794wf.fsf@gentoo.org> <arh3qrwLqtK04vN3@mertle> <CAEdQ38E5G+EAFmQsgeUuZt4=H-7UxMdG7fct8yQ-cT2U8kCD1w@mail.gmail.com> <asunhTQS8KwAEGL8@mertle> Content-Language: en-US From: Eli Schwartz <eschwartz@gentoo.org> Autocrypt: addr=eschwartz@gentoo.org; keydata= xjMEZmeRNBYJKwYBBAHaRw8BAQdAYNZ7pUDWhx1i2f3p6L2ZLu4FcY18UoeGC04Gq/khqwfN I0VsaSBTY2h3YXJ0eiA8ZXNjaHdhcnR6QGdlbnRvby5vcmc+wpYEExYKAD4WIQTvUdMIsc4j CIi+DYTqQj6ToWND8QUCZoRL+gIbAwUJBKKGAAULCQgHAwUVCgkICwUWAgMBAAIeBQIXgAAK CRDqQj6ToWND8aB5AP9r4kB691nNtNwKkdRiOdl7/k6WYzokvHvDamXxRJ0I+gEAjZqR5V8y mfR3fy2Z+r2Joeqdt3CIv5IwPs64spBvigLOOARmZ5E0EgorBgEEAZdVAQUBAQdATT46Z06b 1X9xjXFCYFxmq/Tj3tSEKZInDWTpoHQp4l8DAQgHwn4EGBYKACYWIQTvUdMIsc4jCIi+DYTq Qj6ToWND8QUCZmeRNAIbDAUJBKKGAAAKCRDqQj6ToWND8a2RAP40KPfbfoiZAJW5boFmFJ3G TUBDJRh9CWHyaPqq2PN+0wD/R07oLzfnJUN209mzi9TuTuHjeZybysyqXSw4MAxkMAY= X-Clacks-Overhead: GNU Terry Pratchett In-Reply-To: <asunhTQS8KwAEGL8@mertle> --------------QZTQk0oKKl4ozs41roZG701A Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 10/11/26 11:13 AM, Michael Orlitzky wrote: > On 2026-09-26 23:14:37, Matt Turner wrote: >> I'm just looking for one example where you *wouldn't* want one of >> these packages built with gmp support, given that it's already on your= >> system. >=20 > sci-mathematics/maxima[gmp] monkey-patches the SBCL compiler to > install some gmp functions in place of the usual ones. I've run the > maxima test suite a few times with the flag on/off, and I also hacked > bench.lisp from >=20 > https://github.com/sfrank/sb-gmp >=20 > to get it running on non-amd64 systems. In both cases, fairly > consistently, >=20 > * maxima[gmp] is a tiny bit slower on riscv > * maxima[gmp] is a tiny bit faster on amd64 >=20 > If maxima upstream enabled this, or if SBCL were to replace its > internal implementation, then whatever. But I think uncertain gains > obtained by patching the compiler put this on the list too. >=20 > This isn't intended as a gotcha, I just got sniped while trying to > figure out which packages could profitably lose USE=3Dgmp. Someone was > eventually going to wonder about maxima, and now we know. Anyways if there isn't much of a difference in performance and it can best be described as "uncertain gains" then it could also be described as "uncertain losses". Would anyone lose sleep if it was mandatory? :) All that being said, as it does look like the USE flag enables an unofficial patch and nothing else, the better argument here might be "allow people to use the vanilla upstream". Maybe the USE flag could be renamed from "gmp" to "vanilla"... --=20 Eli Schwartz --------------QZTQk0oKKl4ozs41roZG701A-- --------------pCOwil0lzfOxaz0cAz6JbFqB Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature.asc" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTnFNnmK0TPZHnXm3qEp9ErcA0vVwUCasus7QUDAAAAAAAKCRCEp9ErcA0vV6fW AQCmWJnWf4hAz+Id2CZ42Udd80hia/7qvGYZ4BLkU26nQQD/b1NR51nSz8YZoYziux6NC1x+8I9a aDC7QplP0AbArw8= =4cEj -----END PGP SIGNATURE----- --------------pCOwil0lzfOxaz0cAz6JbFqB--
Technical Details
Message-ID:
<NN3Ox-4UfC-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomodReferences:
<NHB6x-1Vnt-15@gated-at.bofh.it> <NHDL4-1WOs-9@gated-at.bofh.it> <NHGzf-1Yjr-3@gated-at.bofh.it> <NHMlj-21p4-1@gated-at.bofh.it> <NHNAJ-22cu-3@gated-at.bofh.it> <NN3vb-4U93-15@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: Eli Schwartz <eschwartz@gentoo.org> Newsgroups: linux.gentoo.dev Subject: Re: [gentoo-dev] [PATCH] profiles/base: default-enable USE=gmp Date: Sun, 11 Oct 2026 17:40:01 +0200 Message-ID: <NN3Ox-4UfC-3@gated-at.bofh.it> References: <NHB6x-1Vnt-15@gated-at.bofh.it> <NHDL4-1WOs-9@gated-at.bofh.it> <NHGzf-1Yjr-3@gated-at.bofh.it> <NHMlj-21p4-1@gated-at.bofh.it> <NHNAJ-22cu-3@gated-at.bofh.it> <NN3vb-4U93-15@gated-at.bofh.it> List-ID: Gentoo Linux mail <gentoo-dev.gentoo.org> Reply-To: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US Autocrypt: addr=eschwartz@gentoo.org; keydata= xjMEZmeRNBYJKwYBBAHaRw8BAQdAYNZ7pUDWhx1i2f3p6L2ZLu4FcY18UoeGC04Gq/khqwfN I0VsaSBTY2h3YXJ0eiA8ZXNjaHdhcnR6QGdlbnRvby5vcmc+wpYEExYKAD4WIQTvUdMIsc4j CIi+DYTqQj6ToWND8QUCZoRL+gIbAwUJBKKGAAULCQgHAwUVCgkICwUWAgMBAAIeBQIXgAAK CRDqQj6ToWND8aB5AP9r4kB691nNtNwKkdRiOdl7/k6WYzokvHvDamXxRJ0I+gEAjZqR5V8y mfR3fy2Z+r2Joeqdt3CIv5IwPs64spBvigLOOARmZ5E0EgorBgEEAZdVAQUBAQdATT46Z06b 1X9xjXFCYFxmq/Tj3tSEKZInDWTpoHQp4l8DAQgHwn4EGBYKACYWIQTvUdMIsc4jCIi+DYTq Qj6ToWND8QUCZmeRNAIbDAUJBKKGAAAKCRDqQj6ToWND8a2RAP40KPfbfoiZAJW5boFmFJ3G TUBDJRh9CWHyaPqq2PN+0wD/R07oLzfnJUN209mzi9TuTuHjeZybysyqXSw4MAxkMAY= X-Clacks-Overhead: GNU Terry Pratchett Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------pCOwil0lzfOxaz0cAz6JbFqB" Approved: robomod@news.nic.it Lines: 91 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 11 Oct 2026 11:36:12 -0400 X-Original-Message-ID: <89edc55a-7801-4847-8f80-6f4bbacdd362@gentoo.org> X-Original-References: <bf22d6afd355e01a4c1479ab2b21076f75468578.1790430550.git.sam@gentoo.org> <arf2N_n5IAxe8eht@mertle> <877bk794wf.fsf@gentoo.org> <arh3qrwLqtK04vN3@mertle> <CAEdQ38E5G+EAFmQsgeUuZt4=H-7UxMdG7fct8yQ-cT2U8kCD1w@mail.gmail.com> <asunhTQS8KwAEGL8@mertle>