Hi, On Fri, 9 Oct 2026 22:40:58 -0400, Brad Smith wrote:
> Here is an update to Zig 0.17.0. > > Build tested on aarch64 and amd64. Build OK on current/amd64, build/run of Zig projects lightly tested with this 0.17.0 version. With a current/amd64 VM with only 4 GB RAM, there are some errors because Zig build needs >= 8 GB for RAM: $ make build (...) FAILED: stage3/bin/zig /usr/obj/ports/zig-0.17.0/build-amd64/stage3/bin/zig cd /usr/obj/ports/zig-0.17.0/zig && /usr/obj/ports/zig-0.17.0/build-amd64/zig2 build --zig-lib=/usr/obj/ports/zig-0.17.0/zig/lib -Dversion-string=0.17.0+7647adab8 -Dtarget=native -Dcpu=baseline -Denable-llvm -Dconfig_h=/usr/obj/ports/zig-0.17.0/build-amd64/config.h -Doptimize=ReleaseFast -Dstrip --prefix /usr/obj/ports/zig-0.17.0/build-amd64/stage3 error: compile exe zig fast native-native: this step declares an upper bound of 8000000000 bytes of memory, exceeding the available 4278042624 bytes of memory info: use --skip-oom-steps to proceed, skipping memory limited steps info: use --maxrss 8000000000 to proceed, risking system memory exhaustion ninja: build stopped: subcommand failed. It would be good to add in Makefile a check for this "physical" constraint on RAM to build port. Laurent
