[MacPorts] #65333: zig: destroot failure: undefined reference to symbol '___emutls_get_address'

MacPorts noreply at macports.org
Fri Nov 4 22:42:51 UTC 2022


#65333: zig: destroot failure: undefined reference to symbol
'___emutls_get_address'
---------------------------+------------------------
  Reporter:  i0ntempest    |      Owner:  i0ntempest
      Type:  defect        |     Status:  closed
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:  fixed         |   Keywords:
      Port:  zig, llvm-13  |
---------------------------+------------------------

Comment (by i0ntempest):

 Looks like after the 0.10 upgrade, arm builds are getting the
 {{{_panic_stage}}} symbol not found error:
 {{{
 Undefined symbols for architecture arm64:
   "_panic_stage", referenced from:
       _std.debug.panicImpl in zig2.o
   "_panic_state_raw", referenced from:
       _crash_report.PanicSwitch.preDispatch in zig2.o
       _crash_report.PanicSwitch.dispatch in zig2.o
   "_zir_state", referenced from:
       _crash_report.AnalyzeBody.push in zig2.o
       _crash_report.AnalyzeBody.pop in zig2.o
       _crash_report.dumpStatusReport in zig2.o
 ld: symbol(s) not found for architecture arm64
 }}}
 I don't have an arm machine so I don't know how to tackle this.

-- 
Ticket URL: <https://trac.macports.org/ticket/65333#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list