From 7311b24d47d40173204e06b979c7e4f2b90ae8fd Mon Sep 17 00:00:00 2001 From: laokz Date: Thu, 3 Apr 2025 16:35:15 +0800 Subject: [PATCH] riscv64: disable JIT build Until 2.49.1, upstream JIT support for riscv still have some issues to tackle. As a workaround, disable JIT build for riscv64. --- webkit2gtk3.spec | 7 +++++-- webkit2gtk4_1.spec | 9 ++++++++- webkitgtk6_0.spec | 7 +++++-- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/webkit2gtk3.spec b/webkit2gtk3.spec index 549f5eb..c28e123 100644 --- a/webkit2gtk3.spec +++ b/webkit2gtk3.spec @@ -23,7 +23,7 @@ Name: webkit2gtk3 Version: 2.46.6 -Release: 2 +Release: 3 Summary: GTK web content engine library License: BSD-3-Clause AND LGPL-2.0-or-later URL: https://www.webkitgtk.org/ @@ -207,7 +207,7 @@ files for developing applications that use JavaScript engine from webkit2gtk-4.0 %if %{without gamepad} -DENABLE_GAMEPAD=OFF \ %endif -%ifarch aarch64 loongarch64 +%ifarch aarch64 loongarch64 riscv64 -DENABLE_JIT=OFF \ -DUSE_SYSTEM_MALLOC=ON \ %endif @@ -289,6 +289,9 @@ files for developing applications that use JavaScript engine from webkit2gtk-4.0 %endif %changelog +* Mon Apr 07 2025 laokz - 2.46.6-3 +- riscv64: disable jit build until 2.49.1 + * Mon Mar 17 2025 lingsheng - 2.46.6-2 - fix CVE-2025-24201 diff --git a/webkit2gtk4_1.spec b/webkit2gtk4_1.spec index 92744ed..89ade37 100644 --- a/webkit2gtk4_1.spec +++ b/webkit2gtk4_1.spec @@ -23,7 +23,7 @@ Name: webkit2gtk4.1 Version: 2.46.6 -Release: 2 +Release: 3 Summary: GTK web content engine library License: BSD-3-Clause AND LGPL-2.0-or-later URL: https://www.webkitgtk.org/ @@ -180,6 +180,10 @@ files for developing applications that use JavaScript engine from webkit2gtk-4.1 %ifarch aarch64 -DUSE_64KB_PAGE_BLOCK=ON \ %endif +%endif +%ifarch riscv64 + -DENABLE_JIT=OFF \ + -DUSE_SYSTEM_MALLOC=ON \ %endif %{nil} %cmake_build @@ -260,6 +264,9 @@ files for developing applications that use JavaScript engine from webkit2gtk-4.1 %endif %changelog +* Mon Apr 07 2025 laokz - 2.46.6-3 +- riscv64: disable jit build until 2.49.1 + * Mon Mar 17 2025 lingsheng - 2.46.6-2 - fix CVE-2025-24201 diff --git a/webkitgtk6_0.spec b/webkitgtk6_0.spec index 71bc2b1..f3651a2 100644 --- a/webkitgtk6_0.spec +++ b/webkitgtk6_0.spec @@ -23,7 +23,7 @@ Name: webkitgtk6.0 Version: 2.46.6 -Release: 2 +Release: 3 Summary: GTK web content engine library License: BSD-3-Clause AND LGPL-2.0-or-later URL: https://www.webkitgtk.org/ @@ -181,7 +181,7 @@ files for developing applications that use JavaScript engine from webkitgtk-6.0. %if %{without gamepad} -DENABLE_GAMEPAD=OFF \ %endif -%ifarch aarch64 loongarch64 +%ifarch aarch64 loongarch64 riscv64 -DENABLE_JIT=OFF \ -DUSE_SYSTEM_MALLOC=ON \ %endif @@ -262,6 +262,9 @@ files for developing applications that use JavaScript engine from webkitgtk-6.0. %endif %changelog +* Mon Apr 07 2025 laokz - 2.46.6-3 +- riscv64: disable jit build until 2.49.1 + * Mon Mar 17 2025 lingsheng - 2.46.6-2 - fix CVE-2025-24201 -- Gitee