guix: pass `--disable-wchar_t` to non-GUI GCC #36193

pull fanquake wants to merge 3 commits into bitcoin:master from fanquake:guix_disable_wchar changing 7 files +307 −247
  1. fanquake commented at 3:54 PM on September 8, 2026: member

    This saves roughly half a megabyte in binary size, in the non-GUI binaries:

    Binary master (MB) PR (MB)
    bitcoin 2.15 1.67
    bitcoin-cli 8.20 7.72
    bitcoin-qt 43.87 43.87
    bitcoin-tx 4.93 4.45
    bitcoin-util 4.52 4.04
    bitcoin-wallet 9.26 8.77
    bitcoind 17.75 17.27

    The first commit is pulled out of #25573.

  2. guix: split linux toolchain for static builds
    Co-authored-by: willcl-ark <will8clark@gmail.com>
    9ba5198c0b
  3. depends: patch around Boost Test std::wcrtomb usage
    If libstdc++ is built with --disable-wchar_t, test_bitcoin will fail to
    compile.
    ad71957acd
  4. guix: gcc --disable-wchar_t 72c9f6bb4b
  5. DrahtBot added the label Build system on Sep 8, 2026
  6. DrahtBot commented at 3:54 PM on September 8, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/36193.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline and AI policy for information on the review process. A summary of reviews will appear here.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  7. hebasto commented at 4:12 PM on September 8, 2026: member

    pass --disable-wchar_t to non-GUI GCC

    Isn't --disable-wchar_t a libstdc++ configure option rather than a GCC one?

  8. DrahtBot added the label CI failed on Sep 8, 2026

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-09-09 07:56 UTC