[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 17:52:37 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):

 There are a number of builds in MacPorts that will show this issue -- an
 error when linking with the C compiler instead of the C++ compiler, when
 code is using c++. Most of these builds have mixed c and c++ code in them,
 like jemalloc has.

 The error does not show up on newer systems, or systems that build with
 clang instead of gcc, or sometimes for other various reasons.

 But using the C compiler to generate the link for c++ code will often fail
 at times, at least on some systems.

 There is nothing wrong with GCC; this is not Iain's problem. The issue is
 with jemalloc, and their build should use $(CXX) instead of $(CC) as the
 link compiler.

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


More information about the macports-tickets mailing list