build failed on zig nightly
Closed this issue · 0 comments
MisileLab commented
ziglang/zig#21019 related
log
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
zig version: 0.14.0-dev.1081+5d080e25d
fastfetch
-/oyddmdhs+:. misile@srt
-odNMMMMMMMMNNmhy+-` ----------
-yNMMMMMMMMMMMNNNmmdhy+- OS: Gentoo 2.15 x86_64
`omMMMMMMMMMMMMNmdmmmmddhhy/` Host: KVM/QEMU Standard PC (Q35 + ICH9, 2009) (pc-q35-9.0)
omMMMMMMMMMMMNhhyyyohmdddhhhdo` Kernel: Linux 6.10.5-gentoo-veritas
.ydMMMMMMMMMMdhs++so/smdddhhhhdm+` Uptime: 11 hours, 20 mins
oyhdmNMMMMMMMNdyooydmddddhhhhyhNd. Packages: 399 (emerge)
:oyhhdNNMMMMMMMNNNmmdddhhhhhyymMh Shell: bash 5.2.32
.:+sydNMMMMMNNNmmmdddhhhhhhmMmy Display (QEMU Monitor): 1280x800 @ 75 Hz in 15″
/mMMMMMMNNNmmmdddhhhhhmMNhs: Terminal: /dev/pts/0
`oNMMMMMMMNNNmmmddddhhdmMNhs+` CPU: Intel(R) Xeon(R) E5-2670 v3 (24) @ 2.29 GHz
`sNMMMMMMMMNNNmmmdddddmNMmhs/. GPU: RedHat Virtio 1.0 GPU
/NMMMMMMMMNNNNmmmdddmNMNdso:` Memory: 7.13 GiB / 47.02 GiB (15%)
+MMMMMMMNNNNNmmmmdmNMNdso/- Swap: 0 B / 16.00 GiB (0%)
yMMNNNNNNNmmmmmNNMmhs+/-` Disk (/): 21.06 GiB / 83.00 GiB (25%) - btrfs
/hMMNNNNNNNNMNdhs++/-` Local IP (enp6s18): 192.168.0.150/24
`/ohdmmddhys+++/:.` Locale: C.UTF-8
`-//////:--.