Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package qt6-base for openSUSE:Factory checked in at 2024-08-10 19:05:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qt6-base (Old) and /work/SRC/openSUSE:Factory/.qt6-base.new.7232 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "qt6-base" Sat Aug 10 19:05:47 2024 rev:60 rq:1192518 version:6.7.2 Changes: -------- --- /work/SRC/openSUSE:Factory/qt6-base/qt6-base.changes 2024-07-08 19:06:48.047537560 +0200 +++ /work/SRC/openSUSE:Factory/.qt6-base.new.7232/qt6-base.changes 2024-08-10 19:05:49.388856718 +0200 @@ -1,0 +2,5 @@ +Wed Aug 7 12:46:16 UTC 2024 - Filip Kastl <filip.kastl@suse.com> + +- Add gcc14.patch so that the package builds for 32bit with GCC 14. + +------------------------------------------------------------------- New: ---- gcc14.patch BETA DEBUG BEGIN: New: - Add gcc14.patch so that the package builds for 32bit with GCC 14. BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qt6-base.spec ++++++ --- /var/tmp/diff_new_pack.ZaEjqs/_old 2024-08-10 19:05:51.080926976 +0200 +++ /var/tmp/diff_new_pack.ZaEjqs/_new 2024-08-10 19:05:51.080926976 +0200 @@ -42,6 +42,7 @@ Source0: https://download.qt.io/official_releases/qt/%{short_version}/%{real_version}%{tar_suffix}/submodules/%{tar_name}-%{real_version}%{tar_suffix}.tar.xz Source99: qt6-base-rpmlintrc # Patches 0-100 are upstream patches # +Patch0: gcc14.patch # Patches 100-200 are openSUSE and/or non-upstream(able) patches # # No need to pollute the library dir with object files, install them in the qt6 subfolder Patch100: 0001-CMake-Install-objects-files-into-ARCHDATADIR.patch ++++++ gcc14.patch ++++++ From 39fa7e7bef90be2940c5f736935f963e3969e0bd Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev <mitya57@gmail.com> Date: Sat, 27 Jul 2024 23:03:07 +0300 Subject: [PATCH] Use _Float16 only when SSE2 is enabled The GCC documentation [1] says: “On x86 targets with SSE2 enabled, GCC supports half-precision (16-bit) floating point via the _Float16 type”. On non-SSE2 x86 (such as Debian i386 baseline [2]), __FLT16_MAX__ is defined starting with GCC 14 [3], however any non-trivial use of the _Float16 type results in an error: error: operation not permitted on type ‘_Float16’ without option ‘-msse2’ which makes some packages fail to build on i386 architecture [4]. [1]: https://gcc.gnu.org/onlinedocs/gcc/Half-Precision.html [2]: https://wiki.debian.org/ArchitectureSpecificsMemo#i386-1 [3]: https://gcc.gnu.org/g:9a19fa8b616f83474c35cc5b34a3865073ced829 [4]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076986 Pick-to: 6.8 6.7 6.5 Change-Id: I393ee83eb8e8888f5fc9e3b349dc8b063eef6f5a Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> --- diff --git a/src/corelib/global/qtypes.h b/src/corelib/global/qtypes.h index db9ba38..28458f6 100644 --- a/src/corelib/global/qtypes.h +++ b/src/corelib/global/qtypes.h @@ -263,13 +263,12 @@ // disabled due to https://github.com/llvm/llvm-project/issues/56963 # define QFLOAT16_IS_NATIVE 1 using NativeFloat16Type = decltype(__FLT16_MAX__); -#elif defined(Q_CC_GNU_ONLY) && defined(__FLT16_MAX__) +#elif defined(Q_CC_GNU_ONLY) && defined(__FLT16_MAX__) && defined(__ARM_FP16_FORMAT_IEEE) # define QFLOAT16_IS_NATIVE 1 -# ifdef __ARM_FP16_FORMAT_IEEE using NativeFloat16Type = __fp16; -# else +#elif defined(Q_CC_GNU_ONLY) && defined(__FLT16_MAX__) && defined(__SSE2__) +# define QFLOAT16_IS_NATIVE 1 using NativeFloat16Type = _Float16; -# endif #else # define QFLOAT16_IS_NATIVE 0 using NativeFloat16Type = void;
participants (1)
-
Source-Sync