commit: 64afdb690871b92f6916abc03210662c43eb2d8f Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Fri Dec 22 20:52:48 2023 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Sun Dec 24 08:27:32 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64afdb69
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 <AT> gentoo.org> dev-qt/qtwebengine/qtwebengine-6.6.1.ebuild | 6 ++++++ dev-qt/qtwebengine/qtwebengine-6.6.9999.ebuild | 6 ++++++ dev-qt/qtwebengine/qtwebengine-6.7.9999.ebuild | 6 ++++++ dev-qt/qtwebengine/qtwebengine-6.9999.ebuild | 6 ++++++ 4 files changed, 24 insertions(+) diff --git a/dev-qt/qtwebengine/qtwebengine-6.6.1.ebuild b/dev-qt/qtwebengine/qtwebengine-6.6.1.ebuild index 9299373bfe2e..7a8458a6951a 100644 --- a/dev-qt/qtwebengine/qtwebengine-6.6.1.ebuild +++ b/dev-qt/qtwebengine/qtwebengine-6.6.1.ebuild @@ -234,6 +234,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) diff --git a/dev-qt/qtwebengine/qtwebengine-6.6.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-6.6.9999.ebuild index dfbb26ef419e..f6ae0e6143f9 100644 --- a/dev-qt/qtwebengine/qtwebengine-6.6.9999.ebuild +++ b/dev-qt/qtwebengine/qtwebengine-6.6.9999.ebuild @@ -234,6 +234,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) diff --git a/dev-qt/qtwebengine/qtwebengine-6.7.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-6.7.9999.ebuild index 7337d24a2a37..5e4b82001f05 100644 --- a/dev-qt/qtwebengine/qtwebengine-6.7.9999.ebuild +++ b/dev-qt/qtwebengine/qtwebengine-6.7.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) 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)