aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adrian Perez de Castro <aperez@igalia.com>2020-10-20 18:53:11 +0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2020-10-29 20:00:12 +0100
commit46704f89e82efaf012f2f82cba086fe6b0b8cf7e (patch)
treefe4a0e75a79abbe340022fda0849d979be3a9777
parent35845ba676b9f7f95d7dadd9331f2e6daf68a473 (diff)
downloadbuildroot-2020.02.x.tar.gz
buildroot-2020.02.x.tar.bz2
package/webkitgtk: disable JIT for ARMv5 and ARMv62020.02.x
WebKit's JavaScriptCore does not support using JIT nor the LLint interpreter on ARMv5 and ARMv6, so add those two cases when checking for target CPUs which need to use the CLoop interpreter. Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 594eb3df506957a9f52eb8bfef6482149d0c28e5) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/webkitgtk/webkitgtk.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk
index b760a1f2bf..18b4269322 100644
--- a/package/webkitgtk/webkitgtk.mk
+++ b/package/webkitgtk/webkitgtk.mk
@@ -105,14 +105,16 @@ 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.
+# have a check for these processors. The same goes for ARMv5 and ARMv6.
+# Disable JIT forcibly here and use the CLoop interpreter instead.
#
# Also, we have to disable the sampling profiler, which does NOT work
# with ENABLE_C_LOOP.
#
-# Upstream bug: https://bugs.webkit.org/show_bug.cgi?id=191258
-ifeq ($(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y)
+# Upstream bugs: https://bugs.webkit.org/show_bug.cgi?id=191258
+# https://bugs.webkit.org/show_bug.cgi?id=172765
+#
+ifeq ($(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV6)$(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y)
WEBKITGTK_CONF_OPTS += -DENABLE_JIT=OFF -DENABLE_C_LOOP=ON -DENABLE_SAMPLING_PROFILER=OFF
endif