Hi Oliviosu,
On Mon, 2026-11-16 at 13:27 +0100, oliv…@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