pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/zig build problem



I’ve dropped using zig from pkgsrc, I build llvm 17.02 from git and subsequently zig 0.12 , both on amd64 and aarch64. But I understand people might want to run a “released” version, insofar the term can be applied to zig (it is expected to drop the obligatory use of llvm). 

On Sat, 14 Oct 2023 at 01:47, Thomas Klausner <wiz%netbsd.org@localhost> wrote:
Hi!

On a freshly set up 10.99.10/amd64, I see a build failure in lang/zig:

[100%] Building stage3
/usr/pkgsrc/lang/zig/work/zig-0.11.0/lib/std/dwarf/abi.zig:233:69: error: struct 'c.netbsd.REG__struct_58573' has no member named 'RAX'
/usr/pkgsrc/lang/zig/work/zig-0.11.0/lib/std/c/netbsd.zig:1229:16: note: struct declared here
/usr/pkgsrc/lang/zig/work/zig-0.11.0/lib/std/dwarf/abi.zig:233:69: error: struct 'c.netbsd.REG__struct_58573' has no member named 'RAX'
/usr/pkgsrc/lang/zig/work/zig-0.11.0/lib/std/c/netbsd.zig:1229:16: note: struct declared here
--- stage3/bin/zig ---
*** [stage3/bin/zig] Error code 2


lang/zig supposedly supports llvm 16, which was my first guess at the
reason for the build problem.

Any ideas?
 Thomas


Home | Main Index | Thread Index | Old Index