From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1690466-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(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 D2439158042
	for <garchives@archives.gentoo.org>; Sat, 16 Nov 2024 10:08:43 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 25B2EE07E1;
	Sat, 16 Nov 2024 10:08:43 +0000 (UTC)
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 pigeon.gentoo.org (Postfix) with ESMTPS id 0700EE07E1
	for <gentoo-commits@lists.gentoo.org>; Sat, 16 Nov 2024 10:08:43 +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))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 13FE0342F9F
	for <gentoo-commits@lists.gentoo.org>; Sat, 16 Nov 2024 10:08:42 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id A41C8AE7
	for <gentoo-commits@lists.gentoo.org>; Sat, 16 Nov 2024 10:08:40 +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: <1731751668.5edc895efb06da84c7f3c34b1b40194ef21fc96a.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/binutils-libs/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-libs/binutils-libs/binutils-libs-2.34-r2.ebuild sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild sys-libs/binutils-libs/binutils-libs-2.36.1-r2.ebuild sys-libs/binutils-libs/binutils-libs-2.37_p1-r2.ebuild sys-libs/binutils-libs/binutils-libs-2.38-r2.ebuild sys-libs/binutils-libs/binutils-libs-2.39-r5.ebuild sys-libs/binutils-libs/binutils-libs-2.40-r7.ebuild sys-libs/binutils-libs/binutils-libs-2.41-r5.ebuild sys-libs/binutils-libs/binutils-libs-2.42-r2.ebuild sys-libs/binutils-libs/binutils-libs-2.43-r2.ebuild sys-libs/binutils-libs/binutils-libs-2.43-r3.ebuild
X-VCS-Directories: sys-libs/binutils-libs/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 5edc895efb06da84c7f3c34b1b40194ef21fc96a
X-VCS-Branch: master
Date: Sat, 16 Nov 2024 10:08:40 +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: 1261499d-6eb3-4ee8-be16-68c1287a9dc9
X-Archives-Hash: f10b824ee8840146a42773be48b19d68

commit:     5edc895efb06da84c7f3c34b1b40194ef21fc96a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 16 10:05:44 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 16 10:07:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5edc895e

=sys-libs/binutils-libs: build with -std=gnu17

Doesn't build with gnu23 which is the default now in GCC trunk. I've
sent patches for 9999 and we may backport those once merged but for now
(and for older versions, probably forever), let's pass -std=gnu17 to keep
stuff building.

Done for sys-devel/binutils itself in b38f3cada5bf53a1c255fe6f700455884a09fa78.

Bug: https://sourceware.org/PR32372
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/binutils-libs/binutils-libs-2.34-r2.ebuild    | 3 +++
 sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild     | 3 +++
 sys-libs/binutils-libs/binutils-libs-2.36.1-r2.ebuild  | 3 +++
 sys-libs/binutils-libs/binutils-libs-2.37_p1-r2.ebuild | 3 +++
 sys-libs/binutils-libs/binutils-libs-2.38-r2.ebuild    | 3 +++
 sys-libs/binutils-libs/binutils-libs-2.39-r5.ebuild    | 3 +++
 sys-libs/binutils-libs/binutils-libs-2.40-r7.ebuild    | 3 +++
 sys-libs/binutils-libs/binutils-libs-2.41-r5.ebuild    | 3 +++
 sys-libs/binutils-libs/binutils-libs-2.42-r2.ebuild    | 3 +++
 sys-libs/binutils-libs/binutils-libs-2.43-r2.ebuild    | 3 +++
 sys-libs/binutils-libs/binutils-libs-2.43-r3.ebuild    | 3 +++
 11 files changed, 33 insertions(+)

