zig compiler
ppadilcdx at gmail.com
ppadilcdx at gmail.com
Tue May 2 20:04:26 UTC 2023
I cannot build the zig compiler (see below). Wondering if anyone else
has this problem and should I then submit a trac ticket.
error(link): undefined reference to symbol 'dyld_stub_binder'
thread 281458 panic: attempt to unwrap error: UndefinedSymbolReference
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/link/tapi/yaml.zig:318:9:
0x10af58845 in link.tapi.yaml.Yaml.parseValue (zig2)
return switch (@typeInfo(T)) {
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/link/tapi/yaml.zig:305:41:
0x10af50807 in link.tapi.yaml.Yaml.parse (zig2)
parsed[i] = try self.parseValue(info.child,
doc);
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/link/tapi/yaml.zig:313:21:
0x10af50b3b in link.tapi.yaml.Yaml.parse (zig2)
else => return error.TypeMismatch,
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/link/tapi/yaml.zig:376:17:
0x10b1d4071 in link.tapi.yaml.Yaml.parseStruct (zig2)
return error.StructFieldMissing;
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/link/tapi/yaml.zig:318:9:
0x10af59215 in link.tapi.yaml.Yaml.parseValue (zig2)
return switch (@typeInfo(T)) {
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/link/tapi/yaml.zig:305:41:
0x10af50e67 in link.tapi.yaml.Yaml.parse (zig2)
parsed[i] = try self.parseValue(info.child,
doc);
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/link/tapi/yaml.zig:313:21:
0x10af5113b in link.tapi.yaml.Yaml.parse (zig2)
else => return error.TypeMismatch,
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/link/tapi.zig:159:13:
0x10ac7ff8b in link.tapi.LibStub.loadFromFile (zig2)
return error.NotLibStub;
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/link/MachO/Archive.zig:106:9:
0x10ac71da4 in link.MachO.Archive.parse (zig2)
return error.NotArchive;
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/link/MachO/zld.zig:1226:13:
0x10a991503 in link.MachO.zld.Zld.resolveDyldStubBinder (zig2)
return error.UndefinedSymbolReference;
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/link/MachO/zld.zig:4220:9:
0x10a73a87f in link.MachO.zld.linkWithZld (zig2)
try zld.resolveDyldStubBinder(&resolver);
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/link/MachO.zig:427:22:
0x10a4b82d0 in link.MachO.flush (zig2)
.one_shot => return zld.linkWithZld(self, comp, prog_node),
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/link.zig:797:23:
0x10a4b4fb9 in link.File.flush (zig2)
.macho => return @fieldParentPtr(MachO, "base",
base).flush(comp, prog_node),
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/Compilation.zig:2519:21:
0x10a437367 in Compilation.flush (zig2)
else => |e| return e,
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/Compilation.zig:2480:13:
0x10a428d0a in Compilation.update (zig2)
try comp.flush(main_progress_node);
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/main.zig:3361:5:
0x10a3b75ae in main.updateModule (zig2)
try comp.update();
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/main.zig:3030:21:
0x10a2f9365 in main.buildOutputType (zig2)
else => |e| return e,
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/main.zig:230:9:
0x10a290c5b in main.mainArgs (zig2)
return buildOutputType(gpa, arena, args, .{ .build = .Exe });
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/lib/std/fmt.zig:1821:69:
0x10a339ac9 in std.fmt.parseWithSign (zig2)
if (buf_start[0] == '_' or buf_start[buf_start.len - 1] == '_')
return error.InvalidCharacter;
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/lib/std/fmt.zig:1724:5:
0x10a331599 in std.fmt.parseInt (zig2)
return parseWithSign(T, buf, radix, .Pos);
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/lib/std/fmt/parse_float/parse_float.zig:29:9:
0x10af57c14 in std.fmt.parse_float.parse_float.parseFloat (zig2)
return parse.parseInfOrNan(T, s[i..], negative) orelse
error.InvalidCharacter;
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/lib/std/fmt.zig:1900:25:
0x10a318a9e in std.fmt.charToDigit (zig2)
if (value >= radix) return error.InvalidCharacter;
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/lib/std/fmt.zig:1825:23:
0x10a339b7d in std.fmt.parseWithSign (zig2)
const digit = try charToDigit(c, buf_radix);
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/lib/std/fmt.zig:1724:5:
0x10a331599 in std.fmt.parseInt (zig2)
return parseWithSign(T, buf, radix, .Pos);
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/lib/std/fmt/parse_float/parse_float.zig:29:9:
0x10af57c14 in std.fmt.parse_float.parse_float.parseFloat (zig2)
return parse.parseInfOrNan(T, s[i..], negative) orelse
error.InvalidCharacter;
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/link/tapi/yaml.zig:59:28:
0x10b1d0651 in link.tapi.yaml.Value.asList (zig2)
if (self != .list) return error.TypeMismatch;
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/link/tapi/yaml.zig:59:28:
0x10b1d0651 in link.tapi.yaml.Value.asList (zig2)
if (self != .list) return error.TypeMismatch;
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/link/tapi/yaml.zig:59:28:
0x10b1d0651 in link.tapi.yaml.Value.asList (zig2)
if (self != .list) return error.TypeMismatch;
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/link/tapi/yaml.zig:59:28:
0x10b1d0651 in link.tapi.yaml.Value.asList (zig2)
if (self != .list) return error.TypeMismatch;
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/link/tapi/yaml.zig:59:28:
0x10b1d0651 in link.tapi.yaml.Value.asList (zig2)
if (self != .list) return error.TypeMismatch;
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/link/tapi/yaml.zig:59:28:
0x10b1d0651 in link.tapi.yaml.Value.asList (zig2)
if (self != .list) return error.TypeMismatch;
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/link/tapi/yaml.zig:376:17:
0x10b1d18c4 in link.tapi.yaml.Yaml.parseStruct (zig2)
return error.StructFieldMissing;
^
(874034 additional stack frames skipped...)
???:?:?: 0x110d51289 in ___zig_fail_unwrap (???)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_zig/zig/work/zig-0.10.1/src/stage1.zig:56:43:
0x10a290738 in main (zig2)
stage2.mainArgs(gpa, arena, args) catch unreachable;
^
???:?:?: 0x7ff81cf0541e in ??? (???)
???:?:?: 0x0 in ??? (???)
error: zig...
More information about the macports-users
mailing list