[MacPorts] #67220: mimalloc broken on 10.6: error: stdatomic.h: No such file or directory, etc.

MacPorts noreply at macports.org
Tue Apr 11 19:58:29 UTC 2023


#67220: mimalloc broken on 10.6: error: stdatomic.h: No such file or directory,
etc.
-------------------------+-------------------------------------------------
  Reporter:              |      Owner:  mohd-akram
  barracuda156           |
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:  snowleopard, leopard, powerpc,
      Port:  mimalloc    |  rosetta
-------------------------+-------------------------------------------------

Comment (by barracuda156):

 After a couple of extra fixes I ended up here:
 {{{
 Undefined symbols:
   "___atomic_compare_exchange_8", referenced from:
       _mi_stat_update.part.0 in stats.c.o
   "__Znam", referenced from:
       __mi_cxx_interposes in alloc.c.o
   "__ZnwmRKSt9nothrow_t", referenced from:
       __mi_cxx_interposes in alloc.c.o
   "___atomic_fetch_add_8", referenced from:
       _mi_atomic_addi64_relaxed in stats.c.o
   "_mi_prim_tls_slot", referenced from:
       _mi_prim_get_default_heap in alloc.c.o
       _mi_prim_get_default_heap in alloc-aligned.c.o
       _mi_prim_get_default_heap in heap.c.o
       __mi_thread_done in init.c.o
       _mi_thread_init in init.c.o
   "___atomic_load_8", referenced from:
       _mi_segment_cache_purge.constprop.0 in segment-cache.c.o
       _mi_segment_cache_purge.constprop.0 in segment-cache.c.o
       _mi_stat_update.part.0 in stats.c.o
       _mi_process_info in stats.c.o
       _mi_process_info in stats.c.o
   "__Znwm", referenced from:
       __mi_cxx_interposes in alloc.c.o
   "__ZnamRKSt9nothrow_t", referenced from:
       __mi_cxx_interposes in alloc.c.o
   "_mi_prim_tls_slot_set", referenced from:
       __mi_heap_set_default_direct in init.c.o
   "___atomic_store_8", referenced from:
       _mi_segment_cache_pop_ex in segment-cache.c.o
       _mi_segment_cache_purge.constprop.0 in segment-cache.c.o
       __mi_segment_cache_push in segment-cache.c.o
       __mi_segment_cache_push in segment-cache.c.o
 }}}

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


More information about the macports-tickets mailing list