From nobody Mon Nov 07 18:39:32 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N5g4h3DmRz4hc8L; Mon, 7 Nov 2022 18:39:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N5g4h2Kl3z4S8S; Mon, 7 Nov 2022 18:39:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667846372; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tuYk7KEsF6P33/lCOdpKzakC3IDPl8NmiArL59VoRN4=; b=wYQ8lkB5N/k0n5uZmsAqRs7qHQy++sLQXS3RdgfegWTVAi+P8e6NEHFjm0eC2+kytN865d fcfxt1bKM0tNvVJ/46/XHlIwD0R8273hgkKotCbPVXxNKTfLsf6FsAqcSNmy3PzQWJEAKU mAabf7KQjhl/MMHtHAAD6aPnYSHdkHKoSE/yzeAv2+eDDMcgApoYanF/FwRV3dNibHaPh9 +VDtoYKCoBTX3NN4MSMNUeu3QgJZFLSbBS7rv2VC30MKCynStZGaB+WpHP9uX+VGmmlb4S T76NZL1b0A9yAuRPwCxdwmqp7yOPwiBYhVmKBR9ufqEF4wtd/O3iFcIx7wcTaw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N5g4h1PBxz1BD6; Mon, 7 Nov 2022 18:39:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2A7IdWBR010263; Mon, 7 Nov 2022 18:39:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2A7IdWq5010262; Mon, 7 Nov 2022 18:39:32 GMT (envelope-from git) Date: Mon, 7 Nov 2022 18:39:32 GMT Message-Id: <202211071839.2A7IdWq5010262@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Cy Schubert Subject: git: 32d885a48f08 - main - devel/binutils: Update from 2.37 to 2.39 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 32d885a48f080621960de681637d312c324c6225 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667846372; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tuYk7KEsF6P33/lCOdpKzakC3IDPl8NmiArL59VoRN4=; b=P+4U2YksMPOk+dNlgk2+czlgRrY7+LE+drJKj1jcZ19r/SuUp2Ym7qBxjBfT20r5FLyqP/ CEXSjeeyDWNStVpKUWWIUhuLLmsc1pcL9modv1290flS7jyIjy0aYo7dHrOd9k2fb71Ma7 YiwklSLHVnTjy6F1E60S3I/bJMO990f6mhJwu4ThhmH2J+8fa972OU0ks0K43aBBmT+hZr z+vVPpxmfpPOwpQMNibUROdNZIBIyv84zYMaagj9WTNGN/x3glzKdOlerbY51bQA/g4kmh rTa5ncaDyBOmzo7r0qGajg2vAxvw4AUvxN32d00uQAswIPZnZg4hiqVk3WVm1w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667846372; a=rsa-sha256; cv=none; b=wCBcUGySI4nZtDZqFjmAsbz650tUQ2ujHYB8Jq7O+gg/Km3NPb8Pji+uaUqY2liO9zaij2 yleAExqmrl2YcLIfRypKqA8lDjBlsFIntQ9WuJoIIOxRCFmfbWZkboWGJA3j87viC5pLgu rGPVh3+dsBpeK+2tEAyiQ8ENBVeOW6pWIQO7f2nHccrEPERjLuld2KXPcUrtgR3CeMD7hb kESgPJQ5vZMfNc38rniGNnEs2HttZ7E032cCcpx6qh48RK0ehwv7a0gZoPa+GMU4QsBU/x IZSettNgvHpioakXR1wUWxKxWo1NeSwSJzQs7IPtBEkzYrt/b8h2Zlw7eZoTvw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=32d885a48f080621960de681637d312c324c6225 commit 32d885a48f080621960de681637d312c324c6225 Author: Cy Schubert AuthorDate: 2022-08-17 18:46:24 +0000 Commit: Cy Schubert CommitDate: 2022-11-07 18:38:54 +0000 devel/binutils: Update from 2.37 to 2.39 Update our binutils port from 2.37 to 2.39. While at it change the distfile from tar.xz to tar.lz, which is 4 MB smaller than the .xz version. Exp-run PR: 265917 Exp-run by: antoine --- devel/binutils/Makefile | 8 ++- devel/binutils/distinfo | 6 +- devel/binutils/files/patch-etc_texi2pod.pl | 11 ---- devel/binutils/files/patch-gold_gc.h | 45 --------------- devel/binutils/pkg-plist | 1 + devel/binutils/pkg-plist-amd64 | 88 ------------------------------ 6 files changed, 9 insertions(+), 150 deletions(-) diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile index fc3cd70cd8d2..a7db40351340 100644 --- a/devel/binutils/Makefile +++ b/devel/binutils/Makefile @@ -1,6 +1,5 @@ PORTNAME= binutils -PORTVERSION= 2.37 -PORTREVISION= 4 +PORTVERSION= 2.39 PORTEPOCH?= 1 CATEGORIES?= devel MASTER_SITES= SOURCEWARE/binutils/releases @@ -22,7 +21,7 @@ FLAVORS= native aarch64 aarch64_none_elf amd64 arm_gnueabi arm_none_eabi \ riscv64_none_elf s390x sparc64 riscv32_unknown_elf FLAVOR?= native -USES= bison:alias compiler:env cpe gmake libtool makeinfo perl5 tar:xz +USES= bison:alias compiler:env cpe gmake libtool makeinfo perl5 tar:lz USE_PERL5= build CPE_VENDOR= gnu GNU_CONFIGURE= yes @@ -96,8 +95,11 @@ CONFIGURE_ARGS+= --with-system-zlib \ --with-mpfr=${LOCALBASE} \ --enable-targets=all \ --enable-threads=yes +# XXX Needed to support gcc10 and earlier: +CONFIGURE_ARGS+= --with-isa-spec=2.2 INFO= as \ binutils \ + ctf-spec \ gprof \ bfd \ ld diff --git a/devel/binutils/distinfo b/devel/binutils/distinfo index 429395053a3a..29906643c282 100644 --- a/devel/binutils/distinfo +++ b/devel/binutils/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1626719973 -SHA256 (binutils-2.37.tar.xz) = 820d9724f020a3e69cb337893a0b63c2db161dadcb0e06fc11dc29eb1e84a32c -SIZE (binutils-2.37.tar.xz) = 22916924 +TIMESTAMP = 1660760045 +SHA256 (binutils-2.39.tar.lz) = 5ab51668874d8533201b8edd2edb5e5d81d588205c6da300c8919bd7cf8664e8 +SIZE (binutils-2.39.tar.lz) = 24759528 diff --git a/devel/binutils/files/patch-etc_texi2pod.pl b/devel/binutils/files/patch-etc_texi2pod.pl deleted file mode 100644 index 456d44cfcdbd..000000000000 --- a/devel/binutils/files/patch-etc_texi2pod.pl +++ /dev/null @@ -1,11 +0,0 @@ ---- etc/texi2pod.pl.orig 2021-08-30 17:17:09 UTC -+++ etc/texi2pod.pl -@@ -59,6 +59,8 @@ while ($_ = shift) { - $flag = shift; - } - push (@ipath, $flag); -+ } elsif (/^--no-split$/) { -+ # ignore option for makeinfo compatibility - } elsif (/^-/) { - usage(); - } else { diff --git a/devel/binutils/files/patch-gold_gc.h b/devel/binutils/files/patch-gold_gc.h deleted file mode 100644 index 5430f1897ee5..000000000000 --- a/devel/binutils/files/patch-gold_gc.h +++ /dev/null @@ -1,45 +0,0 @@ -From 10b4dbbf281397e2827820c715c39559c7f7a29d Mon Sep 17 00:00:00 2001 -From: Alan Modra -Date: Tue, 20 Jul 2021 18:46:57 +0930 -Subject: [PATCH] PR28106, build of 2.37 fails on FreeBSD and Clang - -https://en.cppreference.com/w/cpp/types/NULL says NULL might be -defined as nullptr. -https://en.cppreference.com/w/cpp/language/reinterpret_cast says -reinterpret_cast can't be used on nullptr. - - PR gold/28106 - PR gold/27815 - * gc.h (gc_process_relocs): Use static_cast in Section_id constructor. - -(cherry picked from commit b97bd976233ee4d43c2fe18f6356e62779cbe82d) ---- - gold/ChangeLog | 6 ++++++ - gold/gc.h | 4 ++-- - 2 files changed, 8 insertions(+), 2 deletions(-) - -diff --git gold/gc.h gold/gc.h -index 6ebd81f3fd0..4a1368f5abe 100644 ---- gold/gc.h -+++ gold/gc.h -@@ -247,7 +247,7 @@ gc_process_relocs( - if (is_ordinary) - (*secvec).push_back(Section_id(src_obj, dst_indx)); - else -- (*secvec).push_back(Section_id(reinterpret_cast(NULL), 0)); -+ (*secvec).push_back(Section_id(static_cast(NULL), 0)); - // If the target of the relocation is an STT_SECTION symbol, - // make a note of that by storing -1 in the symbol vector. - if (lsym.get_st_type() == elfcpp::STT_SECTION) -@@ -329,7 +329,7 @@ gc_process_relocs( - if (is_ordinary && dst_obj != NULL) - (*secvec).push_back(Section_id(dst_obj, dst_indx)); - else -- (*secvec).push_back(Section_id(reinterpret_cast(NULL), 0)); -+ (*secvec).push_back(Section_id(static_cast(NULL), 0)); - (*symvec).push_back(gsym); - (*addendvec).push_back(std::make_pair( - static_cast(symvalue), --- -2.32.0 - diff --git a/devel/binutils/pkg-plist b/devel/binutils/pkg-plist index 2c8766973a3e..71a7c06f83ac 100644 --- a/devel/binutils/pkg-plist +++ b/devel/binutils/pkg-plist @@ -100,6 +100,7 @@ man/man1/strip.1.gz %%NLS%%share/locale/ja/LC_MESSAGES/gas.mo %%NLS%%share/locale/ja/LC_MESSAGES/gprof.mo %%NLS%%share/locale/ja/LC_MESSAGES/ld.mo +%%NLS%%share/locale/ka/LC_MESSAGES/gprof.mo %%NLS%%share/locale/ms/LC_MESSAGES/gprof.mo %%NLS%%share/locale/nl/LC_MESSAGES/gprof.mo %%NLS%%share/locale/nl/LC_MESSAGES/opcodes.mo diff --git a/devel/binutils/pkg-plist-amd64 b/devel/binutils/pkg-plist-amd64 index 66958eb7482d..b6fc6b18834d 100644 --- a/devel/binutils/pkg-plist-amd64 +++ b/devel/binutils/pkg-plist-amd64 @@ -109,94 +109,6 @@ man/man1/%%BUTARGET%%-windres.1.gz %%BUTARGET%%/lib/ldscripts/elf_iamcu.xu %%BUTARGET%%/lib/ldscripts/elf_iamcu.xw %%BUTARGET%%/lib/ldscripts/elf_iamcu.xwe -%%BUTARGET%%/lib/ldscripts/elf_k1om.x -%%BUTARGET%%/lib/ldscripts/elf_k1om.xbn -%%BUTARGET%%/lib/ldscripts/elf_k1om.xc -%%BUTARGET%%/lib/ldscripts/elf_k1om.xce -%%BUTARGET%%/lib/ldscripts/elf_k1om.xd -%%BUTARGET%%/lib/ldscripts/elf_k1om.xdc -%%BUTARGET%%/lib/ldscripts/elf_k1om.xdce -%%BUTARGET%%/lib/ldscripts/elf_k1om.xde -%%BUTARGET%%/lib/ldscripts/elf_k1om.xdw -%%BUTARGET%%/lib/ldscripts/elf_k1om.xdwe -%%BUTARGET%%/lib/ldscripts/elf_k1om.xe -%%BUTARGET%%/lib/ldscripts/elf_k1om.xn -%%BUTARGET%%/lib/ldscripts/elf_k1om.xr -%%BUTARGET%%/lib/ldscripts/elf_k1om.xs -%%BUTARGET%%/lib/ldscripts/elf_k1om.xsc -%%BUTARGET%%/lib/ldscripts/elf_k1om.xsce -%%BUTARGET%%/lib/ldscripts/elf_k1om.xse -%%BUTARGET%%/lib/ldscripts/elf_k1om.xsw -%%BUTARGET%%/lib/ldscripts/elf_k1om.xswe -%%BUTARGET%%/lib/ldscripts/elf_k1om.xu -%%BUTARGET%%/lib/ldscripts/elf_k1om.xw -%%BUTARGET%%/lib/ldscripts/elf_k1om.xwe -%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.x -%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xbn -%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xc -%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xce -%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xd -%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xdc -%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xdce -%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xde -%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xdw -%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xdwe -%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xe -%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xn -%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xr -%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xs -%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xsc -%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xsce -%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xse -%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xsw -%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xswe -%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xu -%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xw -%%BUTARGET%%/lib/ldscripts/elf_k1om_fbsd.xwe -%%BUTARGET%%/lib/ldscripts/elf_l1om.x -%%BUTARGET%%/lib/ldscripts/elf_l1om.xbn -%%BUTARGET%%/lib/ldscripts/elf_l1om.xc -%%BUTARGET%%/lib/ldscripts/elf_l1om.xce -%%BUTARGET%%/lib/ldscripts/elf_l1om.xd -%%BUTARGET%%/lib/ldscripts/elf_l1om.xdc -%%BUTARGET%%/lib/ldscripts/elf_l1om.xdce -%%BUTARGET%%/lib/ldscripts/elf_l1om.xde -%%BUTARGET%%/lib/ldscripts/elf_l1om.xdw -%%BUTARGET%%/lib/ldscripts/elf_l1om.xdwe -%%BUTARGET%%/lib/ldscripts/elf_l1om.xe -%%BUTARGET%%/lib/ldscripts/elf_l1om.xn -%%BUTARGET%%/lib/ldscripts/elf_l1om.xr -%%BUTARGET%%/lib/ldscripts/elf_l1om.xs -%%BUTARGET%%/lib/ldscripts/elf_l1om.xsc -%%BUTARGET%%/lib/ldscripts/elf_l1om.xsce -%%BUTARGET%%/lib/ldscripts/elf_l1om.xse -%%BUTARGET%%/lib/ldscripts/elf_l1om.xsw -%%BUTARGET%%/lib/ldscripts/elf_l1om.xswe -%%BUTARGET%%/lib/ldscripts/elf_l1om.xu -%%BUTARGET%%/lib/ldscripts/elf_l1om.xw -%%BUTARGET%%/lib/ldscripts/elf_l1om.xwe -%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.x -%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xbn -%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xc -%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xce -%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xd -%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xdc -%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xdce -%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xde -%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xdw -%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xdwe -%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xe -%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xn -%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xr -%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xs -%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xsc -%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xsce -%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xse -%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xsw -%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xswe -%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xu -%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xw -%%BUTARGET%%/lib/ldscripts/elf_l1om_fbsd.xwe %%BUTARGET%%/lib/ldscripts/elf_x86_64.x %%BUTARGET%%/lib/ldscripts/elf_x86_64.xbn %%BUTARGET%%/lib/ldscripts/elf_x86_64.xc