macOS: Xcode 9.3 build warnings #12867

issue fanquake opened this issue on April 3, 2018
  1. fanquake commented at 4:10 AM on April 3, 2018: member

    Building master (c564424d98b1561f16e633528172b3583719e5f3), these warnings are new as of macOS 10.13.4 and Xcode 9.3:

      OBJCXX   qt/bitcoin_qt-macdockiconhandler.o
    clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
      OBJCXX   qt/bitcoin_qt-macnotificationhandler.o
    ...
      CXXLD    bitcoind
    clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
      CXXLD    test/test_bitcoin
      CXXLD    bench/bench_bitcoin
    clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
      AR       qt/libbitcoinqt.a
      OBJCXXLD qt/bitcoin-qt
      CXXLD    qt/test/test_bitcoin-qt
    clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
    
  2. fanquake added the label macOS on Apr 3, 2018
  3. MarcoFalke added the label Build system on Apr 3, 2018
  4. MarcoFalke added this to the milestone 0.17.0 on Apr 3, 2018
  5. AkioNak commented at 5:46 PM on April 3, 2018: contributor

    The same warning was output in my environment (master ad960f577/macos 10.13.4/clang-902.0.39.1) So, I tried to pass "-Wl, -pie" instead of "-pie" via $HARDENED_LDFLAGS,then the clang warning disappeared, but one new warning occurred in ld.

    ....
      CXXLD    libbitcoinconsensus.la
    ld: warning: -pie being ignored. It is only used when linking a main executable
      AR       libbitcoin_server.a
    ...
    
  6. AkioNak referenced this in commit be468dd379 on Apr 5, 2018
  7. AkioNak referenced this in commit 12ebae7ba7 on Apr 6, 2018
  8. AkioNak referenced this in commit 6c10035899 on Apr 10, 2018
  9. AkioNak referenced this in commit 2eb5036c33 on Apr 13, 2018
  10. jonasschnelli referenced this in commit 3076993048 on Apr 17, 2018
  11. jonasschnelli referenced this in commit 8cdbc04e91 on Apr 17, 2018
  12. fanquake commented at 5:08 AM on April 18, 2018: member

    Fixed by #12899.

  13. fanquake closed this on Apr 18, 2018

  14. stamhe referenced this in commit 8d8486e461 on Jun 27, 2018
  15. HashUnlimited referenced this in commit 6042f9222f on Sep 5, 2018
  16. lionello referenced this in commit 29f510de1a on Nov 7, 2018
  17. joemphilips referenced this in commit 14d759b1e8 on Nov 9, 2018
  18. PastaPastaPasta referenced this in commit cde4278a6a on Jun 17, 2020
  19. PastaPastaPasta referenced this in commit e6c2b02f44 on Jun 27, 2020
  20. gades referenced this in commit f9fea45bb5 on Jun 26, 2021
  21. DrahtBot locked this on Sep 8, 2021

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-17 03:15 UTC

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