Closed theoparis closed 4 months ago
Additionally, using bootstrap.c seems to work fine. However in that case the x86 backend has its own issues when trying to cross compile for x86_64-windows-gnu.
The binary API used to communicate between the compiler and the build runner changed in the recent std.Progress
rewrite in a backwards-incompatible manner. This change hasn't hit the downloadable tarballs yet; as such, you'll have to either wait for the tarballs to update, or run a full CMake bootstrap.
(It's unfortunate that this causes nonsense errors; we should probably have some kind of version check in the protocol.)
I guess I'll have to wait for a tarball since I got a segmentation fault from the zig binary I built and there's no debug information.
Zig Version
0.13.0-dev.274+c0da92f71
Steps to Reproduce and Observed Behavior
I've gotten errors such as
Or this: (I have plenty of available RAM)
Or this:
Example command I used for x86_64-windows-gnu:
where
~/zig/zig
is downloaded from ziglang.org/download.Expected Behavior
A successfully built zig compiler in zig-out/x86_64-windows-gnu/bin/zig.