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

MacPorts noreply at macports.org
Wed Aug 17 14:15:16 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 kencu):

 well, that’s how it was before, but Marcus had to change it to apply on
 all system versions to fix an issue with rust.

 I think then somehow this added condition is leading llvm to tell zig to
 use emulated tls?

 https://github.com/macports/macports-
 ports/blob/e8ee22994285a56f684af1ddf7841051378f1410/lang/llvm-13/files/0019-10.6
 -and-less-use-emulated-TLS-before-10.7.patch#L52

 If that is the exact issue wonder why this test is
 {{{isMacOSXVersionLT(10, 7)}}} is misbehaving… have to find and read over
 exactly how that is set.

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


More information about the macports-tickets mailing list