summaryrefslogtreecommitdiff
path: root/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-12-22 15:52:48 -0500
committerIonen Wolkens <ionen@gentoo.org>2023-12-24 03:27:32 -0500
commit64afdb690871b92f6916abc03210662c43eb2d8f (patch)
tree246081f7f26613c5333e097c84ea0023d791e20b /dev-qt/qtwebengine/qtwebengine-6.9999.ebuild
parent2f4cfa90f6dcaeb6fbaa983ae3ac399595af6dee (diff)
downloadgentoo-64afdb690871b92f6916abc03210662c43eb2d8f.tar.gz
gentoo-64afdb690871b92f6916abc03210662c43eb2d8f.tar.bz2
gentoo-64afdb690871b92f6916abc03210662c43eb2d8f.zip
dev-qt/qtwebengine: filter -march on arm64 with gcc for now (qt6)
Bit like Qt5's webengine which did not respect it either. Not ideal but given the complexity tend to be lucky if it builds at all. As noted in the comment, please report if this works again so can cleanup (can test with USE=custom-cflags), may get fixed either by >=qtwebengine-6.7 (chromium-118) or a new gcc version depending on where the real issue is, but not planning to pursue this further myself. Closes: https://bugs.gentoo.org/920555 Closes: https://bugs.gentoo.org/920568 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtwebengine/qtwebengine-6.9999.ebuild')
-rw-r--r--dev-qt/qtwebengine/qtwebengine-6.9999.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild
index 7337d24a2a37..5e4b82001f05 100644
--- a/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild
+++ b/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild
@@ -233,6 +233,12 @@ src_configure() {
replace-flags '-g?(gdb)?([2-9])' -g1
ewarn "-g2+/-ggdb* *FLAGS replaced with -g1 (enable USE=custom-cflags to keep)"
fi
+
+ # Built helpers segfault when using (at least) -march=armv8-a+pauth
+ # (bug #920555, #920568 -- suspected gcc bug). For now, filter all
+ # for simplicity. Override with USE=custom-cflags if wanted, please
+ # report if above -march works again so can cleanup.
+ use arm64 && tc-is-gcc && filter-flags '-march=*' '-mcpu=*'
fi
export NINJA NINJAFLAGS=$(get_NINJAOPTS)