build: Avoid @GLIBC_2.25 symbols for compatibility #22318

pull hebasto wants to merge 2 commits into bitcoin:master from hebasto:210623-random changing 3 files +20 −0
  1. hebasto commented at 2:11 AM on June 23, 2021: member

    As noted in #22244, new symbols were introduced in the current release cycle, particularly:

    • getrandom@GLIBC_2.25
    • getentropy@GLIBC_2.25

    This PR gets rid of them.

    On master (c93e123dc72bfc1bd2c637fdcd032e570d53a7bd):

    $ objdump -T src/bitcoind src/bitcoin-cli src/bitcoin-tx src/bitcoin-util src/bitcoin-wallet src/test/test_bitcoin src/qt/bitcoin-qt | grep 2.25 | wc -l
    5
    

    With this PR:

    $ objdump -T src/bitcoind src/bitcoin-cli src/bitcoin-tx src/bitcoin-util src/bitcoin-wallet src/test/test_bitcoin src/qt/bitcoin-qt | grep 2.25 | wc -l
    0
    
  2. build: Avoid getrandom@GLIBC_2.25 symbol in libevent package a4b0b340df
  3. build, qt: Avoid getentropy@GLIBC_2.25 symbol 35aab4f0c0
  4. hebasto cross-referenced this on Jun 23, 2021 from issue devtools: Correctly extract symbol versions in symbol-check by laanwj
  5. fanquake added the label Build system on Jun 23, 2021
  6. DrahtBot cross-referenced this on Jun 23, 2021 from issue build: Avoid qt-specific @GLIBC_2.28 symbols for compatibility by hebasto
  7. DrahtBot commented at 3:35 PM on June 23, 2021: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    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.

  8. DrahtBot cross-referenced this on Jun 23, 2021 from issue release: support cross-compiling for arm64-apple-darwin by fanquake
  9. hebasto commented at 9:00 AM on July 1, 2021: member

    Closing in favor of #22365.

  10. hebasto closed this on Jul 1, 2021

  11. hebasto cross-referenced this on Jul 4, 2021 from issue guix: Avoid relying on newer symbols by rebasing our cross toolchains on older glibcs by dongcarl
  12. hebasto cross-referenced this on Jul 8, 2021 from issue release: Remove gitian by fanquake
  13. bitcoin locked this on Aug 16, 2022

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-05-20 06:54 UTC