[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
91/142: gnu: tbb-2020: Use ld.gold to work around segfaults in check pha
From: |
guix-commits |
Subject: |
91/142: gnu: tbb-2020: Use ld.gold to work around segfaults in check phase. |
Date: |
Mon, 10 Jan 2022 13:07:26 -0500 (EST) |
apteryx pushed a commit to branch version-1.4.0
in repository guix.
commit c61e742854c4c81b25bf6c249dd748477a1ffed8
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Dec 23 00:50:53 2021 -0500
gnu: tbb-2020: Use ld.gold to work around segfaults in check phase.
* gnu/packages/tbb.scm (tbb-2020)
[configure-flags]: Use -fuse-ld=gold in CFLAGS.
[native-inputs]: Add ld-gold-wrapper.
---
gnu/packages/tbb.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/tbb.scm b/gnu/packages/tbb.scm
index 427f281686..e5d8394f5f 100644
--- a/gnu/packages/tbb.scm
+++ b/gnu/packages/tbb.scm
@@ -89,7 +89,8 @@ tasks, synchronization primitives, atomic operations, and
more.")
(arguments
`(#:test-target "test"
#:make-flags (list (string-append "LDFLAGS=-Wl,-rpath="
- (assoc-ref %outputs "out") "/lib"))
+ (assoc-ref %outputs "out") "/lib")
+ "CFLAGS=-fuse-ld=gold")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fail-on-test-errors
@@ -121,6 +122,13 @@ tasks, synchronization primitives, atomic operations, and
more.")
(copy-recursively "doc" doc)
(copy-recursively "examples" examples)
(copy-recursively "include" include)))))))
+ (native-inputs
+ ;; XXX: For some reason, since commit "gnu: binutils: Absorb
+ ;; binutils-next", the build of just this version of TBB crashes during
+ ;; tests. Workaround it by linking the binaries with ld.gold.
+ (list (module-ref (resolve-interface
+ '(gnu packages commencement))
+ 'ld-gold-wrapper)))
(home-page "https://www.threadingbuildingblocks.org")
(synopsis "C++ library for parallel programming")
(description
- 55/142: gnu: python-msgpack: Update to 1.0.3., (continued)
- 55/142: gnu: python-msgpack: Update to 1.0.3., guix-commits, 2022/01/10
- 59/142: gnu: python-curio: Disable newly failing 'test_timeout' test., guix-commits, 2022/01/10
- 07/142: gnu: python-tomli: Update to 2.0.0., guix-commits, 2022/01/10
- 22/142: gnu: cairo: Use bash-minimal unconditionally., guix-commits, 2022/01/10
- 40/142: gnu: gnome-backgrounds: Update to 41.0., guix-commits, 2022/01/10
- 43/142: gnu: epiphany: Update to 41.2., guix-commits, 2022/01/10
- 45/142: gnu: wayland-protocols: Add python to native inputs., guix-commits, 2022/01/10
- 75/142: gnu: python-matplotlib: Update to 3.5.1 and run tests in parallel., guix-commits, 2022/01/10
- 87/142: gnu: python-pysam: Update to 0.18.0., guix-commits, 2022/01/10
- 90/142: gnu: python-igraph: Update to 0.9.8., guix-commits, 2022/01/10
- 91/142: gnu: tbb-2020: Use ld.gold to work around segfaults in check phase.,
guix-commits <=
- 103/142: gnu: python-scikit-learn: Remove obsolete phase., guix-commits, 2022/01/10
- 104/142: gnu: jalv-select: Remove obsolete phase., guix-commits, 2022/01/10
- 102/142: gnu: go-ipfs: Remove obsolete phase., guix-commits, 2022/01/10
- 106/142: gnu: helm: Remove obsolete phase., guix-commits, 2022/01/10
- 113/142: gnu: meson: Update to 0.60.3., guix-commits, 2022/01/10
- 114/142: gnu: glib: Update to 2.70.2., guix-commits, 2022/01/10
- 128/142: gnu: rust: Use rust-1.57.0., guix-commits, 2022/01/10
- 127/142: gnu: simple-scan: Add python to native inputs., guix-commits, 2022/01/10
- 126/142: gnu: gnome-calculator: Add python to native inputs., guix-commits, 2022/01/10
- 130/142: gnu: mozjs-78: Disable rust-simd to workaround a build failure., guix-commits, 2022/01/10