use _Float16 only when SSE2 is enabled
Forwarded: https://codereview.qt-project.org/c/qt/qtbase/+/579205
Last-Update: 2024-08-01
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
Gbp-Pq: Name use_float16_only_with_sse2.patch
Add SH description
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1043225
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Upstream processes archs from time to time and tends to disable those that
they do not know wether they are working or not.
SH is working on Debian, so as an intermediate measure re enable it here.
Gbp-Pq: Name Add-SH-detection.patch
[PATCH] QStorageInfo/Unix: fix declaration of 'mnt' on Hurd
Directly use the right type for it, after the Linux code was dropped.
Fixes commit
543ae6e6a43519b9fca6758c4a8c78625fcb2c86.
Change-Id: I1417853153d2851262f40713b3318f0dae09c391
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name upstream_QStorageInfo-Unix-fix-declaration-of-mnt-on-Hurd.patch
qt6-base (6.7.2+dfsg-4) unstable; urgency=medium
* Team upload.
[ Pino Toscano ]
* Backport upstream commit
fc3e3d033584c62dfb2f3e3da551a7dbd7c0150d to fix
the build on the Hurd; patch
upstream_QStorageInfo-Unix-fix-declaration-of-mnt-on-Hurd.patch.
* Update the symbols files:
- mark some Linux symbols as such
- mark 64bit symbols as such
- drop ia64 markers, as that architecture was discontinued
[ Patrick Franz ]
* Do not ship the androiddeployqt tool any more and always use
androiddeployqt6 instead. Also, add a symlink for androiddeployqt6
in /usr/bin.
[dgit import unpatched qt6-base 6.7.2+dfsg-4]