install
└─ install arocc
└─ zig build-exe arocc ReleaseFast native 7 errors
src/aro/Parser.zig:5756:30: error: no field or member function named 'c_type_bit_size' in 'Target'
if (p.comp.target.c_type_bit_size(.longdouble) == 128) {
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/usr/lib/zig/9999/lib/std/Target.zig:1:1: note: struct declared here
//! All the details about the machine that will be executing code.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/aro/Type.zig:980:30: error: no field or member function named 'c_type_byte_size' in 'Target'
.short => comp.target.c_type_byte_size(.short),
~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/lib/zig/9999/lib/std/Target.zig:1:1: note: struct declared here
//! All the details about the machine that will be executing code.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/aro/Type.zig:1037:36: error: no field or member function named 'c_type_bit_size' in 'Target'
.long_double => comp.target.c_type_bit_size(.longdouble),
~~~~~~~~~~~^~~~~~~~~~~~~~~~
/usr/lib/zig/9999/lib/std/Target.zig:1:1: note: struct declared here
//! All the details about the machine that will be executing code.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/aro/Type.zig:1091:30: error: no field or member function named 'c_type_alignment' in 'Target'
.short => comp.target.c_type_alignment(.short),
~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/lib/zig/9999/lib/std/Target.zig:1:1: note: struct declared here
//! All the details about the machine that will be executing code.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/aro/target.zig:314:30: error: no field or member function named 'c_type_bit_size' in 'Target'
return switch (target.c_type_bit_size(ty)) {
~~~~~~^~~~~~~~~~~~~~~~
/usr/lib/zig/9999/lib/std/Target.zig:1:1: note: struct declared here
//! All the details about the machine that will be executing code.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/aro/target.zig:358:18: error: no field or member function named 'c_type_bit_size' in 'Target'
return target.c_type_bit_size(.int) == 32 and target.ptrBitWidth() == 64;
~~~~~~^~~~~~~~~~~~~~~~
/usr/lib/zig/9999/lib/std/Target.zig:1:1: note: struct declared here
//! All the details about the machine that will be executing code.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/aro/target.zig:637:10: error: no field named 'minix' in enum 'Target.Os.Tag'
.minix => "minix",
~^~~~~
/usr/lib/zig/9999/lib/std/Target.zig:18:21: note: enum declared here
pub const Tag = enum {
^~~~
referenced by:
discover: src/aro/Driver/GCCDetector.zig:430:48
discover: src/aro/toolchains/Linux.zig:19:35
5 reference(s) hidden; use '-freference-trace=7' to see all references
error: the following command failed with 7 compilation errors:
/usr/lib/zig/9999/bin/zig build-exe -fsingle-threaded -OReleaseFast --dep aro -Mroot=/home/misile/arocc/src/main.zig --dep system_defaults --dep build_options --dep backend --dep Builtins/Builtin.def --dep Attribute/names.def --dep Diagnostics/messages.def -Maro=/home/misile/arocc/src/aro.zig -Msystem_defaults=/home/misile/arocc/.zig-cache/c/3af22f6df683985037cef2ba7eab737c/options.zig -Mbuild_options=/home/misile/arocc/.zig-cache/c/035b9bb2cc7a136a294d748ce1fa069b/options.zig --dep zig --dep build_options -Mbackend=/home/misile/arocc/src/backend.zig -MBuiltins/Builtin.def=/home/misile/arocc/.zig-cache/o/86ff12f5f27d3d2b50a911fb1464b380/Builtin.zig -MAttribute/names.def=/home/misile/arocc/.zig-cache/o/5562bc5e5e2e30866fe56feccd0dcd71/names.zig -MDiagnostics/messages.def=/home/misile/arocc/.zig-cache/o/c25fe8c162ec56eb3708a3cb4d0c52a6/messages.zig -Mzig=/home/misile/arocc/deps/zig/lib.zig -lc --cache-dir /home/misile/arocc/.zig-cache --global-cache-dir /home/misile/.cache/zig --name arocc --zig-lib-dir /usr/lib/zig/9999/lib/ --listen=-
Build Summary: 6/9 steps succeeded; 1 failed
install transitive failure
└─ install arocc transitive failure
└─ zig build-exe arocc ReleaseFast native 7 errors
error: the following build command failed with exit code 1:
/home/misile/arocc/.zig-cache/o/67a7698bd9d037054c5f1b4cd496f606/build /usr/lib/zig/9999/bin/zig /usr/lib/zig/9999/lib /home/misile/arocc /home/misile/arocc/.zig-cache /home/misile/.cache/zig --seed 0x2d08c9dd -Z8ec365e02e908e3d -Doptimize=ReleaseFast
https://github.com/ziglang/zig/pull/21019 related log
zig version:
0.14.0-dev.1081+5d080e25d
fastfetch