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.
x86_64-freebsd-none #45
Copy link
Copy link
Closed
Description
We get pretty far:
[ 99%] Built target zig0 [40/8420]
[ 99%] Building self-hosted component /usr/home/kameliya/Code/zig-bootstrap/out/build-zig-host/zig1.o
Scanning dependencies of target zig
[100%] Building CXX object CMakeFiles/zig.dir/src/stage1/empty.cpp.o
[100%] Linking CXX executable zig
[100%] Built target zig
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/home/kameliya/Code/zig-bootstrap/out/host/bin/zig
-- Set runtime path of "/usr/home/kameliya/Code/zig-bootstrap/out/host/bin/zig" to ""
-- Installing: /usr/home/kameliya/Code/zig-bootstrap/out/host/lib
-- The C compiler identification is Clang 11.0.1
-- The CXX compiler identification is Clang 11.0.1
-- The ASM compiler identification is unknown
-- Found assembler: /usr/home/kameliya/Code/zig-bootstrap/out/host/bin/zig
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/home/kameliya/Code/zig-bootstrap/out/host/bin/zig
-- Check for working C compiler: /usr/home/kameliya/Code/zig-bootstrap/out/host/bin/zig - broken
CMake Error at /usr/local/share/cmake/Modules/CMakeTestCCompiler.cmake:66 (message):
The C compiler
"/usr/home/kameliya/Code/zig-bootstrap/out/host/bin/zig"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /usr/home/kameliya/Code/zig-bootstrap/out/build-llvm-x86_64-freebsd-gnu-baseline/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_f356b/fast && /usr/bin/make -f CMakeFiles/cmTC_f356b.dir/build.make CMakeFiles/cmTC_f356b.dir/build
Building C object CMakeFiles/cmTC_f356b.dir/testCCompiler.c.o
/usr/home/kameliya/Code/zig-bootstrap/out/host/bin/zig cc -fno-sanitize=all -target x86_64-freebsd-gnu -mcpu=baseline -o CMakeFiles/cmTC_f356b.di
r/testCCompiler.c.o -c /usr/home/kameliya/Code/zig-bootstrap/out/build-llvm-x86_64-freebsd-gnu-baseline/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_f356b
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f356b.dir/link.txt --verbose=1
/usr/home/kameliya/Code/zig-bootstrap/out/host/bin/zig cc -fno-sanitize=all -target x86_64-freebsd-gnu -mcpu=baseline CMakeFiles/cmTC_f356b.dir/test
CCompiler.c.o -o cmTC_f356b
In file included from /usr/home/kameliya/Code/zig-bootstrap/out/host/lib/zig/libunwind/src/libunwind.cpp:12:
In file included from /usr/home/kameliya/Code/zig-bootstrap/out/host/lib/zig/libunwind/include/libunwind.h:18:
In file included from /usr/home/kameliya/Code/zig-bootstrap/out/host/lib/zig/libcxx/include/stdint.h:106:
/usr/home/kameliya/Code/zig-bootstrap/out/host/lib/zig/libcxx/include/__config:247:12: fatal error: 'sys/endian.h' file not found
# include <sys/endian.h>
^~~~~~~~~~~~~~
1 error generated.
*** Error code 1
Stop.
make[1]: stopped in /usr/home/kameliya/Code/zig-bootstrap/out/build-llvm-x86_64-freebsd-gnu-baseline/CMakeFiles/CMakeTmp
*** Error code 1
Stop.
make: stopped in /usr/home/kameliya/Code/zig-bootstrap/out/build-llvm-x86_64-freebsd-gnu-baseline/CMakeFiles/CMakeTmp
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 "/usr/home/kameliya/Code/zig-bootstrap/out/build-llvm-x86_64-freebsd-gnu-baseline/CMakeFiles/CMakeOutput.log".
See also "/usr/home/kameliya/Code/zig-bootstrap/out/build-llvm-x86_64-freebsd-gnu-baseline/CMakeFiles/CMakeError.log".
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels