commit: 82ad3c86a7fc6cbf18c3276a4064585681f97bc9 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Sat Feb 14 04:12:35 2026 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Sat Feb 14 05:32:10 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82ad3c86
dev-qt/qtwebengine: also filter -march w/ clang on arm64 For a different reason than originally, but feel we're better off doing this unless Qt starts testing this. Note that it doesn't mean no native optimizations at all, qtwebengine still enables several things for detection+usage at runtime. Closes: https://bugs.gentoo.org/970048 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> dev-qt/qtwebengine/qtwebengine-6.10.1.ebuild | 10 +++++----- dev-qt/qtwebengine/qtwebengine-6.10.2.ebuild | 10 +++++----- dev-qt/qtwebengine/qtwebengine-6.10.9999.ebuild | 10 +++++----- dev-qt/qtwebengine/qtwebengine-6.11.9999.ebuild | 10 +++++----- dev-qt/qtwebengine/qtwebengine-6.9999.ebuild | 10 +++++----- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/dev-qt/qtwebengine/qtwebengine-6.10.1.ebuild b/dev-qt/qtwebengine/qtwebengine-6.10.1.ebuild index 06d5c973fa16..f46dc12c524b 100644 --- a/dev-qt/qtwebengine/qtwebengine-6.10.1.ebuild +++ b/dev-qt/qtwebengine/qtwebengine-6.10.1.ebuild @@ -254,11 +254,11 @@ src_configure() { 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=*' + # Qt normally ignores users *FLAGS specifically for qtwebengine, and + # does not really support passing -march -- qt6-build.eclass has some + # checks to ensure working flags with amd64, but that does not exist + # for arm64 and can lead to problems (bug #920555,#920568,#970048) + use arm64 && filter-flags '-march=*' '-mcpu=*' fi # chromium passes this by default, but qtwebengine does not and it may diff --git a/dev-qt/qtwebengine/qtwebengine-6.10.2.ebuild b/dev-qt/qtwebengine/qtwebengine-6.10.2.ebuild index afb7684206a3..3be0d7ad3389 100644 --- a/dev-qt/qtwebengine/qtwebengine-6.10.2.ebuild +++ b/dev-qt/qtwebengine/qtwebengine-6.10.2.ebuild @@ -256,11 +256,11 @@ src_configure() { 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=*' + # Qt normally ignores users *FLAGS specifically for qtwebengine, and + # does not really support passing -march -- qt6-build.eclass has some + # checks to ensure working flags with amd64, but that does not exist + # for arm64 and can lead to problems (bug #920555,#920568,#970048) + use arm64 && filter-flags '-march=*' '-mcpu=*' fi # chromium passes this by default, but qtwebengine does not and it may diff --git a/dev-qt/qtwebengine/qtwebengine-6.10.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-6.10.9999.ebuild index 2a2a37b530bd..a3d52b57afae 100644 --- a/dev-qt/qtwebengine/qtwebengine-6.10.9999.ebuild +++ b/dev-qt/qtwebengine/qtwebengine-6.10.9999.ebuild @@ -255,11 +255,11 @@ src_configure() { 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=*' + # Qt normally ignores users *FLAGS specifically for qtwebengine, and + # does not really support passing -march -- qt6-build.eclass has some + # checks to ensure working flags with amd64, but that does not exist + # for arm64 and can lead to problems (bug #920555,#920568,#970048) + use arm64 && filter-flags '-march=*' '-mcpu=*' fi # chromium passes this by default, but qtwebengine does not and it may diff --git a/dev-qt/qtwebengine/qtwebengine-6.11.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-6.11.9999.ebuild index b10fa2819c46..3a7d262a96b9 100644 --- a/dev-qt/qtwebengine/qtwebengine-6.11.9999.ebuild +++ b/dev-qt/qtwebengine/qtwebengine-6.11.9999.ebuild @@ -255,11 +255,11 @@ src_configure() { 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=*' + # Qt normally ignores users *FLAGS specifically for qtwebengine, and + # does not really support passing -march -- qt6-build.eclass has some + # checks to ensure working flags with amd64, but that does not exist + # for arm64 and can lead to problems (bug #920555,#920568,#970048) + use arm64 && filter-flags '-march=*' '-mcpu=*' fi # chromium passes this by default, but qtwebengine does not and it may diff --git a/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild index b7a8a5e6d178..c92c23cc7d51 100644 --- a/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild +++ b/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild @@ -254,11 +254,11 @@ src_configure() { 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=*' + # Qt normally ignores users *FLAGS specifically for qtwebengine, and + # does not really support passing -march -- qt6-build.eclass has some + # checks to ensure working flags with amd64, but that does not exist + # for arm64 and can lead to problems (bug #920555,#920568,#970048) + use arm64 && filter-flags '-march=*' '-mcpu=*' fi # chromium passes this by default, but qtwebengine does not and it may
