[29.x] More backports#32810
Conversation
Nix patches cmake to remove the root directory `/` from `CMAKE_SYSTEM_PREFIX_PATH`: https://github.com/NixOS/nixpkgs/blob/428b49b28ebc8938a6d9f6c540d32d7a06713972/pkgs/by-name/cm/cmake/001-search-path.diff#L10 Without this, and when using the toolchain for depends builds, cmake's `find_path()` and `find_package()` do not know where to find dependencies, causing issues like: bitcoin#32428 Adding this path back via CMAKE_PREFIX_PATH is harmless on other systems, and fixes the toolchain for Nix users. We append the `/` dir a maximum of once, as the toolchain may be called repeatedly during builds. Co-authored-by: Russell Yanofsky <russ@yanofsky.org> Co-authored-by: josibake <josibake@protonmail.com> Github-Pull: bitcoin#32798 Rebased-From: e27a945
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code Coverage & BenchmarksFor details see: https://corecheck.dev/bitcoin/bitcoin/pulls/32810. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. LLM Linter (✨ experimental)Possible typos and grammar issues:
No other typos were found. drahtbot_id_4_m |
The catchup loop in the outbound eviction functional test currently has a small flaw, as the contained waiting for a `getheaders` message just waits for any such message instead of one with the intended block hash. The reason is that the `prev_prev_hash` variable is set incorrectly, since the `tip_header` instance is not updated and its field `.hash` is None. Fix that by updating `tip_header` and use the correct field -- we want the tip header's previous hash (`.hashPrevBlock`). Github-Pull: bitcoin#32742 Rebased-From: dd8447f
3d052fa to
e96d360
Compare
|
ACK e96d360 Verified that the correct commits are being pulled in and the release notes. |
According to the CMake documentation, `HINTS` "should be paths computed by system introspection, such as a hint provided by the location of another item already found", which is precisely the case in the `FindQRencode` module. Entries in `HINTS` are searched before those in `PATHS`. On macOS, Homebrew’s `libqrencode` will therefore be located at its real path rather than via the symlink in the default prefix. Github-Pull: bitcoin#32805 Rebased-From: ead4468
e96d360 to
89b8c5f
Compare
On macOS, this change ensures that the Boost package is located at its real path rather than via the symlink in the default prefix. Github-Pull: bitcoin#32814 Rebased-From: 8800b5a
89b8c5f to
fe8034b
Compare
hebasto
left a comment
There was a problem hiding this comment.
ACK fe8034b09c53f49d02b54f4e55cfe11bbd113fed. I've backported all mentioned PRs locally and got zero diff with this branch.
32-bit architecture is limited to 4GiB, so it doesn't make sense to set a too high value. 500 MB is chosen as an arbitrary maximum value that seems reasonable. Github-Pull: bitcoin#32530 Rebased-From: 2c43b6a
32-bit architecture is limited to 4GiB, so it doesn't make sense to set a too high value. Since this setting is performance critical, pick an arbitrary value higher than for -maxmempool but still reasonable. Github-Pull: bitcoin#32530 Rebased-From: 9f8e7b0
fe8034b to
2909207
Compare
2909207 to
c368c1a
Compare
Github-Pull: bitcoin#32833 Rebased-From: 7dc43ea
c368c1a to
ef2a013
Compare
pinheadmz
left a comment
There was a problem hiding this comment.
ACK ef2a013
Build on macos/arm64 after experiencing issues locally building a checked-out v29.0 GUI with only qt 6 installed. Can confirm these backports solve that problem and GUI runs fine. Did not test the other backports.
Show Signature
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
ACK ef2a013e31cf6fbded5735a998b4c992c176493d
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEE5hdzzW4BBA4vG9eM5+KYS2KJyToFAmhli/0ACgkQ5+KYS2KJ
yTruOxAAm8c/A9GC5xv2ZIHK+F8sCXyDLzXKm0OHHRGXVoalows6vtRbCx6hdS17
UhZFQA+McBLeLz/O3D5wtUROXafXSQ3qveZKjiwJWsi2gve/iK3DF2V9kX8B7YW4
63Oyje5vV+d8xa9UfyzMymWxYU6E9OORp5fjJM6hjudOhKABgaOIet0vF/mpqZL8
IATlFjQ27pFlyzZ0yZWrB8i6IZjrFuBaIM2fWX4Msr8te56h64s0Zp6TRJbOX9r6
ViXnw3N75Zp6zOwW9qa5i24M4Zo+mLYWup1jUhjE0IxibwnFT6/QVbdvl8Q1Vx/R
t8xkxmZr4W+gCBoTkrDJCDb6N5xvWK9N6j70g6VykY7p2pOTbCxmnOYtDovGH+xl
F/StVeqRwwzuH7ys5xw5LBWaWp9M8v0j2gDO4sXK+KZ6UJMEYJmTV7h3iUhGvL2U
QE6vCE8Gbq3DJN+mn5tHPqKYn5Ecr86Wt3CElquGvzS4jtHnhqq1KB8h7UmZQjvg
xNJhibtWa7nao+74/wWo7xiU6/MRgC9/URO/TaSu/2Z10i2U0jJE4w7WpbfOkWQT
r0B55rOV/P2nBQj0Su1s5ltLiuy5PZAfbswoI64Nz9ZgPQIgjff9lent61jXFgNo
TTIC7OOz8+8sL73nXRBqV9n6rCVS1h1Hr0YQcgAumqbU1Td5KfY=
=aEyl
-----END PGP SIGNATURE-----
pinheadmz's public key is on openpgp.org
There was a problem hiding this comment.
re-ACK ef2a013.
Missed credits to @darosior and @ryanofsky?
|
There's going to be another branch, so any credits can be fixed up there. |
ee5b2b9 doc: update release notes for 29.x (fanquake) 73a977c test: Add msgtype to msg_generic slots (dergoegge) 2099559 node: cap -dbcache to 1GiB on 32-bit architectures (Antoine Poinsot) 640428c init: cap -maxmempool to 500 MB on 32-bit systems (Antoine Poinsot) 5583681 cmake: Explicitly specify `Boost_ROOT` for Homebrew's package (Hennadii Stepanov) 62ef58e cmake: Use `HINTS` instead of `PATHS` in `find_*` commands (Hennadii Stepanov) b1b302d test: fix catchup loop in outbound eviction functional test (Sebastian Falbesoner) 2ba2bdb build: add root dir to CMAKE_PREFIX_PATH (will) Pull request description: Backports: * bitcoin#32530 * bitcoin#32742 * bitcoin#32798 * bitcoin#32805 * bitcoin#32814 * bitcoin#32833 Fixes bitcoin#31009. ACKs for top commit: pinheadmz: ACK ee5b2b9 hebasto: re-ACK ee5b2b9. willcl-ark: ACK ee5b2b9 Tree-SHA512: 936ccf732f9fa49acc90de8af0ebf7134aa54dbaf9533c8dfbe08cd178b87a3a091c837d5bb84d61869a69c3c7d499a565b33237b14330a6c66d9c8456d5a261
Backports:
-maxmempooland-dbcachevalues for 32-bit #32530HINTSinstead ofPATHSinfind_*commands #32805Boost_ROOTfor Homebrew's package #32814msgtypetomsg_genericslots #32833Fixes #31009.