summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-03-26 16:44:29 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-03-26 16:47:13 -0400
commit73bec710536da954edada1cddf97a833960bfb81 (patch)
treea4b86981afef4397ff30b2adab9075cfb7137def /dev-qt/qtbase/files
parentmedia-video/ffmpeg: fix parallel build with opencl (diff)
downloadgentoo-73bec710536da954edada1cddf97a833960bfb81.tar.gz
gentoo-73bec710536da954edada1cddf97a833960bfb81.tar.bz2
gentoo-73bec710536da954edada1cddf97a833960bfb81.zip
dev-qt/qtbase: do build workaround for gcc:14 + avx512fp16
Closes: https://bugs.gentoo.org/926287 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtbase/files')
-rw-r--r--dev-qt/qtbase/files/qtbase-6.6.3-gcc14-avx512fp16.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-qt/qtbase/files/qtbase-6.6.3-gcc14-avx512fp16.patch b/dev-qt/qtbase/files/qtbase-6.6.3-gcc14-avx512fp16.patch
new file mode 100644
index 000000000000..e7eb9dcc9209
--- /dev/null
+++ b/dev-qt/qtbase/files/qtbase-6.6.3-gcc14-avx512fp16.patch
@@ -0,0 +1,15 @@
+Simply disable the broken path rather than worry about it for now.
+
+Likely an easy fix but would rather this be handled upstream and
+reported by someone that is affected and can test.
+
+https://bugs.gentoo.org/926287
+--- a/src/gui/painting/qrgbafloat.h
++++ b/src/gui/painting/qrgbafloat.h
+@@ -20,5 +20,5 @@
+ public:
+ using Type = F;
+-#if defined(__AVX512FP16__) && QFLOAT16_IS_NATIVE
++#if 0
+ // AVX512FP16 has multiplication instructions
+ using FastType = F;