zig-bootstrap
zig-bootstrap copied to clipboard
take off every zig
LLVM's build cycle has a undeclared phony dependency on ~~Git's `git` (or not? currently building to check) & an undeclared dependency on~~ Python 3 (of the form `python${major}${minor}`). Here's a...
On a debian powerpc64le virtual machine, Zig release 0.6.0: ``` Scanning dependencies of target zig0 [ 98%] Building CXX object CMakeFiles/zig0.dir/src/main.cpp.o [ 98%] Building CXX object CMakeFiles/zig0.dir/src/stage2.cpp.o [ 99%] Linking...
Here's the error: ``` Install the project... -- Install configuration: "Release" -- Installing: /home/vincent/dev/devtools/zig-bootstrap/out/host/bin/zig -- Set runtime path of "/home/vincent/dev/devtools/zig-bootstrap/out/host/bin/zig" to "" -- Installing: /home/vincent/dev/devtools/zig-bootstrap/out/host/lib -- The C compiler identification...
``` [ 8%] Linking CXX shared module ../../LLVMHello.so warning: unsupported linker arg: -O3 warning: unsupported linker arg: --gc-sections warning: unsupported linker arg: --version-script warning: unsupported linker arg: /home/andy/dev/bootstrap-zig/out/build-llvm-mips64el-linux-musl/lib/Transforms/Hello/LLVMHello.exports warning: unsupported...
``` /home/andy/dev/bootstrap-zig/out/host/bin/zig c++ -target mipsel-linux-musl -DHAVE_CXX_ATOMICS64_WITHOUT_LIB -std=c++11 -Werror=unguarded-availability-new -static CMakeFiles/cmTC_52428.dir/src.cxx.o -o cmTC_52428 -lm ``` ```c #include #include std::atomic x (0); int main() { uint64_t i = x.load(std::memory_order_relaxed); return 0; }...
This one crashed clang! ``` -- Check for working C compiler: /home/andy/dev/bootstrap-zig/out/host/bin/zig -- broken CMake Error at /nix/store/qbn4f7k7yj5dj8ay292hr2nv0q8854vq-cmake-3.16.3/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake:60 (message): The C compiler "/home/andy/dev/bootstrap-zig/out/host/bin/zig" is not able to compile a simple...
Host system: x86_64-gentoo-linux-musl ```bash -- Found ccache /usr/bin/ccache -- Configuring zig version 0.10.0-dev.2931+bdf3fa12f -- Configuring done -- Generating done -- Build files have been written to: /home/user/zig-bootstrap/out/build-zig-host [ 1%] Built...
Host system: x86_64-gentoo-linux-musl ```bash -- Found ccache /usr/bin/ccache -- Configuring zig version 0.10.0-dev.2931+bdf3fa12f -- Configuring done -- Generating done -- Build files have been written to: /home/user/zig-bootstrap/out/build-zig-host [ 1%] Built...
Host system: x86_64-gentoo-linux-musl ```bash -- Found ccache /usr/bin/ccache -- Configuring zig version 0.10.0-dev.2931+bdf3fa12f -- Configuring done -- Generating done -- Build files have been written to: /home/user/zig-bootstrap/out/build-zig-host [ 1%] Built...
Host system: x86_64-gentoo-linux-musl ```bash -- Found ccache /usr/bin/ccache -- Configuring zig version 0.10.0-dev.2931+bdf3fa12f -- Configuring done -- Generating done -- Build files have been written to: /home/user/zig-bootstrap/out/build-zig-host [ 1%] Built...