Thread View: linux.debian.ports.powerpc
2 messages
2 total messages
Started by oliviosu_ppc64el
Mon, 16 Nov 2026 12:30
Firefox 153.7.0esr with JIT available
Author: oliviosu_ppc64el
Date: Mon, 16 Nov 2026 12:30
Date: Mon, 16 Nov 2026 12:30
96 lines
6933 bytes
6933 bytes
------=_Part_242072_693050752.1794832042984
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hello,first patch was to be able to have JIT-enabled Firefox with ppc64el
https://bugzilla.mozilla.org/show_bug.cgi?id=3D1860412
started 3 years ago by Cameron Kaiser was targeted esr-115
based on this work runlevel5 (Trung L=C3=AA) update and improve the patch t=
o 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 instea=
d?
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 crashe=
s with a segmentation fault at its first full garbage collection, which bre=
aks the Firefox build's DevTools step. The cause is a V8 bug: its stack-sca=
nning 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 di=
e with an illegal instruction on PowerPC 970 (Apple G5): V8 uses POWER5+/PO=
WER7 instructions (e.g. frip in the Math rounding builtins) below Debian pp=
c64'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--=20
------=_Part_242072_693050752.1794832042984
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF-8=
">
</head>
<body>
<div dir=3D"auto">Hello,</div><div dir=3D"auto">first patch was to be able =
to have JIT-enabled Firefox with ppc64el<br></div><div dir=3D"auto"><a href=
=3D"https://bugzilla.mozilla.org/show_bug.cgi?id=3D1860412" rel=3D"noopener=
noreferrer" target=3D"_blank">https://bugzilla.mozilla.org/show_bug.cgi?id=
=3D1860412</a><br></div><div dir=3D"auto">started 3 years ago by Cameron Ka=
iser was targeted esr-115<br></div><div dir=3D"auto">based on this work run=
level5 (Trung L=C3=AA) update and improve the patch to target esr-153 and a=
fter,<br></div><div dir=3D"auto">was submitted upstream but refused:<br></d=
iv><div dir=3D"auto"><a href=3D"https://discourse.mozilla.org/t/spidermonke=
y-jit-with-full-wasm-support-for-power-isa-ppc64le/148860" rel=3D"noopener =
noreferrer" target=3D"_blank">https://discourse.mozilla.org/t/spidermonkey-=
jit-with-full-wasm-support-for-power-isa-ppc64le/148860</a><br></div><div d=
ir=3D"auto">and previous link.<br></div><div dir=3D"auto"><br></div><div di=
r=3D"auto">runlevel5 develop it further for BE too,<br></div><div dir=3D"au=
to">and for SKIA support<br></div><div dir=3D"auto"><br></div><div dir=3D"a=
uto">have been submitted here for Debian:<br></div><div dir=3D"auto"><a hre=
f=3D"https://salsa.debian.org/mozilla-team/firefox/-/merge_requests/17/comm=
its" rel=3D"noopener noreferrer" target=3D"_blank">https://salsa.debian.org=
/mozilla-team/firefox/-/merge_requests/17/commits</a><br></div><div dir=3D"=
auto">(was for 153.0.1 at time)<br></div><div dir=3D"auto"><br></div><div d=
ir=3D"auto"><br></div><div dir=3D"auto">>What did you do to avoid the No=
deJS dependency? Did you use QuickJS instead?<br></div><div dir=3D"auto">I =
quote:<br></div><div dir=3D"auto">Debian ppc64 (big-endian): patched Node.j=
s for the DevTools build step<br></div><div dir=3D"auto">On Debian ppc64 (b=
ig-endian, ELFv1 ABI) the archive's nodejs 20.19.5 crashes with a segmentat=
ion fault at its first full garbage collection, which breaks the Firefox bu=
ild's DevTools step. The cause is a V8 bug: its stack-scanning code calls a=
n 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 basel=
ine. Its fix is proposed too (js-team/nodejs!26).<br></div><div dir=3D"auto=
"><br></div><div dir=3D"auto">links:<br></div><div dir=3D"auto"><a href=3D"=
https://salsa.debian.org/js-team/nodejs/-/merge_requests/26" rel=3D"noopene=
r noreferrer" target=3D"_blank">https://salsa.debian.org/js-team/nodejs/-/m=
erge_requests/26</a><br></div><div dir=3D"auto"><a href=3D"https://salsa.de=
bian.org/js-team/nodejs/-/merge_requests/25" rel=3D"noopener noreferrer" ta=
rget=3D"_blank">https://salsa.debian.org/js-team/nodejs/-/merge_requests/25=
</a><br></div><div dir=3D"auto"><br></div><div dir=3D"auto">Have a nice day=
,<br></div><div dir=3D"auto">Oliviosu</div><div dir=3D"auto">-- <br></div> =
</body>
</html>
------=_Part_242072_693050752.1794832042984--
Re: Firefox 153.7.0esr with JIT available
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads