package/wpewebkit: disable JIT for all MIPS CPUs
PATCH 1/1 package/wpewebkit: disable JIT for all MIPS CPUs
Change the mips32r6 into a blanket BR2_mips[el] check to disable the JSC JIT. Upstream removed JIT support for all MIPS processors in January 2024 [0], and the change trickled down to stable releases starting on version 2.44.0 [1].
While at it, change the upstream bug links to point to a more appropriate bug report.
[0] https://commits.webkit.org/272866@main
[1] https://lists.webkit.org/archives/list/[email protected]/thread/JM7GLPPKGAB6DIQ2YDHPEIWNOYSUHBC7/
--- package/wpewebkit/wpewebkit.mk | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-)
package/wpewebkit/wpewebkit.mk +5 -7
@@ -163,18 +163,16 @@ else WPEWEBKIT_CONF_OPTS += -DUSE_GBM=OFF endif -# JIT is not supported for MIPS r6, but the WebKit build system does not -# have a check for these processors. The same goes for ARMv5 and ARMv6. -# Disable JIT forcibly here and use the CLoop interpreter instead. +# JIT is not supported for MIPS, ARMv5, and ARMv6, but the WebKit build +# system does not have a check for some of these target processors. # +# Disable JIT forcibly here and use the CLoop interpreter instead. # Also, we have to disable the sampling profiler and WebAssembly, which # do NOT work with ENABLE_C_LOOP. # -# Upstream bugs: https://bugs.webkit.org/show_bug.cgi?id=191258 -# https://bugs.webkit.org/show_bug.cgi?id=172765 -# https://bugs.webkit.org/show_bug.cgi?id=265218 +# Upstream bug: https://bugs.webkit.org/show_bug.cgi?id=278559 # -ifeq ($(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV6)$(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y) +ifeq ($(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV6)$(BR2_mips)$(BR2_mipsel),y) WPEWEBKIT_CONF_OPTS += \ -DENABLE_JIT=OFF \ -DENABLE_C_LOOP=ON \
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Adrian" == Adrian Perez de Castro <[email protected]> writes:
Change the mips32r6 into a blanket BR2_mips[el] check to disable the JSC JIT. Upstream removed JIT support for all MIPS processors in January 2024 [0], and the change trickled down to stable releases starting on version 2.44.0 [1].
Quoted 8 lines
While at it, change the upstream bug links to point to a more appropriate bug report.
[0] https://commits.webkit.org/272866@main
[1]
https://lists.webkit.org/archives/list/[email protected]/thread/JM7GLPPKGAB6DIQ2YDHPEIWNOYSUHBC7/Signed-off-by Adrian Perez de Castro <[email protected]>
Committed, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Perale via buildroot
AppliedIn reply of:
Quoted 5 lines
Change the mips32r6 into a blanket BR2_mips[el] check to disable the JSC JIT. Upstream removed JIT support for all MIPS processors in January 2024 [0], and the change trickled down to stable releases starting on version 2.44.0 [1].
Quoted 7 lines
While at it, change the upstream bug links to point to a more appropriate bug report.
[0] https://commits.webkit.org/272866@main
[1] https://lists.webkit.org/archives/list/[email protected]/thread/JM7GLPPKGAB6DIQ2YDHPEIWNOYSUHBC7/Signed-off-by Adrian Perez de Castro <[email protected]>
Applied to 2025.02.x & 2025.11.x. Thanks
Quoted 39 lines
--- package/wpewebkit/wpewebkit.mk | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-)package/wpewebkit/wpewebkit.mk +5
-7@@ -163,18 +163,16 @@ else WPEWEBKIT_CONF_OPTS += -DUSE_GBM=OFF endif -# JIT is not supported for MIPS r6, but the WebKit build system does not -# have a check for these processors. The same goes for ARMv5 and ARMv6. -# Disable JIT forcibly here and use the CLoop interpreter instead. +# JIT is not supported for MIPS, ARMv5, and ARMv6, but the WebKit build +# system does not have a check for some of these target processors. # +# Disable JIT forcibly here and use the CLoop interpreter instead. # Also, we have to disable the sampling profiler and WebAssembly, which # do NOT work with ENABLE_C_LOOP. # -# Upstream bugs: https://bugs.webkit.org/show_bug.cgi?id=191258 -# https://bugs.webkit.org/show_bug.cgi?id=172765 -# https://bugs.webkit.org/show_bug.cgi?id=265218 +# Upstream bug: https://bugs.webkit.org/show_bug.cgi?id=278559 # -ifeq ($(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV6)$(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y) +ifeq ($(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV6)$(BR2_mips)$(BR2_mipsel),y) WPEWEBKIT_CONF_OPTS += \ -DENABLE_JIT=OFF \ -DENABLE_C_LOOP=ON \Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot