Article View: linux.debian.ports.powerpc
Article #34Re: Firefox 153.7.0esr with JIT available
From: John Paul Adrian Glaubitz
Date: Mon, 16 Nov 2026 12:40
Date: Mon, 16 Nov 2026 12:40
75 lines
4901 bytes
4901 bytes
Hi Oliviosu, On Mon, 2026-11-16 at 13:27 +0100, oliviosu_ppc64el@tutanota.com wrote: > first patch was to be able to have JIT-enabled Firefox with ppc64el > https://bugzilla.mozilla.org/show_bug.cgi?id=1860412 > started 3 years ago by Cameron Kaiser was targeted esr-115 > based on this work runlevel5 (Trung LĂŞ) update and improve the patch to target esr-153 and after, > was submitted upstream but refused: > https://discourse.mozilla.org/t/spidermonkey-jit-with-full-wasm-support-for-power-isa-ppc64le/148860 > and previous link. > > runlevel5 develop it further for BE too, OK, JIT is a bigger chunk and probably requires more collaboration to get it upstreamed. I assume that Mozilla's main concern would be the lack of an official maintainer, so someone should step up to become the official maintainer upstream. > and for SKIA support For Skia, I have created an issue here: https://github.com/sparclinux/issues/issues/128 I would like to get Skia fixed upstream, so that other consumers such as WebKit and LibreOffice will profit from the improvements as well. > have been submitted here for Debian: > https://salsa.debian.org/mozilla-team/firefox/-/merge_requests/17/commits > (was for 153.0.1 at time) Yeah, as I said in my earlier mail, Debian's Firefox maintainer is not very happy to carry local patches. It's therefore better to try upstream these. > > > What did you do to avoid the NodeJS dependency? Did you use QuickJS instead? > I quote: > Debian ppc64 (big-endian): patched Node.js for the DevTools build step > On Debian ppc64 (big-endian, ELFv1 ABI) the archive's nodejs 20.19.5 crashes with a segmentation fault at its first full garbage collection, which breaks the Firefox build's DevTools step. The cause is a V8 bug: its stack-scanning code calls an ELFv1 function descriptor as if it were code. A fix has been proposed to Debian (js-team/nodejs!25). A second V8 bug makes node die with an illegal instruction on PowerPC 970 (Apple G5): V8 uses POWER5+/POWER7 instructions (e.g. frip in the Math rounding builtins) below Debian ppc64's POWER4 baseline. Its fix is proposed too (js-team/nodejs!26). > > links: > https://salsa.debian.org/js-team/nodejs/-/merge_requests/26 > https://salsa.debian.org/js-team/nodejs/-/merge_requests/25 I think using QuickJS is the better alternative as you don't really need NodeJS to transpile the JavaScript stuff in Firefox. QuickJS works as well and has the advantage that it runs on just any target and not just the few supported by V8. https://github.com/sparclinux/issues/issues/59 It would be nice if QuickJS support could be added as an alternative to Firefox' build system upstream. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Technical Details
Message-ID:
<O04a5-cfAO-5@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<O040p-cfwT-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Newsgroups: linux.debian.ports.powerpc Subject: Re: Firefox 153.7.0esr with JIT available Date: Mon, 16 Nov 2026 13:40:01 +0100 Message-ID: <O04a5-cfAO-5@gated-at.bofh.it> References: <O040p-cfwT-1@gated-at.bofh.it> X-Mailbox-Line: From debian-powerpc-request@lists.debian.org Mon Nov 16 12:34:02 2026 Old-Return-Path: <glaubitz@zedat.fu-berlin.de> X-Amavis-Spam-Status: No, score=-4.198 tagged_above=-10000 required=5.3 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .fu-berlin. - helo: .outpost1.zedat.fu-berlin. - helo-domain: .fu-berlin.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.62.1 MIME-Version: 1.0 X-Originating-IP: 77.191.198.88 X-Zedat-Hint: PO X-Mailing-List: <debian-powerpc@lists.debian.org> archive/latest/73514 List-ID: <debian-powerpc.lists.debian.org> List-URL: <https://lists.debian.org/debian-powerpc/> List-Archive: https://lists.debian.org/msgid-search/d064316d10e4262cb22bfb5896c19bb9c0e66da7.camel@physik.fu-berlin.de Approved: robomod@news.nic.it Lines: 75 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Debian Powerpc <debian-powerpc@lists.debian.org> X-Original-Date: Mon, 16 Nov 2026 13:33:46 +0100 X-Original-Message-ID: <d064316d10e4262cb22bfb5896c19bb9c0e66da7.camel@physik.fu-berlin.de> X-Original-References: <P6ZJohY--F-9@tutanota.com>