[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/49: gnu: binutils: Update to 2.37.
From: |
guix-commits |
Subject: |
28/49: gnu: binutils: Update to 2.37. |
Date: |
Fri, 23 Jul 2021 11:33:09 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 2fa26446a186664c6364de0536380e43113dc95f
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Jul 19 20:44:27 2021 +0200
gnu: binutils: Update to 2.37.
* gnu/packages/patches/binutils-loongson-workaround.patch: Adjust for
upstream
changes.
* gnu/packages/patches/binutils-libiberty-endianness-bug.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/base.scm (binutils): Update to 2.37.
[source](patches): Remove obsolete patch.
---
gnu/local.mk | 1 -
gnu/packages/base.scm | 7 ++---
.../binutils-libiberty-endianness-bug.patch | 36 ----------------------
.../patches/binutils-loongson-workaround.patch | 14 ++++-----
4 files changed, 10 insertions(+), 48 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index 0839c81..239a32d 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -878,7 +878,6 @@ dist_patch_DATA =
\
%D%/packages/patches/beignet-correct-file-names.patch \
%D%/packages/patches/bidiv-update-fribidi.patch \
%D%/packages/patches/binutils-boot-2.20.1a.patch \
- %D%/packages/patches/binutils-libiberty-endianness-bug.patch \
%D%/packages/patches/binutils-loongson-workaround.patch \
%D%/packages/patches/binutils-mingw-w64-timestamp.patch \
%D%/packages/patches/binutils-mingw-w64-deterministic.patch \
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index f5dd5f6..f221e94 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -508,16 +508,15 @@ change. GNU make offers many powerful extensions over
the standard utility.")
(define-public binutils
(package
(name "binutils")
- (version "2.36.1")
+ (version "2.37")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/binutils/binutils-"
version ".tar.bz2"))
(sha256
(base32
- "18ypqr5y48vxqg9mkz1c47798jp1xb1d4vfpmfq8vkihkvkx4jsv"))
- (patches (search-patches "binutils-libiberty-endianness-bug.patch"
- "binutils-loongson-workaround.patch"))))
+ "1m3b2rdfv1dmdpd0bzg1hy7i8a2qng53szc6livyi3nh6101mz37"))
+ (patches (search-patches "binutils-loongson-workaround.patch"))))
(build-system gnu-build-system)
;; TODO: Add dependency on zlib + those for Gold.
diff --git a/gnu/packages/patches/binutils-libiberty-endianness-bug.patch
b/gnu/packages/patches/binutils-libiberty-endianness-bug.patch
deleted file mode 100644
index e6c82f7..0000000
--- a/gnu/packages/patches/binutils-libiberty-endianness-bug.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-This patch fixes a bug exposed when running the libiberty test suite on
-big-endian machines.
-
-Original bug report:
-https://sourceware.org/bugzilla/show_bug.cgi?id=27751
-Follow-ups:
-https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100177
-https://gcc.gnu.org/pipermail/gcc-patches/2021-April/568314.html
-
----
- libiberty/rust-demangle.c | 9 ++++++---
- 1 file changed, 6 insertions(+), 3 deletions(-)
-
-diff --git a/libiberty/rust-demangle.c b/libiberty/rust-demangle.c
-index 6fd8f6a4db0..848563fa3c3 100644
---- a/libiberty/rust-demangle.c
-+++ b/libiberty/rust-demangle.c
-@@ -1253,9 +1253,12 @@ demangle_const_char (struct rust_demangler *rdm)
- else if (value == '\n')
- PRINT ("\\n");
- else if (value > ' ' && value < '~')
-- /* Rust also considers many non-ASCII codepoints to be printable, but
-- that logic is not easily ported to C. */
-- print_str (rdm, (char *) &value, 1);
-+ {
-+ /* Rust also considers many non-ASCII codepoints to be printable, but
-+ that logic is not easily ported to C. */
-+ char c = value;
-+ print_str (rdm, &c, 1);
-+ }
- else
- {
- PRINT ("\\u{");
---
-2.31.1
-
diff --git a/gnu/packages/patches/binutils-loongson-workaround.patch
b/gnu/packages/patches/binutils-loongson-workaround.patch
index f43572a..68ab47d 100644
--- a/gnu/packages/patches/binutils-loongson-workaround.patch
+++ b/gnu/packages/patches/binutils-loongson-workaround.patch
@@ -4,22 +4,22 @@ Patch by Mark H Weaver <mhw@netris.org>.
--- binutils/gas/config/tc-mips.c.orig 2012-09-04 10:21:03.000000000 -0400
+++ binutils/gas/config/tc-mips.c 2013-10-06 02:23:21.651983768 -0400
-@@ -910,10 +910,10 @@
+@@ -934,10 +934,10 @@ enum fix_vr4120_class
};
/* ...likewise -mfix-loongson2f-jump. */
--static bfd_boolean mips_fix_loongson2f_jump;
-+static bfd_boolean mips_fix_loongson2f_jump = FALSE;
+-static bool mips_fix_loongson2f_jump;
++static bool mips_fix_loongson2f_jump = FALSE;
/* ...likewise -mfix-loongson2f-nop. */
--static bfd_boolean mips_fix_loongson2f_nop;
-+static bfd_boolean mips_fix_loongson2f_nop = TRUE;
+-static bool mips_fix_loongson2f_nop;
++static bool mips_fix_loongson2f_nop = FALSE;
/* True if -mfix-loongson2f-nop or -mfix-loongson2f-jump passed. */
- static bfd_boolean mips_fix_loongson2f;
+ static bool mips_fix_loongson2f;
--- binutils/gas/testsuite/gas/mips/mips.exp.orig 2012-09-04
10:17:13.000000000 -0400
+++ binutils/gas/testsuite/gas/mips/mips.exp 2013-10-06 02:23:21.663983768
-0400
-@@ -91,6 +91,12 @@
+@@ -110,6 +110,12 @@ proc mips_arch_init {} {
# Catch because the variable won't be set the first time through.
catch {unset mips_arches}
- 27/49: gnu: attr: Update to 2.5.1., (continued)
- 27/49: gnu: attr: Update to 2.5.1., guix-commits, 2021/07/23
- 29/49: gnu: fontconfig: Update to 2.13.94., guix-commits, 2021/07/23
- 25/49: gnu: ncurses: Update to 6.2.20210619., guix-commits, 2021/07/23
- 30/49: gnu: libspectre: Update to 0.2.9., guix-commits, 2021/07/23
- 33/49: gnu: util-linux: Update to 2.37., guix-commits, 2021/07/23
- 34/49: gnu: poppler: Update to 21.07.0., guix-commits, 2021/07/23
- 38/49: gnu: libgcrypt: Update to 1.8.8., guix-commits, 2021/07/23
- 18/49: gnu: Perl: Update to 5.34.0., guix-commits, 2021/07/23
- 19/49: gnu: Perl: Update cross-compilation code., guix-commits, 2021/07/23
- 26/49: gnu: acl: Update to 2.3.1., guix-commits, 2021/07/23
- 28/49: gnu: binutils: Update to 2.37.,
guix-commits <=
- 31/49: gnu: harfbuzz: Update to 2.8.2., guix-commits, 2021/07/23
- 32/49: gnu: pango: Update to 1.48.7., guix-commits, 2021/07/23
- 35/49: gnu: sqlite: Update to 3.36.0., guix-commits, 2021/07/23
- 36/49: gnu: libtiff: Update to 4.3.0., guix-commits, 2021/07/23
- 37/49: gnu: libxml2: Update to 2.9.12., guix-commits, 2021/07/23
- 41/49: gnu: perl-test-needs: Update to 0.002009., guix-commits, 2021/07/23
- 42/49: gnu: graphviz: Turn arguments into a gexp., guix-commits, 2021/07/23
- 46/49: gnu: Python: Fix bytecode compilation., guix-commits, 2021/07/23
- 47/49: gnu: Python: Delete existing compiled files before compiling bytecode., guix-commits, 2021/07/23
- 49/49: gnu: Python: Disable indeterministic optimizations., guix-commits, 2021/07/23