This PR is a partial fix for #21454 (see #22281 for the complete fix for the bitcoind
compatibility).
Gitian builds:
0Generating report
15d2b1cf6c0a59796e0e087877faff290a252f79bae1a61aeceeda15e5c316186 bitcoin-530bc278b9fa-aarch64-linux-gnu-debug.tar.gz
2a67a2a8a160d289fabe786e00715eeccf800e418a305d35a774721a74f738a4a bitcoin-530bc278b9fa-aarch64-linux-gnu.tar.gz
3315f787b8f77b55a37bf56201c747f77c5641c6eab1779049fdc65ef6e3aa162 bitcoin-530bc278b9fa-arm-linux-gnueabihf-debug.tar.gz
458d1b886f10b9a6011645bb65795ed0d418433c44b83fe8359ed4b31f501c167 bitcoin-530bc278b9fa-arm-linux-gnueabihf.tar.gz
531eedc8531fca0b4bd76c5b0cbc8799f6621a758e5fe9abda3aef3f264832c89 bitcoin-530bc278b9fa-powerpc64-linux-gnu-debug.tar.gz
679b8ca4bee6fc24a5c3216fed95f341510f15cdaaf04e2b6d4db991a3d077450 bitcoin-530bc278b9fa-powerpc64-linux-gnu.tar.gz
70fcd01009aa80b9c4b567a241d0d56b579756d9f70a1a78e0fa8c015b99d9bfa bitcoin-530bc278b9fa-powerpc64le-linux-gnu-debug.tar.gz
8af63f25b3de98cf2f25b6592dec9c3b4f95021fcc11396fb345c592979b9e4b7 bitcoin-530bc278b9fa-powerpc64le-linux-gnu.tar.gz
9539d6317a7c2cfe6cbecb07eb82ef9b039010ef544cc9a74984a7cb23c03b58a bitcoin-530bc278b9fa-riscv64-linux-gnu-debug.tar.gz
1075ce0a0eabb4555589e632676b2e44df8365f320dea28d9edcd54ec78b4038d1 bitcoin-530bc278b9fa-riscv64-linux-gnu.tar.gz
119dc543d3b0c9ea39e153616132b0c41205a639d0129b752e7151712b8eda54b7 bitcoin-530bc278b9fa-x86_64-linux-gnu-debug.tar.gz
12ba5452615ebd1c1398916837ee1a36233721819c08f48ea12ac7c03ac67526c7 bitcoin-530bc278b9fa-x86_64-linux-gnu.tar.gz
132b618a7b6e99bffc15522ca9f4bc0bfb1187a9bb0b005cc32d23127289644cc1 src/bitcoin-530bc278b9fa.tar.gz
149db429d8b661e2d7a48be8b8f9bcbb3df4e8a6b8cce0bd0660d54c1422c0d696 bitcoin-core-linux-22-res.yml
15Done.
I tested only:
bitcoin-530bc278b9fa-arm-linux-gnueabihf.tar.gz
bitcoin-530bc278b9fa-x86_64-linux-gnu.tar.gz