Hello,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,
and for SKIA support
have been submitted here for Debian:
https://salsa.debian.org/mozilla-team/firefox/-/merge_requests/17/commits
(was for 153.0.1 at time)
>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
Have a nice day,
Oliviosu--