[23.x] guix: use --build={arch}-guix-linux-gnu in cross toolchain #26474

pull fanquake wants to merge 1 commits into bitcoin:23.x from fanquake:23_x_aarch64_on_aarch64 changing 1 files +17 −12
  1. fanquake commented at 7:24 pm on November 8, 2022: member

    This backports #25861 to the 23.x branch, which fixes Guix building for aarch64-linux-gnu on aarch64 hardware. Fixing Guix building for this HOST, for the current release branch, seems like a worthwhile change, especially given more Guix builders are using aarch64 hardware. I thought I’d already backported this; noticed while building sigs for 23.1rc1, which I started doing on aarch64.

    Guix Build (aarch64, no x86_64-apple-darwin or arm64-apple-darwin):

     09fd4601412738e9135e2732cfc8af911c54af8a1349c2af568b4748dd1907c3d  guix-build-0f4583e5c114/output/aarch64-linux-gnu/SHA256SUMS.part
     136df2797cd7845ccb4f416b52f9dbd4cc7dd0242782c3143206d0c15239e8b02  guix-build-0f4583e5c114/output/aarch64-linux-gnu/bitcoin-0f4583e5c114-aarch64-linux-gnu-debug.tar.gz
     26aa022173b23827ec2690823178b9d2d06108e159a9074e1a54a7d1a74b6c5db  guix-build-0f4583e5c114/output/aarch64-linux-gnu/bitcoin-0f4583e5c114-aarch64-linux-gnu.tar.gz
     31e98b6b5e2b58387106eb8f46367c4a42d03d6a881307ed115e7b6bfa1b2785a  guix-build-0f4583e5c114/output/arm-linux-gnueabihf/SHA256SUMS.part
     4b9ecbfbec1ee941acb7f19fb2ba02bfa24ef5feb0e072a9a8c39263f2cdfb172  guix-build-0f4583e5c114/output/arm-linux-gnueabihf/bitcoin-0f4583e5c114-arm-linux-gnueabihf-debug.tar.gz
     52834aa08f19c03e88e22009e3f860b470fe5942c42ae08041b8e79e28673154b  guix-build-0f4583e5c114/output/arm-linux-gnueabihf/bitcoin-0f4583e5c114-arm-linux-gnueabihf.tar.gz
     69c787047070b1fe8c2beead22093dc73481e7c921993d95fb0e4ce8739f8e515  guix-build-0f4583e5c114/output/dist-archive/bitcoin-0f4583e5c114.tar.gz
     71a82b19a5d07bccdead69b5d9fe9559e01a263b458ea48ff0a701ee9adf55a3c  guix-build-0f4583e5c114/output/powerpc64-linux-gnu/SHA256SUMS.part
     83482de0ff01839aa98ca61b3c8a18de4773dd70e2b306f094b210a6c83839289  guix-build-0f4583e5c114/output/powerpc64-linux-gnu/bitcoin-0f4583e5c114-powerpc64-linux-gnu-debug.tar.gz
     95bb8b7ab8740d6c4a49e8fe700f0305bcc7318eaffc0e3c967492f218774f371  guix-build-0f4583e5c114/output/powerpc64-linux-gnu/bitcoin-0f4583e5c114-powerpc64-linux-gnu.tar.gz
    105442e495049b386b8ec5bc50c06feb401fb263e25f0807aa58e7e8c091c42be7  guix-build-0f4583e5c114/output/powerpc64le-linux-gnu/SHA256SUMS.part
    11d685b1449379a3a1be139f243917d9987169cbc9901c7658a12044d27ce2762d  guix-build-0f4583e5c114/output/powerpc64le-linux-gnu/bitcoin-0f4583e5c114-powerpc64le-linux-gnu-debug.tar.gz
    1214edbaf4c93346460ecff72ca22285c433c7dea5f9ccaccb4b49730f95d2d264  guix-build-0f4583e5c114/output/powerpc64le-linux-gnu/bitcoin-0f4583e5c114-powerpc64le-linux-gnu.tar.gz
    13dec22e0f59513c3697de3c6906deb355010af36836285ab306de1ea8e4b88ff3  guix-build-0f4583e5c114/output/riscv64-linux-gnu/SHA256SUMS.part
    14d70b6b6d1a2950292e820898af8a79d850b415829bbb94db97b742f3ab7cc7d3  guix-build-0f4583e5c114/output/riscv64-linux-gnu/bitcoin-0f4583e5c114-riscv64-linux-gnu-debug.tar.gz
    15b5fd33257a81efacc61946b544e5af1582c9729fa57641ff3625d34f0e785cfd  guix-build-0f4583e5c114/output/riscv64-linux-gnu/bitcoin-0f4583e5c114-riscv64-linux-gnu.tar.gz
    1630b6668d9e84503d2e2113a87051d3c5baeae8ad6b3fa3df7509d447c8d5f341  guix-build-0f4583e5c114/output/x86_64-linux-gnu/SHA256SUMS.part
    1733a6c5072328281872678fc0d709629f934fac05bdfb2e41cccf2ddd5724925b  guix-build-0f4583e5c114/output/x86_64-linux-gnu/bitcoin-0f4583e5c114-x86_64-linux-gnu-debug.tar.gz
    18c1c2ec074a88c6f0202ab067bd126c217573d028b3b1eb538db100eb0e316b53  guix-build-0f4583e5c114/output/x86_64-linux-gnu/bitcoin-0f4583e5c114-x86_64-linux-gnu.tar.gz
    192689a7cce5d1fc6decbb5dfd1361db21adc1c485ee4c644cdebf403b1d533be6  guix-build-0f4583e5c114/output/x86_64-w64-mingw32/SHA256SUMS.part
    209d6259432febdc1be728db0088a0464fa844dc4ad20e7b752be6de312588a695  guix-build-0f4583e5c114/output/x86_64-w64-mingw32/bitcoin-0f4583e5c114-win64-debug.zip
    21e3e7cd45b6ed6e8a589efe2436e151120af0c1146772ce295c06300289e0b758  guix-build-0f4583e5c114/output/x86_64-w64-mingw32/bitcoin-0f4583e5c114-win64-setup-unsigned.exe
    221da1569b0140ad917b938ce8b087d3d8990331df3042d62a36d1366d9e5f0f42  guix-build-0f4583e5c114/output/x86_64-w64-mingw32/bitcoin-0f4583e5c114-win64-unsigned.tar.gz
    23cbd74726e5704f6007e2344422197a25b9872a3a5f525a1a0b5774c833fc7e78  guix-build-0f4583e5c114/output/x86_64-w64-mingw32/bitcoin-0f4583e5c114-win64.zip
    
  2. guix: use --build={arch}-guix-linux-gnu in cross toolchain
    Technically we are always cross-compiling, so make that explicit.
    
    Fixes: #22458.
    
    Github-Pull: #25861
    Rebased-From: 56e79fe683d36c1944e52326fae3bcc4cb7deec7
    0f4583e5c1
  3. fanquake added the label Build system on Nov 8, 2022
  4. fanquake added the label Backport on Nov 8, 2022
  5. fanquake added the label DrahtBot Guix build requested on Nov 8, 2022
  6. maflcko removed the label Build system on Nov 9, 2022
  7. maflcko removed the label DrahtBot Guix build requested on Nov 9, 2022
  8. maflcko removed the label Backport on Nov 9, 2022
  9. DrahtBot added the label Backport on Nov 9, 2022
  10. maflcko added this to the milestone 23.1 on Nov 9, 2022
  11. hebasto approved
  12. hebasto commented at 2:14 pm on November 9, 2022: member

    ACK 0f4583e5c114e13c3c937f1832ab0c39751cf38c, tested on arm64:

    09fd4601412738e9135e2732cfc8af911c54af8a1349c2af568b4748dd1907c3d  guix-build-0f4583e5c114/output/aarch64-linux-gnu/SHA256SUMS.part
    136df2797cd7845ccb4f416b52f9dbd4cc7dd0242782c3143206d0c15239e8b02  guix-build-0f4583e5c114/output/aarch64-linux-gnu/bitcoin-0f4583e5c114-aarch64-linux-gnu-debug.tar.gz
    26aa022173b23827ec2690823178b9d2d06108e159a9074e1a54a7d1a74b6c5db  guix-build-0f4583e5c114/output/aarch64-linux-gnu/bitcoin-0f4583e5c114-aarch64-linux-gnu.tar.gz
    39c787047070b1fe8c2beead22093dc73481e7c921993d95fb0e4ce8739f8e515  guix-build-0f4583e5c114/output/dist-archive/bitcoin-0f4583e5c114.tar.gz
    
  13. jarolrod commented at 9:27 pm on November 10, 2022: member

    GUIX hashes

    x86 (not really relevant for this pr):

     0a09d79d83f14b91c16da52019a5be089923848cfafe236cb75ecb6f1817d1386  guix-build-0f4583e5c114/output/aarch64-linux-gnu/SHA256SUMS.part
     1bdad547936b51c7708ef6cb452874bed3da6054f135f211f018ec8c42e47c433  guix-build-0f4583e5c114/output/aarch64-linux-gnu/bitcoin-0f4583e5c114-aarch64-linux-gnu-debug.tar.gz
     25ae9c7e67203a8363ed91dea91676e0f03ba5a26eefbea185c0a8b37ae8f8f67  guix-build-0f4583e5c114/output/aarch64-linux-gnu/bitcoin-0f4583e5c114-aarch64-linux-gnu.tar.gz
     38ad29419253e0352e5c389544042cdd59d38121388979af921d64fe0e33593c6  guix-build-0f4583e5c114/output/arm-linux-gnueabihf/SHA256SUMS.part
     482b059f9534eec57607354445f7ae1f1c3156f87a8a12a6d42051e25edf120d5  guix-build-0f4583e5c114/output/arm-linux-gnueabihf/bitcoin-0f4583e5c114-arm-linux-gnueabihf-debug.tar.gz
     57f5486e2a16f9438178afaa7b44d1d8429bf3a295a6cfd291e55352a3db3e41f  guix-build-0f4583e5c114/output/arm-linux-gnueabihf/bitcoin-0f4583e5c114-arm-linux-gnueabihf.tar.gz
     6d693e2d9bd66c6171fabcc79aa402219c844e86e1671a6b63d2e99c4eb85d523  guix-build-0f4583e5c114/output/arm64-apple-darwin/SHA256SUMS.part
     71bd00c46420f246645e36972c7472ef6f2cd7728a6e440de4a9766e59d263b48  guix-build-0f4583e5c114/output/arm64-apple-darwin/bitcoin-0f4583e5c114-arm64-apple-darwin-unsigned.dmg
     8d315a624091da96f3aef9aff869959018333578963f937695f07ab0840d538c0  guix-build-0f4583e5c114/output/arm64-apple-darwin/bitcoin-0f4583e5c114-arm64-apple-darwin-unsigned.tar.gz
     9f2554441d2cedd6d0af6ece9ffe232c7abf885d8a7a996437dad7618a23e8258  guix-build-0f4583e5c114/output/arm64-apple-darwin/bitcoin-0f4583e5c114-arm64-apple-darwin.tar.gz
    109c787047070b1fe8c2beead22093dc73481e7c921993d95fb0e4ce8739f8e515  guix-build-0f4583e5c114/output/dist-archive/bitcoin-0f4583e5c114.tar.gz
    1117b4cc48b486da56d1764d1fe6fdc45cae1fa835613c4305e3590a8cb826b17b  guix-build-0f4583e5c114/output/powerpc64-linux-gnu/SHA256SUMS.part
    124c037dbac2939d782e1d69db8132d31ef200daa561f08ee576ef03664838ce3c  guix-build-0f4583e5c114/output/powerpc64-linux-gnu/bitcoin-0f4583e5c114-powerpc64-linux-gnu-debug.tar.gz
    13c684448c34f4f6310eb8ded94ba2634122a997131218caf8625ea79c4770ead9  guix-build-0f4583e5c114/output/powerpc64-linux-gnu/bitcoin-0f4583e5c114-powerpc64-linux-gnu.tar.gz
    14d3a735beede8e372c877b24d7edf68bdd56778afce26b71ee0a63cc1c78989bd  guix-build-0f4583e5c114/output/powerpc64le-linux-gnu/SHA256SUMS.part
    154b39f35465f222fca40a839e0989583ab000b2e495743e2962aa62b29bfd3072  guix-build-0f4583e5c114/output/powerpc64le-linux-gnu/bitcoin-0f4583e5c114-powerpc64le-linux-gnu-debug.tar.gz
    167e625a24699cb391345dfe01d3ee22d8da67753d4913d988d012f403ae2398a1  guix-build-0f4583e5c114/output/powerpc64le-linux-gnu/bitcoin-0f4583e5c114-powerpc64le-linux-gnu.tar.gz
    17df12ad5fae818c517f4ec716e8d7b2c4afde549367bd5d290fa245622ad9ef9f  guix-build-0f4583e5c114/output/riscv64-linux-gnu/SHA256SUMS.part
    188e368d8296b30b0986eeb1a74b3adbfd82405614835a4f8247680197632ae8d6  guix-build-0f4583e5c114/output/riscv64-linux-gnu/bitcoin-0f4583e5c114-riscv64-linux-gnu-debug.tar.gz
    195564ce5d614359aef7f3983b3c059bffd73e4990ce6985d75202cce0146d3742  guix-build-0f4583e5c114/output/riscv64-linux-gnu/bitcoin-0f4583e5c114-riscv64-linux-gnu.tar.gz
    20827afe69ad5f1bade4dbb6986a6b65fca9bed421af64032f5550fe2768afb248  guix-build-0f4583e5c114/output/x86_64-apple-darwin/SHA256SUMS.part
    213eeec021ae13b1467ca8d2a8ee026876ce226925148e65de801b4ae7acc72e19  guix-build-0f4583e5c114/output/x86_64-apple-darwin/bitcoin-0f4583e5c114-x86_64-apple-darwin-unsigned.dmg
    22439eed38bedf352c97d9eb62341589e4173b0cfbc205b338b9e5a6c171239546  guix-build-0f4583e5c114/output/x86_64-apple-darwin/bitcoin-0f4583e5c114-x86_64-apple-darwin-unsigned.tar.gz
    23f9a8bfbf60683bac6b7ad8dcb7ae0afea92b634d4d0dbf6102bb8e44aa13c832  guix-build-0f4583e5c114/output/x86_64-apple-darwin/bitcoin-0f4583e5c114-x86_64-apple-darwin.tar.gz
    24034a2a502323bb7014ad9776d206d6d5deace4766f9aa7cf14d447f4cfd36000  guix-build-0f4583e5c114/output/x86_64-linux-gnu/SHA256SUMS.part
    25e6ea6090fb1f83ea2e5f6d8517a2573026059f2847a629a0af159252c9553b13  guix-build-0f4583e5c114/output/x86_64-linux-gnu/bitcoin-0f4583e5c114-x86_64-linux-gnu-debug.tar.gz
    266103ce9acca0622ae672e5050fb147ee40d4f864accbd717522503aa2c8f6a38  guix-build-0f4583e5c114/output/x86_64-linux-gnu/bitcoin-0f4583e5c114-x86_64-linux-gnu.tar.gz
    27d6c8c519a32697cbc08486a9d415ee43f0a32a005f44d7b731f1d4d0f779e0d9  guix-build-0f4583e5c114/output/x86_64-w64-mingw32/SHA256SUMS.part
    286178f2daee93e987e90627258865eb2fd712acbec0d408b54bf6edc20afd8f96  guix-build-0f4583e5c114/output/x86_64-w64-mingw32/bitcoin-0f4583e5c114-win64-debug.zip
    29e3e7cd45b6ed6e8a589efe2436e151120af0c1146772ce295c06300289e0b758  guix-build-0f4583e5c114/output/x86_64-w64-mingw32/bitcoin-0f4583e5c114-win64-setup-unsigned.exe
    301da1569b0140ad917b938ce8b087d3d8990331df3042d62a36d1366d9e5f0f42  guix-build-0f4583e5c114/output/x86_64-w64-mingw32/bitcoin-0f4583e5c114-win64-unsigned.tar.gz
    3142ca93f1ba50e5a021063c1bdfd4ccbd747615356794cfab2c73d26e81498fc3  guix-build-0f4583e5c114/output/x86_64-w64-mingw32/bitcoin-0f4583e5c114-win64.zip
    

    arm64 (building):

     09fd4601412738e9135e2732cfc8af911c54af8a1349c2af568b4748dd1907c3d  guix-build-0f4583e5c114/output/aarch64-linux-gnu/SHA256SUMS.part
     136df2797cd7845ccb4f416b52f9dbd4cc7dd0242782c3143206d0c15239e8b02  guix-build-0f4583e5c114/output/aarch64-linux-gnu/bitcoin-0f4583e5c114-aarch64-linux-gnu-debug.tar.gz
     26aa022173b23827ec2690823178b9d2d06108e159a9074e1a54a7d1a74b6c5db  guix-build-0f4583e5c114/output/aarch64-linux-gnu/bitcoin-0f4583e5c114-aarch64-linux-gnu.tar.gz
     31e98b6b5e2b58387106eb8f46367c4a42d03d6a881307ed115e7b6bfa1b2785a  guix-build-0f4583e5c114/output/arm-linux-gnueabihf/SHA256SUMS.part
     4b9ecbfbec1ee941acb7f19fb2ba02bfa24ef5feb0e072a9a8c39263f2cdfb172  guix-build-0f4583e5c114/output/arm-linux-gnueabihf/bitcoin-0f4583e5c114-arm-linux-gnueabihf-debug.tar.gz
     52834aa08f19c03e88e22009e3f860b470fe5942c42ae08041b8e79e28673154b  guix-build-0f4583e5c114/output/arm-linux-gnueabihf/bitcoin-0f4583e5c114-arm-linux-gnueabihf.tar.gz
     69c787047070b1fe8c2beead22093dc73481e7c921993d95fb0e4ce8739f8e515  guix-build-0f4583e5c114/output/dist-archive/bitcoin-0f4583e5c114.tar.gz
     71a82b19a5d07bccdead69b5d9fe9559e01a263b458ea48ff0a701ee9adf55a3c  guix-build-0f4583e5c114/output/powerpc64-linux-gnu/SHA256SUMS.part
     83482de0ff01839aa98ca61b3c8a18de4773dd70e2b306f094b210a6c83839289  guix-build-0f4583e5c114/output/powerpc64-linux-gnu/bitcoin-0f4583e5c114-powerpc64-linux-gnu-debug.tar.gz
     95bb8b7ab8740d6c4a49e8fe700f0305bcc7318eaffc0e3c967492f218774f371  guix-build-0f4583e5c114/output/powerpc64-linux-gnu/bitcoin-0f4583e5c114-powerpc64-linux-gnu.tar.gz
    105442e495049b386b8ec5bc50c06feb401fb263e25f0807aa58e7e8c091c42be7  guix-build-0f4583e5c114/output/powerpc64le-linux-gnu/SHA256SUMS.part
    11d685b1449379a3a1be139f243917d9987169cbc9901c7658a12044d27ce2762d  guix-build-0f4583e5c114/output/powerpc64le-linux-gnu/bitcoin-0f4583e5c114-powerpc64le-linux-gnu-debug.tar.gz
    1214edbaf4c93346460ecff72ca22285c433c7dea5f9ccaccb4b49730f95d2d264  guix-build-0f4583e5c114/output/powerpc64le-linux-gnu/bitcoin-0f4583e5c114-powerpc64le-linux-gnu.tar.gz
    13dec22e0f59513c3697de3c6906deb355010af36836285ab306de1ea8e4b88ff3  guix-build-0f4583e5c114/output/riscv64-linux-gnu/SHA256SUMS.part
    14d70b6b6d1a2950292e820898af8a79d850b415829bbb94db97b742f3ab7cc7d3  guix-build-0f4583e5c114/output/riscv64-linux-gnu/bitcoin-0f4583e5c114-riscv64-linux-gnu-debug.tar.gz
    15b5fd33257a81efacc61946b544e5af1582c9729fa57641ff3625d34f0e785cfd  guix-build-0f4583e5c114/output/riscv64-linux-gnu/bitcoin-0f4583e5c114-riscv64-linux-gnu.tar.gz
    1630b6668d9e84503d2e2113a87051d3c5baeae8ad6b3fa3df7509d447c8d5f341  guix-build-0f4583e5c114/output/x86_64-linux-gnu/SHA256SUMS.part
    1733a6c5072328281872678fc0d709629f934fac05bdfb2e41cccf2ddd5724925b  guix-build-0f4583e5c114/output/x86_64-linux-gnu/bitcoin-0f4583e5c114-x86_64-linux-gnu-debug.tar.gz
    18c1c2ec074a88c6f0202ab067bd126c217573d028b3b1eb538db100eb0e316b53  guix-build-0f4583e5c114/output/x86_64-linux-gnu/bitcoin-0f4583e5c114-x86_64-linux-gnu.tar.gz
    192689a7cce5d1fc6decbb5dfd1361db21adc1c485ee4c644cdebf403b1d533be6  guix-build-0f4583e5c114/output/x86_64-w64-mingw32/SHA256SUMS.part
    209d6259432febdc1be728db0088a0464fa844dc4ad20e7b752be6de312588a695  guix-build-0f4583e5c114/output/x86_64-w64-mingw32/bitcoin-0f4583e5c114-win64-debug.zip
    21e3e7cd45b6ed6e8a589efe2436e151120af0c1146772ce295c06300289e0b758  guix-build-0f4583e5c114/output/x86_64-w64-mingw32/bitcoin-0f4583e5c114-win64-setup-unsigned.exe
    221da1569b0140ad917b938ce8b087d3d8990331df3042d62a36d1366d9e5f0f42  guix-build-0f4583e5c114/output/x86_64-w64-mingw32/bitcoin-0f4583e5c114-win64-unsigned.tar.gz
    23cbd74726e5704f6007e2344422197a25b9872a3a5f525a1a0b5774c833fc7e78  guix-build-0f4583e5c114/output/x86_64-w64-mingw32/bitcoin-0f4583e5c114-win64.zip
    
  14. jarolrod approved
  15. jarolrod commented at 7:53 pm on November 11, 2022: member

    ACK 0f4583e5c114e13c3c937f1832ab0c39751cf38c

    tested on aarch64 linux

  16. fanquake merged this on Nov 14, 2022
  17. fanquake closed this on Nov 14, 2022

  18. fanquake deleted the branch on Nov 14, 2022
  19. fanquake referenced this in commit ea9aa3f02f on Nov 22, 2022
  20. jamesdorfman referenced this in commit 71f59f8b35 on Sep 25, 2023
  21. bitcoin locked this on Nov 14, 2023


fanquake hebasto jarolrod

Labels
Backport

Milestone
23.1


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-05 00:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me