build: qt build broken on aarch64 macOS #34951

issue fanquake opened this issue on March 30, 2026
  1. fanquake commented at 1:30 AM on March 30, 2026: member
    # clang --version
    Apple clang version 21.0.0 (clang-2100.0.123.102)
    
    make -C depends
    <snip>
    In file included from /bitcoin/depends/work/build/aarch64-apple-darwin25.3.0/qt/6.8.3-130fac6dd57/qtbase/include/QtCore/qyieldcpu.h:1:
    /bitcoin/depends/work/build/aarch64-apple-darwin25.3.0/qt/6.8.3-130fac6dd57/qtbase/src/corelib/thread/qyieldcpu.h:35:5: error: implicitly declaring library function '__yield' with type 'void ()' [-Werror,-Wimplicit-function-declaration]
       35 |     __yield();              // Generic
          |     ^
    /bitcoin/depends/work/build/aarch64-apple-darwin25.3.0/qt/6.8.3-130fac6dd57/qtbase/src/corelib/thread/qyieldcpu.h:35:5: note: include the header <arm_acle.h> or explicitly provide a declaration for '__yield'
    1 error generated.
    
  2. hebasto added the label macOS on Mar 30, 2026
  3. hebasto added the label Build system on Mar 30, 2026
  4. hebasto commented at 10:57 AM on March 30, 2026: member
    # clang --version
    Apple clang version 21.0.0 (clang-2100.0.123.102)
    

    A note for myself: this Apple clang version is part of the recent Xcode 26.4 update.

  5. fanquake added this to the milestone 31.0 on Mar 30, 2026
  6. Sjors commented at 7:44 AM on March 31, 2026: member

    With Xcode 26.4 installed:

    % clang --version
    Apple clang version 21.0.0 (clang-2100.0.123.102)
    Target: arm64-apple-darwin25.4.0
    Thread model: posix
    InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
    

    On master @ c97ac44c34e8b84244d2ae765c7ee358b37b012e:

    % make -C depends
    /bin/sh: command -v llvm-ranlib: No such file or directory
    /bin/sh: command -v llvm-strip: No such file or directory
    /bin/sh: command -v llvm-nm: No such file or directory
    /bin/sh: command -v llvm-objcopy: No such file or directory
    /bin/sh: command -v llvm-objdump: No such file or directory
    ...
    In file included from /Users/dev/bitcoin-pr/34956-qt-depends/depends/work/build/aarch64-apple-darwin25.4.0/qt/6.8.3-b65a21cb5d4/qtbase/include/QtCore/qyieldcpu.h:1:
    /Users/dev/bitcoin-pr/34956-qt-depends/depends/work/build/aarch64-apple-darwin25.4.0/qt/6.8.3-b65a21cb5d4/qtbase/src/corelib/thread/qyieldcpu.h:35:5: error: implicitly declaring library function '__yield' with type 'void ()' [-Werror,-Wimplicit-function-declaration]
       35 |     __yield();              // Generic
          |     ^
    /Users/dev/bitcoin-pr/34956-qt-depends/depends/work/build/aarch64-apple-darwin25.4.0/qt/6.8.3-b65a21cb5d4/qtbase/src/corelib/thread/qyieldcpu.h:35:5: note: include the header <arm_acle.h> or explicitly provide a declaration for '__yield'
    1 error generated.
    ninja: build stopped: subcommand failed.
    make: *** [/Users/dev/bitcoin-pr/34956-qt-depends/depends/work/build/aarch64-apple-darwin25.4.0/qt/6.8.3-b65a21cb5d4/./.stamp_built] Error 1
    

    I'll try #34956.

  7. fanquake closed this on Apr 1, 2026

  8. fanquake referenced this in commit 8b461c530e on Apr 1, 2026
  9. hebasto commented at 2:44 PM on April 2, 2026: member

    @Sjors

    % make -C depends
    /bin/sh: command -v llvm-ranlib: No such file or directory
    /bin/sh: command -v llvm-strip: No such file or directory
    /bin/sh: command -v llvm-nm: No such file or directory
    /bin/sh: command -v llvm-objcopy: No such file or directory
    /bin/sh: command -v llvm-objdump: No such file or directory
    ...
    

    A friendly reminder from your own commit b645c520714cc7cd4d50e62a3f90cbbdb5521336:

    recommend modern make for macOS depends

  10. Sjors commented at 5:00 PM on April 3, 2026: member

    @hebasto thanks, I keep forgetting that. I wonder if we should make it an error.

    ... or just not worry about it, I finally got nix to work on a new machine :-)

    <img width="513" height="73" alt="Image" src="https://github.com/user-attachments/assets/9bdec9a1-f1da-43fe-95cc-cab90f3595ed" />


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

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