[MacPorts] #73950: zig @0.16.0: unable to cross compile a simple windows test program with exception: missing ` __emutls_get_address`

MacPorts noreply at macports.org
Sun May 3 12:12:54 UTC 2026


#73950: zig @0.16.0: unable to cross compile a simple windows test program with
exception: missing ` __emutls_get_address`
-------------------------+--------------------
  Reporter:  i0ntempest  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.12.5
Resolution:              |   Keywords:
      Port:  zig         |
-------------------------+--------------------

Comment (by i0ntempest):

 One big difference is that the official compiler does not use/link system
 libc++, libllvm, and libclang-cpp. So I'm wondering if it's something in
 there. They probably build official releases using the zig-bootstrap
 project (https://codeberg.org/ziglang/zig-bootstrap). I tried creating a
 port using that project and it compiled the test program fine.

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


More information about the macports-tickets mailing list