diff --git a/sys-libs/binutils-libs/binutils-libs-2.34-r2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.34-r2.ebuild
index 844737990ff6..952c057bfa84 100644
--- a/sys-libs/binutils-libs/binutils-libs-2.34-r2.ebuild
+++ b/sys-libs/binutils-libs/binutils-libs-2.34-r2.ebuild
@@ -54,6 +54,9 @@ pkgversion() {
 }
 
 multilib_src_configure() {
+	# https://sourceware.org/PR32372
+	append-cflags -std=gnu17
+
 	filter-lto
 
 	local myconf=(

diff --git a/sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild
index d9a5e70a9136..c4443d6f5e5c 100644
--- a/sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild
+++ b/sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild
@@ -56,6 +56,9 @@ pkgversion() {
 }
 
 multilib_src_configure() {
+	# https://sourceware.org/PR32372
+	append-cflags -std=gnu17
+
 	filter-lto
 
 	local myconf=(

diff --git a/sys-libs/binutils-libs/binutils-libs-2.36.1-r2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.36.1-r2.ebuild
index 3e2319ca786d..ed7215c3e337 100644
--- a/sys-libs/binutils-libs/binutils-libs-2.36.1-r2.ebuild
+++ b/sys-libs/binutils-libs/binutils-libs-2.36.1-r2.ebuild
@@ -54,6 +54,9 @@ pkgversion() {
 }
 
 multilib_src_configure() {
+	# https://sourceware.org/PR32372
+	append-cflags -std=gnu17
+
 	filter-lto
 
 	local myconf=(

diff --git a/sys-libs/binutils-libs/binutils-libs-2.37_p1-r2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.37_p1-r2.ebuild
index 80a2ccfbaf85..2434f02290e8 100644
--- a/sys-libs/binutils-libs/binutils-libs-2.37_p1-r2.ebuild
+++ b/sys-libs/binutils-libs/binutils-libs-2.37_p1-r2.ebuild
@@ -55,6 +55,9 @@ pkgversion() {
 }
 
 multilib_src_configure() {
+	# https://sourceware.org/PR32372
+	append-cflags -std=gnu17
+
 	filter-lto
 
 	local myconf=(

diff --git a/sys-libs/binutils-libs/binutils-libs-2.38-r2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.38-r2.ebuild
index 64d59c99a5fd..95b5e398f899 100644
--- a/sys-libs/binutils-libs/binutils-libs-2.38-r2.ebuild
+++ b/sys-libs/binutils-libs/binutils-libs-2.38-r2.ebuild
@@ -69,6 +69,9 @@ pkgversion() {
 }
 
 multilib_src_configure() {
+	# https://sourceware.org/PR32372
+	append-cflags -std=gnu17
+
 	filter-lto
 
 	local myconf=(

diff --git a/sys-libs/binutils-libs/binutils-libs-2.39-r5.ebuild b/sys-libs/binutils-libs/binutils-libs-2.39-r5.ebuild
index 6e0753ca216a..143416d9fb88 100644
--- a/sys-libs/binutils-libs/binutils-libs-2.39-r5.ebuild
+++ b/sys-libs/binutils-libs/binutils-libs-2.39-r5.ebuild
@@ -69,6 +69,9 @@ pkgversion() {
 }
 
 multilib_src_configure() {
+	# https://sourceware.org/PR32372
+	append-cflags -std=gnu17
+
 	filter-lto
 
 	local myconf=(

diff --git a/sys-libs/binutils-libs/binutils-libs-2.40-r7.ebuild b/sys-libs/binutils-libs/binutils-libs-2.40-r7.ebuild
index f57205fd73f7..9fd6d71b3391 100644
--- a/sys-libs/binutils-libs/binutils-libs-2.40-r7.ebuild
+++ b/sys-libs/binutils-libs/binutils-libs-2.40-r7.ebuild
@@ -73,6 +73,9 @@ pkgversion() {
 }
 
 multilib_src_configure() {
+	# https://sourceware.org/PR32372
+	append-cflags -std=gnu17
+
 	filter-lto
 
 	local myconf=(

diff --git a/sys-libs/binutils-libs/binutils-libs-2.41-r5.ebuild b/sys-libs/binutils-libs/binutils-libs-2.41-r5.ebuild
index f298f4f1f575..a75719959140 100644
--- a/sys-libs/binutils-libs/binutils-libs-2.41-r5.ebuild
+++ b/sys-libs/binutils-libs/binutils-libs-2.41-r5.ebuild
@@ -75,6 +75,9 @@ pkgversion() {
 }
 
 multilib_src_configure() {
+	# https://sourceware.org/PR32372
+	append-cflags -std=gnu17
+
 	filter-lto
 
 	local myconf=(

diff --git a/sys-libs/binutils-libs/binutils-libs-2.42-r2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.42-r2.ebuild
index c49fead1d74f..a24ffb524649 100644
--- a/sys-libs/binutils-libs/binutils-libs-2.42-r2.ebuild
+++ b/sys-libs/binutils-libs/binutils-libs-2.42-r2.ebuild
@@ -75,6 +75,9 @@ pkgversion() {
 }
 
 multilib_src_configure() {
+	# https://sourceware.org/PR32372
+	append-cflags -std=gnu17
+
 	filter-lto
 
 	# Workaround for lld-17 (bug #914640)

diff --git a/sys-libs/binutils-libs/binutils-libs-2.43-r2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.43-r2.ebuild
index 9bb3ae91acaf..45528f13a587 100644
--- a/sys-libs/binutils-libs/binutils-libs-2.43-r2.ebuild
+++ b/sys-libs/binutils-libs/binutils-libs-2.43-r2.ebuild
@@ -80,6 +80,9 @@ pkgversion() {
 }
 
 multilib_src_configure() {
+	# https://sourceware.org/PR32372
+	append-cflags -std=gnu17
+
 	filter-lto
 
 	# Workaround for lld-17 (bug #914640)

diff --git a/sys-libs/binutils-libs/binutils-libs-2.43-r3.ebuild b/sys-libs/binutils-libs/binutils-libs-2.43-r3.ebuild
index b0746db92b98..9fcc647b4161 100644
--- a/sys-libs/binutils-libs/binutils-libs-2.43-r3.ebuild
+++ b/sys-libs/binutils-libs/binutils-libs-2.43-r3.ebuild
@@ -80,6 +80,9 @@ pkgversion() {
 }
 
 multilib_src_configure() {
+	# https://sourceware.org/PR32372
+	append-cflags -std=gnu17
+
 	filter-lto
 
 	# Workaround for lld-17 (bug #914640)