build: LLD based macOS toolchain #21778

pull fanquake wants to merge 8 commits into bitcoin:master from fanquake:llvm_13_ld64_lld changing 18 files +66 −162
  1. fanquake commented at 7:40 am on April 26, 2021: member

    This switches us to using a LLD based toolchain for macOS builds.

    Benefits

  2. fanquake added the label macOS on Apr 26, 2021
  3. fanquake added the label Build system on Apr 26, 2021
  4. DrahtBot commented at 8:36 am on April 26, 2021: contributor

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

    Code Coverage

    For detailed information about the code coverage, see the test coverage report.

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK theuni
    Concept ACK hebasto, michaelfolkson

    If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #30022 (releases: use LLVM 18 for macOS by fanquake)
    • #29881 (guix: use GCC 13 to builds releases by fanquake)
    • #29072 (build: use -no_exported_symbols on macOS by fanquake)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  5. ryanofsky commented at 1:54 pm on April 26, 2021: contributor

    This definitely seems like a good thing to add support for, but it seems sad to have to drop support for the open source compiler at the same time as adding support for the closed source one. I don’t know enough about this to have an informed opinion, though.

    EDIT: Just a misunderstanding

  6. fanquake commented at 1:59 pm on April 26, 2021: member

    but it seems sad to have to drop support for the open source compiler at the same time as adding support for the closed source one.

    I might be misunderstanding your comment, but the opposite is happening here. We’re migrating away from using Apples, irregularly open sourced tools (cctools, ld64), to just vanilla LLVM (lld), which is entirely open source.

  7. ryanofsky commented at 2:11 pm on April 26, 2021: contributor

    I might be misunderstanding your comment, but the opposite is happening here. We’re migrating away from using Apples, irregularly open sourced tools (cctools, ld64), to just vanilla LLVM (lld), which is entirely open source.

    My bad! I thought this was switching from an unsupported apple open-source toolchain to an supported apple closed source toolchain, not to a vanilla toolchain. My blinding hate of apple has kept me from seeing reality! Thanks for the clarification. This all seems very good.

  8. theuni commented at 6:58 pm on April 26, 2021: member

    Very nice! Strong concept ACK, but obviously we can’t use this until all features we need are supported. But it’s great to see that linking finally works!

    For a little extra context beyond what @fanquake said above, the macOS clang+cctools build has always been a wonky outlier because we have to build our own (very unsupported) toolchain first. LD64 is apple’s libre/open-source linker, and there is a community project that maintains a build environment for cross builds.

    For a few years, there has been slow development on a darwin functionality for llvm’s lld, but it’s only really picked up speed and become usable in the last year or two. This PR would bring our Apple builds much more inline with others in that it would finally be using a supported libre/open-source compiler/linker combo. @fanquake Is cctools still needed at all? LLVM ships bitcode equivalents of most binutils tools (ar, nm, ranlib, etc), I wonder if we can use those instead. Maybe they require lto?

  9. fanquake commented at 3:06 am on April 28, 2021: member

    Is cctools still needed at all? LLVM ships bitcode equivalents of most binutils tools (ar, nm, ranlib, etc), I wonder if we can use those instead. Maybe they require lto? @theuni no cctools is no longer required. I drop the native_cctools as part of this PR and we just use the LLVM tools.

  10. theuni commented at 4:32 am on April 28, 2021: member

    @theuni no cctools is no longer required. I drop the native_cctools as part of this PR and we just use the LLVM tools.

    Apologies for reading too quickly, I see now that I only looked at the first commit. Turns out the 3rd one is the one I expected :)

  11. fanquake force-pushed on May 1, 2021
  12. fanquake commented at 6:10 am on May 1, 2021: member

    Rebased for #21793, and rebased on top of #19817. Made some additional changes, such as renaming the native_cctools package to native_llvm, and removed some now-redundant info from the macdeploy documentation.

    Note: I’m pretty sure the use of ZERO_AR_DATE can now be dropped entirely, but have left that out for now.

  13. fanquake force-pushed on May 3, 2021
  14. fanquake force-pushed on Jun 4, 2021
  15. fanquake force-pushed on Jul 20, 2021
  16. fanquake force-pushed on Oct 11, 2021
  17. fanquake force-pushed on Oct 11, 2021
  18. fanquake force-pushed on Oct 11, 2021
  19. fanquake force-pushed on Oct 11, 2021
  20. fanquake force-pushed on Oct 11, 2021
  21. fanquake force-pushed on Oct 11, 2021
  22. fanquake force-pushed on Oct 12, 2021
  23. DrahtBot added the label Needs rebase on Feb 9, 2022
  24. fanquake force-pushed on Feb 11, 2022
  25. DrahtBot removed the label Needs rebase on Feb 11, 2022
  26. fanquake renamed this:
    POC: LLVM 13 & LLD based macOS toolchain
    POC: LLVM 14 & LLD based macOS toolchain
    on Feb 11, 2022
  27. fanquake force-pushed on Feb 11, 2022
  28. fanquake renamed this:
    POC: LLVM 14 & LLD based macOS toolchain
    build: LLVM 14 & LLD based macOS toolchain
    on Feb 11, 2022
  29. fanquake added this to the milestone 24.0 on Feb 11, 2022
  30. fanquake marked this as ready for review on Feb 11, 2022
  31. fanquake referenced this in commit 8fe6f5a6fb on Feb 14, 2022
  32. DrahtBot added the label Needs rebase on Feb 14, 2022
  33. sidhujag referenced this in commit 82740f8612 on Feb 15, 2022
  34. fanquake force-pushed on Mar 8, 2022
  35. fanquake force-pushed on Mar 8, 2022
  36. fanquake force-pushed on Mar 8, 2022
  37. DrahtBot removed the label Needs rebase on Mar 8, 2022
  38. fanquake force-pushed on Mar 8, 2022
  39. fanquake commented at 2:25 pm on March 8, 2022: member

    Sorry for the noise. This is now pointing at LLVM 14.0.0 rc2, and no longer using binaries I compiled, given the release on GitHub has the binaries we need.

    The build is currently failing for Qt, something to follow up with:

    01 warning generated.
    1x86_64-apple-darwin-ranlib: error: Invalid option: '-no_warning_for_no_symbols'
    2make[4]: *** [Makefile:436: ../../lib/libQt5Network.a] Error 1
    
  40. hebasto commented at 7:51 pm on March 13, 2022: member
    Concept ACK.
  41. in depends/packages/native_llvm.mk:4 in 3a29bd9fc6 outdated
    0@@ -0,0 +1,34 @@
    1+package=native_llvm
    2+$(package)_version=14.0.0-rc2
    3+ifneq (,$(findstring aarch64,$(BUILD)))
    4+$(package)_download_path=https://github.com/llvm/llvm-project/releases/download/llvmorg-$($(package)_version)
    


    hebasto commented at 1:56 pm on March 20, 2022:
    This line could moved out of ifneq statement,

    fanquake commented at 9:44 am on March 21, 2022:
    Done in next push.
  42. hebasto commented at 5:11 pm on March 20, 2022: member

    The build is currently failing for Qt, something to follow up with:

    01 warning generated.
    1x86_64-apple-darwin-ranlib: error: Invalid option: '-no_warning_for_no_symbols'
    2make[4]: *** [Makefile:436: ../../lib/libQt5Network.a] Error 1
    

    I think the https://github.com/qt/qtbase/commit/9a1eb86f3d4cd4b0d99f053f9bc9d304289b99f7 commit is responsible for that error. Reverting of its changes in mkspecs/features/qt_build_config.prf should fix the error.

  43. hebasto commented at 5:21 pm on March 20, 2022: member

    I’m still wondering why does the Qt build system recognize llvm’s clang as Apple’s clang:

    0$ make -C depends qt_configured HOST=x86_64-apple-darwin
    1...
    2Configure summary:
    3
    4Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
    5Building for: macx-clang-linux (x86_64, CPU features: cx16 mmx sse sse2 sse3 ssse3 sse4.1)
    6Target compiler: clang (Apple) 14.0.0
    7Configuration: cross_compile sse2 aesni sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl f16c largefile precompile_header rdrnd rdseed shani silent x86SimdAlways release c++11 c++14 c++17 c++1z reduce_exports static stl
    

    ?

    Here is the relevant Qt’s code:

    0#  ifdef __apple_build_version__ // Apple clang has other version numbers
    1#    define COMPILER_STRING "Clang " __clang_version__ " (Apple)"
    2#  else
    3#    define COMPILER_STRING "Clang " __clang_version__
    4#  endif
    
  44. fanquake added the label Review club on Mar 21, 2022
  45. fanquake force-pushed on Mar 21, 2022
  46. fanquake commented at 11:31 am on March 21, 2022: member

    Rebased to include #24613.

    Reverting of its changes in mkspecs/features/qt_build_config.prf should fix the error.

    I’ve added a qt patch that does this. However note that bitcoin-qt still isn’t being built because of duplicate symbol issues when running our configure checks.

    Note that this week the review club is looking at this PR. There are improvements / changes that could be made here, some which I noticed while writing the questions, but I’ll leave any followup changes until after Wednesday.

  47. in depends/patches/qt/no_warnings_for_symbols.patch:14 in ee74be5e8d outdated
     9+ 
    10+ # We have to tell 'ar' to not run ranlib by itself
    11+ QMAKE_AR += -S
    12+-- 
    13+2.35.1
    14+
    


    hebasto commented at 2:04 pm on March 21, 2022:

    ee74be5e8d852beebe8775098256544d58ee3c71

    The last 3 lines seem do not belong to the patch.


    fanquake commented at 8:35 pm on March 23, 2022:
    Fixed.
  48. hebasto commented at 3:39 pm on March 21, 2022: member

    However note that bitcoin-qt still isn’t being built because of duplicate symbol issues when running our configure checks.

    0x86_64-apple-darwin-ld: error: duplicate symbol: __Z10lcQpaFontsv
    1>>> defined in /home/hebasto/GitHub/bitcoin/depends/x86_64-apple-darwin/lib/libQt5ThemeSupport.a(qgenericunixthemes.o)
    2>>> defined in /home/hebasto/GitHub/bitcoin/depends/x86_64-apple-darwin/lib/libQt5FontDatabaseSupport.a(qfontengine_coretext.o)
    
  49. hebasto commented at 5:37 pm on March 23, 2022: member
  50. michaelfolkson commented at 6:22 pm on March 23, 2022: contributor

    Concept ACK

    After the PR review club I agree moving from a non-standard toolchain to using clang and lld is preferable now that lld can be used for this purpose.

  51. fanquake removed the label Review club on Mar 23, 2022
  52. fanquake force-pushed on Mar 23, 2022
  53. fanquake commented at 8:36 pm on March 23, 2022: member

    Bump to https://github.com/llvm/llvm-project/tree/llvmorg-14.0.0?

    I will do once binaries are available, currently there is only aarch64.

    Rebased and dropped the redundant preprocessing step.

  54. fanquake force-pushed on Mar 25, 2022
  55. fanquake commented at 10:20 am on March 25, 2022: member
  56. fanquake force-pushed on Mar 28, 2022
  57. fanquake commented at 12:20 pm on March 28, 2022: member

    Update ZERO_AR_DATE docs / comments.

    lld (and ld64) also respects ZERO_AR_DATE, so I’ve resolved this TODO by removing the documentation block about cctools and ar.

  58. fanquake force-pushed on Mar 31, 2022
  59. fanquake commented at 11:24 am on March 31, 2022: member
    Rebased this on top of #24722, which should resolve the qt issue (libbitcoinconsensus will still cause the CI to fail), and have updated the PR description.
  60. fanquake referenced this in commit a7f0c37c2b on Apr 1, 2022
  61. fanquake force-pushed on Apr 1, 2022
  62. sidhujag referenced this in commit c2266a52f5 on Apr 3, 2022
  63. DrahtBot added the label Needs rebase on Apr 4, 2022
  64. fanquake force-pushed on Apr 4, 2022
  65. DrahtBot removed the label Needs rebase on Apr 4, 2022
  66. PastaPastaPasta referenced this in commit f344e9fc65 on Apr 7, 2022
  67. PastaPastaPasta referenced this in commit 9fb3edaae7 on Apr 11, 2022
  68. fanquake commented at 7:51 am on April 13, 2022: member
    LLVM 14.0.1 is out. Will switch to using that once binaries are available.
  69. fanquake force-pushed on Apr 21, 2022
  70. fanquake commented at 8:15 am on April 21, 2022: member
    Rebased past #24031. Still waiting on binaries for 14.0.1.
  71. DrahtBot added the label Needs rebase on May 5, 2022
  72. gades referenced this in commit abe009083d on May 8, 2022
  73. fanquake referenced this in commit 298389e3b5 on May 9, 2022
  74. fanquake referenced this in commit e3bab43329 on May 12, 2022
  75. fanquake force-pushed on May 12, 2022
  76. fanquake commented at 7:47 am on May 12, 2022: member
    Rebased. Now that 298389e3b51edf561a2b636df0948a232167693a is merged, I’ve added a commit to use clang-toolchain-14 in the Guix build (which will still fail in this PR). That, and a change to use LLVM 14.0.3 (once the Ubuntu binaries are available) could be split off from here.
  77. DrahtBot removed the label Needs rebase on May 12, 2022
  78. sidhujag referenced this in commit c2552695a0 on May 13, 2022
  79. maflcko added the label DrahtBot Guix build requested on May 16, 2022
  80. DrahtBot added the label Needs rebase on May 18, 2022
  81. fanquake force-pushed on May 18, 2022
  82. DrahtBot removed the label Needs rebase on May 18, 2022
  83. DrahtBot commented at 11:02 am on May 19, 2022: contributor

    Guix builds

    File commit d5d40d59f8d12cf53c5ad1ce9710f3f108cec386(master) commit 14980b5f6e23d992b26de07f3d63c3f459fb5f6d(master and this pull)
    SHA256SUMS.part cab0d9d09ea27cfc... d456160c8eab62f3...
    *-aarch64-linux-gnu-debug.tar.gz 69c2b08f181c1031... e9c4cc1132c3b75d...
    *-aarch64-linux-gnu.tar.gz 8eef97ef242d9f63... a6de3e65007ece5d...
    *-arm-linux-gnueabihf-debug.tar.gz ba9ffc1a6d127bda... 088424c512382caf...
    *-arm-linux-gnueabihf.tar.gz b405a357bd56add3... 817ccc4857767011...
    *-arm64-apple-darwin-unsigned.dmg 071f6058647f3422...
    *-arm64-apple-darwin-unsigned.tar.gz 9ded0dff772f4985...
    *-arm64-apple-darwin.tar.gz d3b09d43fff7cf71...
    *-powerpc64-linux-gnu-debug.tar.gz 6807f83db05bd92f... 8f8708b5548565d7...
    *-powerpc64-linux-gnu.tar.gz bcb7c18febb8c7e7... 759e0279eca4b782...
    *-powerpc64le-linux-gnu-debug.tar.gz 9d7a2bde6fea97dc... 62446c089353add3...
    *-powerpc64le-linux-gnu.tar.gz bbdce47e47846a77... b088fa6630a62109...
    *-riscv64-linux-gnu-debug.tar.gz 505e9e46e0305cdd... 89611d6bdc8e02ed...
    *-riscv64-linux-gnu.tar.gz 5dcf4ba127a19567... fbe00cb4f7e78b5e...
    *-win64-debug.zip 8df89f22bffe27a1... f78b99b9e92b7edb...
    *-win64-setup-unsigned.exe 23e7dbf89c825ed5... 7db42e54a2b69318...
    *-win64-unsigned.tar.gz 556700a31e066eb5... cfbc1c47bcddb8c3...
    *-win64.zip f12b0c953ab0d773... 94158a5a18fae950...
    *-x86_64-apple-darwin-unsigned.dmg 6aa5d41c509e5204...
    *-x86_64-apple-darwin-unsigned.tar.gz a047685b83801fd8...
    *-x86_64-apple-darwin.tar.gz 7be4d9ebd6cf3185...
    *-x86_64-linux-gnu-debug.tar.gz b34579395298c9e3... 43a78ef875253251...
    *-x86_64-linux-gnu.tar.gz 02b9019f43e53043... 5800879585404fbc...
    *.tar.gz 19a6f889b2c5d60f... 7003bdd4301e049b...
    guix_build.log db443c423abd9fc5... defd3eb3c30f0de1...
    guix_build.log.diff 7f0842e23cb8792a...
  84. DrahtBot removed the label DrahtBot Guix build requested on May 19, 2022
  85. fanquake force-pushed on Jun 9, 2022
  86. fanquake force-pushed on Jun 21, 2022
  87. fanquake force-pushed on Jul 18, 2022
  88. DrahtBot added the label Needs rebase on Jul 19, 2022
  89. fanquake force-pushed on Jul 20, 2022
  90. DrahtBot removed the label Needs rebase on Jul 20, 2022
  91. fanquake removed this from the milestone 24.0 on Jul 20, 2022
  92. fanquake commented at 9:51 am on July 20, 2022: member
    This isn’t going to make it for 24.0, so have dropped it from the milestone.
  93. DrahtBot added the label Needs rebase on Aug 1, 2022
  94. fanquake force-pushed on Aug 1, 2022
  95. DrahtBot removed the label Needs rebase on Aug 1, 2022
  96. fanquake force-pushed on Aug 4, 2022
  97. fanquake force-pushed on Sep 4, 2022
  98. fanquake force-pushed on Oct 10, 2022
  99. fanquake force-pushed on Oct 12, 2022
  100. dekm referenced this in commit 9ec46940a4 on Oct 27, 2022
  101. dekm referenced this in commit 7be91387dd on Nov 7, 2022
  102. dekm referenced this in commit 70b22f0f88 on Nov 12, 2022
  103. fanquake force-pushed on Nov 18, 2022
  104. fanquake force-pushed on Nov 25, 2022
  105. fanquake force-pushed on Jan 13, 2023
  106. fanquake force-pushed on Jan 16, 2023
  107. fanquake renamed this:
    build: LLVM 14 & LLD based macOS toolchain
    build: LLVM 15 & LLD based macOS toolchain
    on Jan 16, 2023
  108. fanquake commented at 3:43 pm on January 16, 2023: member
    Kicked this along to LLVM 15.x. Note that a Guix build of more than the darwin targets may fail for an unrelated reason. Still need a few changes.
  109. fanquake force-pushed on Feb 17, 2023
  110. fanquake force-pushed on Feb 28, 2023
  111. DrahtBot added the label Needs rebase on Mar 1, 2023
  112. fanquake force-pushed on Mar 1, 2023
  113. fanquake commented at 8:27 pm on March 1, 2023: member
    Rebased past #27172.
  114. DrahtBot removed the label Needs rebase on Mar 1, 2023
  115. hebasto commented at 6:47 pm on March 18, 2023: member

    Tested 46d8f32086d89de919036613b8cb437bc71a9286 on Ubuntu 22.04.

    The f41493b9023acb6f3c237f6609f34f99d7e52dc1 commit introduced an error on my system:

    0$ make -C depends HOST=x86_64-apple-darwin boost FORCE_USE_SYSTEM_CLANG=1
    1...
    2Preprocessing boost...
    3Configuring boost...
    4tar: option requires an argument -- 'f'
    5Try 'tar --help' or 'tar --usage' for more information.
    6...
    
  116. hebasto referenced this in commit f854a72ae7 on Mar 18, 2023
  117. fanquake force-pushed on Mar 27, 2023
  118. maflcko added the label DrahtBot Guix build requested on Mar 31, 2023
  119. fanquake force-pushed on Apr 5, 2023
  120. fanquake renamed this:
    build: LLVM 15 & LLD based macOS toolchain
    build: LLVM 16 & LLD based macOS toolchain
    on Apr 5, 2023
  121. fanquake marked this as a draft on Apr 5, 2023
  122. fanquake commented at 2:16 pm on April 5, 2023: member

    I’ve rebased this, as well as updated our depends build to use LLVM 16.0.0. Guix doesn’t yet have LLVM 16 available, either in master or core-updates, so for now, I’ve bumped the time-machine further, so that it gives us LLVM 15.0.7 there.

    With LLVM 16.0.0 in depends, this can be tested / played around with further. However I’ll move this back to draft for now.

  123. fanquake force-pushed on Apr 5, 2023
  124. fanquake removed the label DrahtBot Guix build requested on Apr 5, 2023
  125. dekm referenced this in commit 563e5c6d31 on Apr 6, 2023
  126. theuni commented at 7:57 pm on May 10, 2023: member
    • -bind_at_load support.

    I explored this today, and it seems this feature is deprecated. It has been replaced by -fixup_chains as of ld64 v512.4. Here’s a write-up on the new functionality. For lld (in conflict with what the site above says), the new functionality kicks in when OSX_MIN_VERSION >= 11.0.

    • Fix building libbitcoinconsensus.

    By this, I believe you mean unsupported lld -r? If so, that should be unnecessary with CMake.

    Edit: Core is a beast to test with, but using libsecp256k1 as a test-case: Playing around with the link options: -Wl,-no_fixup_chains -Wl,-bind-at-load (and their opposites) do as expected as checked with: objdump -t --lazy-bind libsecp256k1.2.dylib. When using -fixup_chains (the new default for >=11.0) the lazy bind table is empty as we’d hope.

  127. theuni commented at 10:59 pm on May 10, 2023: member

    I’ve experimented and implemented the above here: https://github.com/theuni/bitcoin/commits/21778 @fanquake I think we want https://github.com/theuni/bitcoin/commit/a0427fc986294ef81605b4c44b54c3ec9825bf48 regardless, which fixes the libbitcoinconsensus linking issue. tl;dr: It makes lld linking work like ld64 by skipping a busted test. The -r was a red herring as a result of that busted test.

    Shall I go ahead and PR that commit separately?

    Edit: So, now the only thing stopping us from using vanilla llvm is a minimum version bump, right? So.. I guess it’s time for that discussion :)

    10.15 has been unsupported for 8 months now…

  128. fanquake renamed this:
    build: LLVM 16 & LLD based macOS toolchain
    build: LLVM 15 & LLD based macOS toolchain
    on May 11, 2023
  129. fanquake force-pushed on May 11, 2023
  130. fanquake commented at 11:33 am on May 11, 2023: member

    Shall I go ahead and PR that commit separately? @theuni sgtm. I’ve got some related compile flag changes in #27493, but I’m going to just combine most of the relevant changes here. If we get the LLD switchover done for 26.x, then we can skip another bump in the interim.

    For now, I’ve rebased this PR on top of all of your other commits above, and reverted back to LLVM 15.0.6 in depends. Also updated the PR description.

  131. theuni commented at 3:21 pm on May 11, 2023: member
    @fanquake Do you happen to know what the earliest working clang+lld combo would be? Obviously 15 and 16 work, did 13 or 14 have the required options? Just curious because it’ll be good to know what the minimum supported vanilla combo (outside of guix/depends) is as that’ll become our new requirement.
  132. fanquake commented at 5:51 pm on May 11, 2023: member

    did 13 or 14 have the required options?

    IIRC I think so. I’l go back and check, so we can establish a minimum required version.

  133. fanquake referenced this in commit 8bfe503ec6 on May 14, 2023
  134. fanquake force-pushed on May 14, 2023
  135. sidhujag referenced this in commit 1d95fa1c0d on May 15, 2023
  136. theuni commented at 10:13 pm on May 16, 2023: member

    Hmm, Looks like fixup_chains didn’t go into lld until v16. So I guess that would be our minimum version.

    Which I suppose means that fixup_chains isn’t actually being used in this PR. I’ll check around in the logs and if I’m right about that I’ll work up a test that this PR should fail as-is.

    Edit: yep:

    checking whether the linker accepts -Wl,-bind_at_load… no checking whether the linker accepts -Wl,-fixup_chains… no

    I’ll poke around with Lief to see if we can enforce fixup_chains there.

  137. fanquake referenced this in commit 25202cace9 on May 25, 2023
  138. sidhujag referenced this in commit 4acbb43480 on May 26, 2023
  139. fanquake force-pushed on Jun 2, 2023
  140. DrahtBot added the label Needs rebase on Jun 14, 2023
  141. fanquake force-pushed on Jun 16, 2023
  142. DrahtBot removed the label Needs rebase on Jun 16, 2023
  143. DrahtBot added the label Needs rebase on Jun 22, 2023
  144. fanquake force-pushed on Jun 22, 2023
  145. DrahtBot removed the label Needs rebase on Jun 22, 2023
  146. fanquake force-pushed on Jun 22, 2023
  147. dekm referenced this in commit 4eef3195af on Jun 26, 2023
  148. dekm referenced this in commit 1cc903a5e5 on Jun 26, 2023
  149. fanquake referenced this in commit 35b01e8504 on Jun 27, 2023
  150. fanquake force-pushed on Jun 27, 2023
  151. maflcko added the label DrahtBot Guix build requested on Jun 27, 2023
  152. tobtoht commented at 1:51 pm on June 27, 2023: none

    powerpc64-linux-gnu build is failing with:

     0Backtrace:
     1In srfi/srfi-1.scm:
     2   586:29 19 (map1 (#<<manifest-entry> name: "python-lief" versio?> ?))
     3   586:17 18 (map1 (#<<manifest-entry> name: "powerpc64-linux-gnu-t?>))
     4In guix/profiles.scm:
     5  1930:19 17 (_ _)
     6In guix/packages.scm:
     7  1348:17 16 (supported-package? #<package powerpc64-linux-gnu-tool?> ?)
     8In guix/memoization.scm:
     9    101:0 15 (_ #<hash-table 7f27a126c4c0 282/443> #<package powerp?> ?)
    10In guix/packages.scm:
    11  1318:12 14 (_)
    12In srfi/srfi-1.scm:
    13   460:18 13 (fold #<procedure 7f27a03a2560 at guix/packages.scm:13?> ?)
    14In guix/packages.scm:
    15  1322:42 12 (_ _ ("x86_64-linux" "i686-linux"))
    16In guix/memoization.scm:
    17    101:0 11 (_ #<hash-table 7f27a126c4c0 282/443> #<package glibc-?> ?)
    18In guix/packages.scm:
    19  1318:12 10 (_)
    20In srfi/srfi-1.scm:
    21   460:18  9 (fold #<procedure 7f27a03a75c0 at guix/packages.scm:13?> ?)
    22In guix/packages.scm:
    23  1322:42  8 (_ _ ("x86_64-linux" "i686-linux"))
    24In guix/memoization.scm:
    25    101:0  7 (_ #<hash-table 7f27a126c4c0 282/443> #<package linux-?> ?)
    26In guix/packages.scm:
    27  1326:37  6 (_)
    28  1588:16  5 (package->bag _ _ _ #:graft? _)
    29  1693:43  4 (thunk)
    30In guix/build-system/gnu.scm:
    31   187:19  3 (arguments _)
    32In gnu/packages/cross-base.scm:
    33   389:34  2 (loop (#:phases (modify-phases %standard-phases # ?) ?) #)
    34In ice-9/boot-9.scm:
    35  1685:16  1 (raise-exception _ #:continuable? _)
    36  1685:16  0 (raise-exception _ #:continuable? _)
    37
    38ice-9/boot-9.scm:1685:16: In procedure raise-exception:
    39ERROR:
    40  1. &platform-not-found-error: "powerpc64-linux-gnu"
    

    It’s not defined in https://github.com/guix-mirror/guix/blob/7c7853d269fe53271dd35d5bd941d18a2cb55120/guix/platforms/powerpc.scm

  153. fanquake commented at 1:53 pm on June 27, 2023: member

    powerpc64-linux-gnu build is failing with:

    Thanks, thats’s already mentioned as a known issue here: #27897, which also does a time-machine bump. You don’t need to build for powerpc to test the two macOS build, if you want to test the changes here.

  154. DrahtBot commented at 12:51 pm on June 28, 2023: contributor

    Guix builds

    File commit 35b01e85049219a190ccfdf589e2613942eca215(master) commit 4ef7273a8b09ad133e49972befab58eea0fb46fc(master and this pull)
    SHA256SUMS.part 5c0121942679bc92... bbb55c09df9b9e57...
    *-aarch64-linux-gnu-debug.tar.gz cf1070e429a3fb97... 6780230976ddd0ba...
    *-aarch64-linux-gnu.tar.gz f75080cb433f3bf0... 80c352fe1262457a...
    *-arm-linux-gnueabihf-debug.tar.gz 1ad00ab5e55db130... de897117ca5836b9...
    *-arm-linux-gnueabihf.tar.gz 3df3363135b83964... c1f4c33858d0f291...
    *-arm64-apple-darwin-unsigned.dmg 27601baaf7a400f8...
    *-arm64-apple-darwin-unsigned.tar.gz 31d884fb864ce417...
    *-arm64-apple-darwin.tar.gz 6225c3a22a6aff33...
    *-powerpc64-linux-gnu-debug.tar.gz d4041bb8d20abd31...
    *-powerpc64-linux-gnu.tar.gz f42f44c9db35f78d...
    *-powerpc64le-linux-gnu-debug.tar.gz a837165c7e70350e...
    *-powerpc64le-linux-gnu.tar.gz 8f222ed1804d67af...
    *-riscv64-linux-gnu-debug.tar.gz a3a0c9dd5f528f58... 624283f0337a636a...
    *-riscv64-linux-gnu.tar.gz 3a5b1c8814b05666... ba58e117d8d79f2e...
    *-x86_64-apple-darwin-unsigned.dmg fb69df8f973e5655...
    *-x86_64-apple-darwin-unsigned.tar.gz a6e6d7fbe8d16544...
    *-x86_64-apple-darwin.tar.gz 9079e558d7996b0d...
    *-x86_64-linux-gnu-debug.tar.gz cc48a0b5c5c02e36... 8cfec3fcb48a1252...
    *-x86_64-linux-gnu.tar.gz 59f8b24614dc85d8... 4d6981ef4e592e51...
    *.tar.gz cd61bb5892c817c8... f03c8d18d330009b...
    guix_build.log afab83917069f763... b8eb92bf056e4a8f...
    guix_build.log.diff b842ee3fc68ed95d...
  155. DrahtBot removed the label DrahtBot Guix build requested on Jun 28, 2023
  156. fanquake force-pushed on Jun 29, 2023
  157. fanquake commented at 3:48 pm on June 29, 2023: member
    Rebased on master, and put on top of #27999. Also swapped out the time-machine bumping commit to be the same one as from #27897.
  158. DrahtBot added the label Needs rebase on Jun 30, 2023
  159. fanquake renamed this:
    build: LLVM 15 & LLD based macOS toolchain
    build: LLVM 16 & LLD based macOS toolchain
    on Jun 30, 2023
  160. fanquake force-pushed on Jun 30, 2023
  161. fanquake commented at 4:45 pm on June 30, 2023: member

    Rebased past #27999. Now that we require fixup_chains, we also require at least LLVM 16+ (which doesn’t yet exist in Guix). Hopefully we’ll have the infra to construct it ourselves shortly: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64100 (which will mean a more recent time-machine bump). https://reviews.llvm.org/D151926 / https://reviews.llvm.org/D151944 has also landed in LLVM (17.x), so we can backport if needed.

    In the meantime, I’ve rebased this, and updated depends to use LLVM 16.0.4. There aren’t currently x86_64 binaries available for 16.0.5 or 16.0.6.

  162. fanquake commented at 4:56 pm on June 30, 2023: member
    Also added a commit to drop explicit -bind_at_load usage from configure for now. Cleaned up the PR description and instructions. Note that Guix build are basically expected to fail at this point. However if anyone would like to test, cross-compilation can be done using depends.
  163. DrahtBot removed the label Needs rebase on Jun 30, 2023
  164. DrahtBot added the label CI failed on Jul 1, 2023
  165. DrahtBot removed the label CI failed on Jul 6, 2023
  166. fanquake force-pushed on Jul 27, 2023
  167. DrahtBot added the label CI failed on Jul 27, 2023
  168. fanquake force-pushed on Aug 14, 2023
  169. fanquake commented at 12:30 pm on August 14, 2023: member
    Re-rebased on #27897, and updated 6f6552688233e35a56f7a4c428c99c657150d313 to include lld-15 & lld-as-ld-wrapper-15. Using lld-as-ld-wrapper seems to be the best way to make build systems (like Qts) work with LLD.
  170. DrahtBot removed the label CI failed on Aug 14, 2023
  171. DrahtBot added the label Needs rebase on Aug 22, 2023
  172. fanquake force-pushed on Aug 23, 2023
  173. fanquake commented at 1:47 pm on August 23, 2023: member
    Rebased and updated to be based on #28328. Still need to get LLVM/Clang 16+ upstreamed into Guix.
  174. DrahtBot removed the label Needs rebase on Aug 23, 2023
  175. DrahtBot added the label CI failed on Aug 23, 2023
  176. DrahtBot added the label Needs rebase on Aug 24, 2023
  177. fanquake force-pushed on Aug 24, 2023
  178. DrahtBot removed the label Needs rebase on Aug 24, 2023
  179. fanquake referenced this in commit 03675b2ba3 on Aug 26, 2023
  180. fanquake renamed this:
    build: LLVM 16 & LLD based macOS toolchain
    build: LLD based macOS toolchain
    on Aug 26, 2023
  181. fanquake force-pushed on Aug 26, 2023
  182. DrahtBot removed the label CI failed on Aug 26, 2023
  183. fanquake referenced this in commit 8371914604 on Aug 27, 2023
  184. fanquake force-pushed on Aug 27, 2023
  185. maflcko added the label DrahtBot Guix build requested on Aug 27, 2023
  186. fanquake force-pushed on Aug 28, 2023
  187. DrahtBot removed the label DrahtBot Guix build requested on Aug 28, 2023
  188. fanquake force-pushed on Sep 7, 2023
  189. Frank-GER referenced this in commit 74569677f6 on Sep 8, 2023
  190. Frank-GER referenced this in commit c6be2a4da0 on Sep 8, 2023
  191. DrahtBot added the label Needs rebase on Sep 20, 2023
  192. fanquake force-pushed on Sep 20, 2023
  193. DrahtBot removed the label Needs rebase on Sep 20, 2023
  194. maflcko added the label DrahtBot Guix build requested on Sep 21, 2023
  195. DrahtBot removed the label DrahtBot Guix build requested on Sep 21, 2023
  196. maflcko added the label DrahtBot Guix build requested on Sep 21, 2023
  197. DrahtBot commented at 3:42 am on September 22, 2023: contributor

    Guix builds (on x86_64)

    File commit b66f6dcb26906ca8187c7e54735e21168b8101c7(master) commit d895d9ebfbe3139354097bc73b39ed81b384e2f1(master and this pull)
    SHA256SUMS.part 8ff253f8c5589627... 1b476775bd43e6c9...
    *-aarch64-linux-gnu-debug.tar.gz 7cd68d0bae053cdd... cea45928dcf73d81...
    *-aarch64-linux-gnu.tar.gz 94b8b60e0f6cd2d6... 2838172ec455ce03...
    *-arm-linux-gnueabihf-debug.tar.gz bd02f71eed9a8793... c87b93447b60dfad...
    *-arm-linux-gnueabihf.tar.gz b95d9a29a1751bb7... 379cd13fb5ef63ee...
    *-arm64-apple-darwin-unsigned.tar.gz c6b3c7b5fa4e16a6...
    *-arm64-apple-darwin-unsigned.zip 3e49a0778c5ab8b3...
    *-arm64-apple-darwin.tar.gz 82da8245105429b8...
    *-powerpc64-linux-gnu-debug.tar.gz a332ebbe44b1e36b... 033e8b2038281a35...
    *-powerpc64-linux-gnu.tar.gz 09918947e6c1771e... 3110ddc8bf6fe42c...
    *-powerpc64le-linux-gnu-debug.tar.gz c8dc2e09467353da... a3fe61ee7826a625...
    *-powerpc64le-linux-gnu.tar.gz 8220e0b2129331fa... 969a79f912b9072f...
    *-riscv64-linux-gnu-debug.tar.gz b563b0c7802c24ef... 98512bb2df61089d...
    *-riscv64-linux-gnu.tar.gz 3fc221ea395342ce... ece688cdc4b404e6...
    *-x86_64-apple-darwin-unsigned.tar.gz 145a9c2f182f4e32...
    *-x86_64-apple-darwin-unsigned.zip 46f00fb4aa1b8de7...
    *-x86_64-apple-darwin.tar.gz fd17aa9483bd4034...
    *-x86_64-linux-gnu-debug.tar.gz 6cd4a3d800899f91... 17a2d28a458e37fb...
    *-x86_64-linux-gnu.tar.gz 2151d8a2fd20f522... 2289a7b4579bde35...
    *.tar.gz 7f28c39ebddb885e... 6585693119f49c68...
    guix_build.log 2e3a605ef8fb1c0c... f46848c311fe56d2...
    guix_build.log.diff c7cbf8813f393c9b...
  198. DrahtBot removed the label DrahtBot Guix build requested on Sep 22, 2023
  199. fanquake force-pushed on Oct 3, 2023
  200. DrahtBot added the label Needs rebase on Oct 3, 2023
  201. fanquake force-pushed on Oct 3, 2023
  202. DrahtBot removed the label Needs rebase on Oct 3, 2023
  203. fanquake force-pushed on Oct 6, 2023
  204. DrahtBot added the label CI failed on Oct 6, 2023
  205. PastaPastaPasta referenced this in commit fddae491fc on Oct 11, 2023
  206. PastaPastaPasta referenced this in commit 06e941c615 on Oct 27, 2023
  207. PastaPastaPasta referenced this in commit a90fa33f69 on Nov 3, 2023
  208. fanquake force-pushed on Nov 13, 2023
  209. fanquake force-pushed on Nov 13, 2023
  210. fanquake commented at 10:32 am on November 13, 2023: member
    Rebased on #28580 (LLVM 17 in Guix) and #28783, which should be the last blockers for this.
  211. in depends/patches/qt/no_warnings_for_symbols.patch:8 in 5dd066d430 outdated
    0@@ -0,0 +1,11 @@
    1+--- a/qtbase/mkspecs/features/mac/no_warn_empty_obj_files.prf
    2++++ b/qtbase/mkspecs/features/mac/no_warn_empty_obj_files.prf
    3+@@ -1,7 +1,7 @@
    4+ # Prevent warnings about object files without any symbols. This is a common
    5+ # thing in Qt as we tend to build files unconditionally, and then use ifdefs
    6+ # to compile out parts that are not relevant.
    7+-QMAKE_RANLIB += -no_warning_for_no_symbols
    8++# QMAKE_RANLIB += -no_warning_for_no_symbols
    


    Sjors commented at 11:53 am on November 13, 2023:
    5dd066d4301342859e124abcd61141fbb8b5a003: can you clarify in the commit message or patch file why we’re disabling this? Since the comment suggests it’s needed.

    fanquake commented at 12:10 pm on November 13, 2023:
    IIRC this was because LLVM ranlib didn’t support this option, so qt would fail to build.
  212. hebasto commented at 11:55 am on November 13, 2023: member

    Rebased on #28580 (LLVM 17 in Guix) and #28783, which should be the last blockers for this.

    Why #28783 is considered as a blocker for this PR?

  213. fanquake commented at 11:56 am on November 13, 2023: member

    Why #28783 is considered as a blocker for this PR?

    LLD will output spurious warnings about not implementing bind_at_load, which we can avoid by merging #28783.

  214. in depends/packages/native_libtapi.mk:9 in e65a429b6a outdated
    5@@ -6,7 +6,7 @@ $(package)_sha256_hash=d4d46c64622f13d6938cecf989046d9561011bb59e8ee835f8f39825d
    6 $(package)_patches=disable_zlib.patch
    7 
    8 ifeq ($(strip $(FORCE_USE_SYSTEM_CLANG)),)
    9-$(package)_dependencies=native_clang
    


    Sjors commented at 12:07 pm on November 13, 2023:
    e65a429b6a895d183aa2131b2001dfee0ec78240 delete native_clang.mk?

    fanquake commented at 12:11 pm on November 13, 2023:
    It was, seems it returned in a rebase. Will drop it on the next push.
  215. fanquake force-pushed on Nov 13, 2023
  216. Sjors commented at 2:52 pm on November 13, 2023: member

    Guix building df71f448cdaf429f54367ab251e21e628c1903d3 is having issues for me:

     0Extracting libevent...
     1/home/guix/depends-sources-cache/libevent-2.1.12-stable.tar.gz: OK
     2Preprocessing libevent...
     3Configuring libevent...
     4checking for a BSD-compatible install... /home/guix/.guix-profile/bin/install -c
     5checking whether build environment is sane... yes
     6checking for x86_64-apple-darwin-strip... no
     7checking for strip... strip
     8configure: WARNING: using cross tools not prefixed with host triplet
     9checking for a thread-safe mkdir -p... /home/guix/.guix-profile/bin/mkdir -p
    10checking for gawk... gawk
    11checking whether make sets $(MAKE)... yes
    12checking whether make supports nested variables... yes
    13checking whether make supports nested variables... (cached) yes
    14checking whether make supports the include directive... yes (GNU style)
    15checking for x86_64-apple-darwin-gcc... env -u C_INCLUDE_PATH -u CPLUS_INCLUDE_PATH -u OBJC_INCLUDE_PATH -u OBJCPLUS_INCLUDE_PATH -u CPATH -u LIBRARY_PATH /home/guix/.guix-profile/bin/clang --target=x86_64-apple-darwin -mmacosx-version-min=11.0 -B/bitcoin/depends/x86_64-apple-darwin/native/bin -mlinker-version=711 -isysroot/home/guix/SDKs/Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers -iwithsysroot/usr/include -iframeworkwithsysroot/System/Library/Frameworks
    16checking whether the C compiler works... no
    17configure: error: in `/bitcoin/depends/work/build/x86_64-apple-darwin/libevent/2.1.12-stable-ab81f19d3b8':
    18configure: error: C compiler cannot create executables
    19See `config.log' for more details
    20make: *** [funcs.mk:292: /bitcoin/depends/x86_64-apple-darwin/.libevent_stamp_configured] Error 77
    21make: Leaving directory '/bitcoin/depends'
    

    Can add more details…

  217. fanquake commented at 2:53 pm on November 13, 2023: member

    Can add more details…

    I’d suggest reviewing the base PRs instead, for now (pretty sure this is just -fuse-ld usage that needs tidying up).

  218. DrahtBot removed the label CI failed on Nov 13, 2023
  219. fanquake force-pushed on Nov 14, 2023
  220. fanquake force-pushed on Dec 1, 2023
  221. PastaPastaPasta referenced this in commit 0db79169df on Dec 6, 2023
  222. PastaPastaPasta referenced this in commit 1c826c09f4 on Dec 7, 2023
  223. fanquake force-pushed on Dec 11, 2023
  224. fanquake commented at 4:36 pm on December 11, 2023: member
    (re-)based on #28880.
  225. fanquake force-pushed on Dec 18, 2023
  226. fanquake referenced this in commit 4b1196a985 on Dec 22, 2023
  227. fanquake force-pushed on Dec 22, 2023
  228. maflcko added the label DrahtBot Guix build requested on Dec 22, 2023
  229. fanquake force-pushed on Dec 22, 2023
  230. in depends/hosts/darwin.mk:25 in c857bc5d33 outdated
    25+
    26+# Make-only lowercase function
    27+lc = $(subst A,a,$(subst B,b,$(subst C,c,$(subst D,d,$(subst E,e,$(subst F,f,$(subst G,g,$(subst H,h,$(subst I,i,$(subst J,j,$(subst K,k,$(subst L,l,$(subst M,m,$(subst N,n,$(subst O,o,$(subst P,p,$(subst Q,q,$(subst R,r,$(subst S,s,$(subst T,t,$(subst U,u,$(subst V,v,$(subst W,w,$(subst X,x,$(subst Y,y,$(subst Z,z,$1))))))))))))))))))))))))))
    28+
    29+# For well-known tools provided by LLVM, make sure that their well-known
    30+# variable is set to the full path of the tool, just like how AC_PATH_{TOO,PROG}
    


    hebasto commented at 11:40 am on December 22, 2023:
    0# variable is set to the full path of the tool, just like how AC_PATH_{TOOL,PROG}
    
  231. fanquake commented at 11:40 am on December 22, 2023: member

    Rebased after #28880. Cleaned up the commits a bit. Doesn’t work yet, because Qt doesn’t build..

    Also rethinking the best approach here a bit, as we’ve now essentially got to accomodate 3 different builds for macOS:

    • Building for mac, on mac, using Apple Clang & ld64 (which also doesn’t like -fuse-ld=lld)
    • Building for mac, on Linux, using our downloaded LLVM (Clang + lld + tools)
    • Building for mac, in Guix, using Guix’s Clang + our downloaded lld + tools??
      • Or shift further into using all Guix linker + tools, or, try drop Guix Clang?

    cc @theuni @TheCharlatan.

  232. in contrib/macdeploy/README.md:60 in c857bc5d33 outdated
    55@@ -56,29 +56,14 @@ The `sha256sum` should be `c0c2e7bb92c1fee0c4e9f3a485e4530786732d6c6dd9e9f418c28
    56 
    57 ## Deterministic macOS App Notes
    58 
    59-macOS Applications are created in Linux by combining a recent `clang` and the Apple
    60-`binutils` (`ld`, `ar`, etc).
    61+macOS Applications are created in Linux by combining a recent LLVM (`clang`,
    62+`lld` + binutils)
    


    hebasto commented at 11:46 am on December 22, 2023:
    nit: As the word ‘combining’ has only one object, rather than two as it was before, it seems reasonable to drop it altogether.

    fanquake commented at 11:47 am on December 22, 2023:
    Given this doesn’t yet work, and we might be reithinking the approach (which might render this text irrelevant, I’ll just leave stuff like this for now.
  233. Sjors commented at 12:18 pm on December 22, 2023: member
    • Building for mac, in Guix, using Guix’s Clang + our downloaded lld + tools??

      • Or shift further into using all Guix linker + tools, or, try drop Guix Clang?

    Would you say that (temporarily) using Apple’s Clang instead of Guix would still make this PR an overall improvement for macOS reproducibility? If so, and if makes things easier, that could make sense.

  234. DrahtBot added the label CI failed on Dec 22, 2023
  235. DrahtBot commented at 6:45 pm on December 22, 2023: contributor

    Guix builds (on x86_64)

    File commit 4b1196a9855dcd188a24f393aa2fa21e2d61f061(master) commit 7629d0b986ef89f7b1c782dda580c88c63e458fc(master and this pull)
    SHA256SUMS.part 7aefd803a584a152... d7154abd4a887dac...
    *-aarch64-linux-gnu-debug.tar.gz 735f38fb37b239f8... 735f354db2278d88...
    *-aarch64-linux-gnu.tar.gz 83a257c74e184b96... 96acc429073b7505...
    *-arm-linux-gnueabihf-debug.tar.gz 513acf435b18fab2... 6251c36c50993a4c...
    *-arm-linux-gnueabihf.tar.gz 581f911fcca5ae02... 231c775e30d73af2...
    *-arm64-apple-darwin-unsigned.tar.gz 7a3f2b4e01f27896...
    *-arm64-apple-darwin-unsigned.zip dff45b014236e990...
    *-arm64-apple-darwin.tar.gz 0d9696b7bd76b36f...
    *-powerpc64-linux-gnu-debug.tar.gz dfe6cfdcd6ad3c6f... f1aa680bbb376d25...
    *-powerpc64-linux-gnu.tar.gz 54c013201daad1ff... e710f74b0735f9dc...
    *-powerpc64le-linux-gnu-debug.tar.gz 8e944b002273b678... c393286c41984bc8...
    *-powerpc64le-linux-gnu.tar.gz 1ba8199984d7c43a... e0abc78b6acc46ea...
    *-riscv64-linux-gnu-debug.tar.gz e9abe48aeb7acc68... ab09fdd1e51bbdb2...
    *-riscv64-linux-gnu.tar.gz f4d1484dec65b967... 90cb881fa669ce61...
    *-x86_64-apple-darwin-unsigned.tar.gz 915650aa35e6e322...
    *-x86_64-apple-darwin-unsigned.zip 6a6139cb415de743...
    *-x86_64-apple-darwin.tar.gz c479d099d1df9a85...
    *-x86_64-linux-gnu-debug.tar.gz 9e27161179f18a4a... 09dcf80be0c4fadd...
    *-x86_64-linux-gnu.tar.gz f69632ca3dc98896... 6eebaff5efc73ab4...
    *.tar.gz c04997c9f9e51d80... b80555965cab86b5...
    guix_build.log cd3620fc987c1754... 809045aa4d2ba9dc...
    guix_build.log.diff ab07ea234882a7e5...
  236. DrahtBot removed the label DrahtBot Guix build requested on Dec 22, 2023
  237. maflcko commented at 4:05 pm on January 5, 2024: member
    • Building for mac, on Linux, using our downloaded LLVM (Clang + lld + tools)

    • Building for mac, in Guix, using Guix’s Clang + our downloaded lld + tools??

      • Or shift further into using all Guix linker + tools, or, try drop Guix Clang?

    I think the benefit of using guix (over downloading a random binary blob from someone else’s computer) is that cross compilation to macOS works on more architectures than the uploads of the llvm binaries. (For example riscv64)

    So simply requiring guix to do a macOS depends build (and nuking clang from depends, or keeping it as a fallback, if needed) seems preferable?

  238. fanquake commented at 4:11 pm on January 5, 2024: member

    and nuking clang from depends,

    After discussion today with @theuni @hebasto @TheCharlatan, I’m actually about to open a PR to do exactly this.

  239. fanquake force-pushed on Jan 9, 2024
  240. fanquake force-pushed on Jan 9, 2024
  241. fanquake force-pushed on Jan 10, 2024
  242. fanquake force-pushed on Jan 10, 2024
  243. fanquake commented at 11:17 am on January 10, 2024: member

    Pushed up a few more improvements.

    Somewhat annoyingly, some distros (Ubuntu) only ship llvm-libtool-darwin with a version suffix, i.e llvm-libtool-darwin-17, however many others (Fedora, Alpine etc) do not do this. I think we should just set darwin_LIBTOOL=llvm-libtool-darwin as a best effort, and I’ve added a note to the depends readme, that if anyone sees issues, they should set LIBTOOL=llvm-libtool-darwin-version when calling make.

    The CI failure here is a bit odd, because it only happens for ZeroMQ, and only when using what looks like clang-14? This doesn’t happen when using newer Clang, or when doing a Guix build. The actual error is:

     0configure:20428: checking whether the C++ compiler works
     1configure:20445: env -u C_INCLUDE_PATH -u CPLUS_INCLUDE_PATH -u OBJC_INCLUDE_PATH -u OBJCPLUS_INCLUDE_PATH -u CPATH -u LIBRARY_PATH /usr/bin/clang++ --target=arm64-apple-darwin -mmacosx-version-min=11.0 -mlinker-version=711 -isysroot/bitcoin/depends/SDKs/Xcode-15.0-15A240d-extracted-SDK-with-libcxx-headers -nostdlibinc -iwithsysroot/usr/include/c++/v1 -iwithsysroot/usr/include -iframeworkwithsysroot/System/Library/Frameworks -std=gnu++11 -o conftest -pipe -std=c++20 -O2   -I/bitcoin/depends/arm64-apple-darwin/include -Wl,-platform_version,macos,11.0,14.0 -fuse-ld=lld  -L/bitcoin/depends/arm64-apple-darwin/lib conftest.cpp  >&5
     2ld64.lld: error: library not found for -lstdc++
     3clang: error: linker command failed with exit code 1 (use -v to see invocation)
     4configure:20445: $? = 1
     5configure: failed program was:
     6| /* confdefs.h */
     7| #define PACKAGE_NAME "zeromq"
     8| #define PACKAGE_TARNAME "zeromq"
     9| #define PACKAGE_VERSION "4.3.5"
    10| #define PACKAGE_STRING "zeromq 4.3.5"
    11| #define PACKAGE_BUGREPORT "zeromq-dev@lists.zeromq.org"
    12| #define PACKAGE_URL ""
    13| #define PACKAGE "zeromq"
    14| #define VERSION "4.3.5"
    15| #define HAVE_STDIO_H 1
    16| #define HAVE_STDLIB_H 1
    17| #define HAVE_STRING_H 1
    18| #define HAVE_INTTYPES_H 1
    19| #define HAVE_STDINT_H 1
    20| #define HAVE_STRINGS_H 1
    21| #define HAVE_SYS_STAT_H 1
    22| #define HAVE_SYS_TYPES_H 1
    23| #define HAVE_UNISTD_H 1
    24| #define STDC_HEADERS 1
    25| #define HAVE_DLFCN_H 1
    26| #define LT_OBJDIR ".libs/"
    27| #define HAVE_CXX11 1
    28| /* end confdefs.h.  */
    29| 
    30| int
    31| main (void)
    32| {
    33| 
    34|   ;
    35|   return 0;
    36| }
    37configure:20455: result: no
    38configure:20459: error: Unable to find a working C++ compiler
    

    It’s failing to find -lstdc++ while running the AX_CXX_COMPILE_STDCXX_11 macro (zeromq also ships an ancient version of AX_CXX_COMPILE_STDCXX), but it shouldn’t be trying to use that in any case. We want libc++.

  244. fanquake force-pushed on Jan 10, 2024
  245. fanquake commented at 11:41 am on January 10, 2024: member

    The CI failure here is a bit odd, because it only happens for ZeroMQ, and only when using what looks like clang-14?

    I think the solution to this is just to keep our current Clang version requirement for macOS cross-compilation. Currently, we vendor our own Clang (17) and use 17 in Guix. Switching to using system Clang doesn’t mean we now need to support clang-13 + when building for macOS, because we never did previously, and no-one building Core could have been using a version other than the only one we supported (17).

    So, when switching to system Clang, we retain the Clang 17 requirement (for macOS). The CI should also be using 17, because it should match what we are doing in Guix. So I’ve now switched it to a newer version of Ubuntu (24.04), which ships clang-17 by default.

    In regards to the ZeroMQ failure, my suspicion is that the failure is realted to -nostdlibinc and earlier versions of Clang.

  246. in ci/test/00_setup_env_mac.sh:15 in 39895e0c30 outdated
     8@@ -9,9 +9,10 @@ export LC_ALL=C.UTF-8
     9 export SDK_URL=${SDK_URL:-https://bitcoincore.org/depends-sources/sdks}
    10 
    11 export CONTAINER_NAME=ci_macos_cross
    12-export CI_IMAGE_NAME_TAG="docker.io/ubuntu:22.04"
    13+export CI_IMAGE_NAME_TAG="docker.io/ubuntu:24.04"
    14 export HOST=x86_64-apple-darwin
    15-export PACKAGES="cmake zip"
    16+export PACKAGES="clang cmake lld llvm zip"
    17+export LIBTOOL=llvm-libtool-darwin-14
    


    TheCharlatan commented at 1:11 pm on January 10, 2024:
    Should be -17?

    fanquake commented at 1:26 pm on January 10, 2024:
    Thanks, fixed up.
  247. fanquake force-pushed on Jan 10, 2024
  248. fanquake force-pushed on Jan 10, 2024
  249. fanquake commented at 1:27 pm on January 10, 2024: member
    Given the above, we can also avoid having to repatch Qt, to work around bugs there. Dropped that commit.
  250. in ci/test/00_setup_env_mac.sh:15 in 7565682b38 outdated
     8@@ -9,9 +9,10 @@ export LC_ALL=C.UTF-8
     9 export SDK_URL=${SDK_URL:-https://bitcoincore.org/depends-sources/sdks}
    10 
    11 export CONTAINER_NAME=ci_macos_cross
    12-export CI_IMAGE_NAME_TAG="docker.io/ubuntu:22.04"
    13+export CI_IMAGE_NAME_TAG="docker.io/ubuntu:24.04"
    14 export HOST=x86_64-apple-darwin
    15-export PACKAGES="cmake zip"
    16+export PACKAGES="clang cmake lld llvm zip"
    17+export LIBTOOL=llvm-libtool-darwin-17
    


    maflcko commented at 1:28 pm on January 10, 2024:
    This will break in a few months, when clang will become an alias for clang-18

    fanquake commented at 1:30 pm on January 10, 2024:
    Sure. I guess at that point we’ll have to change it. Not sure what else to do given this is what Ubuntu ships. I assume we’ll have to make other changes at the same time, if the CI is changing compilers etc out from under us?

    fanquake commented at 1:36 pm on January 10, 2024:

    I guess we can also just explictly install clang-17 and llvm-17 here, and then not have to worry about things, until those packages no-longer exist.

    However that would also require more changes, (not clear we want to hardcode -17 further ((inside depends)), and make our build less generic, so not sure.


    TheCharlatan commented at 1:54 pm on January 10, 2024:
    More changes as in being able to handle setting CC to e.g. clang-17 for darwin depends? That seems worthwhile, no?

    fanquake commented at 1:57 pm on January 10, 2024:

    More changes as in being able to handle setting CC to e.g. clang-17 for darwin depends?

    That should already work ok, I mean, hardcoding things like command -v clang-17 in depends. If the preference is to install the *-17 toolchain, and pass CC and CXX explicitly, we can do that. We’d have to do that with everything, AR, RANLIB, LIBTOOL, NM etc.


    maflcko commented at 2:00 pm on January 10, 2024:

    Sure. I guess at that point we’ll have to change it.

    Well, if it is going to be changed, it may be better to do the change now. Otherwise it just seems like extra steps to reach the same point eventually?


    fanquake commented at 2:01 pm on January 10, 2024:

    Well, if it is going to be changed, it may be better to do the change now.

    Change it to what though? The problem is that Ubuntu only ships this binary with a version suffix. We can’t use something generic, and we want to use version 17.


    maflcko commented at 2:04 pm on January 10, 2024:

    Change it to what though?

    apt install clang-17, like in the tidy task, it is also possible to export a variable to set CROSS_LLVM_V="17" and then use that variable, where needed.


    fanquake commented at 2:12 pm on January 10, 2024:
    Ok, done as I suggested above.
  251. fanquake force-pushed on Jan 10, 2024
  252. fanquake force-pushed on Jan 10, 2024
  253. fanquake force-pushed on Jan 10, 2024
  254. fanquake commented at 2:13 pm on January 10, 2024: member
    Moved to explicitly installing *-17. Added the missing darwin_STRIP=llvm-strip .
  255. fanquake force-pushed on Jan 10, 2024
  256. theuni commented at 3:01 pm on January 10, 2024: member

    Re libtool: As far as I can see, it’s only used for miniupnpc/libnatpnp?

    If that’s the case, I don’t think it’s worth the trouble of having users work around it.

    I’d suggest we either:

    • patch out libtool in the Makefiles and use ar, then drop our libtool machinery entirely.
    • Switch to their cmake builds where I assume libtool is unused.

    I have a branch with commits to do the latter as part of a larger CMake switch, but maybe now is a good time to take those two? (If so, ignore the native_cmake part, that was just to get myself bootstrapped.)

    Edit: If there’s interest in the above I can PR it separately.

  257. fanquake commented at 3:11 pm on January 10, 2024: member

    Edit: If there’s interest in the above I can PR it separately.

    Sure, I can rebase on top of that PR, if you want to open it.

  258. fanquake force-pushed on Jan 10, 2024
  259. fanquake commented at 5:04 pm on January 10, 2024: member
    Would still like to see them PR’d separately, but I cherry-picked the two relevant commits, dropped native_cmake, and have dropped anything libtool related here.
  260. fanquake commented at 5:17 pm on January 10, 2024: member

    The remaining issue here is with make -C depends CC= CXX= usage. If we override, we lose the c(xx) flags which are currently embedded into darwin_C(XX), which means things don’t compile. This is why this PR works fine, if you just invoke make -C depends HOST=arm64-apple-darwin, with clang installed, but if you make -C depends HOST=arm64-apple-darwin CC=clang-17 CXX=clang++-17, like we want to do in the CI, things don’t quite work because we loose flags, like --target, and clang things it’s compiling for Linux etc. So we’ll need to move (some) flags into darwin_C(XX)FLAGS.

    If you Guix build this branch now, everything will compile fine, but it will fail during the test-security check stage, that issue should also be easily resolved.

  261. theuni commented at 6:12 pm on January 10, 2024: member

    Would still like to see them PR’d separately, but I cherry-picked the two relevant commits, dropped native_cmake, and have dropped anything libtool related here.

    It’s been quite a while since I worked on those, I don’t remember if they were completely merge-ready (I suspect windows cross might be broken for ex.). Playing with them locally now.

  262. theuni commented at 7:09 pm on January 10, 2024: member

    Would still like to see them PR’d separately, but I cherry-picked the two relevant commits, dropped native_cmake, and have dropped anything libtool related here.

    It’s been quite a while since I worked on those, I don’t remember if they were completely merge-ready (I suspect windows cross might be broken for ex.). Playing with them locally now.

    Here’s a cleaned up version: https://github.com/theuni/bitcoin/commits/depends-no-libtool/ They needed an update after 63c0c4ff10b2f6ed8510ef372a5b1f6a6494b179.

    Also adds a commit which actually removes the libtool machinery.

    Did quick tests for mac and mingw locally to make sure that proper flags were applied, looks ok to me.

  263. theuni commented at 7:31 pm on January 10, 2024: member

    ~Blah, it looks like the win32 filename is borked with cmake: liblibminiupnpc.a~

    Want to punt the libtool removal to a follow-up PR to avoid slowing this one down?

    Edit: I grabbed the upstream fix: https://github.com/miniupnp/miniupnp/pull/604

    Updated my branch. Up to you if you want to do this here or not.

  264. maflcko commented at 10:35 am on January 11, 2024: member

    This is why this PR works fine, if you just invoke make -C depends HOST=arm64-apple-darwin, with clang installed, but if you make -C depends HOST=arm64-apple-darwin CC=clang-17 CXX=clang++-17, like we want to do in the CI

    If picking the clang version via depends is not a use case to support outside the CI, what about aliasing clang=clang-17 in the CI container? Obviously fixing depends would be cleaner, but if it is only used by CI, then it may not be needed.

    The only requirement for the CI is that the version is pinned (or that this pull request is put on hold until Ubuntu bumped to clang-18, in which case it will remain pinned by itself)

  265. fanquake commented at 10:48 am on January 11, 2024: member

    Want to punt the libtool removal to a follow-up PR to avoid slowing this one down?

    Looks like the cmake changes will require some additional CI changes at least. I think we can still open an additional PR, with upnpc and natpmp, and get that merged. Seems cleanest to just nuke libtool here, and avoid interim workarounds for Ubuntus binarys etc. I’ll pull your new commits in here in any case.

    If picking the clang version via depends is not a use case to support outside the CI,

    We do want to support that, but only with clang-17+. The issue is the flags being embedded into c/cxx, which is an artifact of previous problems. We can move the flags out, and this will be solved.

  266. fanquake referenced this in commit 3b195102be on Jan 11, 2024
  267. fanquake referenced this in commit 5c4a32f8dd on Jan 11, 2024
  268. fanquake referenced this in commit f3ca6db8d3 on Jan 11, 2024
  269. fanquake referenced this in commit 1c4a9c1cf3 on Jan 11, 2024
  270. fanquake force-pushed on Jan 11, 2024
  271. fanquake commented at 2:26 pm on January 11, 2024: member
    Rebased on top of adding CMake into all CIs, the newer upnpc / libnatmp / dropping libtool commits, and added a new commit to deduplicate usage of -mmaxosx-version-min.
  272. fanquake referenced this in commit d862ae8173 on Jan 11, 2024
  273. fanquake force-pushed on Jan 11, 2024
  274. fanquake referenced this in commit 12865d21ef on Jan 11, 2024
  275. fanquake force-pushed on Jan 11, 2024
  276. fanquake force-pushed on Jan 12, 2024
  277. fanquake force-pushed on Jan 16, 2024
  278. fanquake referenced this in commit c818607ed5 on Jan 17, 2024
  279. DrahtBot added the label Needs rebase on Jan 17, 2024
  280. fanquake force-pushed on Jan 17, 2024
  281. DrahtBot removed the label Needs rebase on Jan 17, 2024
  282. fanquake force-pushed on Jan 24, 2024
  283. fanquake force-pushed on Jan 29, 2024
  284. fanquake force-pushed on Jan 29, 2024
  285. fanquake force-pushed on Jan 29, 2024
  286. fanquake commented at 4:45 pm on January 29, 2024: member

    Pushed up one WIP commit. This almost works how we want it too:

    • Depends builds using system clang, i.e make -C depends/ HOST=arm64-apple-darwin -j17. Tested on x86_64 Ubuntu with Ubuntu clang version 17.0.6 (3).
    • Depends builds with overriden CC & CXX, i.e make -C depends/ HOST=arm64-apple-darwin CC=clang-17 CXX=clang++-17. See the CI (which fails during make deploy due to no otool), also tested on aarch64 Fedora with clang version 17.0.6 (Fedora 17.0.6-4.fc40).
    • Guix builds are ~95% there, but fail during test-security-check because they invoke ld:
     0  CXXLD    bitcoin-cli
     1ld64.lld: warning: Option `-bind_at_load' is not yet implemented. Stay tuned...
     2  AR       minisketch/libminisketch.a
     3ld64.lld: warning: Option `-bind_at_load' is not yet implemented. Stay tuned...
     4ld64.lld: warning: Option `-bind_at_load' is not yet implemented. Stay tuned...
     5  CXXLD    univalue/test/unitester
     6ld64.lld: warning: Option `-bind_at_load' is not yet implemented. Stay tuned...
     7ld64.lld: warning: Option `-bind_at_load' is not yet implemented. Stay tuned...
     8ld64.lld: warning: Option `-bind_at_load' is not yet implemented. Stay tuned...
     9  CXXLD    univalue/test/object
    10ld64.lld: warning: Option `-bind_at_load' is not yet implemented. Stay tuned...
    11  AR       libtest_util.a
    12  CXXLD    test/test_bitcoin
    13ld64.lld: warning: Option `-bind_at_load' is not yet implemented. Stay tuned...
    14make[2]: Leaving directory '/distsrc-base/distsrc-cb758c13eb6c-arm64-apple-darwin/src'
    15make[1]: Leaving directory '/distsrc-base/distsrc-cb758c13eb6c-arm64-apple-darwin/src'
    16Making all in doc/man
    17make[1]: Entering directory '/distsrc-base/distsrc-cb758c13eb6c-arm64-apple-darwin/doc/man'
    18make[1]: Nothing to be done for 'all'.
    19make[1]: Leaving directory '/distsrc-base/distsrc-cb758c13eb6c-arm64-apple-darwin/doc/man'
    20make[1]: Entering directory '/distsrc-base/distsrc-cb758c13eb6c-arm64-apple-darwin'
    21make[1]: Nothing to be done for 'all-am'.
    22make[1]: Leaving directory '/distsrc-base/distsrc-cb758c13eb6c-arm64-apple-darwin'
    23ld: unrecognised emulation mode: acosx_version_min
    24Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om
    25clang: error: linker command failed with exit code 1 (use -v to see invocation)
    26E
    27======================================================================
    28ERROR: test_MACHO (__main__.TestSecurityChecks)
    29----------------------------------------------------------------------
    30Traceback (most recent call last):
    31  File "/distsrc-base/distsrc-cb758c13eb6c-arm64-apple-darwin/./contrib/devtools/test-security-check.py", line 118, in test_MACHO
    32    arch = get_arch(cc, source, executable)
    33  File "/distsrc-base/distsrc-cb758c13eb6c-arm64-apple-darwin/./contrib/devtools/test-security-check.py", line 45, in get_arch
    34    subprocess.run([*cc, source, '-o', executable], check=True)
    35  File "/gnu/store/r4ylp5184rybw9s3lpg49hb27fwgk03i-python-minimal-3.10.7/lib/python3.10/subprocess.py", line 524, in run
    36    raise CalledProcessError(retcode, process.args,
    37subprocess.CalledProcessError: Command '['/root/.guix-profile/bin/clang', '--target=arm64-apple-darwin', '-isysroot/root/SDKs/Xcode-15.0-15A240d-extracted-SDK-with-libcxx-headers', '-nostdlibinc', '-iwithsysroot/usr/include/c++/v1', '-iwithsysroot/usr/include', '-iframeworkwithsysroot/System/Library/Frameworks', 'test1.c', '-o', 'test1']' returned non-zero exit status 1.
    38
    39----------------------------------------------------------------------
    40Ran 1 test in 0.117s
    41
    42FAILED (errors=1)
    43make: *** [Makefile:1417: test-security-check] Error 1
    

    Linking of all our bins happens with lld, and this shouldn’t happen given lld-as-ld-wrapper, following up.

  287. fanquake force-pushed on Jan 30, 2024
  288. fanquake commented at 11:25 am on January 30, 2024: member
    Added a change to fix the make deploy CI failure. It involves switching from otool, to llvm-objdump, which for our needs (listing shared lib deps) is a drop-in replacement with the right flags (--macho --dylibs-used). We could have used llvm-otool, but we’d have the same problem that we would have had with llvm-libtool, which is that some distros (Ubuntu) only ship this binary with a version-suffix, which makes it annoying to find/use. Using llvm-objdump avoids this issue, and it’s nicer to move to a less apple-specific tool.
  289. fanquake force-pushed on Jan 30, 2024
  290. DrahtBot removed the label CI failed on Jan 30, 2024
  291. fanquake force-pushed on Feb 2, 2024
  292. fanquake commented at 9:34 am on February 2, 2024: member

    Squashed down the changes, and did some Guix cleanup. We can entirely remove the GCC toolchain from the macOS build now. Apart from removing unused deps, my other reason to do this was to make sure that ld wasn’t even in the build environment, so couldn’t be getting used over lld.

    However this has come with a new issue. Qt now fails to build, because it’s trying to build qmake with g++, which no-longer exists. i.e

    0Configuring qt...
    1Creating qmake...
    2make[1]: Entering directory '/bitcoin/depends/work/build/arm64-apple-darwin/qt/5.15.11-f4932583bde/qtbase/qmake'
    3make[1]: g++: No such file or directory
    4make[1]: *** [Makefile:250: main.o] Error 127
    

    This would seem to be a bug in any case, because if we are using a clang toolchain, there shouldn’t be an assumption that GCC is installed. So we need to make it use clang++ instead.

  293. maflcko added the label DrahtBot Guix build requested on Feb 2, 2024
  294. maflcko removed the label DrahtBot Guix build requested on Feb 2, 2024
  295. fanquake force-pushed on Feb 2, 2024
  296. DrahtBot added the label CI failed on Feb 2, 2024
  297. maflcko added the label DrahtBot Guix build requested on Feb 6, 2024
  298. DrahtBot commented at 8:20 pm on February 6, 2024: contributor

    Guix builds (on x86_64)

    File commit 4de84557d6d1f53255ab19f27c8b6ea0a712934a(master) commit 82d02681d724f0e32f8a91debe6ddff72e2f8de0(master and this pull)
    SHA256SUMS.part a9a1a6f2a127614b... 510283c0f8edf5f5...
    *-aarch64-linux-gnu-debug.tar.gz 49fb728dcfc5eeeb... 28c224b95825d50f...
    *-aarch64-linux-gnu.tar.gz 76ae34c6ec4b08e4... 050fadd43a917f48...
    *-arm-linux-gnueabihf-debug.tar.gz 3e96a08bdc6e5a2c... 0d957b335b076eba...
    *-arm-linux-gnueabihf.tar.gz e4b94fefda7bd12a... 0279e8f73a3874b3...
    *-arm64-apple-darwin-unsigned.tar.gz 8d02e5e5227cb241...
    *-arm64-apple-darwin-unsigned.zip 7c7dac9c1989a763...
    *-arm64-apple-darwin.tar.gz f5aef653cbfaf75f...
    *-powerpc64-linux-gnu-debug.tar.gz 9c16527c1568ac56... fbe35bfb28afa0a6...
    *-powerpc64-linux-gnu.tar.gz 99de573c9eb7b8b5... 7ca195189ddab5ee...
    *-powerpc64le-linux-gnu-debug.tar.gz 8272ff86150256bc... 7db89052e33786b0...
    *-powerpc64le-linux-gnu.tar.gz a7c33792b1fd3e90... 224823be4363e870...
    *-riscv64-linux-gnu-debug.tar.gz 5506dfa3ef36e7cf... 7c59b9c545591758...
    *-riscv64-linux-gnu.tar.gz 659865010b8585bb... e2da1317d562195c...
    *-x86_64-apple-darwin-unsigned.tar.gz 94333e9a7fffa48a...
    *-x86_64-apple-darwin-unsigned.zip b5895368f40e69db...
    *-x86_64-apple-darwin.tar.gz 1fd0108302ec3860...
    *-x86_64-linux-gnu-debug.tar.gz e9ca2bfd0348c674... 28b4f9908e3b5ead...
    *-x86_64-linux-gnu.tar.gz 7dd646df2d92b82d... 8cbe0fcc0d31f287...
    *.tar.gz 8617649a70643eae... ab09732325ce83dc...
    guix_build.log 4ef53cb390b39d4f... 073d35ac75364eff...
    guix_build.log.diff 9f3a2f81143c67f1...
  299. DrahtBot removed the label DrahtBot Guix build requested on Feb 6, 2024
  300. in depends/hosts/darwin.mk:10 in c86c54ef0f outdated
     5@@ -6,48 +6,14 @@ LD64_VERSION=711
     6 
     7 OSX_SDK=$(SDK_PATH)/Xcode-$(XCODE_VERSION)-$(XCODE_BUILD_ID)-extracted-SDK-with-libcxx-headers
     8 
     9-darwin_native_binutils=native_cctools
    10+CC = clang
    11+CXX = clang++
    


    TheCharlatan commented at 8:38 am on February 7, 2024:
    Why is this overriding CC and CXX here (and below)? Seems like this causes the current CI failure, or at least calling this darwin_CC and darwin_CXX allows me to properly override everything with AR=llvm-ar-17 OBJDUMP=llvm-objdump-17 RANLIB=llvm-ranlib-17 STRIP=llvm-strip-17 CC=clang-17 CXX=clang++-17 make HOST=arm64-apple-darwin -j 30 and complete a depends build on my machine.

    fanquake commented at 8:45 am on February 7, 2024:
    We have to override below, otherwise a build where the user sets CC and CCX won’t work, because there will be no target or SDK flags, and all configure checks / compilation will fail.

    TheCharlatan commented at 9:02 am on February 7, 2024:

    Right, what I’m suggesting is keeping the override lines and:

     0diff --git a/depends/hosts/darwin.mk b/depends/hosts/darwin.mk
     1index 9e201eb2bc..d31ac398a4 100644
     2--- a/depends/hosts/darwin.mk
     3+++ b/depends/hosts/darwin.mk
     4@@ -9,2 +9,2 @@ OSX_SDK=$(SDK_PATH)/Xcode-$(XCODE_VERSION)-$(XCODE_BUILD_ID)-extracted-SDK-with-
     5-CC = clang
     6-CXX = clang++
     7+darwin_CC = clang
     8+darwin_CXX = clang++
     9@@ -46,0 +47,2 @@ override CXX += $(host_and_SDK)
    10+override darwin_CC += $(host_and_SDK)
    11+override darwin_CXX += $(host_and_SDK)
    
  301. DrahtBot added the label Needs rebase on Mar 12, 2024
  302. fanquake force-pushed on Mar 12, 2024
  303. DrahtBot removed the label Needs rebase on Mar 12, 2024
  304. DrahtBot added the label Needs rebase on Mar 14, 2024
  305. fanquake force-pushed on Mar 14, 2024
  306. DrahtBot removed the label Needs rebase on Mar 14, 2024
  307. fanquake referenced this in commit 2f606c87d3 on Mar 26, 2024
  308. fanquake referenced this in commit ac9879c061 on Mar 26, 2024
  309. fanquake referenced this in commit 91440efb1e on Mar 26, 2024
  310. fanquake referenced this in commit 20856931ea on Mar 26, 2024
  311. fanquake referenced this in commit 039af15e99 on Mar 26, 2024
  312. fanquake referenced this in commit fb04a93322 on Mar 26, 2024
  313. fanquake referenced this in commit 93f22a662f on Mar 26, 2024
  314. fanquake referenced this in commit 2417ec2550 on Mar 26, 2024
  315. fanquake referenced this in commit efa00c102b on Mar 26, 2024
  316. fanquake referenced this in commit 1ab59c7d11 on Mar 27, 2024
  317. fanquake referenced this in commit 89e12f6a4b on Mar 27, 2024
  318. fanquake referenced this in commit 430f319f73 on Mar 27, 2024
  319. fanquake referenced this in commit 3d37ed490a on Apr 1, 2024
  320. DrahtBot added the label Needs rebase on Apr 1, 2024
  321. fanquake force-pushed on Apr 1, 2024
  322. DrahtBot removed the label Needs rebase on Apr 1, 2024
  323. PastaPastaPasta referenced this in commit 4116404b3e on Apr 3, 2024
  324. DrahtBot added the label Needs rebase on Apr 4, 2024
  325. fanquake force-pushed on Apr 4, 2024
  326. DrahtBot removed the label Needs rebase on Apr 4, 2024
  327. PastaPastaPasta referenced this in commit 64cb78a6a7 on Apr 4, 2024
  328. fanquake referenced this in commit 5d91933c1a on Apr 5, 2024
  329. DrahtBot added the label Needs rebase on Apr 5, 2024
  330. DrahtBot commented at 3:25 pm on April 5, 2024: contributor

    🐙 This pull request conflicts with the target branch and needs rebase.

  331. janus referenced this in commit 505743168c on Apr 6, 2024
  332. fanquake referenced this in commit 0723060e28 on Apr 9, 2024
  333. fanquake referenced this in commit 1f80cc6191 on Apr 9, 2024
  334. PastaPastaPasta referenced this in commit 12d2e828fb on Apr 12, 2024
  335. fanquake referenced this in commit 234639b2bd on Apr 16, 2024
  336. fanquake referenced this in commit 16fdd642b1 on Apr 16, 2024
  337. PastaPastaPasta referenced this in commit 41931f3888 on Apr 23, 2024
  338. luke-jr referenced this in commit b84f300926 on Apr 24, 2024
  339. PastaPastaPasta referenced this in commit a1dc17dcb1 on Apr 24, 2024
  340. fanquake referenced this in commit 7b6338d75b on Apr 25, 2024
  341. fanquake referenced this in commit e5f464be32 on Apr 26, 2024
  342. fanquake referenced this in commit 89abd3467d on Apr 27, 2024
  343. fanquake referenced this in commit 34848d4bbe on Apr 27, 2024
  344. PastaPastaPasta referenced this in commit 439f6d16b2 on Apr 29, 2024
  345. fanquake referenced this in commit 30c54c1f1b on May 3, 2024
  346. fanquake referenced this in commit 0ec6374751 on May 3, 2024
  347. fanquake referenced this in commit dc17ec1cde on May 6, 2024
  348. fanquake referenced this in commit c9310b7c45 on May 6, 2024
  349. fanquake referenced this in commit 9a03f4ed54 on May 7, 2024
  350. fanquake referenced this in commit 7f5ac4520d on May 8, 2024
  351. fanquake referenced this in commit 986c63dcad on May 9, 2024
  352. fanquake referenced this in commit b671fba5c2 on May 9, 2024
  353. fanquake force-pushed on May 9, 2024
  354. fanquake referenced this in commit c132f26456 on May 9, 2024
  355. fanquake force-pushed on May 9, 2024
  356. fanquake added the label DrahtBot Guix build requested on May 9, 2024
  357. fanquake commented at 4:22 pm on May 9, 2024: member
    Redone this to be less convoluted. No-longer dropping our native LLVM Clang in here; just switching to LLD, dropping cctools & libtapi. Will do Clang in a followup, it gets too messy otherwise. Currently based on #29739 and #30074. Can split the other cctools changes if wanted, but they are pretty simple. The qrencode AR change likely needs to be applied globally in depends.
  358. in depends/packages/qrencode.mk:11 in b6ad14be08 outdated
     7@@ -8,7 +8,7 @@ $(package)_patches=cmake_fixups.patch
     8 define $(package)_set_vars
     9 $(package)_config_opts := -DWITH_TOOLS=NO -DWITH_TESTS=NO -DGPROF=OFF -DCOVERAGE=OFF
    10 $(package)_config_opts += -DCMAKE_DISABLE_FIND_PACKAGE_PNG=TRUE -DWITHOUT_PNG=ON
    11-$(package)_config_opts += -DCMAKE_DISABLE_FIND_PACKAGE_ICONV=TRUE
    12+$(package)_config_opts += -DCMAKE_DISABLE_FIND_PACKAGE_ICONV=TRUE -DCMAKE_AR=$($(package)_ar)
    


    theuni commented at 4:44 pm on May 9, 2024:
    Seems this is a bugfix regardless?

    fanquake commented at 4:26 am on May 10, 2024:
    Yea. Split into #30078.
  359. UdjinM6 referenced this in commit 38630772f8 on May 9, 2024
  360. UdjinM6 referenced this in commit 695c8b1466 on May 9, 2024
  361. UdjinM6 referenced this in commit 5475d91dd7 on May 9, 2024
  362. DrahtBot commented at 2:59 am on May 10, 2024: contributor

    Guix builds (on x86_64) [untrusted test-only build, possibly unsafe, not for production use]

    File commit ceb1e078f8c0ae58ff72748b039184a205efe337(master) commit cb29a9c7e3f7ee79a309a164ab5cf9f99513f532(master and this pull)
    SHA256SUMS.part 0d3f2df6d0d82d16...
    *-aarch64-linux-gnu-debug.tar.gz 6cabb80fb73134f2...
    *-aarch64-linux-gnu.tar.gz 2daed9464982e987...
    *-arm-linux-gnueabihf-debug.tar.gz 2bc7c3b446a72adb...
    *-arm-linux-gnueabihf.tar.gz a3aea09c67eb4e75...
    *-arm64-apple-darwin-unsigned.tar.gz 38e1f3be896f6dba...
    *-arm64-apple-darwin-unsigned.zip 83099989d2c8cd75...
    *-arm64-apple-darwin.tar.gz 9b1115b3e6f12d94...
    *-powerpc64-linux-gnu-debug.tar.gz fdba5df1bb60516b...
    *-powerpc64-linux-gnu.tar.gz 3025d8c8e05256fc...
    *-riscv64-linux-gnu-debug.tar.gz 7e663ade407ca923...
    *-riscv64-linux-gnu.tar.gz 4e6884787e8e505a...
    *-x86_64-apple-darwin-unsigned.tar.gz a56351782c789ed6...
    *-x86_64-apple-darwin-unsigned.zip c171b912a9494622...
    *-x86_64-apple-darwin.tar.gz f7f4284984349370...
    *-x86_64-linux-gnu-debug.tar.gz fe60527ac92b9dad...
    *-x86_64-linux-gnu.tar.gz eea0259e2f294eaa...
    *.tar.gz 2ffc52da14b707a6...
    guix_build.log 3877dc10bfbce9b7... 7bf032c9e397de69...
    guix_build.log.diff 5f6f130d9146cf04...
  363. DrahtBot removed the label DrahtBot Guix build requested on May 10, 2024
  364. fanquake referenced this in commit a4c5d66df8 on May 10, 2024
  365. fanquake force-pushed on May 10, 2024
  366. fanquake referenced this in commit f0b238cc6c on May 10, 2024
  367. fanquake force-pushed on May 10, 2024
  368. fanquake removed the label Needs rebase on May 10, 2024
  369. fanquake added the label DrahtBot Guix build requested on May 10, 2024
  370. fanquake commented at 4:46 am on May 10, 2024: member

    Darwin Guix build (aarch64):

    01de4299604e1711c90134a94a7ba6bc2685cc43e4acb283a7b3689afba883205  guix-build-c5f2df00a26c/output/arm64-apple-darwin/SHA256SUMS.part
    17dcb77afb8dfa36c39be686827bec06bd39d197faed179b6e17d62492567ce9a  guix-build-c5f2df00a26c/output/arm64-apple-darwin/bitcoin-c5f2df00a26c-arm64-apple-darwin-unsigned.tar.gz
    22f2bcf41e7b1f7ac28258e6db4600b0230db515f9549dae1c714948c9986c433  guix-build-c5f2df00a26c/output/arm64-apple-darwin/bitcoin-c5f2df00a26c-arm64-apple-darwin-unsigned.zip
    393d42c4cc8c01f882bba24c72823974347b1baed77f4f89a48869dbbcd07f236  guix-build-c5f2df00a26c/output/arm64-apple-darwin/bitcoin-c5f2df00a26c-arm64-apple-darwin.tar.gz
    4fc3c07f5d43ea8527c9a708bbd58075bb390434c52f7a628208ca0f98dd23308  guix-build-c5f2df00a26c/output/dist-archive/bitcoin-c5f2df00a26c.tar.gz
    54e038157c4941ea9d880e034b31ae235ab324fe68de200a62e74098b6e91a096  guix-build-c5f2df00a26c/output/x86_64-apple-darwin/SHA256SUMS.part
    66c1e094668b084be9af4069328750c42a330890c90632af485be152426e6094f  guix-build-c5f2df00a26c/output/x86_64-apple-darwin/bitcoin-c5f2df00a26c-x86_64-apple-darwin-unsigned.tar.gz
    7ce59288aee5ee1bb5adac2c3bca5ed72289a9ac15ea2f722a58c18475336b9fc  guix-build-c5f2df00a26c/output/x86_64-apple-darwin/bitcoin-c5f2df00a26c-x86_64-apple-darwin-unsigned.zip
    876aec809181c6097e6a07de9f0508df14432c7982cf8a553c3751a2ae34d7b14  guix-build-c5f2df00a26c/output/x86_64-apple-darwin/bitcoin-c5f2df00a26c-x86_64-apple-darwin.tar.gz
    
  371. DrahtBot removed the label CI failed on May 10, 2024
  372. DrahtBot commented at 5:22 pm on May 10, 2024: contributor

    Guix builds (on x86_64) [untrusted test-only build, possibly unsafe, not for production use]

    File commit 98dd4e712efaa2b77cb168426756879c6405c3f4(master) commit c07aca77f8e17d7cdc65c744a74d6f49df45f537(master and this pull)
    SHA256SUMS.part f0882a75d41d55b7... 3baadae5f3ae0473...
    *-aarch64-linux-gnu-debug.tar.gz 09d7a2fa8acc6b0c... 43f73bad1ef592d6...
    *-aarch64-linux-gnu.tar.gz c5f3f036d68133af... 064676014bc79736...
    *-arm-linux-gnueabihf-debug.tar.gz af0eb13e7208138d... 31dbbd7265d98241...
    *-arm-linux-gnueabihf.tar.gz ea79caad5ea6bea3... 3cfaac5fc2da375a...
    *-arm64-apple-darwin-unsigned.tar.gz 323bad7d7830e7a7... a491be2d19b2d5e3...
    *-arm64-apple-darwin-unsigned.zip 134c5878f0e5ad14... c06594af6183241e...
    *-arm64-apple-darwin.tar.gz b24da889ec671c09... 8ef042a74ab7e586...
    *-powerpc64-linux-gnu-debug.tar.gz ad5b3947dafad457... ee5329f54b12a316...
    *-powerpc64-linux-gnu.tar.gz bc9b83d21ba28f85... 148cb530214fe976...
    *-riscv64-linux-gnu-debug.tar.gz d57cb4fc4adc8b09... f47131f997d24f63...
    *-riscv64-linux-gnu.tar.gz 067b56b3906c3e3c... 6d4cff3ea683a3e4...
    *-x86_64-apple-darwin-unsigned.tar.gz 868db4ba494b3969... 9941d5493af8a4cd...
    *-x86_64-apple-darwin-unsigned.zip d68c44f80125d192... 27a918c940552c3f...
    *-x86_64-apple-darwin.tar.gz 45e48ceebf0b1eea... 7656222dcad19088...
    *-x86_64-linux-gnu-debug.tar.gz 31575780bc6836fc... 5ed74fbbd220a312...
    *-x86_64-linux-gnu.tar.gz 6c42e12b7d5f6cae... da7ef4915fd34954...
    *.tar.gz 60e42b8267a673c8... d5243bfbffad995e...
    guix_build.log 73ff248e0462f67f... 9fc076039d9a9d6e...
    guix_build.log.diff 032c9cda0dcb6453...
  373. DrahtBot removed the label DrahtBot Guix build requested on May 10, 2024
  374. in depends/hosts/darwin.mk:107 in 31b9a53f82 outdated
    103@@ -104,6 +104,7 @@ darwin_LDFLAGS=-Wl,-platform_version,macos,$(OSX_MIN_VERSION),$(OSX_SDK_VERSION)
    104 ifneq ($(build_os),darwin)
    105 darwin_CFLAGS += -mlinker-version=$(LD64_VERSION)
    106 darwin_CXXFLAGS += -mlinker-version=$(LD64_VERSION)
    107+darwin_LDFLAGS += --ld-path=$(build_prefix)/bin/$(host)-ld
    


    theuni commented at 6:31 pm on May 10, 2024:
    (the existing) -B isn’t sufficient here?

    fanquake commented at 12:41 pm on May 13, 2024:
    I think you’re right. Might have added this as belt-and-suspenders, but have checked again with non-Guix builds, and I still see the correct lld used, even on systems with other llds installed & similar.
  375. fanquake referenced this in commit 4d3f1d08db on May 11, 2024
  376. fanquake force-pushed on May 11, 2024
  377. fanquake force-pushed on May 13, 2024
  378. fanquake force-pushed on May 13, 2024
  379. fanquake commented at 12:45 pm on May 13, 2024: member
    Rebased on master. Currently based on #30074 and #30078. Dropped the commit related to --ld-path, and added a commit to remove binutils from the macOS Guix build env.
  380. DrahtBot added the label CI failed on May 13, 2024
  381. DrahtBot removed the label CI failed on May 13, 2024
  382. fanquake referenced this in commit 7fcf4e9979 on May 14, 2024
  383. fanquake force-pushed on May 14, 2024
  384. fanquake referenced this in commit 695d80126f on May 15, 2024
  385. fanquake force-pushed on May 15, 2024
  386. fanquake marked this as ready for review on May 15, 2024
  387. fanquake added the label DrahtBot Guix build requested on May 15, 2024
  388. fanquake commented at 4:20 am on May 15, 2024: member

    Guix build (aarch64):

     0cf99b6597c64c4d0cd75176d261a53f24779e8c3dbe9e891d9d166ae9d00d182  guix-build-f58a8678957e/output/aarch64-linux-gnu/SHA256SUMS.part
     1922e38e2b1a091f20caa014600936689fb9f14bf56fbd80e4c836c518897ff1f  guix-build-f58a8678957e/output/aarch64-linux-gnu/bitcoin-f58a8678957e-aarch64-linux-gnu-debug.tar.gz
     2256c68e14a905aa6933a2dc83cad636a14ee99ac4661a287e7817efe421965ab  guix-build-f58a8678957e/output/aarch64-linux-gnu/bitcoin-f58a8678957e-aarch64-linux-gnu.tar.gz
     350eafd4c679cab81c40ed02b1ad4aafb53f8ccf40c497e084596a078977221ed  guix-build-f58a8678957e/output/arm-linux-gnueabihf/SHA256SUMS.part
     4bb89cc308567954302710c809b09992befbbf589c2fa3c33be4b575ad5c619d5  guix-build-f58a8678957e/output/arm-linux-gnueabihf/bitcoin-f58a8678957e-arm-linux-gnueabihf-debug.tar.gz
     5a83ebe295c39f7581b0d12f5ef58059a54ef0950673a3d0444a73983f83f2468  guix-build-f58a8678957e/output/arm-linux-gnueabihf/bitcoin-f58a8678957e-arm-linux-gnueabihf.tar.gz
     67db661a4ecabd812a1630b25062f5cfda15564e8ddbe81c8f5aee7e1d0c670c6  guix-build-f58a8678957e/output/arm64-apple-darwin/SHA256SUMS.part
     7dc4e3673d1aedc94e6e59aa838508dbfcb3a0b1e50af48f94ac3ed691871acf8  guix-build-f58a8678957e/output/arm64-apple-darwin/bitcoin-f58a8678957e-arm64-apple-darwin-unsigned.tar.gz
     80899c00ebeac5709fbd38424c9eb93a75da658b9af55be7688dbaeefb005bdc9  guix-build-f58a8678957e/output/arm64-apple-darwin/bitcoin-f58a8678957e-arm64-apple-darwin-unsigned.zip
     9aa51ca52f7d6289c38417ac83919825ebef540b3681bfa5e95b954d0bbc1ece5  guix-build-f58a8678957e/output/arm64-apple-darwin/bitcoin-f58a8678957e-arm64-apple-darwin.tar.gz
    1041f187eeba20db1087328fd9bf21cd60ea869aa6b0288864a6c42c585022d7ed  guix-build-f58a8678957e/output/dist-archive/bitcoin-f58a8678957e.tar.gz
    11cd1be902c2d0af6967bed3fbc3c2b5064580333403be6b395b00f294fb558e7d  guix-build-f58a8678957e/output/powerpc64-linux-gnu/SHA256SUMS.part
    120a3a40bce2e52e1c60859504042f90e7a7fc63fa98258f19edc08de358933e94  guix-build-f58a8678957e/output/powerpc64-linux-gnu/bitcoin-f58a8678957e-powerpc64-linux-gnu-debug.tar.gz
    13011cb745d14aae9f96fd6610204ea6670f2b4dde723d8ab30241996761253fd1  guix-build-f58a8678957e/output/powerpc64-linux-gnu/bitcoin-f58a8678957e-powerpc64-linux-gnu.tar.gz
    14b50afc980b4f07b7452577b2a84c746e6c282c6a1239b122155d31b7656346e4  guix-build-f58a8678957e/output/riscv64-linux-gnu/SHA256SUMS.part
    152fd021da35b43c748cfa560da6d6755dbed370767fceb11eb8427767ab3c6fcc  guix-build-f58a8678957e/output/riscv64-linux-gnu/bitcoin-f58a8678957e-riscv64-linux-gnu-debug.tar.gz
    16c4d7af36e66eabc9069db5774629aa06882c2d6be464100057d58a16a13fc119  guix-build-f58a8678957e/output/riscv64-linux-gnu/bitcoin-f58a8678957e-riscv64-linux-gnu.tar.gz
    17038fca155f03bc2ad159ac4546e767b0fab83e61db951df208d33b575be2fb31  guix-build-f58a8678957e/output/x86_64-apple-darwin/SHA256SUMS.part
    189e50d7f1e574e8c9ab55f734be6d56ac196cd014f70d88a675044422f13e4cb0  guix-build-f58a8678957e/output/x86_64-apple-darwin/bitcoin-f58a8678957e-x86_64-apple-darwin-unsigned.tar.gz
    191edf854f8a0cbe52a36bd2ee4990b38220567038d3585231d20d6e91d076400d  guix-build-f58a8678957e/output/x86_64-apple-darwin/bitcoin-f58a8678957e-x86_64-apple-darwin-unsigned.zip
    20697e8b6a825f1577c275195ea6f77bd75f475cac900a1726e688651d6debafba  guix-build-f58a8678957e/output/x86_64-apple-darwin/bitcoin-f58a8678957e-x86_64-apple-darwin.tar.gz
    21fc6aaa438adab766507f56cd997cd6071a3cbfe0ec6a1a16a16c60f0d7a3e9b4  guix-build-f58a8678957e/output/x86_64-linux-gnu/SHA256SUMS.part
    224cb2ea625df852bed28dc569427439a57788f11a652e7be75c7f9e825ac37882  guix-build-f58a8678957e/output/x86_64-linux-gnu/bitcoin-f58a8678957e-x86_64-linux-gnu-debug.tar.gz
    23b361dddbf2af228ce466e34d0e87a6a2fd51b695e89c6cb03b77e3beaa9c7cf1  guix-build-f58a8678957e/output/x86_64-linux-gnu/bitcoin-f58a8678957e-x86_64-linux-gnu.tar.gz
    24f73b62162f6e55530c0d785793de85e67a40490174658d70f1004bee78b7a60a  guix-build-f58a8678957e/output/x86_64-w64-mingw32/SHA256SUMS.part
    250f82a06fac33f8f42cd226f1b61af7157cf24cba41b5955807c71e50fa2d1afa  guix-build-f58a8678957e/output/x86_64-w64-mingw32/bitcoin-f58a8678957e-win64-debug.zip
    26edbc360fc6a4cb3e7b720dfdc3612f8dcb3eb7d827b6de2a964e5a567ab89914  guix-build-f58a8678957e/output/x86_64-w64-mingw32/bitcoin-f58a8678957e-win64-setup-unsigned.exe
    2725d517098b25269ab895a443852abc103d856d9db165dce7ede595533ba077e2  guix-build-f58a8678957e/output/x86_64-w64-mingw32/bitcoin-f58a8678957e-win64-unsigned.tar.gz
    282bcf90f2c17016f026250d1220a8524a59d165f005f8c1fc153c851e385ff125  guix-build-f58a8678957e/output/x86_64-w64-mingw32/bitcoin-f58a8678957e-win64.zip
    
  389. DrahtBot commented at 12:42 pm on May 15, 2024: contributor

    Guix builds (on x86_64) [untrusted test-only build, possibly unsafe, not for production use]

    File commit 3d24189664e696a2ca1aee2b5ea57b245344e2d4(master) commit b0ebcc6c4ef90f5753875df9a208af5943b0d0b2(master and this pull)
    SHA256SUMS.part f659701a6e2d4cd7... e7f27d6199d5c5c9...
    *-aarch64-linux-gnu-debug.tar.gz 2238885d945acb03... 3c73c3fab8cd7fed...
    *-aarch64-linux-gnu.tar.gz 7dfc8f89b384f468... 803a91d844e8efc6...
    *-arm-linux-gnueabihf-debug.tar.gz 36eb82c148160083... 1c7ecc58084b16f8...
    *-arm-linux-gnueabihf.tar.gz 0cdd25b777f6a659... d81cb883f65af1fe...
    *-arm64-apple-darwin-unsigned.tar.gz 4d2c71539cce2cc7... a54f4bdeb6becae0...
    *-arm64-apple-darwin-unsigned.zip 46f9b523ab0ce7c2... f5d43a095750c043...
    *-arm64-apple-darwin.tar.gz faeaeb0d6d840303... 7e1e2fa47bb568e7...
    *-powerpc64-linux-gnu-debug.tar.gz 1164af07cbdc966c... 28435c23e7c5d958...
    *-powerpc64-linux-gnu.tar.gz 674c0d88a6a969fe... 28e93fcbd7d9f9ec...
    *-riscv64-linux-gnu-debug.tar.gz e63320140a4e108b... 31a7a78301d47d56...
    *-riscv64-linux-gnu.tar.gz 5a28b1cae20a322b... 72a125ca79f4181a...
    *-x86_64-apple-darwin-unsigned.tar.gz 7ec17b78fef01fe0... d3f0ea3cc835cd35...
    *-x86_64-apple-darwin-unsigned.zip 7ff23984325a5f49... b844b8cdf3d3438e...
    *-x86_64-apple-darwin.tar.gz 25a595808ba55a41... e23cdd74f0991ce9...
    *-x86_64-linux-gnu-debug.tar.gz 35a40d56f7bd35f6... 58ce07b8bb96c1e7...
    *-x86_64-linux-gnu.tar.gz ff02631d44b35309... 2d3922f44a75bc96...
    *.tar.gz 0d3e040405e5e3df... 43a42fb348abf7d7...
    guix_build.log 955286393909a603... ed8f10a7109a5d11...
    guix_build.log.diff 5961c370c3b0952f...
  390. DrahtBot removed the label DrahtBot Guix build requested on May 15, 2024
  391. TheCharlatan commented at 6:44 pm on May 15, 2024: contributor

    Guix build (aarch64):

     0cf99b6597c64c4d0cd75176d261a53f24779e8c3dbe9e891d9d166ae9d00d182  guix-build-f58a8678957e/output/aarch64-linux-gnu/SHA256SUMS.part
     1922e38e2b1a091f20caa014600936689fb9f14bf56fbd80e4c836c518897ff1f  guix-build-f58a8678957e/output/aarch64-linux-gnu/bitcoin-f58a8678957e-aarch64-linux-gnu-debug.tar.gz
     2256c68e14a905aa6933a2dc83cad636a14ee99ac4661a287e7817efe421965ab  guix-build-f58a8678957e/output/aarch64-linux-gnu/bitcoin-f58a8678957e-aarch64-linux-gnu.tar.gz
     350eafd4c679cab81c40ed02b1ad4aafb53f8ccf40c497e084596a078977221ed  guix-build-f58a8678957e/output/arm-linux-gnueabihf/SHA256SUMS.part
     4bb89cc308567954302710c809b09992befbbf589c2fa3c33be4b575ad5c619d5  guix-build-f58a8678957e/output/arm-linux-gnueabihf/bitcoin-f58a8678957e-arm-linux-gnueabihf-debug.tar.gz
     5a83ebe295c39f7581b0d12f5ef58059a54ef0950673a3d0444a73983f83f2468  guix-build-f58a8678957e/output/arm-linux-gnueabihf/bitcoin-f58a8678957e-arm-linux-gnueabihf.tar.gz
     650201dbbc968eaa0d050d3d487f3ceef7d637365af5bfb409ecfc6a0e605854c  guix-build-f58a8678957e/output/arm64-apple-darwin/SHA256SUMS.part
     7eee03ae11d7128457850691bb9ffdba083e0b6d179982bd3c63ce3bb356c6692  guix-build-f58a8678957e/output/arm64-apple-darwin/bitcoin-f58a8678957e-arm64-apple-darwin-unsigned.tar.gz
     8af2d54123313ccd0e251f599bc9d71ba5fef28db9a1a43a730cab0394d9c8804  guix-build-f58a8678957e/output/arm64-apple-darwin/bitcoin-f58a8678957e-arm64-apple-darwin-unsigned.zip
     911a71cb3585ff2176267157a1160704b7537015060c7f0ecd73b1bf26ecc74c9  guix-build-f58a8678957e/output/arm64-apple-darwin/bitcoin-f58a8678957e-arm64-apple-darwin.tar.gz
    1041f187eeba20db1087328fd9bf21cd60ea869aa6b0288864a6c42c585022d7ed  guix-build-f58a8678957e/output/dist-archive/bitcoin-f58a8678957e.tar.gz
    11cd1be902c2d0af6967bed3fbc3c2b5064580333403be6b395b00f294fb558e7d  guix-build-f58a8678957e/output/powerpc64-linux-gnu/SHA256SUMS.part
    120a3a40bce2e52e1c60859504042f90e7a7fc63fa98258f19edc08de358933e94  guix-build-f58a8678957e/output/powerpc64-linux-gnu/bitcoin-f58a8678957e-powerpc64-linux-gnu-debug.tar.gz
    13011cb745d14aae9f96fd6610204ea6670f2b4dde723d8ab30241996761253fd1  guix-build-f58a8678957e/output/powerpc64-linux-gnu/bitcoin-f58a8678957e-powerpc64-linux-gnu.tar.gz
    14b50afc980b4f07b7452577b2a84c746e6c282c6a1239b122155d31b7656346e4  guix-build-f58a8678957e/output/riscv64-linux-gnu/SHA256SUMS.part
    152fd021da35b43c748cfa560da6d6755dbed370767fceb11eb8427767ab3c6fcc  guix-build-f58a8678957e/output/riscv64-linux-gnu/bitcoin-f58a8678957e-riscv64-linux-gnu-debug.tar.gz
    16c4d7af36e66eabc9069db5774629aa06882c2d6be464100057d58a16a13fc119  guix-build-f58a8678957e/output/riscv64-linux-gnu/bitcoin-f58a8678957e-riscv64-linux-gnu.tar.gz
    17038fca155f03bc2ad159ac4546e767b0fab83e61db951df208d33b575be2fb31  guix-build-f58a8678957e/output/x86_64-apple-darwin/SHA256SUMS.part
    189e50d7f1e574e8c9ab55f734be6d56ac196cd014f70d88a675044422f13e4cb0  guix-build-f58a8678957e/output/x86_64-apple-darwin/bitcoin-f58a8678957e-x86_64-apple-darwin-unsigned.tar.gz
    191edf854f8a0cbe52a36bd2ee4990b38220567038d3585231d20d6e91d076400d  guix-build-f58a8678957e/output/x86_64-apple-darwin/bitcoin-f58a8678957e-x86_64-apple-darwin-unsigned.zip
    20697e8b6a825f1577c275195ea6f77bd75f475cac900a1726e688651d6debafba  guix-build-f58a8678957e/output/x86_64-apple-darwin/bitcoin-f58a8678957e-x86_64-apple-darwin.tar.gz
    21fc6aaa438adab766507f56cd997cd6071a3cbfe0ec6a1a16a16c60f0d7a3e9b4  guix-build-f58a8678957e/output/x86_64-linux-gnu/SHA256SUMS.part
    224cb2ea625df852bed28dc569427439a57788f11a652e7be75c7f9e825ac37882  guix-build-f58a8678957e/output/x86_64-linux-gnu/bitcoin-f58a8678957e-x86_64-linux-gnu-debug.tar.gz
    23b361dddbf2af228ce466e34d0e87a6a2fd51b695e89c6cb03b77e3beaa9c7cf1  guix-build-f58a8678957e/output/x86_64-linux-gnu/bitcoin-f58a8678957e-x86_64-linux-gnu.tar.gz
    24f73b62162f6e55530c0d785793de85e67a40490174658d70f1004bee78b7a60a  guix-build-f58a8678957e/output/x86_64-w64-mingw32/SHA256SUMS.part
    250f82a06fac33f8f42cd226f1b61af7157cf24cba41b5955807c71e50fa2d1afa  guix-build-f58a8678957e/output/x86_64-w64-mingw32/bitcoin-f58a8678957e-win64-debug.zip
    26edbc360fc6a4cb3e7b720dfdc3612f8dcb3eb7d827b6de2a964e5a567ab89914  guix-build-f58a8678957e/output/x86_64-w64-mingw32/bitcoin-f58a8678957e-win64-setup-unsigned.exe
    2725d517098b25269ab895a443852abc103d856d9db165dce7ede595533ba077e2  guix-build-f58a8678957e/output/x86_64-w64-mingw32/bitcoin-f58a8678957e-win64-unsigned.tar.gz
    282bcf90f2c17016f026250d1220a8524a59d165f005f8c1fc153c851e385ff125  guix-build-f58a8678957e/output/x86_64-w64-mingw32/bitcoin-f58a8678957e-win64.zip
    

    Looks like there is a mismatch on the arm64 build.

  392. fanquake force-pushed on May 21, 2024
  393. fanquake commented at 1:58 pm on May 21, 2024: member

    Looks like there is a mismatch on the arm64 build.

    Disabled adhoc-codesigning for now, as the non-determinism is coming from the identifier field (also why it only happens for arm64). also cc @theuni

  394. fanquake commented at 4:18 pm on May 21, 2024: member

    Guix Build (aarch64, x86_64):

     0a0f00b836d0843e3e9be0cef471f455d113de49da467424718fafeb981490be5  guix-build-e208d5df7937/output/aarch64-linux-gnu/SHA256SUMS.part
     1a1ccae9ef1a5f4f1641c864c2aa173c7fde2f63de5519c8a13bf2e13b1a16b94  guix-build-e208d5df7937/output/aarch64-linux-gnu/bitcoin-e208d5df7937-aarch64-linux-gnu-debug.tar.gz
     279d2affa00eda5657e322b864fe31c49cde9971c5a1ef303fa781d4740748979  guix-build-e208d5df7937/output/aarch64-linux-gnu/bitcoin-e208d5df7937-aarch64-linux-gnu.tar.gz
     3f8ca89361fcb1b0958756c153ac434b7b7f93b1a95136746367d648e33a017ea  guix-build-e208d5df7937/output/arm-linux-gnueabihf/SHA256SUMS.part
     42ae9e393b8d363de64226b765bf620851bc58e1dc0409faf3aa9342f1c91d7e4  guix-build-e208d5df7937/output/arm-linux-gnueabihf/bitcoin-e208d5df7937-arm-linux-gnueabihf-debug.tar.gz
     563955c4254a76f554dcb2574eb5d0eea7827360199ba8994544a7f1e73f2d7b8  guix-build-e208d5df7937/output/arm-linux-gnueabihf/bitcoin-e208d5df7937-arm-linux-gnueabihf.tar.gz
     65bcde35563e11ae191ec424bb43227f76c91d5819fdf336cb679763fb4f37b08  guix-build-e208d5df7937/output/arm64-apple-darwin/SHA256SUMS.part
     79b3f1fb66cf2956d7dd65e9beaa6221d37d8070b08a0f839b80d48c183901c96  guix-build-e208d5df7937/output/arm64-apple-darwin/bitcoin-e208d5df7937-arm64-apple-darwin-unsigned.tar.gz
     8b51bbc77fdaf6db5d460450b8f93a9b5f9d225e915faaa055372778fe5b285ac  guix-build-e208d5df7937/output/arm64-apple-darwin/bitcoin-e208d5df7937-arm64-apple-darwin-unsigned.zip
     9133ebf8255bc48ab79d79ee03c3cf797f85d61867d5f38c3fce5a11d284ca696  guix-build-e208d5df7937/output/arm64-apple-darwin/bitcoin-e208d5df7937-arm64-apple-darwin.tar.gz
    105d2ad53e635b3ec0917a74627a8bacfd3efccd3dc2b05268d012a506c56f5ca6  guix-build-e208d5df7937/output/dist-archive/bitcoin-e208d5df7937.tar.gz
    11df2f04b6139c25d7af8e6d6a1d126a35aeab599b2ae948c4084d7a1e9abe5378  guix-build-e208d5df7937/output/powerpc64-linux-gnu/SHA256SUMS.part
    12438bd47ffadea4967f9a4542898d8ff931d0ae27bb4f535631362224409ba2cd  guix-build-e208d5df7937/output/powerpc64-linux-gnu/bitcoin-e208d5df7937-powerpc64-linux-gnu-debug.tar.gz
    134052325b00ede1c5a1b5b5896d55e89abc72216ede2e25f4cf6da62873a0f30a  guix-build-e208d5df7937/output/powerpc64-linux-gnu/bitcoin-e208d5df7937-powerpc64-linux-gnu.tar.gz
    145bbbf8009e3e1f4ed7f058dc562b3e3c64613e45c8ddf92049e205978cb6e540  guix-build-e208d5df7937/output/riscv64-linux-gnu/SHA256SUMS.part
    159cb924b9826be7738b604e86150b667e4a52d0771e87e59337ba9b1a1fdef18e  guix-build-e208d5df7937/output/riscv64-linux-gnu/bitcoin-e208d5df7937-riscv64-linux-gnu-debug.tar.gz
    1619c50189af630703c45a42bf567cea7334c142315d4769de6e613b97a9079942  guix-build-e208d5df7937/output/riscv64-linux-gnu/bitcoin-e208d5df7937-riscv64-linux-gnu.tar.gz
    178e17100eed1dd9f37667ea91163006ad93d5abfb718d423e90a93810465d19a0  guix-build-e208d5df7937/output/x86_64-apple-darwin/SHA256SUMS.part
    181c4c1e764d199b404d29923724339e518973b9861f1bf2ee3c58fe67ef4f91f1  guix-build-e208d5df7937/output/x86_64-apple-darwin/bitcoin-e208d5df7937-x86_64-apple-darwin-unsigned.tar.gz
    19916ed3b18162215be8f331e521170fca10afeb03d0348aad00731b419351ae11  guix-build-e208d5df7937/output/x86_64-apple-darwin/bitcoin-e208d5df7937-x86_64-apple-darwin-unsigned.zip
    206caf13d5bc229b5017bc0292586e79d751917410c7d39889db39b97ac70b6597  guix-build-e208d5df7937/output/x86_64-apple-darwin/bitcoin-e208d5df7937-x86_64-apple-darwin.tar.gz
    2145c74fc8b64f808d27836c8b12fe433447606fbc8e06f42825003fe0ab9e963b  guix-build-e208d5df7937/output/x86_64-linux-gnu/SHA256SUMS.part
    2260f9182ff31c5ac33f4b22c8150146185c66368ca0524809879bfcf7faca9b4c  guix-build-e208d5df7937/output/x86_64-linux-gnu/bitcoin-e208d5df7937-x86_64-linux-gnu-debug.tar.gz
    23e7e4b0a37766a891d2c63a9fca5e9f3694e9af3d67a08726cb036ddf1ab21bc2  guix-build-e208d5df7937/output/x86_64-linux-gnu/bitcoin-e208d5df7937-x86_64-linux-gnu.tar.gz
    24be58ad405308a41a75c8d4901737ec8875de009e7d3b29b40913d3c7452cc580  guix-build-e208d5df7937/output/x86_64-w64-mingw32/SHA256SUMS.part
    2578974f958c83411cab5404703ec47b83b97ba636af3761293970960cfe08064d  guix-build-e208d5df7937/output/x86_64-w64-mingw32/bitcoin-e208d5df7937-win64-debug.zip
    26fb10861ab7f7c9b13255660dde2f7b8ad8fab9cebe4e1324aaea052364fe8a7d  guix-build-e208d5df7937/output/x86_64-w64-mingw32/bitcoin-e208d5df7937-win64-setup-unsigned.exe
    270b4cc5f9702c2f3f33852097c83fa81c26589aa7cd24bc3257527218fbd86943  guix-build-e208d5df7937/output/x86_64-w64-mingw32/bitcoin-e208d5df7937-win64-unsigned.tar.gz
    28d158efd3734dc549be953ff5ca662eff479e8b2d7f7eeef08eb13f4b442ce82d  guix-build-e208d5df7937/output/x86_64-w64-mingw32/bitcoin-e208d5df7937-win64.zip
    
  395. in contrib/guix/libexec/build.sh:136 in 3384d93c91 outdated
    143-        # no longer affect our build, as clang would instead reach for
    144-        # x86_64-apple-darwin-ld from cctools
    145-        ;;
    146-    *) export GUIX_LD_WRAPPER_DISABLE_RPATH=yes ;;
    147-esac
    148+export GUIX_LD_WRAPPER_DISABLE_RPATH=yes
    


    theuni commented at 5:37 pm on May 21, 2024:
    Why?

    fanquake commented at 5:42 pm on May 21, 2024:

    Why are we setting this, or why are we dropping it for Darwin?

    We no-longer need it given we aren’t building Darwin tools. It’s been disabled for all other hosts since Guix was introduced. I can dig up the history and post it here.


    theuni commented at 5:45 pm on May 21, 2024:

    Ah, sorry, I misread. Had it backwards. It looked like it was being applied only to darwin before, but it was applied to everything but darwin before. Now darwin is no longer an exception.

    Thanks.

  396. theuni commented at 6:39 pm on May 21, 2024: member

    DSYMUTIL does not get properly set in the config.site after these changes, and the wrong one ends up being found by our configure.

    It’s not clear to me if dsymutil ends up being used as part of our build at all. If so we should fix depends, if not we should remove it.

  397. fanquake force-pushed on May 21, 2024
  398. fanquake commented at 8:20 pm on May 21, 2024: member

    It’s not clear to me if dsymutil ends up being used as part of our build at all. If so we should fix depends, if not we should remove it.

    I think it might actually be unused at this point, but also have a vauge memory of a Qt related failure, if it’s missing.. Have pushed up a change to have it set properly for now.

  399. in depends/hosts/darwin.mk:52 in 7f736d395f outdated
    47@@ -40,19 +48,14 @@ llvm_config_prog=$(shell $(SHELL) $(.SHELLFLAGS) "command -v llvm-config")
    48 
    49 llvm_lib_dir=$(shell $(llvm_config_prog) --libdir)
    50 
    51+darwin_AR=$(shell $(SHELL) $(.SHELLFLAGS) "command -v llvm-ar")
    52+darwin_DSYMUTIL=$(shell $(SHELL) $(.SHELLFLAGS) "command -v dsymutil")
    


    theuni commented at 8:52 pm on May 21, 2024:
    Needs update?

    fanquake commented at 8:54 pm on May 21, 2024:
    In Guix this should just be dsymutil, not llvm-dsymutil.

    fanquake commented at 8:44 am on May 22, 2024:
    Clang actually expects this all the time, so just dsymutil is correct in depends as well (so we can’t copy the bin as llvm-dsymutil) (this was the qt related issue I had seen before).
  400. DrahtBot added the label CI failed on May 22, 2024
  401. depends: don't use -no_warning_for_no_symbols in macOS qt build
    Not supported by llvm-ar / llvm-ranlib.
    bab287d1ba
  402. depends: swap cctools-x for llvm-x
    Only build ld64 from cctools.
    Disable adhoc codesigning, to avoid non-determinism.
    437e908ebd
  403. build: add lld into macOS build environment(s) c6a6b2d6fd
  404. build: switch to using lld for macOS builds
    Adjust the security check for:
    ld64.lld: warning: Option `-allow_stack_execute' is not yet implemented.
    ld64.lld: error: -fixup_chains is incompatible with -no_pie
    and to account for the embedding of LLVMs version number.
    4a0536c5d9
  405. depends: remove cctools & libtapi f836f7e9b3
  406. guix: remove ZERO_AR_DATE export
    LLD enables ZERO_AR_DATE by default, setting it to zero would enable
    non-determinism, setting it to any other value is ignored.
    
    See:
    https://github.com/llvm/llvm-project/blob/main/lld/docs/MachO/ld64-vs-lld.rst.
    9ec238d0f3
  407. guix: use GUIX_LD_WRAPPER_DISABLE_RPATH for all HOSTS 555fddf646
  408. guix: drop binutils from macOS env e8c25e8a35
  409. fanquake force-pushed on May 22, 2024
  410. DrahtBot removed the label CI failed on May 22, 2024
  411. TheCharlatan commented at 9:25 am on May 22, 2024: contributor

    Guix build (aarch64):

     000becde2dd12878e3b9f50f27899a6a8b752343dade7c71781632715c3001473  guix-build-e8c25e8a35e3/output/aarch64-linux-gnu/SHA256SUMS.part
     1a685b9cee54014e74639be1e8db2d55b7c008fdb3b31c1c708c364a49b56759a  guix-build-e8c25e8a35e3/output/aarch64-linux-gnu/bitcoin-e8c25e8a35e3-aarch64-linux-gnu-debug.tar.gz
     2d61228158409802e5aef11c39a0da5653a6c7e870d5f500483c32c75f319e8b6  guix-build-e8c25e8a35e3/output/aarch64-linux-gnu/bitcoin-e8c25e8a35e3-aarch64-linux-gnu.tar.gz
     349447a196ead1f153cbebab2e22d229cb48f2736eec5c912c2ec5cebf8a58cad  guix-build-e8c25e8a35e3/output/arm-linux-gnueabihf/SHA256SUMS.part
     41e4510f6a5145810577b8ebc2eb5f38b3d2c28845e9d84ffe000d8cbb82429fa  guix-build-e8c25e8a35e3/output/arm-linux-gnueabihf/bitcoin-e8c25e8a35e3-arm-linux-gnueabihf-debug.tar.gz
     5a3c014032ac22c2fc0034a5708b157884395f37f3d20dfa6070cfb2a6aeebdf5  guix-build-e8c25e8a35e3/output/arm-linux-gnueabihf/bitcoin-e8c25e8a35e3-arm-linux-gnueabihf.tar.gz
     66377bf759602fb5dc00d7992b126ddc75cf03d71ce259c76c509299dac51be52  guix-build-e8c25e8a35e3/output/arm64-apple-darwin/SHA256SUMS.part
     77191d5a512ac9b7e934e771985eb2743180a00285b3e5275de1ffdc1e504e68e  guix-build-e8c25e8a35e3/output/arm64-apple-darwin/bitcoin-e8c25e8a35e3-arm64-apple-darwin-unsigned.tar.gz
     873516bfd8acb17f865b53e67e421dccfd0644c6582f462d8ebe710291c2b5367  guix-build-e8c25e8a35e3/output/arm64-apple-darwin/bitcoin-e8c25e8a35e3-arm64-apple-darwin-unsigned.zip
     907cc918282582193d8745cc7dcd4a4a4474e38d079b0d2831efdef59cb322449  guix-build-e8c25e8a35e3/output/arm64-apple-darwin/bitcoin-e8c25e8a35e3-arm64-apple-darwin.tar.gz
    10edcc1c61aa12b78c7a8e87d141832891e05f48b4a687ed7e3fae668236f339ff  guix-build-e8c25e8a35e3/output/dist-archive/bitcoin-e8c25e8a35e3.tar.gz
    1129601464afa40104ad8c6b4b10a5fde0649aba6f4bfea1b93258b7bfcaab7a5a  guix-build-e8c25e8a35e3/output/powerpc64-linux-gnu/SHA256SUMS.part
    1265c308cddf5cbac4132104a5b4d6cf7ec85e88b4f967c66cd942742996def56a  guix-build-e8c25e8a35e3/output/powerpc64-linux-gnu/bitcoin-e8c25e8a35e3-powerpc64-linux-gnu-debug.tar.gz
    13513c91b558e52ac27e6e33d916bfc378a6be6b2b218fb37712f05a44746fb68d  guix-build-e8c25e8a35e3/output/powerpc64-linux-gnu/bitcoin-e8c25e8a35e3-powerpc64-linux-gnu.tar.gz
    1472c790770e49bacd4e66eb2e93f6a3a2dc596c36254bf1ec00775bbd60121c31  guix-build-e8c25e8a35e3/output/riscv64-linux-gnu/SHA256SUMS.part
    15c7921f8f5bfe5c463e266b24399e600c2b67552a50dbf1414cacb5805271c561  guix-build-e8c25e8a35e3/output/riscv64-linux-gnu/bitcoin-e8c25e8a35e3-riscv64-linux-gnu-debug.tar.gz
    164f106246e1184a32289d2ba5251fc00af852e38351e45b3bcd974d1b099e515b  guix-build-e8c25e8a35e3/output/riscv64-linux-gnu/bitcoin-e8c25e8a35e3-riscv64-linux-gnu.tar.gz
    174e26090aa5ffb709088cb4e4e6aba32c0c2017a1fa776f5ec4d7be36e3ccb8aa  guix-build-e8c25e8a35e3/output/x86_64-apple-darwin/SHA256SUMS.part
    1887282cc09b9c57416c8f92ff5ae2614c9a9d26fdcfe3c16931df0fdedae9e1b4  guix-build-e8c25e8a35e3/output/x86_64-apple-darwin/bitcoin-e8c25e8a35e3-x86_64-apple-darwin-unsigned.tar.gz
    1925fd762a3a7b0d81f738c3b63272188094d42139b39c6f8dd92c30c54ccc86be  guix-build-e8c25e8a35e3/output/x86_64-apple-darwin/bitcoin-e8c25e8a35e3-x86_64-apple-darwin-unsigned.zip
    20d8c01baf156546546620d0ab17933478772527be4701b7479881a5547c527e2a  guix-build-e8c25e8a35e3/output/x86_64-apple-darwin/bitcoin-e8c25e8a35e3-x86_64-apple-darwin.tar.gz
    21b4eafb5e1c6730105e47cd7cd6ede361a4487250c903661c0ccebce8eeda5898  guix-build-e8c25e8a35e3/output/x86_64-linux-gnu/SHA256SUMS.part
    22819e54887b0eb2d659dccfbfcec9a1d49e47914ce46baae3b52b2821a844098a  guix-build-e8c25e8a35e3/output/x86_64-linux-gnu/bitcoin-e8c25e8a35e3-x86_64-linux-gnu-debug.tar.gz
    2325e48ea3a8f2d86ebea8d8ea96a902f3494197e93a65d4ff986d37506771a43a  guix-build-e8c25e8a35e3/output/x86_64-linux-gnu/bitcoin-e8c25e8a35e3-x86_64-linux-gnu.tar.gz
    24d73e31db2488cf422704e3abf432bb430f9155b8aafd4a9a501f826785cbe1d9  guix-build-e8c25e8a35e3/output/x86_64-w64-mingw32/SHA256SUMS.part
    2523818afba6bbd8de1c2c2d6d6b64c05d87400d424f4c9db516b854c75b29f50a  guix-build-e8c25e8a35e3/output/x86_64-w64-mingw32/bitcoin-e8c25e8a35e3-win64-debug.zip
    26facdda5d82b05091bb98419c7b6913e4d0019c58f4d67f95d750fc632e32c611  guix-build-e8c25e8a35e3/output/x86_64-w64-mingw32/bitcoin-e8c25e8a35e3-win64-setup-unsigned.exe
    2745a1252ce93fb0d8e1ebde66c16542c1bbc8b6efd6280ec7f1553415f80461fd  guix-build-e8c25e8a35e3/output/x86_64-w64-mingw32/bitcoin-e8c25e8a35e3-win64-unsigned.tar.gz
    288b4bc3b6cd78713e045db74eed4b3fbd711dd7e09980da386100e72dce33097e  guix-build-e8c25e8a35e3/output/x86_64-w64-mingw32/bitcoin-e8c25e8a35e3-win64.zip
    

    Another mismatch, this time on riscv64 -_-

  412. fanquake commented at 4:08 pm on May 22, 2024: member

    Another mismatch, this time on riscv64 -_-

    I’ve just rebuilt on 2 different machines (one aarch64 one x86_64), and they match your output here (removing my comment above):

     000becde2dd12878e3b9f50f27899a6a8b752343dade7c71781632715c3001473  guix-build-e8c25e8a35e3/output/aarch64-linux-gnu/SHA256SUMS.part
     1a685b9cee54014e74639be1e8db2d55b7c008fdb3b31c1c708c364a49b56759a  guix-build-e8c25e8a35e3/output/aarch64-linux-gnu/bitcoin-e8c25e8a35e3-aarch64-linux-gnu-debug.tar.gz
     2d61228158409802e5aef11c39a0da5653a6c7e870d5f500483c32c75f319e8b6  guix-build-e8c25e8a35e3/output/aarch64-linux-gnu/bitcoin-e8c25e8a35e3-aarch64-linux-gnu.tar.gz
     349447a196ead1f153cbebab2e22d229cb48f2736eec5c912c2ec5cebf8a58cad  guix-build-e8c25e8a35e3/output/arm-linux-gnueabihf/SHA256SUMS.part
     41e4510f6a5145810577b8ebc2eb5f38b3d2c28845e9d84ffe000d8cbb82429fa  guix-build-e8c25e8a35e3/output/arm-linux-gnueabihf/bitcoin-e8c25e8a35e3-arm-linux-gnueabihf-debug.tar.gz
     5a3c014032ac22c2fc0034a5708b157884395f37f3d20dfa6070cfb2a6aeebdf5  guix-build-e8c25e8a35e3/output/arm-linux-gnueabihf/bitcoin-e8c25e8a35e3-arm-linux-gnueabihf.tar.gz
     66377bf759602fb5dc00d7992b126ddc75cf03d71ce259c76c509299dac51be52  guix-build-e8c25e8a35e3/output/arm64-apple-darwin/SHA256SUMS.part
     77191d5a512ac9b7e934e771985eb2743180a00285b3e5275de1ffdc1e504e68e  guix-build-e8c25e8a35e3/output/arm64-apple-darwin/bitcoin-e8c25e8a35e3-arm64-apple-darwin-unsigned.tar.gz
     873516bfd8acb17f865b53e67e421dccfd0644c6582f462d8ebe710291c2b5367  guix-build-e8c25e8a35e3/output/arm64-apple-darwin/bitcoin-e8c25e8a35e3-arm64-apple-darwin-unsigned.zip
     907cc918282582193d8745cc7dcd4a4a4474e38d079b0d2831efdef59cb322449  guix-build-e8c25e8a35e3/output/arm64-apple-darwin/bitcoin-e8c25e8a35e3-arm64-apple-darwin.tar.gz
    10edcc1c61aa12b78c7a8e87d141832891e05f48b4a687ed7e3fae668236f339ff  guix-build-e8c25e8a35e3/output/dist-archive/bitcoin-e8c25e8a35e3.tar.gz
    1129601464afa40104ad8c6b4b10a5fde0649aba6f4bfea1b93258b7bfcaab7a5a  guix-build-e8c25e8a35e3/output/powerpc64-linux-gnu/SHA256SUMS.part
    1265c308cddf5cbac4132104a5b4d6cf7ec85e88b4f967c66cd942742996def56a  guix-build-e8c25e8a35e3/output/powerpc64-linux-gnu/bitcoin-e8c25e8a35e3-powerpc64-linux-gnu-debug.tar.gz
    13513c91b558e52ac27e6e33d916bfc378a6be6b2b218fb37712f05a44746fb68d  guix-build-e8c25e8a35e3/output/powerpc64-linux-gnu/bitcoin-e8c25e8a35e3-powerpc64-linux-gnu.tar.gz
    1472c790770e49bacd4e66eb2e93f6a3a2dc596c36254bf1ec00775bbd60121c31  guix-build-e8c25e8a35e3/output/riscv64-linux-gnu/SHA256SUMS.part
    15c7921f8f5bfe5c463e266b24399e600c2b67552a50dbf1414cacb5805271c561  guix-build-e8c25e8a35e3/output/riscv64-linux-gnu/bitcoin-e8c25e8a35e3-riscv64-linux-gnu-debug.tar.gz
    164f106246e1184a32289d2ba5251fc00af852e38351e45b3bcd974d1b099e515b  guix-build-e8c25e8a35e3/output/riscv64-linux-gnu/bitcoin-e8c25e8a35e3-riscv64-linux-gnu.tar.gz
    174e26090aa5ffb709088cb4e4e6aba32c0c2017a1fa776f5ec4d7be36e3ccb8aa  guix-build-e8c25e8a35e3/output/x86_64-apple-darwin/SHA256SUMS.part
    1887282cc09b9c57416c8f92ff5ae2614c9a9d26fdcfe3c16931df0fdedae9e1b4  guix-build-e8c25e8a35e3/output/x86_64-apple-darwin/bitcoin-e8c25e8a35e3-x86_64-apple-darwin-unsigned.tar.gz
    1925fd762a3a7b0d81f738c3b63272188094d42139b39c6f8dd92c30c54ccc86be  guix-build-e8c25e8a35e3/output/x86_64-apple-darwin/bitcoin-e8c25e8a35e3-x86_64-apple-darwin-unsigned.zip
    20d8c01baf156546546620d0ab17933478772527be4701b7479881a5547c527e2a  guix-build-e8c25e8a35e3/output/x86_64-apple-darwin/bitcoin-e8c25e8a35e3-x86_64-apple-darwin.tar.gz
    21b4eafb5e1c6730105e47cd7cd6ede361a4487250c903661c0ccebce8eeda5898  guix-build-e8c25e8a35e3/output/x86_64-linux-gnu/SHA256SUMS.part
    22819e54887b0eb2d659dccfbfcec9a1d49e47914ce46baae3b52b2821a844098a  guix-build-e8c25e8a35e3/output/x86_64-linux-gnu/bitcoin-e8c25e8a35e3-x86_64-linux-gnu-debug.tar.gz
    2325e48ea3a8f2d86ebea8d8ea96a902f3494197e93a65d4ff986d37506771a43a  guix-build-e8c25e8a35e3/output/x86_64-linux-gnu/bitcoin-e8c25e8a35e3-x86_64-linux-gnu.tar.gz
    24d73e31db2488cf422704e3abf432bb430f9155b8aafd4a9a501f826785cbe1d9  guix-build-e8c25e8a35e3/output/x86_64-w64-mingw32/SHA256SUMS.part
    2523818afba6bbd8de1c2c2d6d6b64c05d87400d424f4c9db516b854c75b29f50a  guix-build-e8c25e8a35e3/output/x86_64-w64-mingw32/bitcoin-e8c25e8a35e3-win64-debug.zip
    26facdda5d82b05091bb98419c7b6913e4d0019c58f4d67f95d750fc632e32c611  guix-build-e8c25e8a35e3/output/x86_64-w64-mingw32/bitcoin-e8c25e8a35e3-win64-setup-unsigned.exe
    2745a1252ce93fb0d8e1ebde66c16542c1bbc8b6efd6280ec7f1553415f80461fd  guix-build-e8c25e8a35e3/output/x86_64-w64-mingw32/bitcoin-e8c25e8a35e3-win64-unsigned.tar.gz
    288b4bc3b6cd78713e045db74eed4b3fbd711dd7e09980da386100e72dce33097e  guix-build-e8c25e8a35e3/output/x86_64-w64-mingw32/bitcoin-e8c25e8a35e3-win64.zip
    
  413. theuni commented at 7:04 pm on May 22, 2024: member

    I think it might actually be unused at this point, but also have a vauge memory of a Qt related failure, if it’s missing.. Have pushed up a change to have it set properly for now.

    Thanks, can confirm the correct one is picked up by our configure now.

  414. Sjors commented at 5:44 pm on May 23, 2024: member

    Tested e8c25e8a35e333e90514945c592557615641553f: the guix build, a local depends build and a local normal build on Intel macOS 14.5. Tested a normal build on macOS 13.6.7.

    Guix hashes (Ubuntu, AMD), matches what @TheCharlatan and @fanquake found above.

     000becde2dd12878e3b9f50f27899a6a8b752343dade7c71781632715c3001473  guix-build-e8c25e8a35e3/output/aarch64-linux-gnu/SHA256SUMS.part
     1a685b9cee54014e74639be1e8db2d55b7c008fdb3b31c1c708c364a49b56759a  guix-build-e8c25e8a35e3/output/aarch64-linux-gnu/bitcoin-e8c25e8a35e3-aarch64-linux-gnu-debug.tar.gz
     2d61228158409802e5aef11c39a0da5653a6c7e870d5f500483c32c75f319e8b6  guix-build-e8c25e8a35e3/output/aarch64-linux-gnu/bitcoin-e8c25e8a35e3-aarch64-linux-gnu.tar.gz
     349447a196ead1f153cbebab2e22d229cb48f2736eec5c912c2ec5cebf8a58cad  guix-build-e8c25e8a35e3/output/arm-linux-gnueabihf/SHA256SUMS.part
     41e4510f6a5145810577b8ebc2eb5f38b3d2c28845e9d84ffe000d8cbb82429fa  guix-build-e8c25e8a35e3/output/arm-linux-gnueabihf/bitcoin-e8c25e8a35e3-arm-linux-gnueabihf-debug.tar.gz
     5a3c014032ac22c2fc0034a5708b157884395f37f3d20dfa6070cfb2a6aeebdf5  guix-build-e8c25e8a35e3/output/arm-linux-gnueabihf/bitcoin-e8c25e8a35e3-arm-linux-gnueabihf.tar.gz
     66377bf759602fb5dc00d7992b126ddc75cf03d71ce259c76c509299dac51be52  guix-build-e8c25e8a35e3/output/arm64-apple-darwin/SHA256SUMS.part
     77191d5a512ac9b7e934e771985eb2743180a00285b3e5275de1ffdc1e504e68e  guix-build-e8c25e8a35e3/output/arm64-apple-darwin/bitcoin-e8c25e8a35e3-arm64-apple-darwin-unsigned.tar.gz
     873516bfd8acb17f865b53e67e421dccfd0644c6582f462d8ebe710291c2b5367  guix-build-e8c25e8a35e3/output/arm64-apple-darwin/bitcoin-e8c25e8a35e3-arm64-apple-darwin-unsigned.zip
     907cc918282582193d8745cc7dcd4a4a4474e38d079b0d2831efdef59cb322449  guix-build-e8c25e8a35e3/output/arm64-apple-darwin/bitcoin-e8c25e8a35e3-arm64-apple-darwin.tar.gz
    10edcc1c61aa12b78c7a8e87d141832891e05f48b4a687ed7e3fae668236f339ff  guix-build-e8c25e8a35e3/output/dist-archive/bitcoin-e8c25e8a35e3.tar.gz
    1129601464afa40104ad8c6b4b10a5fde0649aba6f4bfea1b93258b7bfcaab7a5a  guix-build-e8c25e8a35e3/output/powerpc64-linux-gnu/SHA256SUMS.part
    1265c308cddf5cbac4132104a5b4d6cf7ec85e88b4f967c66cd942742996def56a  guix-build-e8c25e8a35e3/output/powerpc64-linux-gnu/bitcoin-e8c25e8a35e3-powerpc64-linux-gnu-debug.tar.gz
    13513c91b558e52ac27e6e33d916bfc378a6be6b2b218fb37712f05a44746fb68d  guix-build-e8c25e8a35e3/output/powerpc64-linux-gnu/bitcoin-e8c25e8a35e3-powerpc64-linux-gnu.tar.gz
    1472c790770e49bacd4e66eb2e93f6a3a2dc596c36254bf1ec00775bbd60121c31  guix-build-e8c25e8a35e3/output/riscv64-linux-gnu/SHA256SUMS.part
    15c7921f8f5bfe5c463e266b24399e600c2b67552a50dbf1414cacb5805271c561  guix-build-e8c25e8a35e3/output/riscv64-linux-gnu/bitcoin-e8c25e8a35e3-riscv64-linux-gnu-debug.tar.gz
    164f106246e1184a32289d2ba5251fc00af852e38351e45b3bcd974d1b099e515b  guix-build-e8c25e8a35e3/output/riscv64-linux-gnu/bitcoin-e8c25e8a35e3-riscv64-linux-gnu.tar.gz
    174e26090aa5ffb709088cb4e4e6aba32c0c2017a1fa776f5ec4d7be36e3ccb8aa  guix-build-e8c25e8a35e3/output/x86_64-apple-darwin/SHA256SUMS.part
    1887282cc09b9c57416c8f92ff5ae2614c9a9d26fdcfe3c16931df0fdedae9e1b4  guix-build-e8c25e8a35e3/output/x86_64-apple-darwin/bitcoin-e8c25e8a35e3-x86_64-apple-darwin-unsigned.tar.gz
    1925fd762a3a7b0d81f738c3b63272188094d42139b39c6f8dd92c30c54ccc86be  guix-build-e8c25e8a35e3/output/x86_64-apple-darwin/bitcoin-e8c25e8a35e3-x86_64-apple-darwin-unsigned.zip
    20d8c01baf156546546620d0ab17933478772527be4701b7479881a5547c527e2a  guix-build-e8c25e8a35e3/output/x86_64-apple-darwin/bitcoin-e8c25e8a35e3-x86_64-apple-darwin.tar.gz
    21b4eafb5e1c6730105e47cd7cd6ede361a4487250c903661c0ccebce8eeda5898  guix-build-e8c25e8a35e3/output/x86_64-linux-gnu/SHA256SUMS.part
    22819e54887b0eb2d659dccfbfcec9a1d49e47914ce46baae3b52b2821a844098a  guix-build-e8c25e8a35e3/output/x86_64-linux-gnu/bitcoin-e8c25e8a35e3-x86_64-linux-gnu-debug.tar.gz
    2325e48ea3a8f2d86ebea8d8ea96a902f3494197e93a65d4ff986d37506771a43a  guix-build-e8c25e8a35e3/output/x86_64-linux-gnu/bitcoin-e8c25e8a35e3-x86_64-linux-gnu.tar.gz
    24d73e31db2488cf422704e3abf432bb430f9155b8aafd4a9a501f826785cbe1d9  guix-build-e8c25e8a35e3/output/x86_64-w64-mingw32/SHA256SUMS.part
    2523818afba6bbd8de1c2c2d6d6b64c05d87400d424f4c9db516b854c75b29f50a  guix-build-e8c25e8a35e3/output/x86_64-w64-mingw32/bitcoin-e8c25e8a35e3-win64-debug.zip
    26facdda5d82b05091bb98419c7b6913e4d0019c58f4d67f95d750fc632e32c611  guix-build-e8c25e8a35e3/output/x86_64-w64-mingw32/bitcoin-e8c25e8a35e3-win64-setup-unsigned.exe
    2745a1252ce93fb0d8e1ebde66c16542c1bbc8b6efd6280ec7f1553415f80461fd  guix-build-e8c25e8a35e3/output/x86_64-w64-mingw32/bitcoin-e8c25e8a35e3-win64-unsigned.tar.gz
    288b4bc3b6cd78713e045db74eed4b3fbd711dd7e09980da386100e72dce33097e  guix-build-e8c25e8a35e3/output/x86_64-w64-mingw32/bitcoin-e8c25e8a35e3-win64.zip
    
  415. theuni approved
  416. theuni commented at 6:58 pm on May 23, 2024: member

    Tentative ACK e8c25e8a35e333e90514945c592557615641553f.

    There’s a lot going on here and I’m not 100% confident, but I’m out of things to complain about :)

  417. DrahtBot requested review from hebasto on May 23, 2024
  418. maflcko commented at 8:41 pm on May 23, 2024: member
    I presume macos-cross compilation on risv64 metal still fails? If it is expected to pass now, I can re-try this.
  419. fanquake commented at 6:53 am on May 24, 2024: member

    If it is expected to pass now, I can re-try this.

    Quite possible it’ll pass now. Given the previous failure was in compiling cctools.

  420. fanquake commented at 1:40 pm on May 28, 2024: member

    Did a Guix build for arm64-apple-darwin using emulated riscv64-linux on x86_64, and the results match the x86_64 and aarch64 builds:

    06377bf759602fb5dc00d7992b126ddc75cf03d71ce259c76c509299dac51be52  guix-build-e8c25e8a35e3/output/arm64-apple-darwin/SHA256SUMS.part
    17191d5a512ac9b7e934e771985eb2743180a00285b3e5275de1ffdc1e504e68e  guix-build-e8c25e8a35e3/output/arm64-apple-darwin/bitcoin-e8c25e8a35e3-arm64-apple-darwin-unsigned.tar.gz
    273516bfd8acb17f865b53e67e421dccfd0644c6582f462d8ebe710291c2b5367  guix-build-e8c25e8a35e3/output/arm64-apple-darwin/bitcoin-e8c25e8a35e3-arm64-apple-darwin-unsigned.zip
    307cc918282582193d8745cc7dcd4a4a4474e38d079b0d2831efdef59cb322449  guix-build-e8c25e8a35e3/output/arm64-apple-darwin/bitcoin-e8c25e8a35e3-arm64-apple-darwin.tar.gz
    4edcc1c61aa12b78c7a8e87d141832891e05f48b4a687ed7e3fae668236f339ff  guix-build-e8c25e8a35e3/output/dist-archive/bitcoin-e8c25e8a35e3.tar.gz
    
  421. fanquake merged this on May 29, 2024
  422. fanquake closed this on May 29, 2024

  423. fanquake deleted the branch on May 29, 2024
  424. TheCharlatan commented at 1:47 pm on May 30, 2024: contributor

    Post-merge ACK e8c25e8a35e3

     0uname -a && find guix-build-$(git rev-parse --short=12 HEAD)/output/ -type f -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum
     1Linux starfive 5.15.0-starfive [#1](/bitcoin-bitcoin/1/) SMP Sun Mar 26 12:29:48 EDT 2023 riscv64 GNU/Linux
     200becde2dd12878e3b9f50f27899a6a8b752343dade7c71781632715c3001473  guix-build-e8c25e8a35e3/output/aarch64-linux-gnu/SHA256SUMS.part
     3a685b9cee54014e74639be1e8db2d55b7c008fdb3b31c1c708c364a49b56759a  guix-build-e8c25e8a35e3/output/aarch64-linux-gnu/bitcoin-e8c25e8a35e3-aarch64-linux-gnu-debug.tar.gz
     4d61228158409802e5aef11c39a0da5653a6c7e870d5f500483c32c75f319e8b6  guix-build-e8c25e8a35e3/output/aarch64-linux-gnu/bitcoin-e8c25e8a35e3-aarch64-linux-gnu.tar.gz
     549447a196ead1f153cbebab2e22d229cb48f2736eec5c912c2ec5cebf8a58cad  guix-build-e8c25e8a35e3/output/arm-linux-gnueabihf/SHA256SUMS.part
     61e4510f6a5145810577b8ebc2eb5f38b3d2c28845e9d84ffe000d8cbb82429fa  guix-build-e8c25e8a35e3/output/arm-linux-gnueabihf/bitcoin-e8c25e8a35e3-arm-linux-gnueabihf-debug.tar.gz
     7a3c014032ac22c2fc0034a5708b157884395f37f3d20dfa6070cfb2a6aeebdf5  guix-build-e8c25e8a35e3/output/arm-linux-gnueabihf/bitcoin-e8c25e8a35e3-arm-linux-gnueabihf.tar.gz
     86377bf759602fb5dc00d7992b126ddc75cf03d71ce259c76c509299dac51be52  guix-build-e8c25e8a35e3/output/arm64-apple-darwin/SHA256SUMS.part
     97191d5a512ac9b7e934e771985eb2743180a00285b3e5275de1ffdc1e504e68e  guix-build-e8c25e8a35e3/output/arm64-apple-darwin/bitcoin-e8c25e8a35e3-arm64-apple-darwin-unsigned.tar.gz
    1073516bfd8acb17f865b53e67e421dccfd0644c6582f462d8ebe710291c2b5367  guix-build-e8c25e8a35e3/output/arm64-apple-darwin/bitcoin-e8c25e8a35e3-arm64-apple-darwin-unsigned.zip
    1107cc918282582193d8745cc7dcd4a4a4474e38d079b0d2831efdef59cb322449  guix-build-e8c25e8a35e3/output/arm64-apple-darwin/bitcoin-e8c25e8a35e3-arm64-apple-darwin.tar.gz
    12edcc1c61aa12b78c7a8e87d141832891e05f48b4a687ed7e3fae668236f339ff  guix-build-e8c25e8a35e3/output/dist-archive/bitcoin-e8c25e8a35e3.tar.gz
    1329601464afa40104ad8c6b4b10a5fde0649aba6f4bfea1b93258b7bfcaab7a5a  guix-build-e8c25e8a35e3/output/powerpc64-linux-gnu/SHA256SUMS.part
    1465c308cddf5cbac4132104a5b4d6cf7ec85e88b4f967c66cd942742996def56a  guix-build-e8c25e8a35e3/output/powerpc64-linux-gnu/bitcoin-e8c25e8a35e3-powerpc64-linux-gnu-debug.tar.gz
    15513c91b558e52ac27e6e33d916bfc378a6be6b2b218fb37712f05a44746fb68d  guix-build-e8c25e8a35e3/output/powerpc64-linux-gnu/bitcoin-e8c25e8a35e3-powerpc64-linux-gnu.tar.gz
    1672c790770e49bacd4e66eb2e93f6a3a2dc596c36254bf1ec00775bbd60121c31  guix-build-e8c25e8a35e3/output/riscv64-linux-gnu/SHA256SUMS.part
    17c7921f8f5bfe5c463e266b24399e600c2b67552a50dbf1414cacb5805271c561  guix-build-e8c25e8a35e3/output/riscv64-linux-gnu/bitcoin-e8c25e8a35e3-riscv64-linux-gnu-debug.tar.gz
    184f106246e1184a32289d2ba5251fc00af852e38351e45b3bcd974d1b099e515b  guix-build-e8c25e8a35e3/output/riscv64-linux-gnu/bitcoin-e8c25e8a35e3-riscv64-linux-gnu.tar.gz
    194e26090aa5ffb709088cb4e4e6aba32c0c2017a1fa776f5ec4d7be36e3ccb8aa  guix-build-e8c25e8a35e3/output/x86_64-apple-darwin/SHA256SUMS.part
    2087282cc09b9c57416c8f92ff5ae2614c9a9d26fdcfe3c16931df0fdedae9e1b4  guix-build-e8c25e8a35e3/output/x86_64-apple-darwin/bitcoin-e8c25e8a35e3-x86_64-apple-darwin-unsigned.tar.gz
    2125fd762a3a7b0d81f738c3b63272188094d42139b39c6f8dd92c30c54ccc86be  guix-build-e8c25e8a35e3/output/x86_64-apple-darwin/bitcoin-e8c25e8a35e3-x86_64-apple-darwin-unsigned.zip
    22d8c01baf156546546620d0ab17933478772527be4701b7479881a5547c527e2a  guix-build-e8c25e8a35e3/output/x86_64-apple-darwin/bitcoin-e8c25e8a35e3-x86_64-apple-darwin.tar.gz
    23b4eafb5e1c6730105e47cd7cd6ede361a4487250c903661c0ccebce8eeda5898  guix-build-e8c25e8a35e3/output/x86_64-linux-gnu/SHA256SUMS.part
    24819e54887b0eb2d659dccfbfcec9a1d49e47914ce46baae3b52b2821a844098a  guix-build-e8c25e8a35e3/output/x86_64-linux-gnu/bitcoin-e8c25e8a35e3-x86_64-linux-gnu-debug.tar.gz
    2525e48ea3a8f2d86ebea8d8ea96a902f3494197e93a65d4ff986d37506771a43a  guix-build-e8c25e8a35e3/output/x86_64-linux-gnu/bitcoin-e8c25e8a35e3-x86_64-linux-gnu.tar.gz
    26d73e31db2488cf422704e3abf432bb430f9155b8aafd4a9a501f826785cbe1d9  guix-build-e8c25e8a35e3/output/x86_64-w64-mingw32/SHA256SUMS.part
    2723818afba6bbd8de1c2c2d6d6b64c05d87400d424f4c9db516b854c75b29f50a  guix-build-e8c25e8a35e3/output/x86_64-w64-mingw32/bitcoin-e8c25e8a35e3-win64-debug.zip
    28facdda5d82b05091bb98419c7b6913e4d0019c58f4d67f95d750fc632e32c611  guix-build-e8c25e8a35e3/output/x86_64-w64-mingw32/bitcoin-e8c25e8a35e3-win64-setup-unsigned.exe
    2945a1252ce93fb0d8e1ebde66c16542c1bbc8b6efd6280ec7f1553415f80461fd  guix-build-e8c25e8a35e3/output/x86_64-w64-mingw32/bitcoin-e8c25e8a35e3-win64-unsigned.tar.gz
    308b4bc3b6cd78713e045db74eed4b3fbd711dd7e09980da386100e72dce33097e  guix-build-e8c25e8a35e3/output/x86_64-w64-mingw32/bitcoin-e8c25e8a35e3-win64.zip
    

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-11-21 15:12 UTC

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