[neon/qt6/qt6-webengine/Neon/release] debian/patches: add patch to fix compile OOM issue on ARM https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/523532

Jonathan Riddell null at kde.org
Mon Apr 8 17:25:04 BST 2024


Git commit b937a9517b2d4052d8a6ab8e0cb53ea78d07ab17 by Jonathan Riddell.
Committed on 08/04/2024 at 16:25.
Pushed by jriddell into branch 'Neon/release'.

add patch to fix compile OOM issue on ARM https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/523532

A  +13   -0    debian/patches/oom-arm.diff
M  +1    -0    debian/patches/series

https://invent.kde.org/neon/qt6/qt6-webengine/-/commit/b937a9517b2d4052d8a6ab8e0cb53ea78d07ab17

diff --git a/debian/patches/oom-arm.diff b/debian/patches/oom-arm.diff
new file mode 100644
index 0000000..b866c06
--- /dev/null
+++ b/debian/patches/oom-arm.diff
@@ -0,0 +1,13 @@
+https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/523532
+Our GCC also has OOM here on ARM
+--- ./src/3rdparty/chromium/third_party/distributed_point_functions/code/dpf/internal/evaluate_prg_hwy.cc~	2024-03-22 20:13:57.000000000 +0000
++++ ./src/3rdparty/chromium/third_party/distributed_point_functions/code/dpf/internal/evaluate_prg_hwy.cc	2024-04-08 14:31:34.650225948 +0000
+@@ -161,7 +161,7 @@
+   // ABSL_PREDICT_FALSE(!is_aligned || hn::Lanes(d8) < 16 || hn::Lanes(d8) % 16 != 0))
+   volatile bool is_aligned =
+   #else
+-  const bool is_aligned =
++  volatile bool is_aligned =
+   #endif
+       (reinterpret_cast<uintptr_t>(seeds_in) % kHwyAlignment == 0) &&
+       (reinterpret_cast<uintptr_t>(paths) % kHwyAlignment == 0) &&
diff --git a/debian/patches/series b/debian/patches/series
index d4ebf8e..31f1eb9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,3 +10,4 @@ compressing_files.patch
 
 # enable support for i386
 support-i386.patch
+oom-arm.diff


More information about the Neon-commits mailing list