-- The C compiler identification is Clang 19.1.0
-- The CXX compiler identification is Clang 19.1.0
-- The ASM compiler identification is unknown
-- Found assembler: /home/alexrp/Source/zig-bootstrap/out/host/bin/zig
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/alexrp/Source/zig-bootstrap/out/host/bin/zig - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /home/alexrp/Source/zig-bootstrap/out/host/bin/zig
-- Check for working CXX compiler: /home/alexrp/Source/zig-bootstrap/out/host/bin/zig - broken
CMake Error at /usr/share/cmake-3.27/Modules/CMakeTestCXXCompiler.cmake:60 (message):
The C++ compiler
"/home/alexrp/Source/zig-bootstrap/out/host/bin/zig"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: '/home/alexrp/Source/zig-bootstrap/out/build-llvm-x86_64-linux-muslx32-baseline/CMakeFiles/CMakeScratch/TryCompile-CsEboi'
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_e3c43/fast
/usr/bin/gmake -f CMakeFiles/cmTC_e3c43.dir/build.make CMakeFiles/cmTC_e3c43.dir/build
gmake[1]: Entering directory '/home/alexrp/Source/zig-bootstrap/out/build-llvm-x86_64-linux-muslx32-baseline/CMakeFiles/CMakeScratch/TryCompile-CsEboi'
Building CXX object CMakeFiles/cmTC_e3c43.dir/testCXXCompiler.cxx.o
/home/alexrp/Source/zig-bootstrap/out/host/bin/zig c++ -fno-sanitize=all -s -target x86_64-linux-muslx32 -mcpu=baseline -MD -MT CMakeFiles/cmTC_e3c43.dir/testCXXCompiler.cxx.o -MF CMakeFiles/cmTC_e3c43.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_e3c43.dir/testCXXCompiler.cxx.o -c /home/alexrp/Source/zig-bootstrap/out/build-llvm-x86_64-linux-muslx32-baseline/CMakeFiles/CMakeScratch/TryCompile-CsEboi/testCXXCompiler.cxx
Linking CXX executable cmTC_e3c43
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e3c43.dir/link.txt --verbose=1
/home/alexrp/Source/zig-bootstrap/out/host/bin/zig c++ -fno-sanitize=all -s -target x86_64-linux-muslx32 -mcpu=baseline CMakeFiles/cmTC_e3c43.dir/testCXXCompiler.cxx.o -o cmTC_e3c43
In file included from /home/alexrp/Source/zig-bootstrap/out/host/lib/zig/libunwind/src/libunwind.cpp:31:
/home/alexrp/Source/zig-bootstrap/out/host/lib/zig/libunwind/src/UnwindCursor.hpp:1326:18: error: static assertion failed due to requirement 'check_fit<libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>, unw_cursor_t>::does_fit': UnwindCursor<> does not fit in unw_cursor_t
1326 | static_assert((check_fit<UnwindCursor<A, R>, unw_cursor_t>::does_fit),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/alexrp/Source/zig-bootstrap/out/host/lib/zig/libunwind/src/libunwind.cpp:87:7: note: in instantiation of member function 'libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>::UnwindCursor' requested here
87 | UnwindCursor<LocalAddressSpace, REGISTER_KIND>(
| ^
1 error generated.
gmake[1]: *** [CMakeFiles/cmTC_e3c43.dir/build.make:100: cmTC_e3c43] Error 1
gmake[1]: Leaving directory '/home/alexrp/Source/zig-bootstrap/out/build-llvm-x86_64-linux-muslx32-baseline/CMakeFiles/CMakeScratch/TryCompile-CsEboi'
gmake: *** [Makefile:127: cmTC_e3c43/fast] Error 2
Same as https://github.com/ziglang/zig-bootstrap/issues/20#issuecomment-2480917999.