[MacPorts] #65685: sparsehash fails to link on Rosetta: Undefined symbols "MallocExtension::instance()"
MacPorts
noreply at macports.org
Wed Aug 17 18:16:04 UTC 2022
#65685: sparsehash fails to link on Rosetta: Undefined symbols
"MallocExtension::instance()"
-------------------------------------------+------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Keywords: powerpc, rosetta, snowleopard | Port: sparsehash
-------------------------------------------+------------------------
{{{
mv -f .deps/time_hash_map-time_hash_map.Tpo .deps/time_hash_map-
time_hash_map.Po
/usr/bin/g++-4.2 -D_THREAD_SAFE -Wall -W -Wwrite-strings -Woverloaded-
virtual -Wshadow -pipe -Os -D_THREAD_SAFE -L/opt/local/lib
-Wl,-headerpad_max_install_names -o time_hash_map time_hash_map-
time_hash_map.o -ltcmalloc
ld: warning: in /opt/local/lib/libtcmalloc.dylib, file was built for
ppc7400 which is not the architecture being linked (x86_64)
Undefined symbols:
"MallocExtension::instance()", referenced from:
CurrentMemoryUsage() in time_hash_map-time_hash_map.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [time_hash_map] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/65685>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list