commit: 00996af3f13285ec8d6834522177c350abdd31db Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Jan 24 03:29:07 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Jan 24 03:29:07 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00996af3
net-libs/webkit-gtk: add -fno-tree-loop-vectorize for gcc trunk Temporary workaround. Bug: https://gcc.gnu.org/PR118464 Closes: https://bugs.gentoo.org/948072 Signed-off-by: Sam James <sam <AT> gentoo.org> net-libs/webkit-gtk/webkit-gtk-2.44.4-r410.ebuild | 5 +++++ net-libs/webkit-gtk/webkit-gtk-2.44.4-r600.ebuild | 5 +++++ net-libs/webkit-gtk/webkit-gtk-2.44.4.ebuild | 5 +++++ net-libs/webkit-gtk/webkit-gtk-2.46.5-r410.ebuild | 5 +++++ net-libs/webkit-gtk/webkit-gtk-2.46.5-r600.ebuild | 5 +++++ net-libs/webkit-gtk/webkit-gtk-2.46.5.ebuild | 5 +++++ 6 files changed, 30 insertions(+) diff --git a/net-libs/webkit-gtk/webkit-gtk-2.44.4-r410.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.44.4-r410.ebuild index c0fc92c763c5..19fce48eaa4a 100644 --- a/net-libs/webkit-gtk/webkit-gtk-2.44.4-r410.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-2.44.4-r410.ebuild @@ -162,6 +162,11 @@ src_configure() { # ODR violations (bug #915230, https://bugs.webkit.org/show_bug.cgi?id=233007) filter-lto + # bug #948072 (gcc PR118464) + if tc-is-gcc && [[ $(gcc-major-version) -eq 15 ]]; then + append-cxxflags "-fno-tree-loop-optimize" + fi + # It does not compile on alpha without this in LDFLAGS # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 use alpha && append-ldflags "-Wl,--no-relax" diff --git a/net-libs/webkit-gtk/webkit-gtk-2.44.4-r600.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.44.4-r600.ebuild index e61f3a18a1ad..ddfabfb6e1b6 100644 --- a/net-libs/webkit-gtk/webkit-gtk-2.44.4-r600.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-2.44.4-r600.ebuild @@ -173,6 +173,11 @@ src_configure() { # ODR violations (bug #915230, https://bugs.webkit.org/show_bug.cgi?id=233007) filter-lto + # bug #948072 (gcc PR118464) + if tc-is-gcc && [[ $(gcc-major-version) -eq 15 ]]; then + append-cxxflags "-fno-tree-loop-optimize" + fi + # It does not compile on alpha without this in LDFLAGS # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 use alpha && append-ldflags "-Wl,--no-relax" diff --git a/net-libs/webkit-gtk/webkit-gtk-2.44.4.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.44.4.ebuild index a1948909e39f..390d8ab5e193 100644 --- a/net-libs/webkit-gtk/webkit-gtk-2.44.4.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-2.44.4.ebuild @@ -160,6 +160,11 @@ src_configure() { # ODR violations (bug #915230, https://bugs.webkit.org/show_bug.cgi?id=233007) filter-lto + # bug #948072 (gcc PR118464) + if tc-is-gcc && [[ $(gcc-major-version) -eq 15 ]]; then + append-cxxflags "-fno-tree-loop-optimize" + fi + # It does not compile on alpha without this in LDFLAGS # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 use alpha && append-ldflags "-Wl,--no-relax" diff --git a/net-libs/webkit-gtk/webkit-gtk-2.46.5-r410.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.46.5-r410.ebuild index eeef5428ef36..b0f3b324e3d8 100644 --- a/net-libs/webkit-gtk/webkit-gtk-2.46.5-r410.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-2.46.5-r410.ebuild @@ -160,6 +160,11 @@ src_configure() { # ODR violations (bug #915230, https://bugs.webkit.org/show_bug.cgi?id=233007) filter-lto + # bug #948072 (gcc PR118464) + if tc-is-gcc && [[ $(gcc-major-version) -eq 15 ]]; then + append-cxxflags "-fno-tree-loop-optimize" + fi + # It does not compile on alpha without this in LDFLAGS # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 use alpha && append-ldflags "-Wl,--no-relax" diff --git a/net-libs/webkit-gtk/webkit-gtk-2.46.5-r600.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.46.5-r600.ebuild index e40c88689095..8fa876338dd3 100644 --- a/net-libs/webkit-gtk/webkit-gtk-2.46.5-r600.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-2.46.5-r600.ebuild @@ -171,6 +171,11 @@ src_configure() { # ODR violations (bug #915230, https://bugs.webkit.org/show_bug.cgi?id=233007) filter-lto + # bug #948072 (gcc PR118464) + if tc-is-gcc && [[ $(gcc-major-version) -eq 15 ]]; then + append-cxxflags "-fno-tree-loop-optimize" + fi + # It does not compile on alpha without this in LDFLAGS # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 use alpha && append-ldflags "-Wl,--no-relax" diff --git a/net-libs/webkit-gtk/webkit-gtk-2.46.5.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.46.5.ebuild index 55f307785f7a..10097268c5fa 100644 --- a/net-libs/webkit-gtk/webkit-gtk-2.46.5.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-2.46.5.ebuild @@ -160,6 +160,11 @@ src_configure() { # ODR violations (bug #915230, https://bugs.webkit.org/show_bug.cgi?id=233007) filter-lto + # bug #948072 (gcc PR118464) + if tc-is-gcc && [[ $(gcc-major-version) -eq 15 ]]; then + append-cxxflags "-fno-tree-loop-optimize" + fi + # It does not compile on alpha without this in LDFLAGS # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 use alpha && append-ldflags "-Wl,--no-relax"
