guix: remove `gcc-toolchain static` from Windows build #29828

pull fanquake wants to merge 1 commits into bitcoin:master from fanquake:win_guix_drop_static_toolchain changing 2 files +2 −4
  1. fanquake commented at 1:37 PM on April 7, 2024: member

    The libs in this dir are the following:

    ls /gnu/store/2vnbkrdin4rrf7ygnr80mlcglin4qqa4-gcc-toolchain-12.3.0-static/lib/
    libanl.a           libc.a             libdl.a         libm.a
    libBrokenLocale.a  libcrypt.a         libg.a          libmcheck.a
    libpthread.a       librt.a
    libresolv.a        libutil.a
    

    These do not need to be propogated into the Windows build environment.

    Guix Build (aarch64):

    450c0c4f45f9cb7ed7fc2ef6e7557b6a23004b82c951399da3b7635e8451a076  guix-build-05da2460db89/output/dist-archive/bitcoin-05da2460db89.tar.gz
    5df68ab18636090c387bc90297356d0e148b02931d3a99c0f6d33cd268aa072b  guix-build-05da2460db89/output/x86_64-w64-mingw32/SHA256SUMS.part
    13e979f60d9296aa11081fbbb360404da9fbb797bb4663ed2d1189d800659b4f  guix-build-05da2460db89/output/x86_64-w64-mingw32/bitcoin-05da2460db89-win64-debug.zip
    d1cc78437a96f012a59af7c757bef592f163559e523d45014d7804d0be29a8b8  guix-build-05da2460db89/output/x86_64-w64-mingw32/bitcoin-05da2460db89-win64-setup-unsigned.exe
    33a9cfd4475677646bb32c9c45c25bd796ca5adb126590bf556d4e6f9592c676  guix-build-05da2460db89/output/x86_64-w64-mingw32/bitcoin-05da2460db89-win64-unsigned.tar.gz
    5d2ee251668d3d31bf378826ab06f98542dd20926cdee2df5c3315e11222a519  guix-build-05da2460db89/output/x86_64-w64-mingw32/bitcoin-05da2460db89-win64.zip
    

    Somewhat similar to #29673.

  2. guix: remove gcc-toolchain static from Windows build
    The libs in this dir are the following:
    ```bash
    ls /gnu/store/2vnbkrdin4rrf7ygnr80mlcglin4qqa4-gcc-toolchain-12.3.0-static/lib/lib
    libanl.a           libc.a             libdl.a         libm.a
    libBrokenLocale.a  libcrypt.a         libg.a          libmcheck.a
    libpthread.a       librt.a
    libresolv.a        libutil.a
    ```
    
    These do not need to be propogated into the Windows build environment.
    05da2460db
  3. DrahtBot commented at 1:37 PM on April 7, 2024: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage

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

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK hebasto, laanwj
    Concept ACK TheCharlatan

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

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #29881 (guix: use GCC 13 to builds releases by fanquake)
    • #25573 ([POC] guix: produce a fully -static-pie bitcoind 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.

  4. DrahtBot added the label Build system on Apr 7, 2024
  5. fanquake added the label DrahtBot Guix build requested on Apr 7, 2024
  6. TheCharlatan commented at 1:46 PM on April 7, 2024: contributor

    Nice, Concept ACK

  7. DrahtBot commented at 1:40 AM on April 8, 2024: contributor

    <!--9cd9c72976c961c55c7acef8f6ba82cd-->

    Guix builds (on x86_64)

    File commit f0794cbd405636a7f528a60f2873050b865cf7e8<br>(master) commit 62f8123ea48cd2be1793e71fc5f7008e4de0d25c<br>(master and this pull)
    SHA256SUMS.part f8e45482d1003168... 29fa12e0467c8470...
    *-aarch64-linux-gnu-debug.tar.gz 97acce1465f8e6f6... 4873107c4c0074b3...
    *-aarch64-linux-gnu.tar.gz a427dc1cd1a7addb... c1cc36508b9890c0...
    *-arm-linux-gnueabihf-debug.tar.gz 4c34f574c8eddf6f... d999a90cee680a49...
    *-arm-linux-gnueabihf.tar.gz ca8b0244fc1b5a39... b41dad7986d348e1...
    *-arm64-apple-darwin-unsigned.tar.gz e3b54271a4830765... b6058d7967776857...
    *-arm64-apple-darwin-unsigned.zip 37183bb7db240471... 22fff1cf969b7c05...
    *-arm64-apple-darwin.tar.gz 075000d3a891e195... d02b9a75ebc7b28b...
    *-powerpc64-linux-gnu-debug.tar.gz d3453986b815b5f2... 434a0e247a6e416f...
    *-powerpc64-linux-gnu.tar.gz b2585cb4905b855d... ae4bf1aa37a2e9de...
    *-riscv64-linux-gnu-debug.tar.gz 5be7098db81b0488... 3b316bc68722ddaa...
    *-riscv64-linux-gnu.tar.gz 8633b44ae369acd4... f44e8e4ed652fea7...
    *-x86_64-apple-darwin-unsigned.tar.gz ebbcc939b2c2019f... 582183934d5fb411...
    *-x86_64-apple-darwin-unsigned.zip 65368f59a537943f... 63a7e5e4b0c22a26...
    *-x86_64-apple-darwin.tar.gz fd2432f87574bc3a... 645c2f6cb0ab9f99...
    *-x86_64-linux-gnu-debug.tar.gz aa589a4d9debd1df... ef3844733b69cbd6...
    *-x86_64-linux-gnu.tar.gz 0ad246161d760239... 6fe6712aa63230ad...
    *.tar.gz e819c339f21263a6... deeff4b17b284992...
    guix_build.log e010f119ae8dc95d... c86001e89b687ffe...
    guix_build.log.diff c6e87bb48dd8b49d...
  8. DrahtBot removed the label DrahtBot Guix build requested on Apr 8, 2024
  9. laanwj commented at 3:48 PM on April 11, 2024: member

    As this still passes the symbol import check (no extra DLL dependencies introduced) i suppose this is correct. Good find!

  10. hebasto approved
  11. hebasto commented at 9:03 AM on April 16, 2024: member

    ACK 05da2460db895374ea1fd89e4b8b4b73689f8faf,

    My Guix build:

    450c0c4f45f9cb7ed7fc2ef6e7557b6a23004b82c951399da3b7635e8451a076  guix-build-05da2460db89/output/dist-archive/bitcoin-05da2460db89.tar.gz
    5df68ab18636090c387bc90297356d0e148b02931d3a99c0f6d33cd268aa072b  guix-build-05da2460db89/output/x86_64-w64-mingw32/SHA256SUMS.part
    13e979f60d9296aa11081fbbb360404da9fbb797bb4663ed2d1189d800659b4f  guix-build-05da2460db89/output/x86_64-w64-mingw32/bitcoin-05da2460db89-win64-debug.zip
    d1cc78437a96f012a59af7c757bef592f163559e523d45014d7804d0be29a8b8  guix-build-05da2460db89/output/x86_64-w64-mingw32/bitcoin-05da2460db89-win64-setup-unsigned.exe
    33a9cfd4475677646bb32c9c45c25bd796ca5adb126590bf556d4e6f9592c676  guix-build-05da2460db89/output/x86_64-w64-mingw32/bitcoin-05da2460db89-win64-unsigned.tar.gz
    5d2ee251668d3d31bf378826ab06f98542dd20926cdee2df5c3315e11222a519  guix-build-05da2460db89/output/x86_64-w64-mingw32/bitcoin-05da2460db89-win64.zip
    
  12. DrahtBot requested review from TheCharlatan on Apr 16, 2024
  13. laanwj commented at 12:20 PM on April 16, 2024: member

    ACK 05da2460db895374ea1fd89e4b8b4b73689f8faf

    • i get the same build output as @hebasto
    • compared the import headers between this PR and the commit before it, no changes at all:
    $ x86_64-w64-mingw32-objdump -p bitcoin-05da2460db89/bin/bitcoin-qt.exe > b
    $ x86_64-w64-mingw32-objdump -p bitcoin-f0794cbd4056/bin/bitcoin-qt.exe > a
    $ diff -du a b
    --- a   2024-04-16 14:15:13.713101675 +0200
    +++ b   2024-04-16 14:15:06.641040571 +0200
    @@ -1,5 +1,5 @@
    
    -bitcoin-f0794cbd4056/bin/bitcoin-qt.exe:     file format pei-x86-64
    +bitcoin-05da2460db89/bin/bitcoin-qt.exe:     file format pei-x86-64
    
     Characteristics 0x2e
            executable
    @@ -28,7 +28,7 @@
     Win32Version           00000000
     SizeOfImage            025aa000
     SizeOfHeaders          00000400
    -CheckSum               02597a7c
    +CheckSum               0258ccc8
     Subsystem              00000002        (Windows GUI)
     DllCharacteristics     00000160
                                            HIGH_ENTROPY_VA
    

    (there's a slight difference in the binary, but this looks only related to embedded version strings)

  14. fanquake merged this on Apr 17, 2024
  15. fanquake closed this on Apr 17, 2024

  16. fanquake deleted the branch on Apr 17, 2024
  17. kwvg referenced this in commit 89158a5cb3 on Nov 4, 2024
  18. kwvg referenced this in commit c955c14ec5 on Nov 5, 2024
  19. kwvg referenced this in commit 4d1f7dccd7 on Nov 10, 2024
  20. PastaPastaPasta referenced this in commit be97bfeedc on Nov 12, 2024
  21. Fabcien referenced this in commit e6c3545f59 on Nov 29, 2024
  22. roqqit referenced this in commit 4ee57023cc on Dec 2, 2024
  23. knst referenced this in commit 09af7b78c9 on Dec 26, 2024
  24. bitcoin locked this on Apr 17, 2025

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: 2026-04-15 15:13 UTC

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