Skip to content

Compile fails with LLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libc;libunwind" on Mac M1 #112151

Closed as not planned
@billhoffman

Description

@billhoffman

c++ -v
Apple clang version 16.0.0 (clang-1600.0.26.3)
Target: arm64-apple-darwin23.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

In file included from /Users/hoffman/Work/llvm/llvm-project/libunwind/src/AddressSpace.hpp:35:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/dlfcn.h:36:10: fatal error: 'stdbool.h' file not found

cmake -DLLVM_ENABLE_PROJECTS=clang -DCMAKE_INSTALL_PREFIX=/Users/hoffman/Work/llvm-main-inst-mine -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libc;libunwind" -G Ninja ../llvm

Metadata

Metadata

Assignees

No one assigned

    Labels

    build-problemclangClang issues not falling into any other categoryinvalidResolved as invalid, i.e. not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions