guix: track recent Bitcoin Core changes - #116
Open
Sjors wants to merge 51 commits into
Open
Conversation
Sjors
marked this pull request as draft
August 21, 2026 07:12
Collaborator
Author
|
Backporting a bunch more commits shortly... |
See https://sourceware.org/bugzilla/show_bug.cgi?id=28509. https://sourceware.org/git/?p=glibc.git;a=commit;h=68389203832ab39dd0dbaabbc4059e7fff51c29b. Needed for the next commit, which bumps the time-machine. Backport of bitcoin/bitcoin#33185.
Package updates: (base) glibc 2.35 -> 2.39 binutils 2.38 -> 2.41 diffutils 3.8 -> 3.10 gawk 5.2.1 -> 5.3.0 git-minimal 2.45.2 -> 2.46.0 grep 3.8 -> 3.11 gzip 1.12 -> 1.13 linux-headers 6.1.106 -> 6.1.119 make 4.3 -> 4.4.1 xz 5.2.8 -> 5.4.5 CMake 3.30 becomes available. Clang/LLVM 19 becomes available. Backport of bitcoin/bitcoin#33185.
Prunes: libgomp.a libgomp.la libgomp.so libgomp.so.1 libgomp.so.1.0.0 libgomp.spec Backport of bitcoin/bitcoin#33775.
Prunes: libquadmath.a libquadmath.la libquadmath.so libquadmath.so.0 libquadmath.so.0.0.0 Backport of bitcoin/bitcoin#33775.
Backport of bitcoin/bitcoin#33775.
This will eventually be needed for bitcoin/bitcoin#25573, and could be useful for bitcoin/bitcoin#30210. Backport of bitcoin/bitcoin#33775. Co-authored-by: fanquake <fanquake@gmail.com>
See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123351 https://gcc.gnu.org/pipermail/gcc-patches/2026-January/704817.html Backport of bitcoin/bitcoin#33775. Co-authored-by: Mara van der Laan <126646+laanwj@users.noreply.github.com>
Backport of bitcoin/bitcoin#34227.
So it's used to extract tarballs. Backport of bitcoin/bitcoin#34550.
Package updates: binutils 2.41 -> 2.44 diffutils 3.10 -> 3.12 file 5.45 -> 5.46 git-minimal 2.46.0 -> 2.52.0 (base) glibc 2.39 -> 2.41 gzip 1.13 -> 1.14 linux-headers 6.1.119 -> 6.1.166 LLVM/Clang 19.1.4 -> 19.1.7 mingw-w64 12.0.0 -> 13.0.0 nsis 3.10 -> 3.11 python-minimal 3.10 -> 3.11 CMake 4.x becomes available. Clang/LLVM 20 & 21 become available. Backport of bitcoin/bitcoin#34550. Co-authored-by: fanquake <fanquake@gmail.com>
We are now using 3.31.x. Backport of bitcoin/bitcoin#34550.
Backport of bitcoin/bitcoin#34550.
Backport of bitcoin/bitcoin#34757.
Remove sponge (moreutils). Backport of bitcoin/bitcoin#34627.
Keep build dependencies separate from platform-specific codesigning tools. Backport of bitcoin/bitcoin#34948. Co-authored-by: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>
The `distsrc_for_host()` function now accepts a second optional argument, `SUFFIX`, making it consistent with other similar functions. Backport of bitcoin/bitcoin#35131.
Split out setup & tarball creation code, so that it can be re-used by build scripts. Backport of bitcoin/bitcoin#35459. Co-authored-by: fanquake <fanquake@gmail.com>
Split out packaging code, so that it can be re-used by build scripts. Backport of bitcoin/bitcoin#35499. Co-authored-by: fanquake <fanquake@gmail.com>
CMake's verbose output is already controlled by the `VERBOSE` environment variable, which has been exported since commit 85f4a4b0822e. Backport of bitcoin/bitcoin#35503.
The C.UTF-8 locale is set by default in `guix shell`, and there is no reason to avoid it nowadays. This change also silences superfluous warnings from Qt tools, making build logs cleaner and other issues easier to spot. Locales in the `guix-*` launch scripts have been updated as well for consistency with the rest of the codebase. -BEGIN VERIFY SCRIPT- sed -i "s/\<export LC_ALL=C\>/export LC_ALL=C.UTF-8/g" \ $( git grep -l "export LC_ALL=C" ./contrib/guix/* ) -END VERIFY SCRIPT- Backport of bitcoin/bitcoin#35775.
At the current time-machine commit c5eee3336cc1d10a3cc1c97fde2809c3451624d3, the default `glibc` package version is 2.41. Backport of bitcoin/bitcoin#35775.
This improves readability and consistency across all Guix scripts. -BEGIN VERIFY SCRIPT- sed -i "s/^set -e\>/set -o errexit/g" \ $( git grep -l "set -e" ./contrib/guix ) -END VERIFY SCRIPT- Backport of bitcoin/bitcoin#35775.
Backport of bitcoin/bitcoin#35261.
Backport of bitcoin/bitcoin#35261.
We don't need support for transactional memory. > Disable TM clone registry in libgcc. It is enabled in libgcc by default. > This option helps to reduce code size for embedded targets which do > not use transactional memory. https://gcc.gnu.org/install/configure.html Backport of bitcoin/bitcoin#35261.
This was overlooked in bitcoin/bitcoin#34948. Backport of bitcoin/bitcoin#35810.
Treat linker warnings as errors for Linux and Windows builds. RISC-V is excluded because Boost.Test uses unsupported floating-point environment functions: boostorg/test#345 Darwin can follow once its remaining linker warnings are addressed. Backport of bitcoin/bitcoin#35821. Co-authored-by: fanquake <fanquake@gmail.com>
Do not make CMake developer warnings fatal in release builds. Compiler and linker warnings retain their own error policies. Backport of bitcoin/bitcoin#35870. Co-authored-by: fanquake <fanquake@gmail.com>
sv2-tp has no GUI and therefore no NSIS installer. Keep the Windows release flow limited to installed binaries and a detached codesigning archive. Originally from stratum-mining#93.
Windows releases are distributed as zip archives and do not need an NSIS installer. Remove the unused deploy target and its dependencies. This also prepares the Windows CI configuration to build the install target used by stratum-mining#93.
The sv2-tp build does not select the Ninja generator, and xz is not included in the manifest. Remove both unused entries.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In preparation for windows support.