Hey guix!
I'm trying to help my friend set up his Talos 2, which uses Power9.
We are currently using Chimera Linux + guix (to get extra packages).
My friend wants to use bitcoin-knots, which was forked from bitcoin-core.
Looking at this merge request it is fairly easy to start the build:
https://codeberg.org/guix/guix/pulls/714
Both of these commands fail:
$ guix build -f bitcoin-knots-commit.scm
$ guix package --keep-going -f bitcoin-knots-commit.scm
$ guix package --keep-going -K -f bitcoin-knots-commit.scm
The build fails, because LLVM fails to build with some tests failing.
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
********************
Failed Tests (4):
LLVM :: tools/dsymutil/X86/DWARFLinkerParallel/odr-fwd-declaration3.test
LLVM :: tools/dsymutil/X86/DWARFLinkerParallel/odr-predictable-output2.test
LLVM :: tools/dsymutil/X86/DWARFLinkerParallel/odr-string.test
LLVM :: tools/dsymutil/X86/DWARFLinkerParallel/odr-types-in-subprogram1.test
Testing Time: 166.79s
Total Discovered Tests: 58173
Skipped : 64 (0.11%)
Unsupported : 2073 (3.56%)
Passed : 55876 (96.05%)
Expectedly Failed: 156 (0.27%)
Failed : 4 (0.01%)
make[3]: *** [test/CMakeFiles/check-llvm.dir/build.make:74:
test/CMakeFiles/check-llvm] Error 1
make[3]: Leaving directory '/tmp/guix-build-llvm-18.1.8.drv-0/source/build'
make[2]: *** [CMakeFiles/Makefile2:50589: test/CMakeFiles/check-llvm.dir/all]
Error 2
make[2]: Leaving directory '/tmp/guix-build-llvm-18.1.8.drv-0/source/build'
make[1]: *** [CMakeFiles/Makefile2:50596: test/CMakeFiles/check-llvm.dir/rule]
Error 2
make[1]: Leaving directory '/tmp/guix-build-llvm-18.1.8.drv-0/source/build'
make: *** [Makefile:13361: check-llvm] Error 2
I just installed guix a few days ago, but in case you're curious what my guix
describe says:
$ guix describe
Generation 1 Aug 18 2025 12:15:18 (current)
guix 18ccd72
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 18ccd72418dc990393666ec3e8779b9193867870
$ su
# guix describe
# guix describe
guix 7448f75
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 7448f7572ffc219c6618f24fe69468cae3d7498c
I'm attaching the bitcoin-knots build script that I stole from the merge
request.
And I am attaching the LLVM build log (though I am deleting most of it). LLVM
compiled just fine,
What else can I do to help?
Thanks,; https://codeberg.org/guix/guix/pulls/714
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015, 2016, 2023 Andreas Enge <[email protected]>
;;; Copyright © 2016-2018, 2023 Efraim Flashner <[email protected]>
;;; Copyright © 2016 Alex Griffin <[email protected]>
;;; Copyright © 2016, 2020 Hartmut Goebel <[email protected]>
;;; Copyright © 2017 Carlo Zancanaro <[email protected]>
;;; Copyright © 2017 Theodoros Foradis <[email protected]>
;;; Copyright © 2017 Vasile Dumitrascu <[email protected]>
;;; Copyright © 2017â2021 Tobias Geerinckx-Rice <[email protected]>
;;; Copyright © 2018 Eric Bavier <[email protected]>
;;; Copyright © 2018 Adriano Peluso <[email protected]>
;;; Copyright © 2018-2022, 2024, 2025 Nicolas Goaziou <[email protected]>
;;; Copyright © 2018 Arun Isaac <[email protected]>
;;; Copyright © 2019-2025 Guillaume Le Vaillant <[email protected]>
;;; Copyright © 2019 Tanguy Le Carrour <[email protected]>
;;; Copyright © 2019, 2020 Martin Becze <[email protected]>
;;; Copyright © 2019 Sebastian Schott <[email protected]>
;;; Copyright © 2020 Kei Kebreau <[email protected]>
;;; Copyright © 2020 Christine Lemmer-Webber <[email protected]>
;;; Copyright © 2020 Tom Zander <[email protected]>
;;; Copyright © 2020, 2023 Marius Bakke <[email protected]>
;;; Copyright © 2020, 2021, 2022, 2024, 2025 Vinicius Monego
<[email protected]>
;;; Copyright © 2020 Carlo Holl <[email protected]>
;;; Copyright © 2020 Giacomo Leidi <[email protected]>
;;; Copyright © 2021 ZmnSCPxj jxPCSnmZ <[email protected]>
;;; Copyright © 2021 François J <[email protected]>
;;; Copyright © 2021 Foo Chuan Wei <[email protected]>
;;; Copyright © 2021 John Kehayias <[email protected]>
;;; Copyright © 2022 Kyle Meyer <[email protected]>
;;; Copyright © 2022 Aleksandr Vityazev <[email protected]>
;;; Copyright © 2022 Maxim Cournoyer <[email protected]>
;;; Copyright © 2022 Philip McGrath <[email protected]>
;;; Copyright © 2022 Collin J. Doering <[email protected]>
;;; Copyright © 2023 dan <[email protected]>
;;; Copyright © 2022 Justin Veilleux <[email protected]>
;;; Copyright © 2023 Frank Pursel <[email protected]>
;;; Copyright © 2023 Skylar Hill <[email protected]>
;;; Copyright © 2023 Foundation Devices, Inc. <[email protected]>
;;; Copyright © 2023 Attila Lendvai <[email protected]>
;;; Copyright © 2024 Saku Laesvuori <[email protected]>
;;; Copyright © 2024 Sharlatan Hellseher <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages finance)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
#:use-module (guix build-system copy)
#:use-module (guix build-system emacs)
#:use-module (guix build-system haskell)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system go)
#:use-module (guix build-system qt)
#:use-module (guix deprecation)
#:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (srfi srfi-26)
#:use-module (gnu packages)
#:use-module (gnu packages aidc)
#:use-module (gnu packages autotools)
#:use-module (gnu packages bash)
#:use-module (gnu packages base)
#:use-module (gnu packages bison)
#:use-module (gnu packages boost)
#:use-module (gnu packages build-tools)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages cpp)
#:use-module (gnu packages crypto)
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
#:use-module (gnu packages docbook)
#:use-module (gnu packages documentation)
#:use-module (gnu packages dns)
#:use-module (gnu packages emacs)
#:use-module (gnu packages emacs-xyz)
#:use-module (gnu packages dbm)
#:use-module (gnu packages flex)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-web)
#:use-module (gnu packages golang-xyz)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages groff)
#:use-module (gnu packages gsasl)
#:use-module (gnu packages gtk)
#:use-module (gnu packages haskell-check)
#:use-module (gnu packages haskell-web)
#:use-module (gnu packages haskell-xyz)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages libedit)
#:use-module (gnu packages libevent)
#:use-module (gnu packages libunwind)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
#:use-module (gnu packages man)
#:use-module (gnu packages maths)
#:use-module (gnu packages mpi)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages networking)
#:use-module (gnu packages ninja)
#:use-module (gnu packages pdf)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages popt)
#:use-module (gnu packages protobuf)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-check)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
#:use-module (gnu packages readline)
#:use-module (gnu packages security-token)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages tex)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages textutils)
#:use-module (gnu packages time)
#:use-module (gnu packages tls)
#:use-module (gnu packages upnp)
#:use-module (gnu packages web)
#:use-module (gnu packages xml)
#:use-module (gnu packages gnuzilla))
(define-public bitcoin-core
;; The support lifetimes for bitcoin-core versions can be found in
;; <https://bitcoincore.org/en/lifecycle/#schedule>.
(package
(name "bitcoin-core")
(version "28.1")
(source (origin
(method url-fetch)
(uri
(string-append "https://bitcoincore.org/bin/bitcoin-core-"
version "/bitcoin-" version ".tar.gz"))
(sha256
(base32
"1fl312ns86syc6871il9l3lzf96nm6jhnj92qyvxkyf78782vbn5"))))
(build-system gnu-build-system)
(native-inputs
(list autoconf
automake
libtool
pkg-config
python ; for the tests
util-linux ; provides the hexdump command for tests
qttools-5))
(inputs
(list bdb-4.8 ; 4.8 required for compatibility
boost
libevent
miniupnpc
qtbase-5
sqlite))
(arguments
`(#:configure-flags
(list
;; Boost is not found unless specified manually.
(string-append "--with-boost="
(assoc-ref %build-inputs "boost"))
;; XXX: The configure script looks up Qt paths by
;; `pkg-config --variable=host_bins Qt5Core`, which fails to pick
;; up executables residing in 'qttools-5', so we specify them here.
(string-append "ac_cv_path_LRELEASE="
(assoc-ref %build-inputs "qttools")
"/bin/lrelease")
(string-append "ac_cv_path_LUPDATE="
(assoc-ref %build-inputs "qttools")
"/bin/lupdate"))
#:phases
(modify-phases %standard-phases
(add-before 'configure 'make-qt-deterministic
(lambda _
;; Make Qt deterministic.
(setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")
#t))
(add-before 'build 'set-no-git-flag
(lambda _
;; Make it clear we are not building from within a git repository
;; (and thus no information regarding this build is available
;; from git).
(setenv "BITCOIN_GENBUILD_NO_GIT" "1")
#t))
(add-before 'check 'set-home
(lambda _
(setenv "HOME" (getenv "TMPDIR")) ; tests write to $HOME
#t))
(add-after 'check 'check-functional
(lambda _
(invoke
"python3" "./test/functional/test_runner.py"
(string-append "--jobs=" (number->string (parallel-job-count))))
#t)))))
(home-page "https://bitcoincore.org/")
(synopsis "Bitcoin peer-to-peer client")
(description
"Bitcoin is a digital currency that enables instant payments to anyone
anywhere in the world. It uses peer-to-peer technology to operate without
central authority: managing transactions and issuing money are carried out
collectively by the network. Bitcoin Core is the reference implementation
of the bitcoin protocol. This package provides the Bitcoin Core command
line client and a client based on Qt.")
(license license:expat)))
(define-public bitcoin-knots
(let ((major "28")
(minor "1.knots20250305"))
(package
(inherit bitcoin-core)
(name "bitcoin-knots")
(version (string-append major "." minor))
(source (origin
(method url-fetch)
(uri (string-append "https://bitcoinknots.org/files/" major
".x/"
version "/bitcoin-" version ".tar.gz"))
(sha256
(base32
"1h038flnzrdky91s4vczqjdp7jvqljq2wsq5559z17ykipxvg8qc"))))
(home-page "https://bitcoinknots.org")
(synopsis "Enhanced Bitcoin node/wallet based on Bitcoin Core")
(description "Bitcoin Knots connects to the Bitcoin peer-to-peer network
to download and fully validate blocks and transactions. It also includes a
wallet and graphical user interface.")
(license license:expat))))
bitcoin-knots
[100%] Built target UnitTests
make -f test/CMakeFiles/check-llvm.dir/build.make
test/CMakeFiles/check-llvm.dir/depend
make[3]: Entering directory '/tmp/guix-build-llvm-18.1.8.drv-0/source/build'
cd /tmp/guix-build-llvm-18.1.8.drv-0/source/build &&
/gnu/store/xi8jgddmhxym2jhsywvwl37vz8rn701p-cmake-minimal-3.31.8/bin/cmake -E
cmake_depends "Unix Makefiles" /tmp/guix-build-llvm-18.1.8.drv-0/source/llvm
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test
/tmp/guix-build-llvm-18.1.8.drv-0/source/build
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/CMakeFiles/check-llvm.dir/DependInfo.cmake
"--color="
make[3]: Leaving directory '/tmp/guix-build-llvm-18.1.8.drv-0/source/build'
make -f test/CMakeFiles/check-llvm.dir/build.make
test/CMakeFiles/check-llvm.dir/build
make[3]: Entering directory '/tmp/guix-build-llvm-18.1.8.drv-0/source/build'
[100%] Running the LLVM regression tests
cd /tmp/guix-build-llvm-18.1.8.drv-0/source/build/test &&
/gnu/store/7ipwsfzrbr2il7wsi4bm5b63m93m3sl8-python-wrapper-3.11.11/bin/python
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/./bin/llvm-lit -sv
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test
-- Testing: 53094 tests, 64 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.
FAIL: LLVM ::
tools/dsymutil/X86/DWARFLinkerParallel/odr-predictable-output2.test (46261 of
53094)
******************** TEST 'LLVM ::
tools/dsymutil/X86/DWARFLinkerParallel/odr-predictable-output2.test' FAILED
********************
Exit Code: 139
Command Output (stderr):
--
RUN: at line 1: /tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/dsymutil
--linker=parallel -f -o
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-predictable-output2.test.tmp1.o
-oso-prepend-path=/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/../
-y
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-predictable-output2.test
+ /tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/dsymutil --linker=parallel
-f -o
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-predictable-output2.test.tmp1.o
-oso-prepend-path=/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/../
-y
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-predictable-output2.test
warning:
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/../Inputs/String/foo1.o:
timestamp mismatch between object file (1970-01-01 00:00:01.000000000) and
debug map (2021-12-07 19:18:39.000000000)
warning:
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/../Inputs/String/foo2.o:
timestamp mismatch between object file (1970-01-01 00:00:01.000000000) and
debug map (2021-12-07 19:18:43.000000000)
warning:
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/../Inputs/String/foo3.o:
timestamp mismatch between object file (1970-01-01 00:00:01.000000000) and
debug map (2021-12-07 19:18:47.000000000)
warning:
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/../Inputs/String/main.o:
timestamp mismatch between object file (1970-01-01 00:00:01.000000000) and
debug map (2021-12-07 19:18:54.000000000)
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and
include the crash backtrace.
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-predictable-output2.test.script:
line 8: 1188 Segmentation fault
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/dsymutil --linker=parallel
-f -o
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-predictable-output2.test.tmp1.o
-oso-prepend-path=/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/../
-y
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-predictable-output2.test
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.
FAIL: LLVM :: tools/dsymutil/X86/DWARFLinkerParallel/odr-string.test (46267 of
53094)
******************** TEST 'LLVM ::
tools/dsymutil/X86/DWARFLinkerParallel/odr-string.test' FAILED
********************
Exit Code: 2
Command Output (stderr):
--
RUN: at line 1: /tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/dsymutil
--linker=parallel -f -o -
-oso-prepend-path=/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/../
-y
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-string.test
| /tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/llvm-dwarfdump --verify -
| /tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/FileCheck
-check-prefixes=VERIFY
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-string.test
+ /tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/llvm-dwarfdump --verify -
+ /tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/FileCheck
-check-prefixes=VERIFY
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-string.test
+ /tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/dsymutil --linker=parallel
-f -o -
-oso-prepend-path=/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/../
-y
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-string.test
warning:
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/../Inputs/String/foo1.o:
timestamp mismatch between object file (1970-01-01 00:00:01.000000000) and
debug map (2021-12-07 19:18:39.000000000)
warning:
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/../Inputs/String/foo2.o:
timestamp mismatch between object file (1970-01-01 00:00:01.000000000) and
debug map (2021-12-07 19:18:43.000000000)
warning:
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/../Inputs/String/foo3.o:
timestamp mismatch between object file (1970-01-01 00:00:01.000000000) and
debug map (2021-12-07 19:18:47.000000000)
warning:
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/../Inputs/String/main.o:
timestamp mismatch between object file (1970-01-01 00:00:01.000000000) and
debug map (2021-12-07 19:18:54.000000000)
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and
include the crash backtrace.
error: -: The file was not recognized as a valid object file
FileCheck error: '<stdin>' is empty.
FileCheck command line:
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/FileCheck
-check-prefixes=VERIFY
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-string.test
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.
FAIL: LLVM :: tools/dsymutil/X86/DWARFLinkerParallel/odr-fwd-declaration3.test
(46294 of 53094)
******************** TEST 'LLVM ::
tools/dsymutil/X86/DWARFLinkerParallel/odr-fwd-declaration3.test' FAILED
********************
Exit Code: 139
Command Output (stderr):
--
RUN: at line 1: /tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/yaml2obj
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-fwd-declaration3.test
-o
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-fwd-declaration3.test.tmp.o
+ /tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/yaml2obj
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-fwd-declaration3.test
-o
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-fwd-declaration3.test.tmp.o
RUN: at line 2: echo '---' >
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-fwd-declaration3.test.tmp2.map
+ echo ---
RUN: at line 3: echo "triple: 'x86_64-apple-darwin'" >>
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-fwd-declaration3.test.tmp2.map
+ echo 'triple: '\''x86_64-apple-darwin'\'''
RUN: at line 4: echo 'objects:' >>
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-fwd-declaration3.test.tmp2.map
+ echo objects:
RUN: at line 5: echo " - filename:
'/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-fwd-declaration3.test.tmp.o'"
>>
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-fwd-declaration3.test.tmp2.map
+ echo ' - filename:
'\''/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-fwd-declaration3.test.tmp.o'\'''
RUN: at line 6: echo ' symbols:' >>
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-fwd-declaration3.test.tmp2.map
+ echo ' symbols:'
RUN: at line 7: echo ' - { sym: __Z3foov, objAddr: 0x0, binAddr: 0x10000,
size: 0x10 }' >>
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-fwd-declaration3.test.tmp2.map
+ echo ' - { sym: __Z3foov, objAddr: 0x0, binAddr: 0x10000, size: 0x10 }'
RUN: at line 8: echo '...' >>
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-fwd-declaration3.test.tmp2.map
+ echo ...
RUN: at line 9: /tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/dsymutil
--linker=parallel -y
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-fwd-declaration3.test.tmp2.map
-f -o
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-fwd-declaration3.test.tmp1.out
+ /tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/dsymutil --linker=parallel
-y
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-fwd-declaration3.test.tmp2.map
-f -o
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-fwd-declaration3.test.tmp1.out
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and
include the crash backtrace.
#0 0x00003fffef9e8bf0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int)
(/tmp/guix-build-llvm-18.1.8.drv-0/source/build/lib/libLLVM.so.18.1+0xbf8bf0)
#1 0x00003fffef9e5a14 SignalHandler(int) Signals.cpp:0:0
#2 0x00003ffff7f72484 (linux-vdso64.so.1+0x484)
#3 0x00003ffff0bf5d80
llvm::dwarf_linker::parallel::TypeUnit::finalizeTypeEntryRec(unsigned long,
llvm::DIE*,
llvm::StringMapEntry<std::atomic<llvm::dwarf_linker::parallel::TypeEntryBody*>>*)
(/tmp/guix-build-llvm-18.1.8.drv-0/source/build/lib/libLLVM.so.18.1+0x1e05d80)
#4 0x00003ffff0bf5d24
llvm::dwarf_linker::parallel::TypeUnit::finalizeTypeEntryRec(unsigned long,
llvm::DIE*,
llvm::StringMapEntry<std::atomic<llvm::dwarf_linker::parallel::TypeEntryBody*>>*)
(/tmp/guix-build-llvm-18.1.8.drv-0/source/build/lib/libLLVM.so.18.1+0x1e05d24)
#5 0x00003ffff0bf9424
llvm::dwarf_linker::parallel::TypeUnit::createDIETree(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator,
4096ul, 4096ul, 128ul>&)::'lambda'()::operator()() const
DWARFLinkerTypeUnit.cpp:0:0
#6 0x00003fffef8fe470 std::_Function_handler<void (),
llvm::parallel::TaskGroup::spawn(std::function<void ()>,
bool)::'lambda'()>::_M_invoke(std::_Any_data const&) Parallel.cpp:0:0
#7 0x00003fffef8fe748
std::thread::_State_impl<std::thread::_Invoker<std::tuple<llvm::parallel::detail::(anonymous
namespace)::ThreadPoolExecutor::ThreadPoolExecutor(llvm::ThreadPoolStrategy)::'lambda'()::operator()()
const::'lambda'()>>>::_M_run() Parallel.cpp:0:0
#8 0x00003fffeebe0160
(/gnu/store/5ii6p8dwmg50slwv213627dxlmmv8fsm-gcc-14.3.0-lib/lib/libstdc++.so.6+0x160160)
#9 0x00003fffee715c0c start_thread
(/gnu/store/d06wqbij2jsz245p4h2frilq02pb8lly-glibc-2.41/lib/libc.so.6+0xb5c0c)
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-fwd-declaration3.test.script:
line 10: 755 Segmentation fault
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/dsymutil --linker=parallel
-y
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-fwd-declaration3.test.tmp2.map
-f -o
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-fwd-declaration3.test.tmp1.out
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.
FAIL: LLVM ::
tools/dsymutil/X86/DWARFLinkerParallel/odr-types-in-subprogram1.test (46327 of
53094)
******************** TEST 'LLVM ::
tools/dsymutil/X86/DWARFLinkerParallel/odr-types-in-subprogram1.test' FAILED
********************
Exit Code: 2
Command Output (stderr):
--
RUN: at line 1: /tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/yaml2obj
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-types-in-subprogram1.test
-o
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-types-in-subprogram1.test.tmp.o
+ /tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/yaml2obj
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-types-in-subprogram1.test
-o
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-types-in-subprogram1.test.tmp.o
RUN: at line 2: echo '---' >
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-types-in-subprogram1.test.tmp2.map
+ echo ---
RUN: at line 3: echo "triple: 'x86_64-apple-darwin'" >>
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-types-in-subprogram1.test.tmp2.map
+ echo 'triple: '\''x86_64-apple-darwin'\'''
RUN: at line 4: echo 'objects:' >>
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-types-in-subprogram1.test.tmp2.map
+ echo objects:
RUN: at line 5: echo " - filename:
'/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-types-in-subprogram1.test.tmp.o'"
>>
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-types-in-subprogram1.test.tmp2.map
+ echo ' - filename:
'\''/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-types-in-subprogram1.test.tmp.o'\'''
RUN: at line 6: echo ' symbols:' >>
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-types-in-subprogram1.test.tmp2.map
+ echo ' symbols:'
RUN: at line 7: echo ' - { sym: __Z3foov, objAddr: 0x0, binAddr: 0x10000,
size: 0x10 }' >>
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-types-in-subprogram1.test.tmp2.map
+ echo ' - { sym: __Z3foov, objAddr: 0x0, binAddr: 0x10000, size: 0x10 }'
RUN: at line 8: echo '...' >>
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-types-in-subprogram1.test.tmp2.map
+ echo ...
RUN: at line 9: /tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/dsymutil
--linker=parallel -y
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-types-in-subprogram1.test.tmp2.map
-f -o - | /tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/llvm-dwarfdump -a
- | /tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/FileCheck
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-types-in-subprogram1.test
+ /tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/dsymutil --linker=parallel
-y
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/test/tools/dsymutil/X86/DWARFLinkerParallel/Output/odr-types-in-subprogram1.test.tmp2.map
-f -o -
+ /tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/FileCheck
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-types-in-subprogram1.test
+ /tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/llvm-dwarfdump -a -
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and
include the crash backtrace.
#0 0x00003fffef9e8bf0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int)
(/tmp/guix-build-llvm-18.1.8.drv-0/source/build/lib/libLLVM.so.18.1+0xbf8bf0)
#1 0x00003fffef9e5a14 SignalHandler(int) Signals.cpp:0:0
#2 0x00003ffff7f72484 (linux-vdso64.so.1+0x484)
#3 0x00003ffff0bf5d80
llvm::dwarf_linker::parallel::TypeUnit::finalizeTypeEntryRec(unsigned long,
llvm::DIE*,
llvm::StringMapEntry<std::atomic<llvm::dwarf_linker::parallel::TypeEntryBody*>>*)
(/tmp/guix-build-llvm-18.1.8.drv-0/source/build/lib/libLLVM.so.18.1+0x1e05d80)
#4 0x00003ffff0bf9424
llvm::dwarf_linker::parallel::TypeUnit::createDIETree(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator,
4096ul, 4096ul, 128ul>&)::'lambda'()::operator()() const
DWARFLinkerTypeUnit.cpp:0:0
#5 0x00003fffef8fe470 std::_Function_handler<void (),
llvm::parallel::TaskGroup::spawn(std::function<void ()>,
bool)::'lambda'()>::_M_invoke(std::_Any_data const&) Parallel.cpp:0:0
#6 0x00003fffef8fe748
std::thread::_State_impl<std::thread::_Invoker<std::tuple<llvm::parallel::detail::(anonymous
namespace)::ThreadPoolExecutor::ThreadPoolExecutor(llvm::ThreadPoolStrategy)::'lambda'()::operator()()
const::'lambda'()>>>::_M_run() Parallel.cpp:0:0
#7 0x00003fffeebe0160
(/gnu/store/5ii6p8dwmg50slwv213627dxlmmv8fsm-gcc-14.3.0-lib/lib/libstdc++.so.6+0x160160)
#8 0x00003fffee715c0c start_thread
(/gnu/store/d06wqbij2jsz245p4h2frilq02pb8lly-glibc-2.41/lib/libc.so.6+0xb5c0c)
error: -: The file was not recognized as a valid object file
FileCheck error: '<stdin>' is empty.
FileCheck command line:
/tmp/guix-build-llvm-18.1.8.drv-0/source/build/bin/FileCheck
/tmp/guix-build-llvm-18.1.8.drv-0/source/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/odr-types-in-subprogram1.test
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
********************
Failed Tests (4):
LLVM :: tools/dsymutil/X86/DWARFLinkerParallel/odr-fwd-declaration3.test
LLVM :: tools/dsymutil/X86/DWARFLinkerParallel/odr-predictable-output2.test
LLVM :: tools/dsymutil/X86/DWARFLinkerParallel/odr-string.test
LLVM :: tools/dsymutil/X86/DWARFLinkerParallel/odr-types-in-subprogram1.test
Testing Time: 166.79s
Total Discovered Tests: 58173
Skipped : 64 (0.11%)
Unsupported : 2073 (3.56%)
Passed : 55876 (96.05%)
Expectedly Failed: 156 (0.27%)
Failed : 4 (0.01%)
make[3]: *** [test/CMakeFiles/check-llvm.dir/build.make:74:
test/CMakeFiles/check-llvm] Error 1
make[3]: Leaving directory '/tmp/guix-build-llvm-18.1.8.drv-0/source/build'
make[2]: *** [CMakeFiles/Makefile2:50589: test/CMakeFiles/check-llvm.dir/all]
Error 2
make[2]: Leaving directory '/tmp/guix-build-llvm-18.1.8.drv-0/source/build'
make[1]: *** [CMakeFiles/Makefile2:50596: test/CMakeFiles/check-llvm.dir/rule]
Error 2
make[1]: Leaving directory '/tmp/guix-build-llvm-18.1.8.drv-0/source/build'
make: *** [Makefile:13361: check-llvm] Error 2
Test suite failed, dumping logs.
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("check-llvm" "-j" "64"
"--max-load=64") exit-status: 2 term-signal: #f stop-signal: #f>
phase `check' failed after 390.4 seconds
command "make" "check-llvm" "-j" "64" "--max-load=64" failed with status 2
build process 18 exited with status 256