zls
zls copied to clipboard
Tracy enabled: Linker - linking module flags 'Dwarf Version': IDs have conflicting values
Zig version: (master) - 0.10.0-dev.2950+b88151e0e OS Arch: ArchLinux-x86_64
gnu build
$> zig build -Drelease-safe -Denable_tracy
LLD Link... warning(link): unexpected LLD stderr:
ld.lld: warning: linking module flags 'Dwarf Version': IDs have conflicting values ('i32 5' from /home/kassane/Downloads/Code/zls/zig-cache/o/5585460192b9112c39036b4a8a2d8081/TracyClient.o with 'i32 4' from ld-temp.o)
musl build
$> zig build -Drelease-safe -Denable_tracy -Dtarget=native-native-musl
LLD Link... ld.lld: warning: linking module flags 'Dwarf Version': IDs have conflicting values ('i32 5' from /home/kassane/Downloads/Code/zls/zig-cache/o/9dacfd679e1a7a9c72002de84d75c3de/TracyClient.o with 'i32 4' from ld-temp.o)
ld.lld: error: undefined symbol: __cxa_thread_atexit_impl
>>> referenced by TracyClient.cpp:0 (src/tracy/TracyClient.cpp:0)
>>> lto.tmp:(_GLOBAL__I_000105)
>>> referenced by TracyClient.cpp:0 (src/tracy/TracyClient.cpp:0)
>>> lto.tmp:(_GLOBAL__I_000105)
>>> referenced by TracyClient.cpp:0 (src/tracy/TracyClient.cpp:0)
>>> lto.tmp:(_GLOBAL__I_000105)
>>> referenced 11 more times
error: FileNotFound
/home/kassane/.local/lib/zig/std/os.zig:3068:19: 0x2c6392 in std.os.readlinkZ (build)
.INVAL => return error.NotLink,
^
/home/kassane/.local/lib/zig/std/os.zig:3045:9: 0x2c70e2 in std.os.readlink (build)
return readlinkZ(&file_path_c, out_buffer);
^
/home/kassane/.local/lib/zig/std/os.zig:2749:19: 0x2a328b in std.os.mkdiratZ (build)
.EXIST => return error.PathAlreadyExists,
^
/home/kassane/.local/lib/zig/std/os.zig:2709:9: 0x2a3173 in std.os.mkdirat (build)
return mkdiratZ(dir_fd, &sub_dir_path_c, mode);
^
/home/kassane/.local/lib/zig/std/fs.zig:1283:9: 0x2a3066 in std.fs.Dir.makeDir (build)
try os.mkdirat(self.fd, sub_path, default_new_dir_mode);
^
/home/kassane/.local/lib/zig/std/os.zig:1680:23: 0x28c34d in std.os.openatZ (build)
.NOENT => return error.FileNotFound,
^
/home/kassane/.local/lib/zig/std/fs.zig:1032:13: 0x27818c in std.fs.Dir.openFileZ (build)
try os.openatZ(self.fd, sub_path, os_flags, 0);
^
/home/kassane/.local/lib/zig/std/fs.zig:959:9: 0x275fa1 in std.fs.Dir.openFile (build)
return self.openFileZ(&path_c, flags);
^
/home/kassane/.local/lib/zig/std/fs.zig:2150:24: 0x300894 in std.fs.Dir.updateFile (build)
var src_file = try source_dir.openFile(source_path, .{});
^
/home/kassane/.local/lib/zig/std/build.zig:1093:29: 0x2fb428 in std.build.Builder.updateFile (build)
const prev_status = try fs.Dir.updateFile(cwd, source_path, cwd, dest_path, .{});
^
/home/kassane/.local/lib/zig/std/build.zig:3379:9: 0x2faa00 in std.build.InstallArtifactStep.make (build)
try builder.updateFile(self.artifact.getOutputSource().getPath(builder), full_dest_path);
^
/home/kassane/.local/lib/zig/std/build.zig:3613:9: 0x2a39ee in std.build.Step.make (build)
try self.makeFn(self);
^
/home/kassane/.local/lib/zig/std/build.zig:507:9: 0x2a2b3c in std.build.Builder.makeOneStep (build)
try s.make();
^
/home/kassane/.local/lib/zig/std/build.zig:501:17: 0x2a2ae8 in std.build.Builder.makeOneStep (build)
return err;
^
/home/kassane/.local/lib/zig/std/build.zig:462:13: 0x298831 in std.build.Builder.make (build)
try self.makeOneStep(s);
^
/home/kassane/.local/lib/zig/build_runner.zig:213:21: 0x292525 in main (build)
else => return err,
^
error: the following build command failed with exit code 1:
/home/kassane/Downloads/Code/zls/zig-cache/o/ef11a385d255cfe6c086b40d2c414114/build /home/kassane/.local/bin/zig /home/kassane/Downloads/Code/zls /home/kassane/Downloads/Code/zls/zig-cache /home/kassane/.cache/zig -Drelease-safe -Denable_tracy -Dtarget=native-native-musl