[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 14:48:53 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:1 kencu]:
So it looks like paths are correct and libs are passed to the linker, and
`__Unwind_Resume` is here:
{{{
36-249:jemalloc-5.3.0 svacchanda$ nm -arch ppc -g
/opt/local/libexec/gcc10-bootstrap/lib/libstdc++.6.dylib | grep _Unw
U __Unwind_DeleteException
U __Unwind_GetDataRelBase
U __Unwind_GetIPInfo
U __Unwind_GetLanguageSpecificData
U __Unwind_GetRegionStart
U __Unwind_GetTextRelBase
U __Unwind_RaiseException
U __Unwind_Resume
U __Unwind_Resume_or_Rethrow
U __Unwind_SetGR
U __Unwind_SetIP
}}}
And here:
{{{
36-249:jemalloc-5.3.0 svacchanda$ nm -arch ppc -g
/opt/local/libexec/gcc10-bootstrap/lib/libgcc_ehs.1.1.dylib | grep _Unw
00003db8 T __Unwind_Backtrace
00003d9c T __Unwind_DeleteException
000038c4 T __Unwind_FindEnclosingFunction
000057c8 T __Unwind_Find_FDE
00003bd0 T __Unwind_ForcedUnwind
000037f4 T __Unwind_GetCFA
000038f8 T __Unwind_GetDataRelBase
00003778 T __Unwind_GetGR
00003890 T __Unwind_GetIP
00003898 T __Unwind_GetIPInfo
000038b4 T __Unwind_GetLanguageSpecificData
000038bc T __Unwind_GetRegionStart
00003900 T __Unwind_GetTextRelBase
00003a0c T __Unwind_RaiseException
00003c68 T __Unwind_Resume
00003d00 T __Unwind_Resume_or_Rethrow
000037fc T __Unwind_SetGR
000038ac T __Unwind_SetIP
}}}
The latter seems to be linked to `libgcc_s.1.dylib`:
{{{
36-249:jemalloc-5.3.0 svacchanda$ otool -Lv
/opt/local/libexec/gcc10-bootstrap/lib/libgcc_s.1.dylib
/opt/local/libexec/gcc10-bootstrap/lib/libgcc_s.1.dylib:
/opt/local/libexec/gcc10-bootstrap/lib/libgcc_s.1.dylib
(compatibility version 1.0.0, current version 1.0.0)
time stamp 1 Thu Jan 1 08:00:01 1970
/opt/local/libexec/gcc10-bootstrap/lib/libgcc_s.1.1.dylib
(compatibility version 1.0.0, current version 1.1.0)
time stamp 2 Thu Jan 1 08:00:02 1970
/opt/local/libexec/gcc10-bootstrap/lib/libgcc_ehs.1.1.dylib
(compatibility version 1.0.0, current version 1.1.0)
time stamp 2 Thu Jan 1 08:00:02 1970
}}}
I do not know what to do now :)
--
Ticket URL: <https://trac.macports.org/ticket/65945#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list