You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to use Zig as a drop-in C/C++ compiler for the Erlang BEAM VM, a fairly non-trivial application I know! However I've had a fair amount of success, and have produced some working bins using the bootstrapping config! (And 1 fully working build)
However I'm running into an issue I think may be intermittent. Occasionally the configuration fails with an error similar to the following output:
ld.lld -error-limit=0 -z stack-size=16777216 --gc-sections --eh-frame-hdr -m elf_x86_64 -o /root/.cache/zig/o/ce8888c0ef271e014f4b6291c8a8ec32/conftest /root/.cache/zig/o/94ffcf31c5e4cc64cd94e363da2a1e71/Scrt1.o /root/.cache/zig/o/468f28
6874aca0b60f01f3c146352a21/crti.o -L /data/third_party/out/lib -dynamic-linker /lib64/ld-linux-x86-64.so.2 /root/.cache/zig/o/f72c4fbb6ae144af50bb0ba0363dabe2/conftest.o /root/.cache/zig/o/e6594b6bdf5bcecfb938b6455a8ccf86/libcompiler_rt.
a /root/.cache/zig/o/c35965bcbdf27efb487c3cf458cbf195/libm.so.6 /root/.cache/zig/o/c35965bcbdf27efb487c3cf458cbf195/libpthread.so.0 /root/.cache/zig/o/c35965bcbdf27efb487c3cf458cbf195/libc.so.6 /root/.cache/zig/o/c35965bcbdf27efb487c3cf4
58cbf195/libdl.so.2 /root/.cache/zig/o/c35965bcbdf27efb487c3cf458cbf195/librt.so.1 /root/.cache/zig/o/c35965bcbdf27efb487c3cf458cbf195/libld.so.2 /root/.cache/zig/o/c35965bcbdf27efb487c3cf458cbf195/libutil.so.1 /root/.cache/zig/o/5060c49
3281f22a32e2a15702477b771/libc_nonshared.a /root/.cache/zig/o/892c1b189e8dcfb850ef01e67bac746e/crtn.o --allow-shlib-undefined
warning(link): failed to save linking hash digest file: PathAlreadyExists
error: FileNotFound
configure:3098: $? = 1
configure:3114: error: in `/data/otp_src_24.0/lib/crypto':
configure:3116: error: cannot compute suffix of executables: cannot compile and link
See `config.log' for more details
This seems to possible be a problem with Zig CC's cache? Happy to help dig deeper into what's going on here!
The text was updated successfully, but these errors were encountered:
I'm attempting to use Zig as a drop-in C/C++ compiler for the Erlang BEAM VM, a fairly non-trivial application I know! However I've had a fair amount of success, and have produced some working bins using the bootstrapping config! (And 1 fully working build)
However I'm running into an issue I think may be intermittent. Occasionally the configuration fails with an error similar to the following output:
This seems to possible be a problem with Zig CC's cache? Happy to help dig deeper into what's going on here!
The text was updated successfully, but these errors were encountered: