[MacPorts] #65945: jemalloc fails on 10.5.8: Undefined symbols: _malloc_default_purgeable_zone, __Unwind_Resume using a modified MacPorts setup on 10.5 that is defaulting to use gcc11

MacPorts noreply at macports.org
Tue Oct 11 02:33:16 UTC 2022


#65945: jemalloc fails on 10.5.8: Undefined symbols:
_malloc_default_purgeable_zone, __Unwind_Resume using a modified MacPorts
setup on 10.5 that is defaulting to use gcc11
---------------------------+-------------------------------------------
  Reporter:  barracuda156  |      Owner:  kencu
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:  powerpc, leopard, snowleopard
      Port:  jemalloc      |
---------------------------+-------------------------------------------

Comment (by barracuda156):

 Replying to [comment:14 kencu]:
 > try this patch:

 Thank you! This solves `__Unwind_Resume` error (and likely gonna fix the
 build on 10.6). On 10.5.8 the second missing symbol prevents the
 completion:
 {{{
 Undefined symbols:
   "_malloc_default_purgeable_zone", referenced from:
       _je_zone_register in zone.pic.o
       _malloc_default_purgeable_zone$non_lazy_ptr in zone.pic.o
      (maybe you meant: _malloc_default_purgeable_zone$non_lazy_ptr)
 ld: symbol(s) not found
 collect2: error: ld returned 1 exit status
 make: *** [lib/libjemalloc.2.dylib] Error 1
 make: *** Waiting for unfinished jobs....
 }}}

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


More information about the macports-tickets mailing list