-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavior
Description
Zig Version
Git commit 0c6cb8d
Steps to Reproduce and Observed Behavior
I followed instructions from PR #17892 on Ubuntu 20.04 and GCC 10.3, then added a missed final command line via hint from IRC channel and a workaround from the PR:
./zig2 build -p stage3 --zig-lib-dir lib
# Workaround:
./zig2 build -p stage3 --zig-lib-dir lib -Dno-lib
But the build process still fails:
$ ./zig2 build -p stage3 --zig-lib-dir lib -Dno-lib
zig build-exe zig Debug native: error: the following command failed with 3 compilation errors:
/home/sskras/src/github.com/ziglang/zig/zig2 build-exe --stack 33554432 /home/sskras/src/github.com/ziglang/zig/src/main.zig --cache-dir /home/sskras/src/github.com/ziglang/zig/zig-cache --global-cache-dir /home/sskras/.cache/zig --name zig --mod aro:Builtins/Builtin.def,Attribute/names.def:/home/sskras/src/github.com/ziglang/zig/deps/aro/lib.zig --mod build_options::/home/sskras/src/github.com/ziglang/zig/zig-cache/c/71a3f07e26b67777a8b305e8f69aa45d/options.zig --mod Attribute/names.def::/home/sskras/src/github.com/ziglang/zig/zig-cache/o/1549e4ba81bd7c0fe1b9db446e20a68c/names.zig --mod Builtins/Builtin.def::/home/sskras/src/github.com/ziglang/zig/zig-cache/o/906eedbdff28488a384cbc5c459094f7/Builtin.zig --deps Builtins/Builtin.def,Attribute/names.def,aro,build_options --zig-lib-dir /home/sskras/src/github.com/ziglang/zig/lib --listen=-
Build Summary: 3/6 steps succeeded; 1 failed (disable with --summary none)
install transitive failure
└─ install zig transitive failure
└─ zig build-exe zig Debug native 3 errors
lib/std/crypto/tls/Client.zig:778:1: error: TODO implement genBinOp for xor @Vector(32, u8)
fn prepareCiphertextRecord(
^~
lib/std/crypto/tls/Client.zig:142:5: error: TODO implement genBinOp for xor @Vector(32, u8)
pub fn init(stream: anytype, ca_bundle: Certificate.Bundle, host: []const u8) InitError(@TypeOf(stream))!Client {
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/std/crypto/tls/Client.zig:920:5: error: TODO implement genBinOp for xor @Vector(32, u8)
pub fn readvAdvanced(c: *Client, stream: anytype, iovecs: []const std.os.iovec) !usize {
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It says TODO implement genBinOp for xor @Vector(32, u8).
Here is the full log of the the terminal session: https://asciinema.org/a/622022
To reach the end of stage2 you may want to jump right to 20:00 or so . stage3 starts circa 21:25.
Expected Behavior
I expected it to finish the process or at least to tell what's wrong in my setup.
theoparis
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavior