From 80958082b899ec5eb77ab066985103fb5c9e1afb Mon Sep 17 00:00:00 2001 From: Patrick Franz Date: Sat, 16 Jul 2022 20:37:43 +0200 Subject: [PATCH] Add patch to not use yield on CPUs that do not support it (thx to Adrian Bunk). --- debian/changelog | 4 ++++ debian/patches/armel-noyield.patch | 4 ++-- debian/patches/series | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5e016d2..68f3f59 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,10 @@ qt6-base (6.3.1+dfsg-4) UNRELEASED; urgency=medium making the binaries unusable (SIGBUS, "Illegal instruction") on hardware without the build-time features. + [ Patrick Franz ] + * Add patch to not use yield on CPUs that do not support it (thx to + Adrian Bunk). + -- Debian Qt/KDE Maintainers Sat, 16 Jul 2022 13:12:46 +0200 qt6-base (6.3.1+dfsg-3) experimental; urgency=medium diff --git a/debian/patches/armel-noyield.patch b/debian/patches/armel-noyield.patch index 5b39b5d..37061fb 100644 --- a/debian/patches/armel-noyield.patch +++ b/debian/patches/armel-noyield.patch @@ -1,7 +1,7 @@ Description: Don't use yield on CPUs that might not support it ---- qt6-base-6.3.1+dfsg.orig/src/corelib/global/qsimd_p.h -+++ qt6-base-6.3.1+dfsg/src/corelib/global/qsimd_p.h +--- a/src/corelib/global/qsimd_p.h ++++ b/src/corelib/global/qsimd_p.h @@ -428,7 +428,9 @@ static inline void qYieldCpu() https://stackoverflow.com/a/70076751/134841 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105416 diff --git a/debian/patches/series b/debian/patches/series index 5a1f9b5..609040d 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -9,4 +9,5 @@ upstream_QFileSystemEngine-canonicalName-Unix-clean-up-contro.patch remove_privacy_breaches.diff build_path_embedded_qtbuildinternalsextra_cmake.patch +# Don't use yield on CPUs that might not support it armel-noyield.patch