diff --git a/dev-qt/qtwebengine/qtwebengine-6.10.1.ebuild b/dev-qt/qtwebengine/qtwebengine-6.10.1.ebuild index 06d5c973fa167..f46dc12c524bd 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 afb7684206a38..3be0d7ad33891 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 2a2a37b530bd6..a3d52b57afae4 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 b10fa2819c460..3a7d262a96b98 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 b7a8a5e6d1785..c92c23cc7d511 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