Message ID | 20200211204445.782766-1-aperez@igalia.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/2] package/webkitgtk: disable JSC JIT for MIPSr6 | expand |
>>>>> "Adrian" == Adrian Perez de Castro <aperez@igalia.com> writes: > Forcibly disable the JavaScriptCore JIT compilation support > for MIPSr6 processors, which are unsupported. > Fixes: http://autobuild.buildroot.net/results/3d21d3c3460cd85a4c828dd197929cdf17aaf4e0 > Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> Committed, thanks.
>>>>> "Adrian" == Adrian Perez de Castro <aperez@igalia.com> writes: > Forcibly disable the JavaScriptCore JIT compilation support > for MIPSr6 processors, which are unsupported. > Fixes: http://autobuild.buildroot.net/results/3d21d3c3460cd85a4c828dd197929cdf17aaf4e0 > Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> Committed to 2019.02.x and 2019.11.x, thanks.
diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index e5d591fcd2..cbd9003071 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -104,4 +104,13 @@ else WEBKITGTK_CONF_OPTS += -DUSE_GSTREAMER_GL=OFF endif +# JIT is not supported for MIPS r6, but the WebKit build system does not +# have a check for these processors. Disable JIT forcibly here and use +# the CLoop interpreter instead. +# +# Upstream bug: https://bugs.webkit.org/show_bug.cgi?id=191258 +ifeq ($(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y) +WEBKITGTK_CONF_OPTS += -DENABLE_JIT=OFF -DENABLE_C_LOOP=ON +endif + $(eval $(cmake-package))
Forcibly disable the JavaScriptCore JIT compilation support for MIPSr6 processors, which are unsupported. Fixes: http://autobuild.buildroot.net/results/3d21d3c3460cd85a4c828dd197929cdf17aaf4e0 Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> --- package/webkitgtk/webkitgtk.mk | 9 +++++++++ 1 file changed, 9 insertions(+)