diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2023-09-05 20:57:36 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-09-07 08:22:43 -0700 |
commit | 9b092d6b3e777b9466b43dcb13839ec9663cd0b7 (patch) | |
tree | 3026fb97f6b1729e3f9a498c4114c9206162d888 | |
parent | b479a6faceaf5b71c978f0065db7686efb19fb3c (diff) | |
download | meta-openembedded-9b092d6b3e777b9466b43dcb13839ec9663cd0b7.tar.gz |
webkitgtk: explicitly disable JIT for armv7* with softfp
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/webkitgtk/webkitgtk3_2.40.5.bb | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.40.5.bb b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.40.5.bb index 7218dbb5e..5d43f3a8d 100644 --- a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.40.5.bb +++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.40.5.bb | |||
@@ -102,9 +102,21 @@ EXTRA_OECMAKE:append:powerpc = " -DENABLE_JIT=OFF " | |||
102 | EXTRA_OECMAKE:append:powerpc64 = " -DENABLE_JIT=OFF " | 102 | EXTRA_OECMAKE:append:powerpc64 = " -DENABLE_JIT=OFF " |
103 | 103 | ||
104 | # ARM JIT code does not build on ARMv4/5/6 anymore | 104 | # ARM JIT code does not build on ARMv4/5/6 anymore |
105 | EXTRA_OECMAKE:append:armv4 = " -DENABLE_JIT=OFF " | ||
105 | EXTRA_OECMAKE:append:armv5 = " -DENABLE_JIT=OFF " | 106 | EXTRA_OECMAKE:append:armv5 = " -DENABLE_JIT=OFF " |
106 | EXTRA_OECMAKE:append:armv6 = " -DENABLE_JIT=OFF " | 107 | EXTRA_OECMAKE:append:armv6 = " -DENABLE_JIT=OFF " |
107 | EXTRA_OECMAKE:append:armv4 = " -DENABLE_JIT=OFF " | 108 | |
109 | # And for armv7* don't enable it for softfp, because after: | ||
110 | # https://github.com/WebKit/WebKit/commit/a2ec4ef1997d6fafa6ffc607bffb54e76168a918 | ||
111 | # https://bugs.webkit.org/show_bug.cgi?id=242172 | ||
112 | # softfp armv7* fails because WEBASSEMBLY is left enabled by default and JIT gets | ||
113 | # explicitly disabled causing: | ||
114 | # http://errors.yoctoproject.org/Errors/Details/734587/ | ||
115 | # PR was sent upstream, but the end result is the same both JIT and WEBASSEMBLY disabled | ||
116 | # https://github.com/WebKit/WebKit/pull/17447 | ||
117 | EXTRA_OECMAKE:append:armv7a = " -DENABLE_JIT=${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'ON', 'OFF', d)}" | ||
118 | EXTRA_OECMAKE:append:armv7r = " -DENABLE_JIT=${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'ON', 'OFF', d)}" | ||
119 | EXTRA_OECMAKE:append:armv7ve = " -DENABLE_JIT=${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'ON', 'OFF', d)}" | ||
108 | 120 | ||
109 | EXTRA_OECMAKE:append:mipsarch = " -DUSE_LD_GOLD=OFF " | 121 | EXTRA_OECMAKE:append:mipsarch = " -DUSE_LD_GOLD=OFF " |
110 | EXTRA_OECMAKE:append:powerpc = " -DUSE_LD_GOLD=OFF " | 122 | EXTRA_OECMAKE:append:powerpc = " -DUSE_LD_GOLD=OFF " |