From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1711886-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id E10751581F0
	for <garchives@archives.gentoo.org>; Fri, 24 Jan 2025 03:30:38 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 44C7B343501
	for <garchives@archives.gentoo.org>; Fri, 24 Jan 2025 03:30:26 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id 9ADFF11042F;
	Fri, 24 Jan 2025 03:30:21 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by bobolink.gentoo.org (Postfix) with ESMTPS id 85CAA11042E
	for <gentoo-commits@lists.gentoo.org>; Fri, 24 Jan 2025 03:30:21 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 2E98234301D
	for <gentoo-commits@lists.gentoo.org>; Fri, 24 Jan 2025 03:30:21 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 5AD7123F4
	for <gentoo-commits@lists.gentoo.org>; Fri, 24 Jan 2025 03:30:19 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1737689347.00996af3f13285ec8d6834522177c350abdd31db.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/webkit-gtk/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-libs/webkit-gtk/webkit-gtk-2.44.4-r410.ebuild net-libs/webkit-gtk/webkit-gtk-2.44.4-r600.ebuild net-libs/webkit-gtk/webkit-gtk-2.44.4.ebuild net-libs/webkit-gtk/webkit-gtk-2.46.5-r410.ebuild net-libs/webkit-gtk/webkit-gtk-2.46.5-r600.ebuild net-libs/webkit-gtk/webkit-gtk-2.46.5.ebuild
X-VCS-Directories: net-libs/webkit-gtk/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 00996af3f13285ec8d6834522177c350abdd31db
X-VCS-Branch: master
Date: Fri, 24 Jan 2025 03:30:19 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 94a7d57d-ddd9-4305-86ec-e01c5f98036d
X-Archives-Hash: 3e7993d46bbe2a42c6265f429ae6ebff

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"