🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.gentoo.dev
Article #6

Re: [gentoo-dev] [PATCH] profiles/base: default-enable USE=gmp

#6
From: Michael Orlitzky
Date: Sun, 11 Oct 2026 15:20
25 lines
2417 bytes
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.

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

  https://github.com/sfrank/sb-gmp

to get it running on non-amd64 systems. In both cases, fairly
consistently,

  * maxima[gmp] is a tiny bit slower on riscv
  * maxima[gmp] is a tiny bit faster on amd64

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.

This isn't intended as a gotcha, I just got sniped while trying to
figure out which packages could profitably lose USE=gmp. Someone was
eventually going to wonder about maxima, and now we know.
Technical Details
Message-ID: <NN3vb-4U93-15@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!bofh.it!news.nic.it!robomod
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>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Michael Orlitzky <mjo@gentoo.org>
Newsgroups: linux.gentoo.dev
Subject: Re: [gentoo-dev] [PATCH] profiles/base: default-enable USE=gmp
Date: Sun, 11 Oct 2026 17:20:01 +0200
Message-ID: <NN3vb-4U93-15@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>
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
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Approved: robomod@news.nic.it
Lines: 25
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: toolchain@gentoo.org, base-system@gentoo.org
X-Original-Date: Sun, 11 Oct 2026 11:13:09 -0400
X-Original-Message-ID: <asunhTQS8KwAEGL8@mertle>
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>