Closed
Description
[100%] Linking CXX executable zig
[100%] Built target zig
Install the project...
-- Install configuration: "Release"
-- Installing: /home/andy/dev/bootstrap-zig/out/host/bin/zig
-- Set runtime path of "/home/andy/dev/bootstrap-zig/out/host/bin/zig" to ""
-- Installing: /home/andy/dev/bootstrap-zig/out/host/lib
-- The C compiler identification is Clang 11.0.0
-- The CXX compiler identification is Clang 11.0.0
-- The ASM compiler identification is unknown
-- Found assembler: /home/andy/dev/bootstrap-zig/out/host/bin/zig
-- Check for working C compiler: /home/andy/dev/bootstrap-zig/out/host/bin/zig
-- Check for working C compiler: /home/andy/dev/bootstrap-zig/out/host/bin/zig -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/andy/dev/bootstrap-zig/out/host/bin/zig
-- Check for working CXX compiler: /home/andy/dev/bootstrap-zig/out/host/bin/zig -- broken
CMake Error at /nix/store/acw9iism5wr6mxaq54h306bbxnl27n63-cmake-3.16.3/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message):
The C++ compiler
"/home/andy/dev/bootstrap-zig/out/host/bin/zig"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/andy/dev/bootstrap-zig/out/build-llvm-arm-linux-musleabi-generic+v6kz/CMakeFiles/CMakeTmp
Run Build Command(s):/nix/store/dp6y0n9cba79wwc54n1brg7xbjsq5hka-gnumake-4.2.1/bin/make cmTC_7ccfb/fast && /nix/store/dp6y0n9cba79wwc54n1brg7xbjsq5hka-gnumake-4.2.1/bin/make -f CMakeFiles/cmTC_7ccfb.dir/build.make CMakeFiles/cmTC_7ccfb.dir/build
make[1]: Entering directory '/home/andy/dev/bootstrap-zig/out/build-llvm-arm-linux-musleabi-generic+v6kz/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_7ccfb.dir/testCXXCompiler.cxx.o
/home/andy/dev/bootstrap-zig/out/host/bin/zig c++ -fno-sanitize=all -target arm-linux-musleabi -mcpu=generic+v6kz -o CMakeFiles/cmTC_7ccfb.dir/testCXXCompiler.cxx.o -c /home/andy/dev/bootstrap-zig/out/build-llvm-arm-linux-musleabi-generic+v6kz/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_7ccfb
/nix/store/acw9iism5wr6mxaq54h306bbxnl27n63-cmake-3.16.3/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7ccfb.dir/link.txt --verbose=1
/home/andy/dev/bootstrap-zig/out/host/bin/zig c++ -fno-sanitize=all -target arm-linux-musleabi -mcpu=generic+v6kz CMakeFiles/cmTC_7ccfb.dir/testCXXCompiler.cxx.o -o cmTC_7ccfb
In file included from /home/andy/dev/bootstrap-zig/out/host/lib/zig/libcxx/src/algorithm.cpp:9:
In file included from /home/andy/dev/bootstrap-zig/out/host/lib/zig/libcxx/include/algorithm:643:
In file included from /home/andy/dev/bootstrap-zig/out/host/lib/zig/libcxx/include/memory:681:
/home/andy/dev/bootstrap-zig/out/host/lib/zig/libcxx/include/atomic:2780:16: error: use of undeclared identifier '__libcpp_signed_lock_free'
typedef atomic<__libcpp_signed_lock_free> atomic_signed_lock_free;
^
/home/andy/dev/bootstrap-zig/out/host/lib/zig/libcxx/include/atomic:2781:16: error: use of undeclared identifier '__libcpp_unsigned_lock_free'
typedef atomic<__libcpp_unsigned_lock_free> atomic_unsigned_lock_free;
^
2 errors generated.
make[1]: *** [CMakeFiles/cmTC_7ccfb.dir/build.make:87: cmTC_7ccfb] Error 1
make[1]: Leaving directory '/home/andy/dev/bootstrap-zig/out/build-llvm-arm-linux-musleabi-generic+v6kz/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_7ccfb/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:57 (project)
Metadata
Metadata
Assignees
Labels
No labels