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

MacPorts noreply at macports.org
Tue Jul 19 07:26:29 UTC 2022


#65333: zig: destroot failure: undefined reference to symbol
'___emutls_get_address'
-------------------------+--------------------
  Reporter:  i0ntempest  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.2
Resolution:              |   Keywords:
      Port:  zig         |
-------------------------+--------------------

Comment (by saagarjha):

 In my case it's _panic_stage:


 {{{
 :info:destroot error(link): undefined reference to symbol '_panic_stage'
 :info:destroot error(link):   first referenced in
 '/opt/local/var/macports/build/_Users_saagarjha_Developer_macports-
 ports_lang_zig/zig/work/zig-0.9.1/zig-
 cache/o/6a87c1188d68d8f3437a2f9cdaa6f7d8/build.o'
 :info:destroot error: UndefinedSymbolReference
 :info:destroot ::
 :info:destroot :: ERROR: 1
 :info:destroot :: (execute_process)
 }}}

 Interestingly this only reproduces using MacPorts's LLVM. I don't see it
 when building from source…

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


More information about the macports-tickets mailing list