[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
Mon Oct 10 18:04:49 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 kencu):

 try this patch:

 {{{
 --- Makefile.in.orig    2022-10-10 10:58:13.000000000 -0700
 +++ Makefile.in 2022-10-10 10:59:54.000000000 -0700
 @@ -513,7 +513,7 @@

  $(objroot)lib/$(LIBJEMALLOC).$(SOREV) : $(if
 $(PIC_CFLAGS),$(C_PIC_OBJS),$(C_OBJS)) $(if
 $(PIC_CFLAGS),$(CPP_PIC_OBJS),$(CPP_OBJS))
         @mkdir -p $(@D)
 -       $(CC) $(DSO_LDFLAGS) $(call RPATH,$(RPATH_EXTRA)) $(LDTARGET) $+
 $(LDFLAGS) $(LIBS) $(EXTRA_LDFLAGS)
 +       $(CXX) $(DSO_LDFLAGS) $(call RPATH,$(RPATH_EXTRA)) $(LDTARGET) $+
 $(LDFLAGS) $(LIBS) $(EXTRA_LDFLAGS)

  $(objroot)lib/$(LIBJEMALLOC)_pic.$(A) : $(C_PIC_OBJS) $(CPP_PIC_OBJS)
  $(objroot)lib/$(LIBJEMALLOC).$(A) : $(C_OBJS) $(CPP_OBJS)
 }}}

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


More information about the macports-tickets mailing list