=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for gperftools-2.17.2 depbase=`echo benchmark/binary_trees.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ c++ -std=gnu++17 -DHAVE_CONFIG_H -I./src -I./src -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fsized-deallocation -O2 -mieee -MT benchmark/binary_trees.o -MD -MP -MF $depbase.Tpo -c -o benchmark/binary_trees.o benchmark/binary_trees.cc &&\ mv -f $depbase.Tpo $depbase.Po /bin/sh ./libtool --tag=CXX --mode=compile c++ -std=gnu++17 -DHAVE_CONFIG_H -I./src -I./src -DNDEBUG -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fsized-deallocation -DENABLE_EMERGENCY_MALLOC -O2 -mieee -MT src/libtcmalloc_la-tcmalloc.lo -MD -MP -MF src/.deps/libtcmalloc_la-tcmalloc.Tpo -c -o src/libtcmalloc_la-tcmalloc.lo `test -f 'src/tcmalloc.cc' || echo './'`src/tcmalloc.cc /bin/sh ./libtool --tag=CXX --mode=compile c++ -std=gnu++17 -DHAVE_CONFIG_H -I./src -I./src -DNDEBUG -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fsized-deallocation -DENABLE_EMERGENCY_MALLOC -O2 -mieee -MT src/libtcmalloc_la-common.lo -MD -MP -MF src/.deps/libtcmalloc_la-common.Tpo -c -o src/libtcmalloc_la-common.lo `test -f 'src/common.cc' || echo './'`src/common.cc libtool: compile: c++ -std=gnu++17 -DHAVE_CONFIG_H -I./src -DNDEBUG -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fsized-deallocation -DENABLE_EMERGENCY_MALLOC -O2 -mieee -MT src/libtcmalloc_la-common.lo -MD -MP -MF src/.deps/libtcmalloc_la-common.Tpo -c src/common.cc -fPIC -DPIC -o src/.libs/libtcmalloc_la-common.o libtool: compile: c++ -std=gnu++17 -DHAVE_CONFIG_H -I./src -DNDEBUG -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fsized-deallocation -DENABLE_EMERGENCY_MALLOC -O2 -mieee -MT src/libtcmalloc_la-tcmalloc.lo -MD -MP -MF src/.deps/libtcmalloc_la-tcmalloc.Tpo -c src/tcmalloc.cc -fPIC -DPIC -o src/.libs/libtcmalloc_la-tcmalloc.o In file included from src/common.h:43, from src/common.cc:43: src/base/basictypes.h:170:5: error: #error Could not determine cache line length - unknown architecture 170 | # error Could not determine cache line length - unknown architecture | ^~~~~ In file included from src/tcmalloc.cc:111: src/base/basictypes.h:170:5: error: #error Could not determine cache line length - unknown architecture 170 | # error Could not determine cache line length - unknown architecture | ^~~~~ /bin/sh ./libtool --tag=CXX --mode=compile c++ -std=gnu++17 -DHAVE_CONFIG_H -I./src -I./src -DNDEBUG -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fsized-deallocation -DENABLE_EMERGENCY_MALLOC -O2 -mieee -MT src/libtcmalloc_la-internal_logging.lo -MD -MP -MF src/.deps/libtcmalloc_la-internal_logging.Tpo -c -o src/libtcmalloc_la-internal_logging.lo `test -f 'src/internal_logging.cc' || echo './'`src/internal_logging.cc gmake: *** [Makefile:4343: src/libtcmalloc_la-common.lo] Error 1 gmake: *** Waiting for unfinished jobs.... libtool: compile: c++ -std=gnu++17 -DHAVE_CONFIG_H -I./src -DNDEBUG -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fsized-deallocation -DENABLE_EMERGENCY_MALLOC -O2 -mieee -MT src/libtcmalloc_la-internal_logging.lo -MD -MP -MF src/.deps/libtcmalloc_la-internal_logging.Tpo -c src/internal_logging.cc -fPIC -DPIC -o src/.libs/libtcmalloc_la-internal_logging.o In file included from ./src/base/commandlineflags.h:56, from src/base/logging.h:49, from src/internal_logging.cc:45: ./src/base/basictypes.h:170:5: error: #error Could not determine cache line length - unknown architecture 170 | # error Could not determine cache line length - unknown architecture | ^~~~~ In file included from src/tcmalloc.cc:115: src/central_freelist.h:48:25: error: variable 'tcmalloc::CACHELINE_ALIGNED tcmalloc::CentralFreeList' has initializer but incomplete type 48 | class CACHELINE_ALIGNED CentralFreeList { | ^~~~~~~~~~~~~~~ src/central_freelist.h:49:2: error: expected primary-expression before 'public' 49 | public: | ^~~~~~ src/central_freelist.h:49:2: error: expected '}' before 'public' src/central_freelist.h:48:41: note: to match this '{' 48 | class CACHELINE_ALIGNED CentralFreeList { | ^ src/central_freelist.h:49:2: error: expected ',' or ';' before 'public' 49 | public: | ^~~~~~ src/central_freelist.h: In function 'int tcmalloc::length()': src/central_freelist.h:65:23: error: 'lock_' was not declared in this scope; did you mean 'lockf'? 65 | SpinLockHolder h(&lock_); | ^~~~~ | lockf src/central_freelist.h:66:12: error: 'counter_' was not declared in this scope 66 | return counter_; | ^~~~~~~~ src/central_freelist.h: In function 'void tcmalloc::Lock()': src/central_freelist.h:81:5: error: 'lock_' was not declared in this scope; did you mean 'lockf'? 81 | lock_.Lock(); | ^~~~~ | lockf src/central_freelist.h: In function 'void tcmalloc::Unlock()': src/central_freelist.h:85:5: error: 'lock_' was not declared in this scope; did you mean 'lockf'? 85 | lock_.Unlock(); | ^~~~~ | lockf src/central_freelist.h: At global scope: src/central_freelist.h:88:2: error: expected unqualified-id before 'private' 88 | private: | ^~~~~~~ src/central_freelist.h:174:3: error: 'TCEntry' does not name a type 174 | TCEntry tc_slots_[kMaxNumTransferEntries]; | ^~~~~~~ src/central_freelist.h:187:1: error: expected declaration before '}' token 187 | } // namespace tcmalloc | ^ In file included from src/tcmalloc.cc:124: src/static_vars.h:67:10: error: 'CentralFreeList' does not name a type 67 | static CentralFreeList* central_cache() { return central_cache_; } | ^~~~~~~~~~~~~~~ src/static_vars.h:112:38: error: 'CentralFreeList' does not name a type 112 | ATTRIBUTE_VISIBILITY_HIDDEN static CentralFreeList central_cache_[kClassSizesMax]; | ^~~~~~~~~~~~~~~ In file included from src/tcmalloc.cc:127: src/thread_cache.h:312:3: error: 'tcmalloc::ThreadCache::ThreadCache()' is private within this context 312 | } CACHELINE_ALIGNED; | ^~~~~~~~~~~~~~~~~ src/thread_cache.h:239:3: note: declared private here 239 | ThreadCache(); | ^~~~~~~~~~~ src/tcmalloc.cc: In function 'void ExtractStats(TCMallocStats*, uint64_t*, tcmalloc::PageHeap::SmallSpanStats*, tcmalloc::PageHeap::LargeSpanStats*)': src/tcmalloc.cc:291:32: error: 'central_cache' is not a member of 'tcmalloc::Static' 291 | const int length = Static::central_cache()[cl].length(); | ^~~~~~~~~~~~~ src/tcmalloc.cc:292:35: error: 'central_cache' is not a member of 'tcmalloc::Static' 292 | const int tc_length = Static::central_cache()[cl].tc_length(); | ^~~~~~~~~~~~~ src/tcmalloc.cc:293:43: error: 'central_cache' is not a member of 'tcmalloc::Static' 293 | const size_t cache_overhead = Static::central_cache()[cl].OverheadBytes(); | ^~~~~~~~~~~~~ src/tcmalloc.cc: In function 'void DumpStats(TCMalloc_Printer*, int)': src/tcmalloc.cc:403:21: error: 'central_cache' is not a member of 'tcmalloc::Static' 403 | Static::central_cache()[cl].OverheadBytes(); | ^~~~~~~~~~~~~ src/tcmalloc.cc: In member function 'virtual void TCMallocImplementation::GetFreeListSizes(std::vector*)': src/tcmalloc.cc:970:19: error: 'central_cache' is not a member of 'tcmalloc::Static' 970 | Static::central_cache()[cl].length() * class_size; | ^~~~~~~~~~~~~ src/tcmalloc.cc:976:19: error: 'central_cache' is not a member of 'tcmalloc::Static' 976 | Static::central_cache()[cl].tc_length() * class_size; | ^~~~~~~~~~~~~ src/tcmalloc.cc: In function 'void {anonymous}::do_free_with_callback(void*, void (*)(void*), bool, size_t)': src/tcmalloc.cc:1589:11: error: 'central_cache' is not a member of 'tcmalloc::Static' 1589 | Static::central_cache()[cl].InsertRange(ptr, ptr, 1); | ^~~~~~~~~~~~~ In file included from src/tcmalloc.cc:111: src/tcmalloc.cc: At global scope: src/base/basictypes.h:177:32: error: 'CACHELINE_ALIGNED' does not name a type 177 | # define CACHELINE_ALIGNED_FN CACHELINE_ALIGNED | ^~~~~~~~~~~~~~~~~ src/tcmalloc.cc:1963:31: note: in expansion of macro 'CACHELINE_ALIGNED_FN' 1963 | extern "C" PERFTOOLS_DLL_DECL CACHELINE_ALIGNED_FN | ^~~~~~~~~~~~~~~~~~~~ src/base/basictypes.h:177:32: error: 'CACHELINE_ALIGNED' does not name a type 177 | # define CACHELINE_ALIGNED_FN CACHELINE_ALIGNED | ^~~~~~~~~~~~~~~~~ src/tcmalloc.cc:1977:31: note: in expansion of macro 'CACHELINE_ALIGNED_FN' 1977 | extern "C" PERFTOOLS_DLL_DECL CACHELINE_ALIGNED_FN | ^~~~~~~~~~~~~~~~~~~~ src/base/basictypes.h:177:32: error: 'CACHELINE_ALIGNED' does not name a type 177 | # define CACHELINE_ALIGNED_FN CACHELINE_ALIGNED | ^~~~~~~~~~~~~~~~~ src/tcmalloc.cc:1982:31: note: in expansion of macro 'CACHELINE_ALIGNED_FN' 1982 | extern "C" PERFTOOLS_DLL_DECL CACHELINE_ALIGNED_FN | ^~~~~~~~~~~~~~~~~~~~ src/base/basictypes.h:177:32: error: 'CACHELINE_ALIGNED' does not name a type 177 | # define CACHELINE_ALIGNED_FN CACHELINE_ALIGNED | ^~~~~~~~~~~~~~~~~ src/tcmalloc.cc:2063:31: note: in expansion of macro 'CACHELINE_ALIGNED_FN' 2063 | extern "C" PERFTOOLS_DLL_DECL CACHELINE_ALIGNED_FN | ^~~~~~~~~~~~~~~~~~~~ src/base/basictypes.h:177:32: error: 'CACHELINE_ALIGNED' does not name a type 177 | # define CACHELINE_ALIGNED_FN CACHELINE_ALIGNED | ^~~~~~~~~~~~~~~~~ src/tcmalloc.cc:2068:31: note: in expansion of macro 'CACHELINE_ALIGNED_FN' 2068 | extern "C" PERFTOOLS_DLL_DECL CACHELINE_ALIGNED_FN | ^~~~~~~~~~~~~~~~~~~~ src/base/basictypes.h:177:32: error: 'CACHELINE_ALIGNED' does not name a type 177 | # define CACHELINE_ALIGNED_FN CACHELINE_ALIGNED | ^~~~~~~~~~~~~~~~~ src/tcmalloc.cc:2131:31: note: in expansion of macro 'CACHELINE_ALIGNED_FN' 2131 | extern "C" PERFTOOLS_DLL_DECL CACHELINE_ALIGNED_FN | ^~~~~~~~~~~~~~~~~~~~ In file included from src/tcmalloc.cc:127: src/thread_cache.h: In function 'void __static_initialization_and_destruction_0(int, int)': src/thread_cache.h:312:3: error: 'tcmalloc::ThreadCache::~ThreadCache()' is private within this context 312 | } CACHELINE_ALIGNED; | ^~~~~~~~~~~~~~~~~ src/thread_cache.h:241:3: note: declared private here 241 | ~ThreadCache(); | ^ In file included from src/tcmalloc.cc:115: src/central_freelist.h: At global scope: src/central_freelist.h:147:15: warning: 'bool tcmalloc::EvictRandomSizeClass(int, bool)' declared 'static' but never defined [-Wunused-function] 147 | static bool EvictRandomSizeClass(int locked_size_class, bool force); | ^~~~~~~~~~~~~~~~~~~~ In file included from src/libc_override.h:111, from src/tcmalloc.cc:141: src/libc_override_gcc_and_weak.h:246:8: error: 'void free_sized(void*, size_t)' aliased to undefined symbol 'tc_free_sized' 246 | void free_sized(void* p, size_t size) __THROW ALIAS(tc_free_sized); | ^~~~~~~~~~ src/libc_override_gcc_and_weak.h:218:9: error: 'void* aligned_alloc(size_t, size_t)' aliased to undefined symbol 'tc_memalign' 218 | void* aligned_alloc(size_t align, size_t s) __THROW ALIAS(tc_memalign); | ^~~~~~~~~~~~~ src/libc_override_gcc_and_weak.h:217:9: error: 'void* memalign(size_t, size_t)' aliased to undefined symbol 'tc_memalign' 217 | void* memalign(size_t align, size_t s) __THROW ALIAS(tc_memalign); | ^~~~~~~~ src/libc_override_gcc_and_weak.h:208:8: error: 'void free(void*)' aliased to undefined symbol 'tc_free' 208 | void free(void* ptr) __THROW ALIAS(tc_free); | ^~~~ src/libc_override_gcc_and_weak.h:207:9: error: 'void* malloc(size_t)' aliased to undefined symbol 'tc_malloc' 207 | void* malloc(size_t size) __THROW ALIAS(tc_malloc); | ^~~~~~ src/libc_override_gcc_and_weak.h:64:7: error: 'void* operator new(size_t, const std::nothrow_t&)' aliased to undefined symbol 'tc_new_nothrow' 64 | void* operator new(size_t size, const std::nothrow_t& nt) CPP_NOTHROW | ^~~~~~~~ src/libc_override_gcc_and_weak.h:60:7: error: 'void* operator new(size_t)' aliased to undefined symbol 'tc_new' 60 | void* operator new(size_t size) CPP_BADALLOC ALIAS(tc_new); | ^~~~~~~~ gmake: *** [Makefile:4329: src/libtcmalloc_la-tcmalloc.lo] Error 1 gmake: *** [Makefile:4350: src/libtcmalloc_la-internal_logging.lo] Error 1 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/devel/gperftools *** Error code 1 Stop. make: stopped in /usr/pkgsrc/devel/gperftools