[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
226/227: gnu: binutils-gold: Inherit from binutils-next.
From: |
guix-commits |
Subject: |
226/227: gnu: binutils-gold: Inherit from binutils-next. |
Date: |
Thu, 11 Nov 2021 12:30:56 -0500 (EST) |
apteryx pushed a commit to branch core-updates-frozen
in repository guix.
commit d26584fcdac80058eea9a98be89ed120945e0b1b
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Nov 10 11:05:37 2021 -0500
gnu: binutils-gold: Inherit from binutils-next.
And reinstate tests on non-x86 architectures, as the past problems now
appear
to be resolved.
* gnu/packages/base.scm (binutils-gold): Inherit from binutils-next.
[tests?]: Remove argument.
[inputs]: Remove gcc:lib, which is already included implicitly.
---
gnu/packages/base.scm | 36 +++++++++++++-----------------------
1 file changed, 13 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index c2db2f0..043c9ad 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -523,8 +523,6 @@ change. GNU make offers many powerful extensions over the
standard utility.")
(patches (search-patches "binutils-loongson-workaround.patch"
"binutils-2.37-file-descriptor-leak.patch"))))
(build-system gnu-build-system)
-
- ;; TODO: Add dependency on zlib + those for Gold.
(arguments
`(#:configure-flags '(;; Add `-static-libgcc' to not retain a dependency
;; on GCC when bootstrapping.
@@ -595,29 +593,21 @@ included.")
(properties '())))
(define-public binutils-gold
- (package/inherit binutils
+ (package/inherit binutils-next
(name "binutils-gold")
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'patch-source-shebangs 'patch-more-shebangs
- (lambda _
- (substitute* "gold/Makefile.in"
- (("/bin/sh") (which "sh"))))))
- ,@(substitute-keyword-arguments (package-arguments binutils)
- ; Upstream is aware of unrelocatable test failures on arm*.
- ((#:tests? _ #f)
- (if (any (cute string-prefix? <> (or (%current-target-system)
- (%current-system)))
- '("i686" "x86_64"))
- '#t '#f))
- ((#:configure-flags flags)
- `(cons* "--enable-gold=default"
- (delete "LDFLAGS=-static-libgcc" ,flags))))))
- (native-inputs
- `(("bc" ,bc)))
- (inputs
- `(("gcc:lib" ,(canonical-package gcc) "lib")))))
+ (substitute-keyword-arguments (package-arguments binutils)
+ ((#:configure-flags flags)
+ `(cons* "--enable-gold=default"
+ (delete "LDFLAGS=-static-libgcc" ,flags)))
+ ((#:phases phases '%standard-phases)
+ `(modify-phases ,phases
+ (add-after 'patch-source-shebangs 'patch-more-shebangs
+ (lambda _
+ (substitute* "gold/Makefile.in"
+ (("/bin/sh") (which "sh")))))))))
+ (native-inputs
+ `(("bc" ,bc)))))
(define* (make-ld-wrapper name #:key
(target (const #f))
- 218/227: gnu: gnome-session: Use meson-0.59., (continued)
- 218/227: gnu: gnome-session: Use meson-0.59., guix-commits, 2021/11/11
- 220/227: gnu: network-manager-applet: Use meson-0.59., guix-commits, 2021/11/11
- 135/227: gnu: ungoogled-chromium: Use the new lld-as-ld-wrapper., guix-commits, 2021/11/11
- 187/227: gnu: libblockdev: Update to 2.26., guix-commits, 2021/11/11
- 196/227: gnu: openblas: Update to 0.3.18., guix-commits, 2021/11/11
- 195/227: gnu: docker-compose: Update to 1.29.2., guix-commits, 2021/11/11
- 200/227: gnu: gvfs: Use meson-0.59 to workaround faulty meson., guix-commits, 2021/11/11
- 209/227: gnu: Add python-aiomysql., guix-commits, 2021/11/11
- 215/227: gnu: conan: Update to 1.42.0., guix-commits, 2021/11/11
- 225/227: gnu: Add binutils-next., guix-commits, 2021/11/11
- 226/227: gnu: binutils-gold: Inherit from binutils-next.,
guix-commits <=
- 178/227: gnu: xorg-server: Fix indentation., guix-commits, 2021/11/11
- 206/227: gnu: Add python-sphinxcontrib-asyncio., guix-commits, 2021/11/11
- 204/227: gnu: icecat: Enable geckodriver., guix-commits, 2021/11/11
- 133/227: gnu: python-flit: Update to 3.3.0., guix-commits, 2021/11/11
- 214/227: gnu: python-urllib3: Update to 1.26.7., guix-commits, 2021/11/11
- 208/227: gnu: Add python-asyncmy., guix-commits, 2021/11/11
- 219/227: gnu: geocode-glib: Use libsoup 2., guix-commits, 2021/11/11
- 123/227: gnu: pango: Update to 1.48.10., guix-commits, 2021/11/11
- 143/227: gnu: elogind: Update to 246.10., guix-commits, 2021/11/11
- 197/227: gnu: ansible-core: Use GUIX_PYTHONPATH to fix build., guix-commits, 2021/11/11