package/qt6: bump to version 6.4.0
Drop the qsimd_p.h fix, this has been fixed upstream since 6.3.2/6.4.0 Signed-off-by: Jesse Van Gavere <jesseevg@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
fc523deaf9
commit
343974b995
@ -4,8 +4,8 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT6_VERSION_MAJOR = 6.3
|
||||
QT6_VERSION = $(QT6_VERSION_MAJOR).2
|
||||
QT6_VERSION_MAJOR = 6.4
|
||||
QT6_VERSION = $(QT6_VERSION_MAJOR).0
|
||||
QT6_SOURCE_TARBALL_PREFIX = everywhere-src
|
||||
QT6_SITE = https://download.qt.io/archive/qt/$(QT6_VERSION_MAJOR)/$(QT6_VERSION)/submodules
|
||||
|
||||
|
@ -1,49 +0,0 @@
|
||||
From d69db2ba3ce47f6eded0a8843c413a67d26e6375 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Sun, 24 Jul 2022 20:37:51 +0200
|
||||
Subject: [PATCH] src/corelib/global/qsimd_p.h: fix build on ARM < v7 due to
|
||||
yield instruction
|
||||
|
||||
On ARM < v7 with gcc, the build fails with:
|
||||
|
||||
/tmp/ccRlrCQi.s: Assembler messages:
|
||||
/tmp/ccRlrCQi.s:3858: Error: selected processor does not support `yield' in ARM mode
|
||||
/tmp/ccRlrCQi.s:3875: Error: selected processor does not support `yield' in ARM mode
|
||||
/tmp/ccRlrCQi.s:4606: Error: selected processor does not support `yield' in ARM mode
|
||||
/tmp/ccRlrCQi.s:4853: Error: selected processor does not support `yield' in ARM mode
|
||||
/tmp/ccRlrCQi.s:5268: Error: selected processor does not support `yield' in ARM mode
|
||||
|
||||
while building src/corelib/thread/qfutureinterface.cpp.
|
||||
|
||||
This is due to the fact that the qYieldCpu() macro on ARM, assumes
|
||||
that if the compiler is gcc, we can do asm volatile("yield"). However,
|
||||
this instruction is only guaranteed to exist on ARMv7+ cores. It
|
||||
doesn't exist on ARMv5, and only some (but not all) ARMv6 cores have
|
||||
it. If it's not available, we just fallback to the default behavior of
|
||||
qYieldCpu(), which is to do nothing.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Upstream bug: https://bugreports.qt.io/browse/QTBUG-105162
|
||||
---
|
||||
src/corelib/global/qsimd_p.h | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/corelib/global/qsimd_p.h b/src/corelib/global/qsimd_p.h
|
||||
index d270d09f2f..b84b257e54 100644
|
||||
--- a/src/corelib/global/qsimd_p.h
|
||||
+++ b/src/corelib/global/qsimd_p.h
|
||||
@@ -428,7 +428,10 @@ static inline void qYieldCpu()
|
||||
https://stackoverflow.com/a/70076751/134841
|
||||
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105416
|
||||
*/
|
||||
- asm volatile("yield"); /* this works everywhere */
|
||||
+# if defined(Q_PROCESSOR_ARM_V7)
|
||||
+ /* The yield instruction appeared in ARMv7 */
|
||||
+ asm volatile("yield");
|
||||
+# endif
|
||||
# else
|
||||
__yield(); /* this is what should work everywhere */
|
||||
# endif
|
||||
--
|
||||
2.37.1
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/6.3/6.3.2/submodules/qtbase-everywhere-src-6.3.2.tar.xz.sha256
|
||||
sha256 7929ba4df870b6b30870bc0aed2525cfc606ed7091107b23cf7ed7e434caa9a6 qtbase-everywhere-src-6.3.2.tar.xz
|
||||
# Hash from: https://download.qt.io/official_releases/qt/6.4/6.4.0/submodules/qtbase-everywhere-src-6.4.0.tar.xz.sha256
|
||||
sha256 cb6475a0bd8567c49f7ffbb072a05516ee6671171bed55db75b22b94ead9b37d qtbase-everywhere-src-6.4.0.tar.xz
|
||||
|
||||
# Hashes for license files
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/6.3/6.3.1/submodules/qtserialport-everywhere-src-6.3.1.tar.xz.sha256
|
||||
sha256 c7d207322367c63647edbd06ded9c76ba9071961daac1d1021b622b762c35e6f qtserialport-everywhere-src-6.3.2.tar.xz
|
||||
# Hash from: https://download.qt.io/official_releases/qt/6.4/6.4.0/submodules/qtserialport-everywhere-src-6.4.0.tar.xz.sha256
|
||||
sha256 f148cc9e87ce2228e82bff7a64d9521339ece66c4c66aa43b91bac614f4a4483 qtserialport-everywhere-src-6.4.0.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2
|
||||
|
Loading…
Reference in New Issue
Block a user