pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Zig compiler build fails under AMD64
Hi,
I sent essentially the same message sometimes ago from my gmail address and did not receive any comments - I have seen many occasions @gmail.com addresses are sent to the spam black hole and no one has read them. I have opened an issue on github as well - https://github.com/ziglang/zig/issues/21788 - which describes the state of affairs. I haven't received any comments on the issue - I guess NetBSD is not a great priority for zig developers, fair enough; also one can find quite a few 'xBSD de-bitrot' messages over there. Basically, at the moment we have zig 0.13 in pkgsrc, which requires llvm-18.x.y; there is already 19.1.5 in wip, so the presumption is that it will be eventually imported, stopping the build of zig-0.13.
The weird thing is that this problem occurs only under AMD64; I do not have many other architectures to test on, but on my OCI AARCH64 vm it has never failed:
$ ls -l /home/ci4/src/zig/build/stage3/bin/zig
-rwxr-xr-x 1 ci4 users 19067368 Dec 7 09:58 /home/ci4/src/zig/build/stage3/bin/zig
$ zig version
0.14.0-dev.2370+5c6b25d9b
This discrepancy between the architectures has been bothering me, I went through a 'git bisect' of NetBSD source, to no avail; I also did a 'git bisect' on the zig code, but was not able to locate a working version on -current amd64 (the combination of the two bisects would have been difficult to carry on...).
Chavdar
Sent with Proton Mail secure email.
Home |
Main Index |
Thread Index |
Old Index