Skip to content

[32.x] Backports - #37052

Draft
fanquake wants to merge 4 commits into
bitcoin:32.xfrom
fanquake:more_32_x_backports
Draft

fanquake wants to merge 4 commits into
bitcoin:32.xfrom
fanquake:more_32_x_backports

Conversation

@fanquake

@fanquake fanquake commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

It was expected that CMake >= 4.2 would handle LLVM's
`install_name_tool` binary properly. However, CMake MR 10955 fixed
the search only for the unversioned binary, which is not always
available. For example, the `llvm` package on Debian Trixie installs
only `/usr/bin/llvm-install-name-tool-19`, but not the unversioned
`/usr/bin/llvm-install-name-tool`, which results in a failure when
configuring a cross-build for macOS.

This change applies the workaround regardless of the CMake version.

Github-Pull: bitcoin#37008
Rebased-From: 0fb48fe
@DrahtBot

DrahtBot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

External sites

Reviews

See the guideline and AI policy for information on the review process.
A summary of reviews will appear here.

verifychain returns false on failure instead of raising, so the
block/undo file integrity check after manually un-XORing the files
could never fail. Corruption in recent blocks is still caught by the
startup check (-checkblocks, default 6), but older blocks are only
read by verifychain(nblocks=0), whose result was ignored.

Github-Pull: bitcoin#37051
Rebased-From: 219c5c8
libFuzzer's main() is not MSan-instrumented, so the shadow of the stack
slots holding argc/argv may be stale, left over from global constructors
that ran at the same stack depth. This causes a false-positive
use-of-uninitialized-value in SetArgs.

Github-Pull: bitcoin#37047
Rebased-From: e442658
@DrahtBot

DrahtBot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

🚧 At least one of the CI tasks failed.
Task ASan + LSan + UBSan + integer: https://github.com/bitcoin/bitcoin/actions/runs/47148857198/job/144404360808
LLM reason (✨ experimental): intermittent_network: Docker image build was blocked because mirror.gcr.io returned HTTP 429 Too Many Requests when resolving the Ubuntu base image, including on retry.

Hints

Try to run the tests locally, according to the documentation. However, a CI failure may still
happen due to a number of reasons, for example:

  • Possibly due to a silent merge conflict (the changes in this pull request being
    incompatible with the current code in the target branch). If so, make sure to rebase on the latest
    commit of the target branch.

  • A sanitizer issue, which can only be found by compiling with the sanitizer and running the
    affected test.

  • Intermittent network issues can occur; re-run CI for now, and report the issue if they keep happening.

  • A functional or integration test failure may be intermittent or unrelated to this pull request.
    If no dedicated issue thread exists, create a new one to track it.

Leave a comment here, if you need help tracking down a confusing failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants