This repository was archived by the owner on Nov 25, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 112
This repository was archived by the owner on Nov 25, 2025. It is now read-only.
aarch64-macos-gnu #44
Copy link
Copy link
Closed
Description
The first problem is a codesigning issue which I worked around by running codesign -s - but then I hit a second error:
-- Check for working CXX compiler: /Users/andy/dev/zig-bootstrap/out/host/bin/zig
-- Check for working CXX compiler: /Users/andy/dev/zig-bootstrap/out/host/bin/zig - broken
CMake Error at /Users/andy/local/share/cmake-3.19/Modules/CMakeTestCXXCompiler.cmake:59 (message):
The C++ compiler
"/Users/andy/dev/zig-bootstrap/out/host/bin/zig"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /Users/andy/dev/zig-bootstrap/out/build-llvm-aarch64-macos-gnu-native/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_9f6ec/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_9f6ec.dir/build.make CMakeFiles/cmTC_9f6ec.dir/build
Building CXX object CMakeFiles/cmTC_9f6ec.dir/testCXXCompiler.cxx.o
/Users/andy/dev/zig-bootstrap/out/host/bin/zig c++ -fno-sanitize=all -target aarch64-macos-gnu -mcpu=native -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -o CMakeFiles/cmTC_9f6ec.dir/testCXXCompiler.cxx.o -c /Users/andy/dev/zig-bootstrap/out/build-llvm-aarch64-macos-gnu-native/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_9f6ec
/Users/andy/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9f6ec.dir/link.txt --verbose=1
/Users/andy/dev/zig-bootstrap/out/host/bin/zig c++ -fno-sanitize=all -target aarch64-macos-gnu -mcpu=native -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -Wl,-headerpad_max_install_names CMakeFiles/cmTC_9f6ec.dir/testCXXCompiler.cxx.o -o cmTC_9f6ec
warning: unsupported linker arg: -headerpad_max_install_names
In file included from /Users/andy/dev/zig-bootstrap/out/host/lib/zig/libcxx/src/algorithm.cpp:9:
In file included from /Users/andy/dev/zig-bootstrap/out/host/lib/zig/libcxx/include/algorithm:641:
In file included from /Users/andy/dev/zig-bootstrap/out/host/lib/zig/libcxx/include/cstring:60:
/Users/andy/dev/zig-bootstrap/out/host/lib/zig/libcxx/include/string.h:60:15: fatal error: 'string.h' file not found
#include_next <string.h>
^~~~~~~~~~
1 error generated.
make[1]: *** [cmTC_9f6ec] Error 1
make: *** [cmTC_9f6ec/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:57 (project)
-- Configuring incomplete, errors occurred!
See also "/Users/andy/dev/zig-bootstrap/out/build-llvm-aarch64-macos-gnu-native/CMakeFiles/CMakeOutput.log".
See also "/Users/andy/dev/zig-bootstrap/out/build-llvm-aarch64-macos-gnu-native/CMakeFiles/CMakeError.log".
andy@Andrews-Air zig-bootstrap %
Not sure why cmake isn't respecting the cc arg like normal here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels