[MacPorts] #67472: gperftools @2.10: Undefined symbols operator delete, operator new
MacPorts
noreply at macports.org
Sun May 21 17:11:20 UTC 2023
#67472: gperftools @2.10: Undefined symbols operator delete, operator new
------------------------+------------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port: gperftools
------------------------+------------------------
gperftools fails to build on Lion:
https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/145220/steps
/install-port/logs/stdio
{{{
libtool: link: /opt/local/bin/clang++-mp-15 -std=gnu++11 -g -Wall -Wwrite-
strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result
-DNO_FRAME_POINTER -pipe -Os -stdlib=libc++ -arch x86_64
-Wl,-headerpad_max_install_names -arch x86_64 -o addressmap_unittest
src/tests/addressmap_unittest-addressmap_unittest.o -L/opt/local/lib
./.libs/liblogging.a
Undefined symbols for architecture x86_64:
"operator delete(void*, std::align_val_t)", referenced from:
__ZN7testingL11RunAllTestsEiPPc in tcm_min_asserts_unittest-
tcmalloc_unittest.o
"operator delete(void*, std::align_val_t, std::nothrow_t const&)",
referenced from:
__ZN7testingL11RunAllTestsEiPPc in tcm_min_asserts_unittest-
tcmalloc_unittest.o
"operator new(unsigned long, std::align_val_t)", referenced from:
__ZN7testingL11RunAllTestsEiPPc in tcm_min_asserts_unittest-
tcmalloc_unittest.o
"operator new(unsigned long, std::align_val_t, std::nothrow_t const&)",
referenced from:
__ZN7testingL11RunAllTestsEiPPc in tcm_min_asserts_unittest-
tcmalloc_unittest.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [tcm_min_asserts_unittest] Error 1
make: *** Waiting for unfinished jobs....
}}}
--
Ticket URL: <https://trac.macports.org/ticket/67472>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list