devel/binutils, devel/gas: update to 2.47

Kirill A. Korinsky <[email protected]> Thu, 30 Jul 2026 14:16:02 +0200
Newsgroups gmane.os.openbsd.ports
Message-ID <[email protected]>
ports@,

I'd like to update devel/binutils and devel/gas to 2.47.

Announce: https://lists.gnu.org/archive/html/info-gnu/2026-07/msg00006.html

It survives bulk build on amd64, but I'm looking for tests on other arches.

Index: devel/gas/Makefile
===================================================================
RCS file: /home/cvs/ports/devel/gas/Makefile,v
diff -u -p -r1.11 Makefile
--- devel/gas/Makefile	18 Jun 2026 19:52:09 -0000	1.11
+++ devel/gas/Makefile	28 Jul 2026 22:08:59 -0000
@@ -1,7 +1,7 @@
 COMMENT =		GNU assembler
 
 # keep version synchronized with devel/binutils
-V =			2.46.1
+V =			2.47
 DISTNAME =		binutils-$V
 PKGNAME =		gas-$V
 
@@ -28,6 +28,9 @@ CONFIGURE_ARGS +=	--disable-ld \
 			--disable-install-libbfd \
 			--disable-shared \
 			--disable-host-shared
+
+# 2.47 release contains development=true, supress -Werror
+CONFIGURE_ARGS +=	--disable-werror
 
 USE_GMAKE =		yes
 
Index: devel/gas/distinfo
===================================================================
RCS file: /home/cvs/ports/devel/gas/distinfo,v
diff -u -p -r1.5 distinfo
--- devel/gas/distinfo	18 Jun 2026 19:52:09 -0000	1.5
+++ devel/gas/distinfo	28 Jul 2026 20:59:39 -0000
@@ -1,2 +1,2 @@
-SHA256 (binutils-2.46.1.tar.gz) = NkyPqhnqRsRAicLVnB/ubtqaJzeH0P6Kud+ySQacau4=
-SIZE (binutils-2.46.1.tar.gz) = 53938528
+SHA256 (binutils-2.47.tar.gz) = FfWr0Nuc+OoRb1FqnOErwc7+9JHvnlCUKGgJPY+SpvM=
+SIZE (binutils-2.47.tar.gz) = 54797280
Index: devel/gas/patches/patch-gas_Makefile_in
===================================================================
RCS file: /home/cvs/ports/devel/gas/patches/patch-gas_Makefile_in,v
diff -u -p -r1.4 patch-gas_Makefile_in
--- devel/gas/patches/patch-gas_Makefile_in	14 Aug 2025 18:29:08 -0000	1.4
+++ devel/gas/patches/patch-gas_Makefile_in	28 Jul 2026 20:59:57 -0000
@@ -1,7 +1,7 @@
 Index: gas/Makefile.in
 --- gas/Makefile.in.orig
 +++ gas/Makefile.in
-@@ -2150,7 +2150,7 @@ cgen.@OBJEXT@: cgen.c cgen.h cgen-desc.h subsegs.h \
+@@ -2158,7 +2158,7 @@ cgen.@OBJEXT@: cgen.c cgen.h cgen-desc.h subsegs.h \
  .PHONY: install-exec-local install-data-local
  .PHONY: install-exec-bindir install-exec-tooldir
  
Index: devel/gas/patches/patch-gas_doc_as_info
===================================================================
RCS file: /home/cvs/ports/devel/gas/patches/patch-gas_doc_as_info,v
diff -u -p -r1.4 patch-gas_doc_as_info
--- devel/gas/patches/patch-gas_doc_as_info	25 Nov 2025 14:13:57 -0000	1.4
+++ devel/gas/patches/patch-gas_doc_as_info	28 Jul 2026 21:01:08 -0000
@@ -1,7 +1,7 @@
 Index: gas/doc/as.info
 --- gas/doc/as.info.orig
 +++ gas/doc/as.info
-@@ -13,6 +13,6 @@ Free Documentation License".
+@@ -13,8 +13,8 @@ Free Documentation License".
  
  INFO-DIR-SECTION Software development
  START-INFO-DIR-ENTRY
Index: devel/binutils/Makefile
===================================================================
RCS file: /home/cvs/ports/devel/binutils/Makefile,v
diff -u -p -r1.28 Makefile
--- devel/binutils/Makefile	18 Jun 2026 19:53:02 -0000	1.28
+++ devel/binutils/Makefile	28 Jul 2026 22:09:12 -0000
@@ -1,7 +1,7 @@
 COMMENT =	GNU binary utilities
 
 # keep version synchronized with devel/gas
-V =		2.46.1
+V =		2.47
 DISTNAME =	binutils-${V}
 
 CATEGORIES =	devel
@@ -34,6 +34,9 @@ CONFIGURE_ARGS +=	--disable-gas \
 			--program-prefix=g \
 			--without-msgpack \
 			--with-system-zlib
+
+# 2.47 release contains development=true, supress -Werror
+CONFIGURE_ARGS +=	--disable-werror
 
 USE_GMAKE =	Yes
 
Index: devel/binutils/distinfo
===================================================================
RCS file: /home/cvs/ports/devel/binutils/distinfo,v
diff -u -p -r1.10 distinfo
--- devel/binutils/distinfo	18 Jun 2026 19:53:02 -0000	1.10
+++ devel/binutils/distinfo	28 Jul 2026 22:09:23 -0000
@@ -1,2 +1,2 @@
-SHA256 (binutils-2.46.1.tar.gz) = NkyPqhnqRsRAicLVnB/ubtqaJzeH0P6Kud+ySQacau4=
-SIZE (binutils-2.46.1.tar.gz) = 53938528
+SHA256 (binutils-2.47.tar.gz) = FfWr0Nuc+OoRb1FqnOErwc7+9JHvnlCUKGgJPY+SpvM=
+SIZE (binutils-2.47.tar.gz) = 54797280


-- 
wbr, Kirill