=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for gperftools-2.8 cp -p ./src/pprof pprof-symbolize echo 'prefix=/opt/pkg' > "libtcmalloc.pc".tmp /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DTCMALLOC_FOR_DEBUGALLOCATION -O2 -MT src/libtcmalloc_debug_la-debugallocation.lo -MD -MP -MF src/.deps/libtcmalloc_debug_la-debugallocation.Tpo -c -o src/libtcmalloc_debug_la-debugallocation.lo `test -f 'src/debugallocation.cc' || echo './'`src/debugallocation.cc /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DTCMALLOC_FOR_DEBUGALLOCATION -O2 -MT src/libtcmalloc_debug_la-heap-checker.lo -MD -MP -MF src/.deps/libtcmalloc_debug_la-heap-checker.Tpo -c -o src/libtcmalloc_debug_la-heap-checker.lo `test -f 'src/heap-checker.cc' || echo './'`src/heap-checker.cc echo 'exec_prefix='`echo '/opt/pkg' | sed 's@^/opt/pkg@${prefix}@'` >> "libtcmalloc.pc".tmp /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DTCMALLOC_FOR_DEBUGALLOCATION -O2 -MT src/libtcmalloc_debug_la-heap-checker-bcad.lo -MD -MP -MF src/.deps/libtcmalloc_debug_la-heap-checker-bcad.Tpo -c -o src/libtcmalloc_debug_la-heap-checker-bcad.lo `test -f 'src/heap-checker-bcad.cc' || echo './'`src/heap-checker-bcad.cc /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-common.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-common.Tpo -c -o src/libtcmalloc_internal_la-common.lo `test -f 'src/common.cc' || echo './'`src/common.cc /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-internal_logging.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-internal_logging.Tpo -c -o src/libtcmalloc_internal_la-internal_logging.lo `test -f 'src/internal_logging.cc' || echo './'`src/internal_logging.cc /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-system-alloc.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-system-alloc.Tpo -c -o src/libtcmalloc_internal_la-system-alloc.lo `test -f 'src/system-alloc.cc' || echo './'`src/system-alloc.cc /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-memfs_malloc.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-memfs_malloc.Tpo -c -o src/libtcmalloc_internal_la-memfs_malloc.lo `test -f 'src/memfs_malloc.cc' || echo './'`src/memfs_malloc.cc echo 'libdir='`echo '/opt/pkg/lib' | sed 's@^/opt/pkg@${exec_prefix}@'` >> "libtcmalloc.pc".tmp echo 'includedir='`echo '/opt/pkg/include' | sed 's@^/opt/pkg@${prefix}@'` >> "libtcmalloc.pc".tmp echo '' >> "libtcmalloc.pc".tmp echo 'Name: gperftools' >> "libtcmalloc.pc".tmp echo 'Version: 2.8' >> "libtcmalloc.pc".tmp grep '^Summary:' ./packages/rpm/rpm.spec | sed s/^Summary:/Description:/ | head -n1 >> "libtcmalloc.pc".tmp grep '^URL: ' ./packages/rpm/rpm.spec >> "libtcmalloc.pc".tmp echo 'Requires:' >> "libtcmalloc.pc".tmp echo 'Libs: -L${libdir} -ltcmalloc' >> "libtcmalloc.pc".tmp echo 'Libs.private: -D_THREAD_SAFE ' >> "libtcmalloc.pc".tmp echo 'Cflags: -I${includedir}' >> "libtcmalloc.pc".tmp mv -f "libtcmalloc.pc".tmp "libtcmalloc.pc" /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-central_freelist.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-central_freelist.Tpo -c -o src/libtcmalloc_internal_la-central_freelist.lo `test -f 'src/central_freelist.cc' || echo './'`src/central_freelist.cc libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-internal_logging.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-internal_logging.Tpo -c src/internal_logging.cc -fno-common -DPIC -o src/.libs/libtcmalloc_internal_la-internal_logging.o libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DTCMALLOC_FOR_DEBUGALLOCATION -O2 -MT src/libtcmalloc_debug_la-debugallocation.lo -MD -MP -MF src/.deps/libtcmalloc_debug_la-debugallocation.Tpo -c src/debugallocation.cc -fno-common -DPIC -o src/.libs/libtcmalloc_debug_la-debugallocation.o libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-central_freelist.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-central_freelist.Tpo -c src/central_freelist.cc -fno-common -DPIC -o src/.libs/libtcmalloc_internal_la-central_freelist.o libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-common.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-common.Tpo -c src/common.cc -fno-common -DPIC -o src/.libs/libtcmalloc_internal_la-common.o libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-system-alloc.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-system-alloc.Tpo -c src/system-alloc.cc -fno-common -DPIC -o src/.libs/libtcmalloc_internal_la-system-alloc.o libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DTCMALLOC_FOR_DEBUGALLOCATION -O2 -MT src/libtcmalloc_debug_la-heap-checker-bcad.lo -MD -MP -MF src/.deps/libtcmalloc_debug_la-heap-checker-bcad.Tpo -c src/heap-checker-bcad.cc -fno-common -DPIC -o src/.libs/libtcmalloc_debug_la-heap-checker-bcad.o libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-memfs_malloc.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-memfs_malloc.Tpo -c src/memfs_malloc.cc -fno-common -DPIC -o src/.libs/libtcmalloc_internal_la-memfs_malloc.o libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DTCMALLOC_FOR_DEBUGALLOCATION -O2 -MT src/libtcmalloc_debug_la-heap-checker.lo -MD -MP -MF src/.deps/libtcmalloc_debug_la-heap-checker.Tpo -c src/heap-checker.cc -fno-common -DPIC -o src/.libs/libtcmalloc_debug_la-heap-checker.o libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-memfs_malloc.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-memfs_malloc.Tpo -c src/memfs_malloc.cc -o src/libtcmalloc_internal_la-memfs_malloc.o >/dev/null 2>&1 In file included from src/common.cc:36: In file included from ./src/common.h:45: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ mv -f src/.deps/libtcmalloc_internal_la-memfs_malloc.Tpo src/.deps/libtcmalloc_internal_la-memfs_malloc.Plo In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-page_heap.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-page_heap.Tpo -c -o src/libtcmalloc_internal_la-page_heap.lo `test -f 'src/page_heap.cc' || echo './'`src/page_heap.cc 10 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-common.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-common.Tpo -c src/common.cc -o src/libtcmalloc_internal_la-common.o >/dev/null 2>&1 In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:44: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/internal_logging.cc:45: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/internal_logging.cc:45: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-page_heap.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-page_heap.Tpo -c src/page_heap.cc -fno-common -DPIC -o src/.libs/libtcmalloc_internal_la-page_heap.o In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:45: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DTCMALLOC_FOR_DEBUGALLOCATION -O2 -MT src/libtcmalloc_debug_la-heap-checker-bcad.lo -MD -MP -MF src/.deps/libtcmalloc_debug_la-heap-checker-bcad.Tpo -c src/heap-checker-bcad.cc -o src/libtcmalloc_debug_la-heap-checker-bcad.o >/dev/null 2>&1 In file included from src/system-alloc.cc:53: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ src/system-alloc.cc:243:34: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] if (reinterpret_cast(sbrk(0)) + size < size) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ src/system-alloc.cc:247:18: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] void* result = sbrk(size); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ src/system-alloc.cc:258:14: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] void* r2 = sbrk(extra); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ src/system-alloc.cc:266:12: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] result = sbrk(size + alignment - 1); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ 11 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-internal_logging.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-internal_logging.Tpo -c src/internal_logging.cc -o src/libtcmalloc_internal_la-internal_logging.o >/dev/null 2>&1 mv -f src/.deps/libtcmalloc_internal_la-common.Tpo src/.deps/libtcmalloc_internal_la-common.Plo 14 warnings generated. /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-sampler.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-sampler.Tpo -c -o src/libtcmalloc_internal_la-sampler.lo `test -f 'src/sampler.cc' || echo './'`src/sampler.cc libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-system-alloc.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-system-alloc.Tpo -c src/system-alloc.cc -o src/libtcmalloc_internal_la-system-alloc.o >/dev/null 2>&1 In file included from src/debugallocation.cc:72: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/debugallocation.cc:73: In file included from ./src/base/googleinit.h:37: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/debugallocation.cc:75: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/debugallocation.cc:75: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/debugallocation.cc:75: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/debugallocation.cc:75: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/debugallocation.cc:75: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/debugallocation.cc:75: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/debugallocation.cc:75: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/debugallocation.cc:75: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/debugallocation.cc:75: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/heap-checker.cc:79: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/heap-checker.cc:80: In file included from ./src/base/googleinit.h:37: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/heap-checker.cc:88: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/heap-checker.cc:88: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/heap-checker.cc:88: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/heap-checker.cc:88: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/heap-checker.cc:88: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/heap-checker.cc:88: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/heap-checker.cc:88: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/heap-checker.cc:88: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/heap-checker.cc:88: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ src/heap-checker.cc:555:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(len > 0, "Unexpected empty string passed to strstr()"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:623:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(0, ""); // Couldn't determine the stack direction. ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 11 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-central_freelist.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-central_freelist.Tpo -c src/central_freelist.cc -o src/libtcmalloc_internal_la-central_freelist.o >/dev/null 2>&1 src/heap-checker.cc:958:9: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(0, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/debugallocation.cc:182:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(q_back_ != q_front_, "Queue is empty"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/debugallocation.cc:385:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(IsValidMagicValue(magic1_), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/debugallocation.cc:404:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(memcmp(&size1_, size2_addr(), sizeof(size1_)) == 0, "should hold"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/debugallocation.cc:405:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(memcmp(&magic1_, magic2_addr(), sizeof(magic1_)) == 0, "should hold"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/debugallocation.cc:413:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(memcmp(&size1_, size2_addr(), sizeof(size1_)) == 0, "should hold"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/debugallocation.cc:420:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(!given_size || given_size == size1_, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/debugallocation.cc:594:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(!free_queue_->Full(), "Free queue mustn't be full!"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/debugallocation.cc:605:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(num_entries < arraysize(entries), "entries array overflow"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/debugallocation.cc:829:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(entry < kMallocHistogramSize, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/debugallocation.cc:1093:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(GetOwnership(p) != MallocExtension::kNotOwned, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:1147:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(live_objects->empty(), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:1263:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(live_objects == NULL, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/debugallocation.cc:1395:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK((alignment & (alignment-1)) == 0, "must be power of two"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:1750:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(pm_result == PROC_MAPS_USED, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:1850:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::GetNewHook() == NULL, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:1851:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::GetDeleteHook() == NULL, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:1852:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::GetMmapHook() == NULL, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:1853:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::GetSbrkHook() == NULL, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:1956:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(!internal_init_start_has_run, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2083:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(heap_profile->FindAlloc(test_str, &size), ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2091:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(!heap_profile->FindAlloc(test_str, &size), ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2114:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(heap_checker_on && constructor_heap_profiling, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2205:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(!constructor_heap_profiling, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2213:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::AddNewHook(&NewHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2214:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::AddDeleteHook(&DeleteHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2220:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(heap_profile == NULL, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2235:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(heap_checker_on, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2239:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemoveNewHook(&NewHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2240:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemoveDeleteHook(&DeleteHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2249:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(!heap_checker_on, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2326:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(!do_main_heap_check, "should have done it"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2384:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(heap_profile->FindAllocDetails(ptr, &info), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2386:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(info.stack_depth >= 1, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/debugallocation.cc:85: In file included from ./src/tcmalloc.cc:150: In file included from ./src/libc_override.h:84: ./src/libc_override_osx.h:184:6: warning: unused function 'mi_statistics' [-Wunused-function] void mi_statistics(malloc_zone_t *zone, malloc_statistics_t *stats) { ^ src/debugallocation.cc:303:10: warning: private field 'magic2_' is not used [-Wunused-private-field] size_t magic2_; ^ In file included from src/page_heap.cc:40: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-sampler.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-sampler.Tpo -c src/sampler.cc -fno-common -DPIC -o src/.libs/libtcmalloc_internal_la-sampler.o In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:42: In file included from ./src/central_freelist.h:45: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ mv -f src/.deps/libtcmalloc_debug_la-heap-checker-bcad.Tpo src/.deps/libtcmalloc_debug_la-heap-checker-bcad.Plo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-span.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-span.Tpo -c -o src/libtcmalloc_internal_la-span.lo `test -f 'src/span.cc' || echo './'`src/span.cc In file included from src/sampler.cc:36: In file included from ./src/sampler.h:45: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ mv -f src/.deps/libtcmalloc_internal_la-internal_logging.Tpo src/.deps/libtcmalloc_internal_la-internal_logging.Plo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-stack_trace_table.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-stack_trace_table.Tpo -c -o src/libtcmalloc_internal_la-stack_trace_table.lo `test -f 'src/stack_trace_table.cc' || echo './'`src/stack_trace_table.cc libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-span.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-span.Tpo -c src/span.cc -fno-common -DPIC -o src/.libs/libtcmalloc_internal_la-span.o mv -f src/.deps/libtcmalloc_internal_la-system-alloc.Tpo src/.deps/libtcmalloc_internal_la-system-alloc.Plo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-static_vars.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-static_vars.Tpo -c -o src/libtcmalloc_internal_la-static_vars.lo `test -f 'src/static_vars.cc' || echo './'`src/static_vars.cc In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:42: In file included from ./src/central_freelist.h:45: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-stack_trace_table.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-stack_trace_table.Tpo -c src/stack_trace_table.cc -fno-common -DPIC -o src/.libs/libtcmalloc_internal_la-stack_trace_table.o In file included from src/stack_trace_table.cc:35: In file included from ./src/stack_trace_table.h:43: In file included from ./src/common.h:45: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-static_vars.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-static_vars.Tpo -c src/static_vars.cc -fno-common -DPIC -o src/.libs/libtcmalloc_internal_la-static_vars.o In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ 11 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-sampler.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-sampler.Tpo -c src/sampler.cc -o src/libtcmalloc_internal_la-sampler.o >/dev/null 2>&1 11 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-page_heap.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-page_heap.Tpo -c src/page_heap.cc -o src/libtcmalloc_internal_la-page_heap.o >/dev/null 2>&1 mv -f src/.deps/libtcmalloc_internal_la-central_freelist.Tpo src/.deps/libtcmalloc_internal_la-central_freelist.Plo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-symbolize.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-symbolize.Tpo -c -o src/libtcmalloc_internal_la-symbolize.lo `test -f 'src/symbolize.cc' || echo './'`src/symbolize.cc In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:40: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/span.cc:35: In file included from ./src/span.h:41: In file included from ./src/common.h:45: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/span.cc:35: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-symbolize.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-symbolize.Tpo -c src/symbolize.cc -fno-common -DPIC -o src/.libs/libtcmalloc_internal_la-symbolize.o 11 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-span.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-span.Tpo -c src/span.cc -o src/libtcmalloc_internal_la-span.o >/dev/null 2>&1 In file included from src/stack_trace_table.cc:41: In file included from ./src/static_vars.h:42: In file included from ./src/central_freelist.h:45: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:42: In file included from ./src/central_freelist.h:45: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 11 warnings generated. 24 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-stack_trace_table.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-stack_trace_table.Tpo -c src/stack_trace_table.cc -o src/libtcmalloc_internal_la-stack_trace_table.o >/dev/null 2>&1 libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DTCMALLOC_FOR_DEBUGALLOCATION -O2 -MT src/libtcmalloc_debug_la-debugallocation.lo -MD -MP -MF src/.deps/libtcmalloc_debug_la-debugallocation.Tpo -c src/debugallocation.cc -o src/libtcmalloc_debug_la-debugallocation.o >/dev/null 2>&1 11 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-static_vars.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-static_vars.Tpo -c src/static_vars.cc -o src/libtcmalloc_internal_la-static_vars.o >/dev/null 2>&1 mv -f src/.deps/libtcmalloc_internal_la-sampler.Tpo src/.deps/libtcmalloc_internal_la-sampler.Plo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-thread_cache.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-thread_cache.Tpo -c -o src/libtcmalloc_internal_la-thread_cache.lo `test -f 'src/thread_cache.cc' || echo './'`src/thread_cache.cc In file included from src/symbolize.cc:60: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/symbolize.cc:61: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ mv -f src/.deps/libtcmalloc_internal_la-span.Tpo src/.deps/libtcmalloc_internal_la-span.Plo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-malloc_hook.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-malloc_hook.Tpo -c -o src/libtcmalloc_internal_la-malloc_hook.lo `test -f 'src/malloc_hook.cc' || echo './'`src/malloc_hook.cc libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-thread_cache.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-thread_cache.Tpo -c src/thread_cache.cc -fno-common -DPIC -o src/.libs/libtcmalloc_internal_la-thread_cache.o mv -f src/.deps/libtcmalloc_internal_la-page_heap.Tpo src/.deps/libtcmalloc_internal_la-page_heap.Plo 2 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-symbolize.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-symbolize.Tpo -c src/symbolize.cc -o src/libtcmalloc_internal_la-symbolize.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-malloc_extension.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-malloc_extension.Tpo -c -o src/libtcmalloc_internal_la-malloc_extension.lo `test -f 'src/malloc_extension.cc' || echo './'`src/malloc_extension.cc libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-malloc_hook.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-malloc_hook.Tpo -c src/malloc_hook.cc -fno-common -DPIC -o src/.libs/libtcmalloc_internal_la-malloc_hook.o mv -f src/.deps/libtcmalloc_internal_la-stack_trace_table.Tpo src/.deps/libtcmalloc_internal_la-stack_trace_table.Plo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/libtcmalloc_internal_la-low_level_alloc.lo -MD -MP -MF src/base/.deps/libtcmalloc_internal_la-low_level_alloc.Tpo -c -o src/base/libtcmalloc_internal_la-low_level_alloc.lo `test -f 'src/base/low_level_alloc.cc' || echo './'`src/base/low_level_alloc.cc 36 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DTCMALLOC_FOR_DEBUGALLOCATION -O2 -MT src/libtcmalloc_debug_la-heap-checker.lo -MD -MP -MF src/.deps/libtcmalloc_debug_la-heap-checker.Tpo -c src/heap-checker.cc -o src/libtcmalloc_debug_la-heap-checker.o >/dev/null 2>&1 mv -f src/.deps/libtcmalloc_internal_la-static_vars.Tpo src/.deps/libtcmalloc_internal_la-static_vars.Plo libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-malloc_extension.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-malloc_extension.Tpo -c src/malloc_extension.cc -fno-common -DPIC -o src/.libs/libtcmalloc_internal_la-malloc_extension.o /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-heap-profile-table.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-heap-profile-table.Tpo -c -o src/libtcmalloc_internal_la-heap-profile-table.lo `test -f 'src/heap-profile-table.cc' || echo './'`src/heap-profile-table.cc In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:46: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:42: In file included from ./src/central_freelist.h:45: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/libtcmalloc_internal_la-low_level_alloc.lo -MD -MP -MF src/base/.deps/libtcmalloc_internal_la-low_level_alloc.Tpo -c src/base/low_level_alloc.cc -fno-common -DPIC -o src/base/.libs/libtcmalloc_internal_la-low_level_alloc.o In file included from src/base/low_level_alloc.cc:37: In file included from ./src/base/low_level_alloc.h:42: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/base/low_level_alloc.cc:39: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/base/low_level_alloc.cc:39: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/base/low_level_alloc.cc:39: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/base/low_level_alloc.cc:39: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/base/low_level_alloc.cc:39: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/base/low_level_alloc.cc:39: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/base/low_level_alloc.cc:39: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/base/low_level_alloc.cc:39: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/base/low_level_alloc.cc:39: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-heap-profile-table.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-heap-profile-table.Tpo -c src/heap-profile-table.cc -fno-common -DPIC -o src/.libs/libtcmalloc_internal_la-heap-profile-table.o In file included from src/malloc_hook.cc:50: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/malloc_hook.cc:50: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ src/malloc_hook.cc:143:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemoveNewHook(&InitialNewHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/malloc_hook.cc:144:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemovePreMmapHook(&InitialPreMMapHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/malloc_hook.cc:145:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemovePreSbrkHook(&InitialPreSbrkHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/malloc_hook.cc:337:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(mmap_replacement_.empty(), "Only one MMapReplacement is allowed."); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/malloc_hook.cc:376:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(munmap_replacement_.empty(), ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 11 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-thread_cache.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-thread_cache.Tpo -c src/thread_cache.cc -o src/libtcmalloc_internal_la-thread_cache.o >/dev/null 2>&1 In file included from src/malloc_extension.cc:47: In file included from ./src/base/sysinfo.h:49: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/malloc_extension.cc:47: In file included from ./src/base/sysinfo.h:50: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ mv -f src/.deps/libtcmalloc_internal_la-symbolize.Tpo src/.deps/libtcmalloc_internal_la-symbolize.Plo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-heap-profiler.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-heap-profiler.Tpo -c -o src/libtcmalloc_internal_la-heap-profiler.lo `test -f 'src/heap-profiler.cc' || echo './'`src/heap-profiler.cc In file included from src/base/low_level_alloc.cc:40: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:135:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(level >= 1, "block not big enough for even one level"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:175:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(e == found, "element not in freelist"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:246:9: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(false, "We do not yet support async-signal-safe arena."); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:251:20: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ~ArenaLock() { RAW_CHECK(this->left_, "haven't left Arena region"); } ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:321:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(meta_data_arena != 0, "must pass a valid arena"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:342:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(arena != 0 && arena != &default_arena && arena != &unhooked_arena, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:352:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(region->header.magic == ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:355:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(region->header.arena == arena, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:357:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(size % arena->pagesize == 0, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:359:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(reinterpret_cast(region) % arena->pagesize == 0, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:367:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(munmap_result == 0, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:389:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(i < prev->levels, "too few levels in Next()"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:392:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(next->header.magic == Magic(kMagicUnallocated, &next->header), ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:394:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(next->header.arena == arena, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:397:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(prev < next, "unordered freelist"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:398:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(reinterpret_cast(prev) + prev->header.size < ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:427:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(f->header.magic == Magic(kMagicAllocated, &f->header), ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:429:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(f->header.arena == arena, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:445:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(f->header.magic == Magic(kMagicAllocated, &f->header), ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:453:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(arena->allocation_count > 0, "nothing in arena to free"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:509:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(s->header.arena == arena, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:529:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(arena != 0, "must pass a valid arena"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:568:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(new_pages != MAP_FAILED, "mmap error"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:580:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(munmap_result == 0, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 2 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-malloc_extension.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-malloc_extension.Tpo -c src/malloc_extension.cc -o src/libtcmalloc_internal_la-malloc_extension.o >/dev/null 2>&1 In file included from src/heap-profile-table.cc:60: In file included from ./src/heap-profile-table.h:40: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/heap-profile-table.cc:60: In file included from ./src/heap-profile-table.h:41: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/heap-profile-table.cc:67: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/heap-profile-table.cc:67: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/heap-profile-table.cc:67: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/heap-profile-table.cc:67: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/heap-profile-table.cc:67: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/heap-profile-table.cc:67: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/heap-profile-table.cc:67: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/heap-profile-table.cc:67: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/heap-profile-table.cc:67: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-heap-profiler.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-heap-profiler.Tpo -c src/heap-profiler.cc -fno-common -DPIC -o src/.libs/libtcmalloc_internal_la-heap-profiler.o 35 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/libtcmalloc_internal_la-low_level_alloc.lo -MD -MP -MF src/base/.deps/libtcmalloc_internal_la-low_level_alloc.Tpo -c src/base/low_level_alloc.cc -o src/base/libtcmalloc_internal_la-low_level_alloc.o >/dev/null 2>&1 16 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-malloc_hook.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-malloc_hook.Tpo -c src/malloc_hook.cc -o src/libtcmalloc_internal_la-malloc_hook.o >/dev/null 2>&1 mv -f src/.deps/libtcmalloc_debug_la-debugallocation.Tpo src/.deps/libtcmalloc_debug_la-debugallocation.Plo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-raw_printer.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-raw_printer.Tpo -c -o src/libtcmalloc_internal_la-raw_printer.lo `test -f 'src/raw_printer.cc' || echo './'`src/raw_printer.cc mv -f src/.deps/libtcmalloc_internal_la-thread_cache.Tpo src/.deps/libtcmalloc_internal_la-thread_cache.Plo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-fake_stacktrace_scope.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-fake_stacktrace_scope.Tpo -c -o src/libtcmalloc_internal_la-fake_stacktrace_scope.lo `test -f 'src/fake_stacktrace_scope.cc' || echo './'`src/fake_stacktrace_scope.cc In file included from src/heap-profiler.cc:62: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/heap-profiler.cc:62: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/heap-profiler.cc:66: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/heap-profiler.cc:66: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/heap-profiler.cc:66: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/heap-profiler.cc:66: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/heap-profiler.cc:66: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/heap-profiler.cc:66: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/heap-profiler.cc:66: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/heap-profiler.cc:66: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/heap-profiler.cc:66: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ mv -f src/.deps/libtcmalloc_internal_la-malloc_extension.Tpo src/.deps/libtcmalloc_internal_la-malloc_extension.Plo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-memory_region_map.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-memory_region_map.Tpo -c -o src/libtcmalloc_internal_la-memory_region_map.lo `test -f 'src/memory_region_map.cc' || echo './'`src/memory_region_map.cc libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-raw_printer.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-raw_printer.Tpo -c src/raw_printer.cc -fno-common -DPIC -o src/.libs/libtcmalloc_internal_la-raw_printer.o libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-fake_stacktrace_scope.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-fake_stacktrace_scope.Tpo -c src/fake_stacktrace_scope.cc -fno-common -DPIC -o src/.libs/libtcmalloc_internal_la-fake_stacktrace_scope.o src/heap-profiler.cc:449:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::AddMmapHook(&MmapHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-profiler.cc:450:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::AddMremapHook(&MremapHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-profiler.cc:451:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::AddMunmapHook(&MunmapHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-profiler.cc:452:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::AddSbrkHook(&SbrkHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-profiler.cc:477:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::AddNewHook(&NewHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-profiler.cc:478:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::AddDeleteHook(&DeleteHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-profiler.cc:501:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemoveNewHook(&NewHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-profiler.cc:502:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemoveDeleteHook(&DeleteHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-profiler.cc:506:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemoveMmapHook(&MmapHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-profiler.cc:507:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemoveMremapHook(&MremapHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-profiler.cc:508:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemoveSbrkHook(&SbrkHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-profiler.cc:509:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemoveMunmapHook(&MunmapHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/fake_stacktrace_scope.cc:31: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ 1 warning generated. mv -f src/base/.deps/libtcmalloc_internal_la-low_level_alloc.Tpo src/base/.deps/libtcmalloc_internal_la-low_level_alloc.Plo libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-fake_stacktrace_scope.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-fake_stacktrace_scope.Tpo -c src/fake_stacktrace_scope.cc -o src/libtcmalloc_internal_la-fake_stacktrace_scope.o >/dev/null 2>&1 In file included from src/raw_printer.cc:37: In file included from ./src/raw_printer.h:47: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ depbase=`echo src/stacktrace.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/stacktrace.lo -MD -MP -MF $depbase.Tpo -c -o src/stacktrace.lo src/stacktrace.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-memory_region_map.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-memory_region_map.Tpo -c src/memory_region_map.cc -fno-common -DPIC -o src/.libs/libtcmalloc_internal_la-memory_region_map.o 11 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-heap-profile-table.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-heap-profile-table.Tpo -c src/heap-profile-table.cc -o src/libtcmalloc_internal_la-heap-profile-table.o >/dev/null 2>&1 mv -f src/.deps/libtcmalloc_internal_la-fake_stacktrace_scope.Tpo src/.deps/libtcmalloc_internal_la-fake_stacktrace_scope.Plo depbase=`echo src/base/elf_mem_image.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/elf_mem_image.lo -MD -MP -MF $depbase.Tpo -c -o src/base/elf_mem_image.lo src/base/elf_mem_image.cc &&\ mv -f $depbase.Tpo $depbase.Plo 23 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-heap-profiler.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-heap-profiler.Tpo -c src/heap-profiler.cc -o src/libtcmalloc_internal_la-heap-profiler.o >/dev/null 2>&1 In file included from src/raw_printer.cc:38: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/stacktrace.lo -MD -MP -MF src/.deps/stacktrace.Tpo -c src/stacktrace.cc -fno-common -DPIC -o src/.libs/stacktrace.o int syscall(int, ...); ^ 2 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-raw_printer.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-raw_printer.Tpo -c src/raw_printer.cc -o src/libtcmalloc_internal_la-raw_printer.o >/dev/null 2>&1 libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/elf_mem_image.lo -MD -MP -MF src/base/.deps/elf_mem_image.Tpo -c src/base/elf_mem_image.cc -fno-common -DPIC -o src/base/.libs/elf_mem_image.o libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/elf_mem_image.lo -MD -MP -MF src/base/.deps/elf_mem_image.Tpo -c src/base/elf_mem_image.cc -o src/base/elf_mem_image.o >/dev/null 2>&1 mv -f src/.deps/libtcmalloc_internal_la-malloc_hook.Tpo src/.deps/libtcmalloc_internal_la-malloc_hook.Plo depbase=`echo src/base/vdso_support.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/vdso_support.lo -MD -MP -MF $depbase.Tpo -c -o src/base/vdso_support.lo src/base/vdso_support.cc &&\ mv -f $depbase.Tpo $depbase.Plo In file included from src/memory_region_map.cc:121: In file included from ./src/memory_region_map.h:45: In file included from ./src/base/stl_allocator.h:44: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/memory_region_map.cc:121: In file included from ./src/memory_region_map.h:45: In file included from ./src/base/stl_allocator.h:44: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/memory_region_map.cc:121: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/memory_region_map.cc:121: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/memory_region_map.cc:121: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/memory_region_map.cc:121: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/memory_region_map.cc:121: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/memory_region_map.cc:121: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/memory_region_map.cc:121: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/memory_region_map.cc:121: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/memory_region_map.cc:121: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ depbase=`echo src/base/spinlock.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/spinlock.lo -MD -MP -MF $depbase.Tpo -c -o src/base/spinlock.lo src/base/spinlock.cc &&\ mv -f $depbase.Tpo $depbase.Plo src/memory_region_map.cc:198:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(max_stack_depth >= 0, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:200:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(max_stack_depth <= kMaxStackDepth, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:212:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::AddMmapHook(&MmapHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:213:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::AddMremapHook(&MremapHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:214:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::AddSbrkHook(&SbrkHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:215:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::AddMunmapHook(&MunmapHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:247:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(client_count_ > 0, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:267:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemoveMmapHook(&MmapHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:268:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemoveMremapHook(&MremapHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:269:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemoveSbrkHook(&SbrkHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:270:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemoveMunmapHook(&MunmapHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:285:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(LockIsHeld(), "should be held (by this thread)"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:303:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(lock_.IsHeld(), "Invariants violated"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:305:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(recursion_count_ <= 5, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:313:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(recursion_count_ == 0, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:323:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(recursion_count_ > 0, "unlock when not held"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:324:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(lock_.IsHeld(), ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:326:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(current_thread_is(lock_owner_tid_), "unlock by non-holder"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:340:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(LockIsHeld(), "should be held (by this thread)"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:346:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(addr <= region->end_addr, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:382:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(LockIsHeld(), "should be held (by this thread)"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:437:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(LockIsHeld(), "should be held (by this thread)"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:438:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(regions_ != NULL, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:443:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(LockIsHeld(), "should be held (by this thread)"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:444:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(regions_ != NULL, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:461:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(i == regions_->end() || !region.Overlaps(*i), ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:466:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(i == regions_->end() || !region.Overlaps(*i), ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:505:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(LockIsHeld(), "should be held (by this thread)"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:552:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(LockIsHeld(), "should be held (by this thread)"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:564:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(saved_regions_count < arraysize(saved_regions), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:764:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(LockIsHeld(), "should be held (by this thread)"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:813:23: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] void* new_end = sbrk(0); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ src/memory_region_map.cc:817:23: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] void* new_end = sbrk(0); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ src/memory_region_map.cc:825:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(LockIsHeld(), "should be held (by this thread)"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/memory_region_map.cc:833:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(previous < r->end_addr, "wow, we messed up the set order"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/stacktrace.cc:61: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/stacktrace.cc:62: In file included from ./src/base/googleinit.h:37: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/vdso_support.lo -MD -MP -MF src/base/.deps/vdso_support.Tpo -c src/base/vdso_support.cc -fno-common -DPIC -o src/base/.libs/vdso_support.o mv -f src/.deps/libtcmalloc_internal_la-raw_printer.Tpo src/.deps/libtcmalloc_internal_la-raw_printer.Plo depbase=`echo src/base/spinlock_internal.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/spinlock_internal.lo -MD -MP -MF $depbase.Tpo -c -o src/base/spinlock_internal.lo src/base/spinlock_internal.cc &&\ mv -f $depbase.Tpo $depbase.Plo 2 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/spinlock.lo -MD -MP -MF src/base/.deps/spinlock.Tpo -c src/base/spinlock.cc -fno-common -DPIC -o src/base/.libs/spinlock.o libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/stacktrace.lo -MD -MP -MF src/.deps/stacktrace.Tpo -c src/stacktrace.cc -o src/stacktrace.o >/dev/null 2>&1 In file included from src/base/vdso_support.cc:38: In file included from ./src/base/vdso_support.h:59: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ 1 warning generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/vdso_support.lo -MD -MP -MF src/base/.deps/vdso_support.Tpo -c src/base/vdso_support.cc -o src/base/vdso_support.o >/dev/null 2>&1 mv -f src/.deps/libtcmalloc_internal_la-heap-profiler.Tpo src/.deps/libtcmalloc_internal_la-heap-profiler.Plo In file included from src/base/spinlock.cc:36: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/base/spinlock.cc:36: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/base/spinlock.cc:36: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/base/spinlock.cc:36: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/base/spinlock.cc:36: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/base/spinlock.cc:36: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/base/spinlock.cc:36: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/base/spinlock.cc:36: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/base/spinlock.cc:36: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ depbase=`echo src/base/atomicops-internals-x86.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/atomicops-internals-x86.lo -MD -MP -MF $depbase.Tpo -c -o src/base/atomicops-internals-x86.lo src/base/atomicops-internals-x86.cc &&\ mv -f $depbase.Tpo $depbase.Plo In file included from src/base/spinlock.cc:36: In file included from ./src/base/spinlock.h:44: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ mv -f src/.deps/libtcmalloc_debug_la-heap-checker.Tpo src/.deps/libtcmalloc_debug_la-heap-checker.Plo depbase=`echo src/base/sysinfo.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/sysinfo.lo -MD -MP -MF $depbase.Tpo -c -o src/base/sysinfo.lo src/base/sysinfo.cc &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo src/base/logging.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/logging.lo -MD -MP -MF $depbase.Tpo -c -o src/base/logging.lo src/base/logging.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/spinlock_internal.lo -MD -MP -MF src/base/.deps/spinlock_internal.Tpo -c src/base/spinlock_internal.cc -fno-common -DPIC -o src/base/.libs/spinlock_internal.o libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/atomicops-internals-x86.lo -MD -MP -MF src/base/.deps/atomicops-internals-x86.Tpo -c src/base/atomicops-internals-x86.cc -fno-common -DPIC -o src/base/.libs/atomicops-internals-x86.o 46 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_internal_la-memory_region_map.lo -MD -MP -MF src/.deps/libtcmalloc_internal_la-memory_region_map.Tpo -c src/memory_region_map.cc -o src/libtcmalloc_internal_la-memory_region_map.o >/dev/null 2>&1 In file included from src/base/spinlock_internal.cc:44: In file included from ./src/base/spinlock_internal.h:40: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/base/spinlock_internal.cc:44: In file included from ./src/base/spinlock_internal.h:41: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/base/spinlock_internal.cc:44: In file included from ./src/base/spinlock_internal.h:41: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/base/spinlock_internal.cc:44: In file included from ./src/base/spinlock_internal.h:41: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/base/spinlock_internal.cc:44: In file included from ./src/base/spinlock_internal.h:41: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/base/spinlock_internal.cc:44: In file included from ./src/base/spinlock_internal.h:41: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/base/spinlock_internal.cc:44: In file included from ./src/base/spinlock_internal.h:41: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/base/spinlock_internal.cc:44: In file included from ./src/base/spinlock_internal.h:41: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/base/spinlock_internal.cc:44: In file included from ./src/base/spinlock_internal.h:41: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/base/spinlock_internal.cc:44: In file included from ./src/base/spinlock_internal.h:41: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ 10 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/spinlock_internal.lo -MD -MP -MF src/base/.deps/spinlock_internal.Tpo -c src/base/spinlock_internal.cc -o src/base/spinlock_internal.o >/dev/null 2>&1 In file included from src/base/atomicops-internals-x86.cc:36: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/base/atomicops-internals-x86.cc:36: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/base/atomicops-internals-x86.cc:36: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/base/atomicops-internals-x86.cc:36: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/base/atomicops-internals-x86.cc:36: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/base/atomicops-internals-x86.cc:36: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/base/atomicops-internals-x86.cc:36: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/base/atomicops-internals-x86.cc:36: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/base/atomicops-internals-x86.cc:36: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/sysinfo.lo -MD -MP -MF src/base/.deps/sysinfo.Tpo -c src/base/sysinfo.cc -fno-common -DPIC -o src/base/.libs/sysinfo.o In file included from src/base/atomicops-internals-x86.cc:37: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/base/spinlock.cc:38: In file included from ./src/base/sysinfo.h:50: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/logging.lo -MD -MP -MF src/base/.deps/logging.Tpo -c src/base/logging.cc -fno-common -DPIC -o src/base/.libs/logging.o 11 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/spinlock.lo -MD -MP -MF src/base/.deps/spinlock.Tpo -c src/base/spinlock.cc -o src/base/spinlock.o >/dev/null 2>&1 depbase=`echo src/base/dynamic_annotations.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /opt/pkg/bin/mksh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./src -I./src -O2 -MT src/base/dynamic_annotations.lo -MD -MP -MF $depbase.Tpo -c -o src/base/dynamic_annotations.lo src/base/dynamic_annotations.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo src/maybe_threads.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/maybe_threads.lo -MD -MP -MF $depbase.Tpo -c -o src/maybe_threads.lo src/maybe_threads.cc &&\ mv -f $depbase.Tpo $depbase.Plo mv -f src/.deps/libtcmalloc_internal_la-heap-profile-table.Tpo src/.deps/libtcmalloc_internal_la-heap-profile-table.Plo clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT benchmark/malloc_bench-malloc_bench.o -MD -MP -MF benchmark/.deps/malloc_bench-malloc_bench.Tpo -c -o benchmark/malloc_bench-malloc_bench.o `test -f 'benchmark/malloc_bench.cc' || echo './'`benchmark/malloc_bench.cc In file included from src/base/sysinfo.cc:59: In file included from ./src/base/sysinfo.h:49: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -O2 -MT src/base/dynamic_annotations.lo -MD -MP -MF src/base/.deps/dynamic_annotations.Tpo -c src/base/dynamic_annotations.c -fno-common -DPIC -o src/base/.libs/dynamic_annotations.o In file included from src/base/atomicops-internals-x86.cc:38: In file included from ./src/base/googleinit.h:37: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/maybe_threads.lo -MD -MP -MF src/.deps/maybe_threads.Tpo -c src/maybe_threads.cc -fno-common -DPIC -o src/.libs/maybe_threads.o 11 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/atomicops-internals-x86.lo -MD -MP -MF src/base/.deps/atomicops-internals-x86.Tpo -c src/base/atomicops-internals-x86.cc -o src/base/atomicops-internals-x86.o >/dev/null 2>&1 In file included from src/base/sysinfo.cc:59: In file included from ./src/base/sysinfo.h:50: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/sysinfo.cc:178:14: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] int fd = safeopen("/proc/self/environ", O_RDONLY); ^ src/base/sysinfo.cc:92:36: note: expanded from macro 'safeopen' # define safeopen(filename, mode) syscall(SYS_open, filename, mode) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/sysinfo.cc:181:9: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] saferead(fd, envbuf, sizeof(envbuf) - 2) < 0) { // error reading file ^ src/base/sysinfo.cc:97:38: note: expanded from macro 'saferead' # define saferead(fd, buffer, size) syscall(SYS_read, fd, buffer, size) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/sysinfo.cc:184:21: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] if (fd != -1) safeclose(fd); ^ src/base/sysinfo.cc:102:25: note: expanded from macro 'safeclose' # define safeclose(fd) syscall(SYS_close, fd) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/sysinfo.cc:187:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] safeclose(fd); ^ src/base/sysinfo.cc:102:25: note: expanded from macro 'safeclose' # define safeclose(fd) syscall(SYS_close, fd) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/base/logging.cc:35: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/base/logging.cc:35: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/sysinfo.cc:363:5: warning: unused function 'StringToInteger' [-Wunused-function] int StringToInteger(char *text, char **endptr, int base) { ^ src/base/sysinfo.cc:368:7: warning: unused function 'StringToInteger' [-Wunused-function] int64 StringToInteger(char *text, char **endptr, int base) { ^ src/base/sysinfo.cc:373:8: warning: unused function 'StringToInteger' [-Wunused-function] uint64 StringToInteger(char *text, char **endptr, int base) { ^ src/base/sysinfo.cc:401:14: warning: unused function 'CopyStringUntilChar' [-Wunused-function] static char *CopyStringUntilChar( ^ src/base/sysinfo.cc:424:13: warning: unused function 'ParseProcMapsLine' [-Wunused-function] static bool ParseProcMapsLine(char *text, uint64 *start, uint64 *end, ^ In file included from src/base/sysinfo.cc:59: ./src/base/sysinfo.h:218:8: warning: private field 'flags_' is not used [-Wunused-private-field] char flags_[10]; ^ 2 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/logging.lo -MD -MP -MF src/base/.deps/logging.Tpo -c src/base/logging.cc -o src/base/logging.o >/dev/null 2>&1 libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -O2 -MT src/base/dynamic_annotations.lo -MD -MP -MF src/base/.deps/dynamic_annotations.Tpo -c src/base/dynamic_annotations.c -o src/base/dynamic_annotations.o >/dev/null 2>&1 depbase=`echo benchmark/run_benchmark.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /opt/pkg/bin/mksh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./src -I./src -O2 -MT benchmark/run_benchmark.lo -MD -MP -MF $depbase.Tpo -c -o benchmark/run_benchmark.lo benchmark/run_benchmark.c &&\ mv -f $depbase.Tpo $depbase.Plo 12 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/sysinfo.lo -MD -MP -MF src/base/.deps/sysinfo.Tpo -c src/base/sysinfo.cc -o src/base/sysinfo.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_la-tcmalloc.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_la-tcmalloc.Tpo -c -o src/libtcmalloc_minimal_la-tcmalloc.lo `test -f 'src/tcmalloc.cc' || echo './'`src/tcmalloc.cc mv -f benchmark/.deps/malloc_bench-malloc_bench.Tpo benchmark/.deps/malloc_bench-malloc_bench.Po /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-common.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-common.Tpo -c -o src/libtcmalloc_minimal_internal_la-common.lo `test -f 'src/common.cc' || echo './'`src/common.cc libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -O2 -MT benchmark/run_benchmark.lo -MD -MP -MF benchmark/.deps/run_benchmark.Tpo -c benchmark/run_benchmark.c -fno-common -DPIC -o benchmark/.libs/run_benchmark.o In file included from src/maybe_threads.cc:50: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/maybe_threads.cc:51: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/maybe_threads.cc:173:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(rv == 0); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_la-tcmalloc.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_la-tcmalloc.Tpo -c src/tcmalloc.cc -fno-common -DPIC -o src/.libs/libtcmalloc_minimal_la-tcmalloc.o /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-internal_logging.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-internal_logging.Tpo -c -o src/libtcmalloc_minimal_internal_la-internal_logging.lo `test -f 'src/internal_logging.cc' || echo './'`src/internal_logging.cc 3 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/maybe_threads.lo -MD -MP -MF src/.deps/maybe_threads.Tpo -c src/maybe_threads.cc -o src/maybe_threads.o >/dev/null 2>&1 libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-common.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-common.Tpo -c src/common.cc -fno-common -DPIC -o src/.libs/libtcmalloc_minimal_internal_la-common.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -O2 -MT benchmark/run_benchmark.lo -MD -MP -MF benchmark/.deps/run_benchmark.Tpo -c benchmark/run_benchmark.c -o benchmark/run_benchmark.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-system-alloc.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-system-alloc.Tpo -c -o src/libtcmalloc_minimal_internal_la-system-alloc.lo `test -f 'src/system-alloc.cc' || echo './'`src/system-alloc.cc In file included from src/common.cc:36: In file included from ./src/common.h:45: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-memfs_malloc.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-memfs_malloc.Tpo -c -o src/libtcmalloc_minimal_internal_la-memfs_malloc.lo `test -f 'src/memfs_malloc.cc' || echo './'`src/memfs_malloc.cc libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-internal_logging.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-internal_logging.Tpo -c src/internal_logging.cc -fno-common -DPIC -o src/.libs/libtcmalloc_minimal_internal_la-internal_logging.o mv -f src/.deps/libtcmalloc_internal_la-memory_region_map.Tpo src/.deps/libtcmalloc_internal_la-memory_region_map.Plo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-central_freelist.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-central_freelist.Tpo -c -o src/libtcmalloc_minimal_internal_la-central_freelist.lo `test -f 'src/central_freelist.cc' || echo './'`src/central_freelist.cc 10 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-common.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-common.Tpo -c src/common.cc -o src/libtcmalloc_minimal_internal_la-common.o >/dev/null 2>&1 libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-system-alloc.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-system-alloc.Tpo -c src/system-alloc.cc -fno-common -DPIC -o src/.libs/libtcmalloc_minimal_internal_la-system-alloc.o /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-page_heap.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-page_heap.Tpo -c -o src/libtcmalloc_minimal_internal_la-page_heap.lo `test -f 'src/page_heap.cc' || echo './'`src/page_heap.cc libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-memfs_malloc.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-memfs_malloc.Tpo -c src/memfs_malloc.cc -fno-common -DPIC -o src/.libs/libtcmalloc_minimal_internal_la-memfs_malloc.o libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-memfs_malloc.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-memfs_malloc.Tpo -c src/memfs_malloc.cc -o src/libtcmalloc_minimal_internal_la-memfs_malloc.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-sampler.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-sampler.Tpo -c -o src/libtcmalloc_minimal_internal_la-sampler.lo `test -f 'src/sampler.cc' || echo './'`src/sampler.cc mv -f src/.deps/libtcmalloc_minimal_internal_la-memfs_malloc.Tpo src/.deps/libtcmalloc_minimal_internal_la-memfs_malloc.Plo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-span.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-span.Tpo -c -o src/libtcmalloc_minimal_internal_la-span.lo `test -f 'src/span.cc' || echo './'`src/span.cc libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-central_freelist.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-central_freelist.Tpo -c src/central_freelist.cc -fno-common -DPIC -o src/.libs/libtcmalloc_minimal_internal_la-central_freelist.o In file included from src/tcmalloc.cc:118: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-page_heap.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-page_heap.Tpo -c src/page_heap.cc -fno-common -DPIC -o src/.libs/libtcmalloc_minimal_internal_la-page_heap.o mv -f src/.deps/libtcmalloc_minimal_internal_la-common.Tpo src/.deps/libtcmalloc_minimal_internal_la-common.Plo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-stack_trace_table.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-stack_trace_table.Tpo -c -o src/libtcmalloc_minimal_internal_la-stack_trace_table.lo `test -f 'src/stack_trace_table.cc' || echo './'`src/stack_trace_table.cc In file included from src/tcmalloc.cc:122: In file included from ./src/central_freelist.h:45: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/system-alloc.cc:53: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-sampler.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-sampler.Tpo -c src/sampler.cc -fno-common -DPIC -o src/.libs/libtcmalloc_minimal_internal_la-sampler.o In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tcmalloc.cc:150: In file included from ./src/libc_override.h:84: ./src/libc_override_osx.h:184:6: warning: unused function 'mi_statistics' [-Wunused-function] void mi_statistics(malloc_zone_t *zone, malloc_statistics_t *stats) { ^ src/tcmalloc.cc:1161:20: warning: unused function 'CheckCachedSizeClass' [-Wunused-function] static inline bool CheckCachedSizeClass(void *ptr) { ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-span.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-span.Tpo -c src/span.cc -fno-common -DPIC -o src/.libs/libtcmalloc_minimal_internal_la-span.o src/system-alloc.cc:243:34: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] if (reinterpret_cast(sbrk(0)) + size < size) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ src/system-alloc.cc:247:18: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] void* result = sbrk(size); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ src/system-alloc.cc:258:14: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] void* r2 = sbrk(extra); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ src/system-alloc.cc:266:12: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] result = sbrk(size + alignment - 1); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ In file included from src/internal_logging.cc:45: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/internal_logging.cc:45: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-stack_trace_table.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-stack_trace_table.Tpo -c src/stack_trace_table.cc -fno-common -DPIC -o src/.libs/libtcmalloc_minimal_internal_la-stack_trace_table.o In file included from src/sampler.cc:36: In file included from ./src/sampler.h:45: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: 14 warnings generated. ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-system-alloc.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-system-alloc.Tpo -c src/system-alloc.cc -o src/libtcmalloc_minimal_internal_la-system-alloc.o >/dev/null 2>&1 11 warnings generated. In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-internal_logging.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-internal_logging.Tpo -c src/internal_logging.cc -o src/libtcmalloc_minimal_internal_la-internal_logging.o >/dev/null 2>&1 In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:44: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/stack_trace_table.cc:35: In file included from ./src/stack_trace_table.h:43: In file included from ./src/common.h:45: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:45: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/page_heap.cc:40: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:42: In file included from ./src/central_freelist.h:45: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/span.cc:35: In file included from ./src/span.h:41: In file included from ./src/common.h:45: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:42: In file included from ./src/central_freelist.h:45: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/span.cc:35: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ 11 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-central_freelist.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-central_freelist.Tpo -c src/central_freelist.cc -o src/libtcmalloc_minimal_internal_la-central_freelist.o >/dev/null 2>&1 In file included from src/stack_trace_table.cc:41: In file included from ./src/static_vars.h:42: In file included from ./src/central_freelist.h:45: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 11 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-sampler.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-sampler.Tpo -c src/sampler.cc -o src/libtcmalloc_minimal_internal_la-sampler.o >/dev/null 2>&1 11 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-span.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-span.Tpo -c src/span.cc -o src/libtcmalloc_minimal_internal_la-span.o >/dev/null 2>&1 11 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-stack_trace_table.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-stack_trace_table.Tpo -c src/stack_trace_table.cc -o src/libtcmalloc_minimal_internal_la-stack_trace_table.o >/dev/null 2>&1 mv -f src/.deps/libtcmalloc_minimal_internal_la-internal_logging.Tpo src/.deps/libtcmalloc_minimal_internal_la-internal_logging.Plo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-static_vars.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-static_vars.Tpo -c -o src/libtcmalloc_minimal_internal_la-static_vars.lo `test -f 'src/static_vars.cc' || echo './'`src/static_vars.cc mv -f src/.deps/libtcmalloc_minimal_internal_la-system-alloc.Tpo src/.deps/libtcmalloc_minimal_internal_la-system-alloc.Plo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-symbolize.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-symbolize.Tpo -c -o src/libtcmalloc_minimal_internal_la-symbolize.lo `test -f 'src/symbolize.cc' || echo './'`src/symbolize.cc 11 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-page_heap.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-page_heap.Tpo -c src/page_heap.cc -o src/libtcmalloc_minimal_internal_la-page_heap.o >/dev/null 2>&1 libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-static_vars.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-static_vars.Tpo -c src/static_vars.cc -fno-common -DPIC -o src/.libs/libtcmalloc_minimal_internal_la-static_vars.o libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-symbolize.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-symbolize.Tpo -c src/symbolize.cc -fno-common -DPIC -o src/.libs/libtcmalloc_minimal_internal_la-symbolize.o In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:40: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ 13 warnings generated. In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_la-tcmalloc.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_la-tcmalloc.Tpo -c src/tcmalloc.cc -o src/libtcmalloc_minimal_la-tcmalloc.o >/dev/null 2>&1 mv -f src/.deps/libtcmalloc_minimal_internal_la-span.Tpo src/.deps/libtcmalloc_minimal_internal_la-span.Plo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-thread_cache.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-thread_cache.Tpo -c -o src/libtcmalloc_minimal_internal_la-thread_cache.lo `test -f 'src/thread_cache.cc' || echo './'`src/thread_cache.cc mv -f src/.deps/libtcmalloc_minimal_internal_la-sampler.Tpo src/.deps/libtcmalloc_minimal_internal_la-sampler.Plo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-malloc_hook.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-malloc_hook.Tpo -c -o src/libtcmalloc_minimal_internal_la-malloc_hook.lo `test -f 'src/malloc_hook.cc' || echo './'`src/malloc_hook.cc mv -f src/.deps/libtcmalloc_minimal_internal_la-central_freelist.Tpo src/.deps/libtcmalloc_minimal_internal_la-central_freelist.Plo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-malloc_extension.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-malloc_extension.Tpo -c -o src/libtcmalloc_minimal_internal_la-malloc_extension.lo `test -f 'src/malloc_extension.cc' || echo './'`src/malloc_extension.cc mv -f src/.deps/libtcmalloc_minimal_internal_la-stack_trace_table.Tpo src/.deps/libtcmalloc_minimal_internal_la-stack_trace_table.Plo libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-thread_cache.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-thread_cache.Tpo -c src/thread_cache.cc -fno-common -DPIC -o src/.libs/libtcmalloc_minimal_internal_la-thread_cache.o clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT benchmark/malloc_bench_shared-malloc_bench.o -MD -MP -MF benchmark/.deps/malloc_bench_shared-malloc_bench.Tpo -c -o benchmark/malloc_bench_shared-malloc_bench.o `test -f 'benchmark/malloc_bench.cc' || echo './'`benchmark/malloc_bench.cc In file included from libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-malloc_hook.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-malloc_hook.Tpo -c src/malloc_hook.cc -fno-common -DPIC -o src/.libs/libtcmalloc_minimal_internal_la-malloc_hook.o src/static_vars.cc:35: In file included from ./src/static_vars.h:42: In file included from ./src/central_freelist.h:45: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-malloc_extension.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-malloc_extension.Tpo -c src/malloc_extension.cc -fno-common -DPIC -o src/.libs/libtcmalloc_minimal_internal_la-malloc_extension.o In file included from src/symbolize.cc:60: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/symbolize.cc:61: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 11 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-static_vars.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-static_vars.Tpo -c src/static_vars.cc -o src/libtcmalloc_minimal_internal_la-static_vars.o >/dev/null 2>&1 In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:46: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ 2 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-symbolize.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-symbolize.Tpo -c src/symbolize.cc -o src/libtcmalloc_minimal_internal_la-symbolize.o >/dev/null 2>&1 In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:42: In file included from ./src/central_freelist.h:45: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/malloc_hook.cc:50: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/malloc_hook.cc:50: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from In file included from ./src/base/atomicops.hsrc/malloc_extension.cc:47: In file included from ./src/base/sysinfo.h:49: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] :114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (_dyld_present()) { ^ if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/malloc_extension.cc:47: In file included from ./src/base/sysinfo.h:50: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ mv -f benchmark/.deps/malloc_bench_shared-malloc_bench.Tpo benchmark/.deps/malloc_bench_shared-malloc_bench.Po src/malloc_hook.cc:143:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemoveNewHook(&InitialNewHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/malloc_hook.cc:144:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemovePreMmapHook(&InitialPreMMapHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/malloc_hook.cc:145:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemovePreSbrkHook(&InitialPreSbrkHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/malloc_hook.cc:337:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(mmap_replacement_.empty(), "Only one MMapReplacement is allowed."); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT benchmark/binary_trees-binary_trees.o -MD -MP -MF benchmark/.deps/binary_trees-binary_trees.Tpo -c -o benchmark/binary_trees-binary_trees.o `test -f 'benchmark/binary_trees.cc' || echo './'`benchmark/binary_trees.cc src/malloc_hook.cc:376:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(munmap_replacement_.empty(), ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ mv -f src/.deps/libtcmalloc_minimal_internal_la-page_heap.Tpo src/.deps/libtcmalloc_minimal_internal_la-page_heap.Plo clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT benchmark/binary_trees_shared-binary_trees.o -MD -MP -MF benchmark/.deps/binary_trees_shared-binary_trees.Tpo -c -o benchmark/binary_trees_shared-binary_trees.o `test -f 'benchmark/binary_trees.cc' || echo './'`benchmark/binary_trees.cc 11 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-thread_cache.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-thread_cache.Tpo -c src/thread_cache.cc -o src/libtcmalloc_minimal_internal_la-thread_cache.o >/dev/null 2>&1 2 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-malloc_extension.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-malloc_extension.Tpo -c src/malloc_extension.cc -o src/libtcmalloc_minimal_internal_la-malloc_extension.o >/dev/null 2>&1 mv -f src/.deps/libtcmalloc_minimal_internal_la-static_vars.Tpo src/.deps/libtcmalloc_minimal_internal_la-static_vars.Plo clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT benchmark/malloc_bench_shared_full-malloc_bench.o -MD -MP -MF benchmark/.deps/malloc_bench_shared_full-malloc_bench.Tpo -c -o benchmark/malloc_bench_shared_full-malloc_bench.o `test -f 'benchmark/malloc_bench.cc' || echo './'`benchmark/malloc_bench.cc 16 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_minimal_internal_la-malloc_hook.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_internal_la-malloc_hook.Tpo -c src/malloc_hook.cc -o src/libtcmalloc_minimal_internal_la-malloc_hook.o >/dev/null 2>&1 mv -f src/.deps/libtcmalloc_minimal_internal_la-symbolize.Tpo src/.deps/libtcmalloc_minimal_internal_la-symbolize.Plo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -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 mv -f benchmark/.deps/malloc_bench_shared_full-malloc_bench.Tpo benchmark/.deps/malloc_bench_shared_full-malloc_bench.Po /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/libtcmalloc_la-linuxthreads.lo -MD -MP -MF src/base/.deps/libtcmalloc_la-linuxthreads.Tpo -c -o src/base/libtcmalloc_la-linuxthreads.lo `test -f 'src/base/linuxthreads.cc' || echo './'`src/base/linuxthreads.cc mv -f src/.deps/libtcmalloc_minimal_internal_la-malloc_extension.Tpo src/.deps/libtcmalloc_minimal_internal_la-malloc_extension.Plo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_la-heap-checker.lo -MD -MP -MF src/.deps/libtcmalloc_la-heap-checker.Tpo -c -o src/libtcmalloc_la-heap-checker.lo `test -f 'src/heap-checker.cc' || echo './'`src/heap-checker.cc mv -f benchmark/.deps/binary_trees-binary_trees.Tpo benchmark/.deps/binary_trees-binary_trees.Po /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_la-heap-checker-bcad.lo -MD -MP -MF src/.deps/libtcmalloc_la-heap-checker-bcad.Tpo -c -o src/libtcmalloc_la-heap-checker-bcad.lo `test -f 'src/heap-checker-bcad.cc' || echo './'`src/heap-checker-bcad.cc mv -f src/.deps/libtcmalloc_minimal_internal_la-thread_cache.Tpo src/.deps/libtcmalloc_minimal_internal_la-thread_cache.Plo clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/tcmalloc_unittest-tcmalloc_unittest.o -MD -MP -MF src/tests/.deps/tcmalloc_unittest-tcmalloc_unittest.Tpo -c -o src/tests/tcmalloc_unittest-tcmalloc_unittest.o `test -f 'src/tests/tcmalloc_unittest.cc' || echo './'`src/tests/tcmalloc_unittest.cc mv -f src/.deps/libtcmalloc_minimal_la-tcmalloc.Tpo src/.deps/libtcmalloc_minimal_la-tcmalloc.Plo mv -f benchmark/.deps/binary_trees_shared-binary_trees.Tpo benchmark/.deps/binary_trees_shared-binary_trees.Po libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_la-tcmalloc.lo -MD -MP -MF src/.deps/libtcmalloc_la-tcmalloc.Tpo -c src/tcmalloc.cc -fno-common -DPIC -o src/.libs/libtcmalloc_la-tcmalloc.o clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/tcmalloc_unittest-testutil.o -MD -MP -MF src/tests/.deps/tcmalloc_unittest-testutil.Tpo -c -o src/tests/tcmalloc_unittest-testutil.o `test -f 'src/tests/testutil.cc' || echo './'`src/tests/testutil.cc clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -g -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/sampling_test-sampling_test.o -MD -MP -MF src/tests/.deps/sampling_test-sampling_test.Tpo -c -o src/tests/sampling_test-sampling_test.o `test -f 'src/tests/sampling_test.cc' || echo './'`src/tests/sampling_test.cc libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_la-heap-checker.lo -MD -MP -MF src/.deps/libtcmalloc_la-heap-checker.Tpo -c src/heap-checker.cc -fno-common -DPIC -o src/.libs/libtcmalloc_la-heap-checker.o libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/libtcmalloc_la-linuxthreads.lo -MD -MP -MF src/base/.deps/libtcmalloc_la-linuxthreads.Tpo -c src/base/linuxthreads.cc -fno-common -DPIC -o src/base/.libs/libtcmalloc_la-linuxthreads.o libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_la-heap-checker-bcad.lo -MD -MP -MF src/.deps/libtcmalloc_la-heap-checker-bcad.Tpo -c src/heap-checker-bcad.cc -fno-common -DPIC -o src/.libs/libtcmalloc_la-heap-checker-bcad.o libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/base/libtcmalloc_la-linuxthreads.lo -MD -MP -MF src/base/.deps/libtcmalloc_la-linuxthreads.Tpo -c src/base/linuxthreads.cc -o src/base/libtcmalloc_la-linuxthreads.o >/dev/null 2>&1 mv -f src/tests/.deps/tcmalloc_unittest-testutil.Tpo src/tests/.deps/tcmalloc_unittest-testutil.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -g -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/heap_profiler_unittest-heap-profiler_unittest.o -MD -MP -MF src/tests/.deps/heap_profiler_unittest-heap-profiler_unittest.Tpo -c -o src/tests/heap_profiler_unittest-heap-profiler_unittest.o `test -f 'src/tests/heap-profiler_unittest.cc' || echo './'`src/tests/heap-profiler_unittest.cc mv -f src/base/.deps/libtcmalloc_la-linuxthreads.Tpo src/base/.deps/libtcmalloc_la-linuxthreads.Plo clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -g -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/heap_checker_unittest-heap-checker_unittest.o -MD -MP -MF src/tests/.deps/heap_checker_unittest-heap-checker_unittest.Tpo -c -o src/tests/heap_checker_unittest-heap-checker_unittest.o `test -f 'src/tests/heap-checker_unittest.cc' || echo './'`src/tests/heap-checker_unittest.cc In file included from src/tests/sampling_test.cc:44: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/sampling_test.cc:44: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/tcmalloc_unittest.cc:90: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/tcmalloc_unittest.cc:90: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] In file included from if (OSAtomicCompareAndSwap64Barrier(old_value, new_value,src/tcmalloc.cc:118: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] ^ if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ : note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tcmalloc.cc:122: In file included from ./src/central_freelist.h:45: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:478:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(object.ptr); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:606:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p == NULL); // huge allocation s should fail! ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:630:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(inst); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:639:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p == NULL); // calloc(n, s) should not succeed ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:641:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p != NULL); // calloc(n, s) should succeed ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:643:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p[i] == '\0'); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:665:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:669:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p == new_p); // realloc should not allocate new memory ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:674:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p == new_p); // realloc should not allocate new memory ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:802:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(NewHook, const void*, size_t); ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:802:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(NewHook, const void*, size_t); ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:803:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(DeleteHook, const void*); ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:803:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(DeleteHook, const void*); ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:804:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MmapHook, const void*, const void*, size_t, int, int, int, ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' In file included from CHECK(MallocHook::Add##hook_type( \ ^ src/heap-checker.cc:79: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] ./src/base/logging.h:87 if (_dyld_present()) { ^ :7: note/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here : expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:804:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MmapHook, const void*, const void*, size_t, int, int, int, ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:806:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MremapHook, const void*, const void*, size_t, size_t, int, ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:In file included from src/heap-checker.cc:80: In file included from ./src/base/googleinit.h:37: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] 35: note: expanded from macro 'WRITE_TO_STDERR' WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:806:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MremapHook, const void*, const void*, size_t, size_t, int, ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:808:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MunmapHook, const void *, size_t); ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:808:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MunmapHook, const void *, size_t); ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:809:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(SbrkHook, const void *, ptrdiff_t); ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:809:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(SbrkHook, const void *, ptrdiff_t); ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:818:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((p % sizeof(void*)) == 0); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:819:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((p % sizeof(double)) == 0); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:824:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((p % kMinAlign) == 0); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:871:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(r->type == base::MallocRange::FREE || ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:892:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(state.matched); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:923:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(MallocExtension::instance()->GetNumericProperty( ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_la-heap-checker-bcad.lo -MD -MP -MF src/.deps/libtcmalloc_la-heap-checker-bcad.Tpo -c src/heap-checker-bcad.cc -o src/libtcmalloc_la-heap-checker-bcad.o >/dev/null 2>&1 In file included from src/heap-checker.cc:88: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/heap-checker.cc:88: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] src/tests/tcmalloc_unittest.cc:1071:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(g_no_memory); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' if (OSAtomicCompareAndSwap32(old_value, new_value, WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here In file included from int syscall(int, ...); ^ src/heap-checker.cc:88: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ src/tests/tcmalloc_unittest.cc:1077:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h32:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here warnings generated. : warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ EXPECT_TRUE(g_no_memory); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' In file included from src/heap-checker.cc:88: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ int syscall(int, ...); ^ In file included from src/heap-checker.cc:88: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] src/tests/tcmalloc_unittest.cc:1083:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ EXPECT_TRUE(g_no_memory); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' ^ WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/heap-checker.cc:88: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9src/tests/tcmalloc_unittest.cc:1094:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] :mv -f src/tests/.deps/sampling_test-sampling_test.Tpo src/tests/.deps/sampling_test-sampling_test.Po EXPECT_TRUE(g_no_memory); ^ warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' if (OSAtomicCompareAndSwap64(old_value, new_value, ^ #define EXPECT_TRUE(cond) CHECK(cond) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here ./src/base/logging.h:87:7: bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ In file included from src/heap-checker.cc:88: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here ^bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' ^ #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here In file included from src/tests/heap-profiler_unittest.cc:51: int syscall(int, ...);./src/base/basictypes.h ^ :311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] In file included from src/heap-checker.cc if (_dyld_present()) { ^ :88: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ 13:src/tests/tcmalloc_unittest.cc:1101:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(g_no_memory);warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: #define EXPECT_TRUE(cond) CHECK(cond)'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here ^ ./src/base/logging.h:87:bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ 7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ In file included from src/heap-checker.cc:88: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] ./src/base/logging.h if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here :bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ 61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/heap-profiler_unittest.cc:52: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -g -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/sampling_debug_test-sampling_test.o -MD -MP -MF src/tests/.deps/sampling_debug_test-sampling_test.Tpo -c -o src/tests/sampling_debug_test-sampling_test.o `test -f 'src/tests/sampling_test.cc' || echo './'`src/tests/sampling_test.cc src/tests/heap-profiler_unittest.cc:94:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(IsHeapProfilerRunning()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-profiler_unittest.cc:100:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(!IsHeapProfilerRunning()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-profiler_unittest.cc:113:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(IsHeapProfilerRunning()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1251:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: In file included from src/tcmalloc.cc:150: In file included from ./src/libc_override.h:84: ./src/libc_override_osx.h:184:6: warning: unused function 'mi_statistics' [-Wunused-function] void mi_statistics(malloc_zone_t *zone, malloc_statistics_t *stats) { ^ src/tcmalloc.cc:1161:20: warning: unused function 'CheckCachedSizeClass' [-Wunused-function] static inline bool CheckCachedSizeClass(void *ptr) { ^ note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1253:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1254:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] mv -f src/.deps/libtcmalloc_minimal_internal_la-malloc_hook.Tpo src/.deps/libtcmalloc_minimal_internal_la-malloc_hook.Plo CHECK(p1 != p2); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:555:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(len > 0, "Unexpected empty string passed to strstr()"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:623:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(0, ""); // Couldn't determine the stack direction. ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1280:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); // force use of this variable ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1290:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -g -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/heap_profiler_debug_unittest-heap-profiler_unittest.o -MD -MP -MF src/tests/.deps/heap_profiler_debug_unittest-heap-profiler_unittest.Tpo -c -o src/tests/heap_profiler_debug_unittest-heap-profiler_unittest.o `test -f 'src/tests/heap-profiler_unittest.cc' || echo './'`src/tests/heap-profiler_unittest.cc src/tests/tcmalloc_unittest.cc:1296:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1302:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1310:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1316:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1332:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1338:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1344:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1350:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1356:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1362:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1369:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1376:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1398:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(poveraligned != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1399:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)poveraligned) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1405:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(poveraligned != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1406:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)poveraligned) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1412:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(poveraligned != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1413:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)poveraligned) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1419:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(poveraligned != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1420:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)poveraligned) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1427:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1428:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)p2) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1434:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1435:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)p2) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1461:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1538:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p != NULL); // could not allocate ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1643:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(!strcmp(PACKAGE_STRING, human_version)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1644:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(!strcmp(PACKAGE_VERSION, mmp)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:958:9: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(0, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:1147:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(live_objects->empty(), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:1263:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(live_objects == NULL, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:1750:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(pm_result == PROC_MAPS_USED, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:1850:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::GetNewHook() == NULL, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:1851:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::GetDeleteHook() == NULL, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:1852:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::GetMmapHook() == NULL, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:1853:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::GetSbrkHook() == NULL, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:1956:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(!internal_init_start_has_run, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2083:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(heap_profile->FindAlloc(test_str, &size), ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2091:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(!heap_profile->FindAlloc(test_str, &size), ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2114:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(heap_checker_on && constructor_heap_profiling, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2205:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(!constructor_heap_profiling, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2213:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::AddNewHook(&NewHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2214:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::AddDeleteHook(&DeleteHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2220:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(heap_profile == NULL, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2235:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(heap_checker_on, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2239:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemoveNewHook(&NewHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2240:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemoveDeleteHook(&DeleteHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2249:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(!heap_checker_on, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2326:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(!do_main_heap_check, "should have done it"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2384:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(heap_profile->FindAllocDetails(ptr, &info), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/heap-checker.cc:2386:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(info.stack_depth >= 1, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 5 warnings generated. mv -f src/tests/.deps/heap_profiler_unittest-heap-profiler_unittest.Tpo src/tests/.deps/heap_profiler_unittest-heap-profiler_unittest.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -g -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/heap_checker_debug_unittest-heap-checker_unittest.o -MD -MP -MF src/tests/.deps/heap_checker_debug_unittest-heap-checker_unittest.Tpo -c -o src/tests/heap_checker_debug_unittest-heap-checker_unittest.o `test -f 'src/tests/heap-checker_unittest.cc' || echo './'`src/tests/heap-checker_unittest.cc In file included from src/tests/heap-checker_unittest.cc:100: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/heap-checker_unittest.cc:101: In file included from ./src/base/googleinit.h:37: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/heap-checker_unittest.cc:106: In file included from ./src/memory_region_map.h:45: ./src/base/stl_allocator.h:83:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_DCHECK((n * sizeof(T)) / sizeof(T) == n, "n is too big to allocate"); ^ ./src/base/logging.h:109:41: note: expanded from macro 'RAW_DCHECK' #define RAW_DCHECK(condition, message) RAW_CHECK(condition, message) ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/heap-checker_unittest.cc:106: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/tests/heap-checker_unittest.cc:106: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/heap-checker_unittest.cc:106: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/heap-checker_unittest.cc:106: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/heap-checker_unittest.cc:106: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/heap-checker_unittest.cc:106: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/heap-checker_unittest.cc:106: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/heap-checker_unittest.cc:106: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/heap-checker_unittest.cc:106: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/heap-checker_unittest.cc:106: ./src/memory_region_map.h:175:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_DCHECK(call_stack_depth == 0, ""); // only one such set is allowed ^ ./src/base/logging.h:109:41: note: expanded from macro 'RAW_DCHECK' #define RAW_DCHECK(condition, message) RAW_CHECK(condition, message) ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/heap-checker_unittest.cc:106: ./src/memory_region_map.h:193:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_DCHECK(start_addr < end_addr, ""); ^ ./src/base/logging.h:109:41: note: expanded from macro 'RAW_DCHECK' #define RAW_DCHECK(condition, message) RAW_CHECK(condition, message) ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/heap-checker_unittest.cc:106: ./src/memory_region_map.h:194:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_DCHECK(call_stack_depth >= 0 && ^ ./src/base/logging.h:109:41: note: expanded from macro 'RAW_DCHECK' #define RAW_DCHECK(condition, message) RAW_CHECK(condition, message) ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:266:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(MallocExtension::instance()->VerifyAllMemory()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:585:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(check.BriefSameHeap()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:596:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(check.BriefSameHeap()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:607:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(check.BriefSameHeap()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:618:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(check.SameHeap()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:719:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(check.SameHeap()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:803:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(check.BriefSameHeap()); // just in case ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:826:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(key_init_has_run); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:876:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int** ptr; ^~~~~~~~~ src/tests/heap-checker_unittest.cc:955:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(pthread_create(&tid, &attr, HeapBusyThreadBody, ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/sampling_test.cc:44: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/sampling_test.cc:44: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ mv -f src/.deps/libtcmalloc_la-heap-checker-bcad.Tpo src/.deps/libtcmalloc_la-heap-checker-bcad.Plo clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -O2 -MT src/base/low_level_alloc_unittest-low_level_alloc.o -MD -MP -MF src/base/.deps/low_level_alloc_unittest-low_level_alloc.Tpo -c -o src/base/low_level_alloc_unittest-low_level_alloc.o `test -f 'src/base/low_level_alloc.cc' || echo './'`src/base/low_level_alloc.cc In file included from src/tests/heap-profiler_unittest.cc:51: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/heap-profiler_unittest.cc:52: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-profiler_unittest.cc:94:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(IsHeapProfilerRunning()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-profiler_unittest.cc:100:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(!IsHeapProfilerRunning()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-profiler_unittest.cc:113:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(IsHeapProfilerRunning()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:1412:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(HeapLeakChecker::NoGlobalLeaks()); // so far, so good ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:1457:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(HeapLeakChecker::NoGlobalLeaks()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:1490:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(HeapLeakChecker::NoGlobalLeaks()); // so far, so good ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:1524:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(HeapLeakChecker::NoGlobalLeaks()); // so far, so good ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:1529:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(heap_check.SameHeap()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:1535:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(HeapLeakChecker::NoGlobalLeaks()); // so far, so good ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/base/low_level_alloc.cc:37: In file included from ./src/base/low_level_alloc.h:42: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/base/low_level_alloc.cc:39: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/base/low_level_alloc.cc:39: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/base/low_level_alloc.cc:39: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/base/low_level_alloc.cc:39: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/base/low_level_alloc.cc:39: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/base/low_level_alloc.cc:39: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/base/low_level_alloc.cc:39: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/base/low_level_alloc.cc:39: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/base/low_level_alloc.cc:39: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ 2 warnings generated. mv -f src/tests/.deps/sampling_debug_test-sampling_test.Tpo src/tests/.deps/sampling_debug_test-sampling_test.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -O2 -MT src/low_level_alloc_unittest-malloc_hook.o -MD -MP -MF src/.deps/low_level_alloc_unittest-malloc_hook.Tpo -c -o src/low_level_alloc_unittest-malloc_hook.o `test -f 'src/malloc_hook.cc' || echo './'`src/malloc_hook.cc src/tests/heap-checker_unittest.cc:1126:8: warning: private field 'd1' is not used [-Wunused-private-field] char d1[15]; ^ src/tests/heap-checker_unittest.cc:1131:8: warning: private field 'd2' is not used [-Wunused-private-field] char d2[19]; ^ src/tests/heap-checker_unittest.cc:1136:8: warning: private field 'd' is not used [-Wunused-private-field] char d[3]; ^ 5 warnings generated. mv -f src/tests/.deps/heap_profiler_debug_unittest-heap-profiler_unittest.Tpo src/tests/.deps/heap_profiler_debug_unittest-heap-profiler_unittest.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -O2 -MT src/tests/low_level_alloc_unittest-low_level_alloc_unittest.o -MD -MP -MF src/tests/.deps/low_level_alloc_unittest-low_level_alloc_unittest.Tpo -c -o src/tests/low_level_alloc_unittest-low_level_alloc_unittest.o `test -f 'src/tests/low_level_alloc_unittest.cc' || echo './'`src/tests/low_level_alloc_unittest.cc In file included from src/base/low_level_alloc.cc:40: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/heap-checker_unittest.cc:100: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ src/base/low_level_alloc.cc:135:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(level >= 1, "block not big enough for even one level"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:175:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(e == found, "element not in freelist"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/heap-checker_unittest.cc:101: In file included from ./src/base/googleinit.h:37: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:246:9: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(false, "We do not yet support async-signal-safe arena."); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:251:20: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ~ArenaLock() { RAW_CHECK(this->left_, "haven't left Arena region"); } ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:321:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(meta_data_arena != 0, "must pass a valid arena"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: In file included from src/tests/heap-checker_unittest.cc:106: In file included from ./src/memory_region_map.h:45: ./src/base/stl_allocator.h:83:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] expanded from macro 'WRITE_TO_STDERR' RAW_DCHECK((n * sizeof(T)) / sizeof(T) == n, "n is too big to allocate"); ^ #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ ./src/base/logging.h:109:41: note: expanded from macro 'RAW_DCHECK' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here #define RAW_DCHECK(condition, message) RAW_CHECK(condition, message) ^ int syscall(int, ...); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:342:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(arena != 0 && arena != &default_arena && arena != &unhooked_arena, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:352:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(region->header.magic == ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:355:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(region->header.arena == arena, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:357:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(size % arena->pagesize == 0, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:359:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(reinterpret_cast(region) % arena->pagesize == 0, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/heap-checker_unittest.cc:106: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from src/base/low_level_alloc.cc:367:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ./src/base/atomicops.h: RAW_CHECK(munmap_result == 0, ^ 114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ void OSMemoryBarrier( void ); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here In file included from int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:106: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/heap-checker_unittest.cc:106: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ src/base/low_level_alloc.cc:389:3:In file included from warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] src/tests/heap-checker_unittest.cc:106: RAW_CHECK(i < prev->levels, "too few levels in Next()"); ^ In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/heap-checker_unittest.cc:106: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] src/base/low_level_alloc.cc:392:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ RAW_CHECK(next->header.magic == Magic(kMagicUnallocated, &next->header), ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:394:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] In file included from src/tests/heap-checker_unittest.cc:106: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] RAW_CHECK(next->header.arena == arena, ^ if (OSAtomicCompareAndSwap64(old_value, new_value, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9 WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' : note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/heap-checker_unittest.cc:106: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] src/base/low_level_alloc.cc:397:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ RAW_CHECK(prev < next, "unordered freelist"); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' In file included from src/tests/heap-checker_unittest.cc:106: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here int syscall(int, ...); ^ bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ src/base/low_level_alloc.cc:398:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] In file included from src/tests/heap-checker_unittest.cc:106: In file included from ./src/memory_region_map.h:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] RAW_CHECK(reinterpret_cast(prev) + prev->header.size < ^ if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9 WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ : note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ src/base/low_level_alloc.cc:427:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(f->header.magic == Magic(kMagicAllocated, &f->header), ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:429:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(f->header.arena == arena, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:445:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(f->header.magic == Magic(kMagicAllocated, &f->header), ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:453:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(arena->allocation_count > 0, "nothing in arena to free"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/malloc_hook.cc:50: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ src/base/low_level_alloc.cc:509:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(s->header.arena == arena, ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:529:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(arena != 0, "must pass a valid arena"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:568:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(new_pages != MAP_FAILED, "mmap error"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/base/low_level_alloc.cc:580:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(munmap_result == 0, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/heap-checker_unittest.cc:106: ./src/memory_region_map.h:175:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_DCHECK(call_stack_depth == 0, ""); // only one such set is allowed ^ ./src/base/logging.h:109:41: note: expanded from macro 'RAW_DCHECK' #define RAW_DCHECK(condition, message) RAW_CHECK(condition, message) ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/heap-checker_unittest.cc:106: ./src/memory_region_map.h:193:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_DCHECK(start_addr < end_addr, ""); ^ ./src/base/logging.h:109:41: note: expanded from macro 'RAW_DCHECK' #define RAW_DCHECK(condition, message) RAW_CHECK(condition, message) ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here In file included from int syscall(int, ...);src/malloc_hook.cc:50: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ^ WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) In file included from src/tests/heap-checker_unittest.cc:106: ./src/memory_region_map.h:194:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ^ RAW_DCHECK(call_stack_depth >= 0 && ^ ./src/base/logging.h:109:41: note: expanded from macro 'RAW_DCHECK' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here #define RAW_DCHECK(condition, message) RAW_CHECK(condition, message) ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' int syscall(int, ...); ^ WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here src/tests/heap-checker_unittest.ccbool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ :266:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(MallocExtension::instance()->VerifyAllMemory()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/malloc_hook.cc:143:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemoveNewHook(&InitialNewHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/malloc_hook.cc:144:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemovePreMmapHook(&InitialPreMMapHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/malloc_hook.cc:145:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemovePreSbrkHook(&InitialPreSbrkHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:585:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(check.BriefSameHeap()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:596:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(check.BriefSameHeap()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:607:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(check.BriefSameHeap()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:618:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(check.SameHeap()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:719:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(check.SameHeap()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/malloc_hook.cc:337:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(mmap_replacement_.empty(), "Only one MMapReplacement is allowed."); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/malloc_hook.cc:376:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(munmap_replacement_.empty(), ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:803:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(check.BriefSameHeap()); // just in case ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:826:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(key_init_has_run); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:876:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int** ptr; ^~~~~~~~~ src/tests/heap-checker_unittest.cc:955:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(pthread_create(&tid, &attr, HeapBusyThreadBody, ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 13 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_la-tcmalloc.lo -MD -MP -MF src/.deps/libtcmalloc_la-tcmalloc.Tpo -c src/tcmalloc.cc -o src/libtcmalloc_la-tcmalloc.o >/dev/null 2>&1 In file included from src/tests/low_level_alloc_unittest.cc:36: In file included from ./src/base/low_level_alloc.h:42: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ src/tests/heap-checker_unittest.cc:1412:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(HeapLeakChecker::NoGlobalLeaks()); // so far, so good ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:1457:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(HeapLeakChecker::NoGlobalLeaks()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:1490:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(HeapLeakChecker::NoGlobalLeaks()); // so far, so good ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/low_level_alloc_unittest.cc:37: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/low_level_alloc_unittest.cc:53:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((d.ptr[i] & 0xff) == ((d.fill + i) & 0xff)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/low_level_alloc_unittest.cc:143:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(LowLevelAlloc::DeleteArena(arena)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/low_level_alloc_unittest.cc:173:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(MallocHook::AddNewHook(&AllocHook)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/low_level_alloc_unittest.cc:174:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(MallocHook::AddDeleteHook(&FreeHook)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/low_level_alloc_unittest.cc:194:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(MallocHook::RemoveNewHook(&AllocHook)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/low_level_alloc_unittest.cc:195:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(MallocHook::RemoveDeleteHook(&FreeHook)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:1524:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(HeapLeakChecker::NoGlobalLeaks()); // so far, so good ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:1529:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(heap_check.SameHeap()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/heap-checker_unittest.cc:1535:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(HeapLeakChecker::NoGlobalLeaks()); // so far, so good ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 35 warnings generated. mv -f src/base/.deps/low_level_alloc_unittest-low_level_alloc.Tpo src/base/.deps/low_level_alloc_unittest-low_level_alloc.Po depbase=`echo src/tests/atomicops_unittest.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/atomicops_unittest.o -MD -MP -MF $depbase.Tpo -c -o src/tests/atomicops_unittest.o src/tests/atomicops_unittest.cc &&\ mv -f $depbase.Tpo $depbase.Po src/tests/heap-checker_unittest.cc:1126:8: warning: private field 'd1' is not used [-Wunused-private-field] char d1[15]; ^ src/tests/heap-checker_unittest.cc:1131:8: warning: private field 'd2' is not used [-Wunused-private-field] char d2[19]; ^ src/tests/heap-checker_unittest.cc:1136:8: warning: private field 'd' is not used [-Wunused-private-field] char d[3]; ^ 76 warnings generated. mv -f src/tests/.deps/tcmalloc_unittest-tcmalloc_unittest.Tpo src/tests/.deps/tcmalloc_unittest-tcmalloc_unittest.Po depbase=`echo src/tests/stacktrace_unittest.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/stacktrace_unittest.o -MD -MP -MF $depbase.Tpo -c -o src/tests/stacktrace_unittest.o src/tests/stacktrace_unittest.cc &&\ mv -f $depbase.Tpo $depbase.Po 8 warnings generated. mv -f src/tests/.deps/low_level_alloc_unittest-low_level_alloc_unittest.Tpo src/tests/.deps/low_level_alloc_unittest-low_level_alloc_unittest.Po depbase=`echo src/fake_stacktrace_scope.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/fake_stacktrace_scope.lo -MD -MP -MF $depbase.Tpo -c -o src/fake_stacktrace_scope.lo src/fake_stacktrace_scope.cc &&\ mv -f $depbase.Tpo $depbase.Plo 16 warnings generated. mv -f src/.deps/low_level_alloc_unittest-malloc_hook.Tpo src/.deps/low_level_alloc_unittest-malloc_hook.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/tcmalloc_minimal_unittest-tcmalloc_unittest.o -MD -MP -MF src/tests/.deps/tcmalloc_minimal_unittest-tcmalloc_unittest.Tpo -c -o src/tests/tcmalloc_minimal_unittest-tcmalloc_unittest.o `test -f 'src/tests/tcmalloc_unittest.cc' || echo './'`src/tests/tcmalloc_unittest.cc In file included from src/tests/atomicops_unittest.cc:36: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/atomicops_unittest.cc:36: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/atomicops_unittest.cc:37: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/tests/atomicops_unittest.cc:37: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/atomicops_unittest.cc:37: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/atomicops_unittest.cc:37: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/atomicops_unittest.cc:37: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/atomicops_unittest.cc:37: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/atomicops_unittest.cc:37: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/atomicops_unittest.cc:37: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/atomicops_unittest.cc:37: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/fake_stacktrace_scope.lo -MD -MP -MF src/.deps/fake_stacktrace_scope.Tpo -c src/fake_stacktrace_scope.cc -fno-common -DPIC -o src/.libs/fake_stacktrace_scope.o In file included from src/tests/stacktrace_unittest.cc:36: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/stacktrace_unittest.cc:37: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/fake_stacktrace_scope.cc:31: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ 1 warning generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/fake_stacktrace_scope.lo -MD -MP -MF src/.deps/fake_stacktrace_scope.Tpo -c src/fake_stacktrace_scope.cc -o src/fake_stacktrace_scope.o >/dev/null 2>&1 2 warnings generated. 36 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/libtcmalloc_la-heap-checker.lo -MD -MP -MF src/.deps/libtcmalloc_la-heap-checker.Tpo -c src/heap-checker.cc -o src/libtcmalloc_la-heap-checker.o >/dev/null 2>&1 clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/tcmalloc_minimal_unittest-testutil.o -MD -MP -MF src/tests/.deps/tcmalloc_minimal_unittest-testutil.Tpo -c -o src/tests/tcmalloc_minimal_unittest-testutil.o `test -f 'src/tests/testutil.cc' || echo './'`src/tests/testutil.cc 11 warnings generated. clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/tcm_min_asserts_unittest-tcmalloc_unittest.o -MD -MP -MF src/tests/.deps/tcm_min_asserts_unittest-tcmalloc_unittest.Tpo -c -o src/tests/tcm_min_asserts_unittest-tcmalloc_unittest.o `test -f 'src/tests/tcmalloc_unittest.cc' || echo './'`src/tests/tcmalloc_unittest.cc clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/tcm_min_asserts_unittest-testutil.o -MD -MP -MF src/tests/.deps/tcm_min_asserts_unittest-testutil.Tpo -c -o src/tests/tcm_min_asserts_unittest-testutil.o `test -f 'src/tests/testutil.cc' || echo './'`src/tests/testutil.cc In file included from src/tests/tcmalloc_unittest.cc:90: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ mv -f src/tests/.deps/tcmalloc_minimal_unittest-testutil.Tpo src/tests/.deps/tcmalloc_minimal_unittest-testutil.Po In file included from src/tests/tcmalloc_unittest.cc:90: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tcm_min_asserts_unittest-common.o -MD -MP -MF src/.deps/tcm_min_asserts_unittest-common.Tpo -c -o src/tcm_min_asserts_unittest-common.o `test -f 'src/common.cc' || echo './'`src/common.cc In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ src/tests/tcmalloc_unittest.cc:478:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(object.ptr); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:606:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p == NULL); // huge allocation s should fail! ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:630:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(inst); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:639:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p == NULL); // calloc(n, s) should not succeed ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:641:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p != NULL); // calloc(n, s) should succeed ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:643:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p[i] == '\0'); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:665:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:669:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p == new_p); // realloc should not allocate new memory ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:674:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p == new_p); // realloc should not allocate new memory ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:802:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(NewHook, const void*, size_t); ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:802:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(NewHook, const void*, size_t); ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:803:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(DeleteHook, const void*); ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:803:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(DeleteHook, const void*); ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:804:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MmapHook, const void*, const void*, size_t, int, int, int, ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:804:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MmapHook, const void*, const void*, size_t, int, int, int, ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:806:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MremapHook, const void*, const void*, size_t, size_t, int, ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:806:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MremapHook, const void*, const void*, size_t, size_t, int, ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:808:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MunmapHook, const void *, size_t); ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:808:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MunmapHook, const void *, size_t); ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:809:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(SbrkHook, const void *, ptrdiff_t); ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:809:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(SbrkHook, const void *, ptrdiff_t); ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:818:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((p % sizeof(void*)) == 0); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:819:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((p % sizeof(double)) == 0); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:824:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((p % kMinAlign) == 0); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:871:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(r->type == base::MallocRange::FREE || ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:892:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(state.matched); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:923:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(MallocExtension::instance()->GetNumericProperty( ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:mv -f src/tests/.deps/tcm_min_asserts_unittest-testutil.Tpo src/tests/.deps/tcm_min_asserts_unittest-testutil.Po 35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tcm_min_asserts_unittest-internal_logging.o -MD -MP -MF src/.deps/tcm_min_asserts_unittest-internal_logging.Tpo -c -o src/tcm_min_asserts_unittest-internal_logging.o `test -f 'src/internal_logging.cc' || echo './'`src/internal_logging.cc src/tests/tcmalloc_unittest.cc:1071:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(g_no_memory); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1077:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(g_no_memory); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1083:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(g_no_memory); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1094:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(g_no_memory); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1101:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(g_no_memory); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1251:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1253:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1254:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != p2); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1280:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); // force use of this variable ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1290:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1296:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1302:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1310:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1316:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1332:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1338:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1344:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1350:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1356:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1362:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1369:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1376:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1398:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(poveraligned != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1399:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)poveraligned) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1405:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(poveraligned != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1406:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)poveraligned) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1412:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(poveraligned != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1413:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)poveraligned) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1419:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(poveraligned != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1420:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)poveraligned) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1427:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1428:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)p2) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1434:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1435:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)p2) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1461:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1538:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p != NULL); // could not allocate ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1643:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(!strcmp(PACKAGE_STRING, human_version)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1644:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(!strcmp(PACKAGE_VERSION, mmp)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/common.cc:36: In file included from ./src/common.h:45: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/common.cc:38: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ 10 warnings generated. mv -f src/.deps/tcm_min_asserts_unittest-common.Tpo src/.deps/tcm_min_asserts_unittest-common.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tcm_min_asserts_unittest-system-alloc.o -MD -MP -MF src/.deps/tcm_min_asserts_unittest-system-alloc.Tpo -c -o src/tcm_min_asserts_unittest-system-alloc.o `test -f 'src/system-alloc.cc' || echo './'`src/system-alloc.cc In file included from src/tests/tcmalloc_unittest.cc:90: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/tcmalloc_unittest.cc:90: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ src/tests/tcmalloc_unittest.cc:478:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(object.ptr); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:606:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p == NULL); // huge allocation s should fail! ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:630:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(inst); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:639:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p == NULL); // calloc(n, s) should not succeed ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:641:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p != NULL); // calloc(n, s) should succeed ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:643:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p[i] == '\0'); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:665:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:669:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p == new_p); // realloc should not allocate new memory ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:674:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p == new_p); // realloc should not allocate new memory ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:802:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(NewHook, const void*, size_t); ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:802:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(NewHook, const void*, size_t); ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:803:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(DeleteHook, const void*); ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:803:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(DeleteHook, const void*); ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:804:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MmapHook, const void*, const void*, size_t, int, int, int, ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:804:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MmapHook, const void*, const void*, size_t, int, int, int, ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:806:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MremapHook, const void*, const void*, size_t, size_t, int, ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:806:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MremapHook, const void*, const void*, size_t, size_t, int, ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:808:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MunmapHook, const void *, size_t); ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:808:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MunmapHook, const void *, size_t); ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:809:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(SbrkHook, const void *, ptrdiff_t); ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:809:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(SbrkHook, const void *, ptrdiff_t); ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:818:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((p % sizeof(void*)) == 0); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:819:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((p % sizeof(double)) == 0); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:824:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((p % kMinAlign) == 0); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:871:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(r->type == base::MallocRange::FREE || ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:892:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(state.matched); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:923:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(MallocExtension::instance()->GetNumericProperty( ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1071:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(g_no_memory); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1077:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(g_no_memory); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1083:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(g_no_memory); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1094:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(g_no_memory); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1101:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(g_no_memory); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1251:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1253:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1254:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != p2); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1280:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); // force use of this variable ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1290:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1296:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1302:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1310:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1316:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1332:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1338:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1344:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1350:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1356:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1362:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1369:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1376:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1398:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(poveraligned != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1399:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)poveraligned) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1405:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(poveraligned != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1406:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)poveraligned) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1412:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(poveraligned != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1413:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)poveraligned) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1419:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(poveraligned != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1420:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)poveraligned) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1427:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1428:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)p2) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1434:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1435:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)p2) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1461:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1538:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p != NULL); // could not allocate ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1643:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(!strcmp(PACKAGE_STRING, human_version)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1644:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(!strcmp(PACKAGE_VERSION, mmp)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 34 warnings generated. mv -f src/tests/.deps/heap_checker_unittest-heap-checker_unittest.Tpo src/tests/.deps/heap_checker_unittest-heap-checker_unittest.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tcm_min_asserts_unittest-memfs_malloc.o -MD -MP -MF src/.deps/tcm_min_asserts_unittest-memfs_malloc.Tpo -c -o src/tcm_min_asserts_unittest-memfs_malloc.o `test -f 'src/memfs_malloc.cc' || echo './'`src/memfs_malloc.cc In file included from src/internal_logging.cc:45: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/internal_logging.cc:45: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/internal_logging.cc:46: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ mv -f src/.deps/tcm_min_asserts_unittest-memfs_malloc.Tpo src/.deps/tcm_min_asserts_unittest-memfs_malloc.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tcm_min_asserts_unittest-central_freelist.o -MD -MP -MF src/.deps/tcm_min_asserts_unittest-central_freelist.Tpo -c -o src/tcm_min_asserts_unittest-central_freelist.o `test -f 'src/central_freelist.cc' || echo './'`src/central_freelist.cc 11 warnings generated. mv -f src/.deps/tcm_min_asserts_unittest-internal_logging.Tpo src/.deps/tcm_min_asserts_unittest-internal_logging.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tcm_min_asserts_unittest-page_heap.o -MD -MP -MF src/.deps/tcm_min_asserts_unittest-page_heap.Tpo -c -o src/tcm_min_asserts_unittest-page_heap.o `test -f 'src/page_heap.cc' || echo './'`src/page_heap.cc mv -f src/.deps/libtcmalloc_la-tcmalloc.Tpo src/.deps/libtcmalloc_la-tcmalloc.Plo clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tcm_min_asserts_unittest-sampler.o -MD -MP -MF src/.deps/tcm_min_asserts_unittest-sampler.Tpo -c -o src/tcm_min_asserts_unittest-sampler.o `test -f 'src/sampler.cc' || echo './'`src/sampler.cc In file included from src/system-alloc.cc:53In file included from : ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] src/sampler.cc:36: In file included from ./src/sampler.h:45: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/system-alloc.cc:55: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ src/system-alloc.cc:243:34: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] if (reinterpret_cast(sbrk(0)) + size < size) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ src/system-alloc.cc:247:18: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] void* result = sbrk(size); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ src/system-alloc.cc:258:14: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] void* r2 = sbrk(extra); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ src/system-alloc.cc:266:12: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] result = sbrk(size + alignment - 1); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:196:40: note: expanded from macro '__deprecated' #define __deprecated __attribute__((__deprecated__)) ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:42: In file included from ./src/base/spinlock.h:44: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ 14 warnings generated. mv -f src/.deps/tcm_min_asserts_unittest-system-alloc.Tpo src/.deps/tcm_min_asserts_unittest-system-alloc.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tcm_min_asserts_unittest-span.o -MD -MP -MF src/.deps/tcm_min_asserts_unittest-span.Tpo -c -o src/tcm_min_asserts_unittest-span.o `test -f 'src/span.cc' || echo './'`src/span.cc In file included from src/central_freelist.cc:36: In file included from ./src/central_freelist.h:45: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/page_heap.cc:40: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/page_heap.cc:44: In file included from ./src/static_vars.h:42: In file included from ./src/central_freelist.h:45: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 34 warnings generated. In file included from src/sampler.cc:36: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:42: In file included from ./src/central_freelist.h:45: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ mv -f src/tests/.deps/heap_checker_debug_unittest-heap-checker_unittest.Tpo src/tests/.deps/heap_checker_debug_unittest-heap-checker_unittest.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tcm_min_asserts_unittest-stack_trace_table.o -MD -MP -MF src/.deps/tcm_min_asserts_unittest-stack_trace_table.Tpo -c -o src/tcm_min_asserts_unittest-stack_trace_table.o `test -f 'src/stack_trace_table.cc' || echo './'`src/stack_trace_table.cc 11 warnings generated. mv -f src/.deps/tcm_min_asserts_unittest-sampler.Tpo src/.deps/tcm_min_asserts_unittest-sampler.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tcm_min_asserts_unittest-static_vars.o -MD -MP -MF src/.deps/tcm_min_asserts_unittest-static_vars.Tpo -c -o src/tcm_min_asserts_unittest-static_vars.o `test -f 'src/static_vars.cc' || echo './'`src/static_vars.cc In file included from src/stack_trace_table.cc:35: In file included from ./src/stack_trace_table.h:43: In file included from ./src/common.h:45: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ 11 warnings generated. In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/stack_trace_table.cc:37: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ mv -f src/.deps/tcm_min_asserts_unittest-central_freelist.Tpo src/.deps/tcm_min_asserts_unittest-central_freelist.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tcm_min_asserts_unittest-symbolize.o -MD -MP -MF src/.deps/tcm_min_asserts_unittest-symbolize.Tpo -c -o src/tcm_min_asserts_unittest-symbolize.o `test -f 'src/symbolize.cc' || echo './'`src/symbolize.cc 76 warnings generated. In file included from src/span.cc:35: In file included from ./src/span.h:41: In file included from ./src/common.h:45: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here mv -f src/tests/.deps/tcmalloc_minimal_unittest-tcmalloc_unittest.Tpo src/tests/.deps/tcmalloc_minimal_unittest-tcmalloc_unittest.Po extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tcm_min_asserts_unittest-thread_cache.o -MD -MP -MF src/.deps/tcm_min_asserts_unittest-thread_cache.Tpo -c -o src/tcm_min_asserts_unittest-thread_cache.o `test -f 'src/thread_cache.cc' || echo './'`src/thread_cache.cc In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:40: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/span.cc:35: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/span.cc:41: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ 11 warnings generated. mv -f src/.deps/tcm_min_asserts_unittest-span.Tpo src/.deps/tcm_min_asserts_unittest-span.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tcm_min_asserts_unittest-malloc_hook.o -MD -MP -MF src/.deps/tcm_min_asserts_unittest-malloc_hook.Tpo -c -o src/tcm_min_asserts_unittest-malloc_hook.o `test -f 'src/malloc_hook.cc' || echo './'`src/malloc_hook.cc In file included from src/stack_trace_table.cc:41: In file included from ./src/static_vars.h:42: In file included from ./src/central_freelist.h:45: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/static_vars.cc:35: In file included from ./src/static_vars.h:42: In file included from ./src/central_freelist.h:45: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:46: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ 11 warnings generated. mv -f src/.deps/tcm_min_asserts_unittest-stack_trace_table.Tpo src/.deps/tcm_min_asserts_unittest-stack_trace_table.Po In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from In file included from src/thread_cache.cc:35: In file included from src/symbolize.cc:60: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (_dyld_present()) { ^ if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: 11 warnings generated. :'_dyld_present' has been explicitly marked deprecated here 503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here mv -f src/.deps/tcm_min_asserts_unittest-page_heap.Tpo src/.deps/tcm_min_asserts_unittest-page_heap.Po bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tcm_min_asserts_unittest-malloc_extension.o -MD -MP -MF src/.deps/tcm_min_asserts_unittest-malloc_extension.Tpo -c -o src/tcm_min_asserts_unittest-malloc_extension.o `test -f 'src/malloc_extension.cc' || echo './'`src/malloc_extension.cc In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from In file included from src/symbolize.cc:61: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ./src/sampler.h: WRITE_TO_STDERR(buf, strlen(buf)); ^ 47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tcm_min_asserts_unittest-tcmalloc.o -MD -MP -MF src/.deps/tcm_min_asserts_unittest-tcmalloc.Tpo -c -o src/tcm_min_asserts_unittest-tcmalloc.o `test -f 'src/tcmalloc.cc' || echo './'`src/tcmalloc.cc } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ int syscall(int, ...); ^ In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ 76 warnings generated. In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ mv -f src/tests/.deps/tcm_min_asserts_unittest-tcmalloc_unittest.Tpo src/tests/.deps/tcm_min_asserts_unittest-tcmalloc_unittest.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/tcmalloc_minimal_large_unittest-tcmalloc_large_unittest.o -MD -MP -MF src/tests/.deps/tcmalloc_minimal_large_unittest-tcmalloc_large_unittest.Tpo -c -o src/tests/tcmalloc_minimal_large_unittest-tcmalloc_large_unittest.o `test -f 'src/tests/tcmalloc_large_unittest.cc' || echo './'`src/tests/tcmalloc_large_unittest.cc In file included from src/thread_cache.cc:35: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:42: In file included from ./src/central_freelist.h:45: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 11 warnings generated. mv -f src/.deps/tcm_min_asserts_unittest-static_vars.Tpo src/.deps/tcm_min_asserts_unittest-static_vars.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/tcmalloc_minimal_large_heap_fragmentation_unittest-large_heap_fragmentation_unittest.o -MD -MP -MF src/tests/.deps/tcmalloc_minimal_large_heap_fragmentation_unittest-large_heap_fragmentation_unittest.Tpo -c -o src/tests/tcmalloc_minimal_large_heap_fragmentation_unittest-large_heap_fragmentation_unittest.o `test -f 'src/tests/large_heap_fragmentation_unittest.cc' || echo './'`src/tests/large_heap_fragmentation_unittest.cc In file included from src/malloc_hook.cc:50: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/malloc_hook.cc:50: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/malloc_hook.cc:51: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ src/malloc_hook.cc:143:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemoveNewHook(&InitialNewHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/malloc_hook.cc:144:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemovePreMmapHook(&InitialPreMMapHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/malloc_hook.cc:145:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(MallocHook::RemovePreSbrkHook(&InitialPreSbrkHook), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/malloc_hook.cc:337:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(mmap_replacement_.empty(), "Only one MMapReplacement is allowed."); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/malloc_hook.cc:376:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(munmap_replacement_.empty(), ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 2 warnings generated. mv -f src/.deps/tcm_min_asserts_unittest-symbolize.Tpo src/.deps/tcm_min_asserts_unittest-symbolize.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -g -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/addressmap_unittest-addressmap_unittest.o -MD -MP -MF src/tests/.deps/addressmap_unittest-addressmap_unittest.Tpo -c -o src/tests/addressmap_unittest-addressmap_unittest.o `test -f 'src/tests/addressmap_unittest.cc' || echo './'`src/tests/addressmap_unittest.cc 11 warnings generated. mv -f src/.deps/tcm_min_asserts_unittest-thread_cache.Tpo src/.deps/tcm_min_asserts_unittest-thread_cache.Po mv -f src/.deps/libtcmalloc_la-heap-checker.Tpo src/.deps/libtcmalloc_la-heap-checker.Plo clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/system_alloc_unittest-system-alloc_unittest.o -MD -MP -MF src/tests/.deps/system_alloc_unittest-system-alloc_unittest.Tpo -c -o src/tests/system_alloc_unittest-system-alloc_unittest.o `test -f 'src/tests/system-alloc_unittest.cc' || echo './'`src/tests/system-alloc_unittest.cc clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/packed_cache_test-packed-cache_test.o -MD -MP -MF src/tests/.deps/packed_cache_test-packed-cache_test.Tpo -c -o src/tests/packed_cache_test-packed-cache_test.o `test -f 'src/tests/packed-cache_test.cc' || echo './'`src/tests/packed-cache_test.cc In file included from src/tcmalloc.cc:118: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tcmalloc.cc:121: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/malloc_extension.cc:47: In file included from ./src/base/sysinfo.h:49: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/malloc_extension.cc:47: In file included from ./src/base/sysinfo.h:50: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tcmalloc.cc:122: In file included from ./src/central_freelist.h:45: In file included from ./src/span.h:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/tcmalloc_large_unittest.cc:44: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/tcmalloc_large_unittest.cc:44: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/large_heap_fragmentation_unittest.cc:38: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/large_heap_fragmentation_unittest.cc:38: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_large_unittest.cc:54:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 == NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_large_unittest.cc:57:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_large_unittest.cc:60:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p3 == NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_large_unittest.cc:78:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p[i * (size / kPoints)] == static_cast(i)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_large_unittest.cc:82:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p[size-1] == 'M'); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_large_unittest.cc:98:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_large_unittest.cc:99:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p_set.find(p) == p_set.end()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_large_unittest.cc:108:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p_small != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 2 warnings generated. In file included from src/tcmalloc.cc:150: In file included from ./src/libc_override.h:84: ./src/libc_override_osx.h:184:6: warning: unused function 'mi_statistics' [-Wunused-function] void mi_statistics(malloc_zone_t *zone, malloc_statistics_t *stats) { ^ mv -f src/tests/.deps/tcmalloc_minimal_large_heap_fragmentation_unittest-large_heap_fragmentation_unittest.Tpo src/tests/.deps/tcmalloc_minimal_large_heap_fragmentation_unittest-large_heap_fragmentation_unittest.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/frag_unittest-frag_unittest.o -MD -MP -MF src/tests/.deps/frag_unittest-frag_unittest.Tpo -c -o src/tests/frag_unittest-frag_unittest.o `test -f 'src/tests/frag_unittest.cc' || echo './'`src/tests/frag_unittest.cc 2 warnings generated. mv -f src/.deps/tcm_min_asserts_unittest-malloc_extension.Tpo src/.deps/tcm_min_asserts_unittest-malloc_extension.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/markidle_unittest-markidle_unittest.o -MD -MP -MF src/tests/.deps/markidle_unittest-markidle_unittest.Tpo -c -o src/tests/markidle_unittest-markidle_unittest.o `test -f 'src/tests/markidle_unittest.cc' || echo './'`src/tests/markidle_unittest.cc 10 warnings generated. mv -f src/tests/.deps/tcmalloc_minimal_large_unittest-tcmalloc_large_unittest.Tpo src/tests/.deps/tcmalloc_minimal_large_unittest-tcmalloc_large_unittest.Po In file included from src/tests/system-alloc_unittest.cc:49: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/markidle_unittest-testutil.o -MD -MP -MF src/tests/.deps/markidle_unittest-testutil.Tpo -c -o src/tests/markidle_unittest-testutil.o `test -f 'src/tests/testutil.cc' || echo './'`src/tests/testutil.cc extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/system-alloc_unittest.cc:49: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/packed-cache_test.cc:35: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/packed-cache_test.cc:35: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/packed-cache_test.cc:43:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(cache.TryGet(key, &rv)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/packed-cache_test.cc:57:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(!Has(cache, 0)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/packed-cache_test.cc:59:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(Has(cache, 0)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/packed-cache_test.cc:68:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(!Has(cache, 0)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/packed-cache_test.cc:72:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(!Has(cache, 19)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/packed-cache_test.cc:73:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(!Has(cache, 0)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/packed-cache_test.cc:74:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(Has(cache, 1 << kHashbits)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/addressmap_unittest.cc:40: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/addressmap_unittest.cc:40: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 16 warnings generated. src/tests/system-alloc_unittest.cc:114:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(a.invoked_); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/system-alloc_unittest.cc:147:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 == NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/system-alloc_unittest.cc:151:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(q != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ mv -f src/.deps/tcm_min_asserts_unittest-malloc_hook.Tpo src/.deps/tcm_min_asserts_unittest-malloc_hook.Po 9 warnings generated. src/tests/addressmap_unittest.cc:103:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(!map.Find(p)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/addressmap_unittest.cc:105:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(!map.FindInside(&SizeFunc, kMaxSize, p + offs, &res_p)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/addressmap_unittest.cc:107:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(result = map.Find(p)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/addressmap_unittest.cc:109:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(result = map.FindInside(&SizeFunc, kMaxRealSize, p + offs, &res_p)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/current_allocated_bytes_test-current_allocated_bytes_test.o -MD -MP -MF src/tests/.deps/current_allocated_bytes_test-current_allocated_bytes_test.Tpo -c -o src/tests/current_allocated_bytes_test-current_allocated_bytes_test.o `test -f 'src/tests/current_allocated_bytes_test.cc' || echo './'`src/tests/current_allocated_bytes_test.cc src/tests/addressmap_unittest.cc:113:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(result = map.Find(p)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ mv -f src/tests/.deps/packed_cache_test-packed-cache_test.Tpo src/tests/.deps/packed_cache_test-packed-cache_test.Po src/tests/addressmap_unittest.cc:121:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(map.FindAndRemove(p, &removed)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/addressmap_unittest.cc:128:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(result = map.Find(p)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/addressmap_unittest.cc:131:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(result = map.FindInside(&SizeFunc, kMaxRealSize, p + offs, &res_p)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/addressmap_unittest.cc:135:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(result = map.Find(p)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/addressmap_unittest.cc:143:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(!map.FindInside(&SizeFunc, kMaxSize, p + offs, &res_p)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/addressmap_unittest.cc:145:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(result = map.Find(p)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/addressmap_unittest.cc:147:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(result = map.FindInside(&SizeFunc, kMaxRealSize, p + offs, &res_p)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/malloc_hook_test-malloc_hook_test.o -MD -MP -MF src/tests/.deps/malloc_hook_test-malloc_hook_test.Tpo -c -o src/tests/malloc_hook_test-malloc_hook_test.o `test -f 'src/tests/malloc_hook_test.cc' || echo './'`src/tests/malloc_hook_test.cc src/tests/addressmap_unittest.cc:159:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(result = map.Find(p)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 5 warnings generated. mv -f src/tests/.deps/system_alloc_unittest-system-alloc_unittest.Tpo src/tests/.deps/system_alloc_unittest-system-alloc_unittest.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/malloc_hook_test-testutil.o -MD -MP -MF src/tests/.deps/malloc_hook_test-testutil.Tpo -c -o src/tests/malloc_hook_test-testutil.o `test -f 'src/tests/testutil.cc' || echo './'`src/tests/testutil.cc mv -f src/tests/.deps/markidle_unittest-testutil.Tpo src/tests/.deps/markidle_unittest-testutil.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/malloc_extension_test-malloc_extension_test.o -MD -MP -MF src/tests/.deps/malloc_extension_test-malloc_extension_test.Tpo -c -o src/tests/malloc_extension_test-malloc_extension_test.o `test -f 'src/tests/malloc_extension_test.cc' || echo './'`src/tests/malloc_extension_test.cc In file included from src/tests/markidle_unittest.cc:38: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/markidle_unittest.cc:38: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ mv -f src/tests/.deps/malloc_hook_test-testutil.Tpo src/tests/.deps/malloc_hook_test-testutil.Po In file included from src/tests/frag_unittest.cc:47: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/frag_unittest.cc:47: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ clang -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -ansi -O2 -MT src/tests/malloc_extension_c_test-malloc_extension_c_test.o -MD -MP -MF src/tests/.deps/malloc_extension_c_test-malloc_extension_c_test.Tpo -c -o src/tests/malloc_extension_c_test-malloc_extension_c_test.o `test -f 'src/tests/malloc_extension_c_test.c' || echo './'`src/tests/malloc_extension_c_test.c src/tests/markidle_unittest.cc:76:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(MallocExtension::instance()->GetNumericProperty( ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 3 warnings generated. mv -f src/tests/.deps/markidle_unittest-markidle_unittest.Tpo src/tests/.deps/markidle_unittest-markidle_unittest.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/page_heap_test-page_heap_test.o -MD -MP -MF src/tests/.deps/page_heap_test-page_heap_test.Tpo -c -o src/tests/page_heap_test-page_heap_test.o `test -f 'src/tests/page_heap_test.cc' || echo './'`src/tests/page_heap_test.cc 2 warnings generated. mv -f src/tests/.deps/frag_unittest-frag_unittest.Tpo src/tests/.deps/frag_unittest-frag_unittest.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/pagemap_unittest-pagemap_unittest.o -MD -MP -MF src/tests/.deps/pagemap_unittest-pagemap_unittest.Tpo -c -o src/tests/pagemap_unittest-pagemap_unittest.o `test -f 'src/tests/pagemap_unittest.cc' || echo './'`src/tests/pagemap_unittest.cc mv -f src/tests/.deps/malloc_extension_c_test-malloc_extension_c_test.Tpo src/tests/.deps/malloc_extension_c_test-malloc_extension_c_test.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/realloc_unittest-realloc_unittest.o -MD -MP -MF src/tests/.deps/realloc_unittest-realloc_unittest.Tpo -c -o src/tests/realloc_unittest-realloc_unittest.o `test -f 'src/tests/realloc_unittest.cc' || echo './'`src/tests/realloc_unittest.cc In file included from src/tests/current_allocated_bytes_test.cc:47: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/current_allocated_bytes_test.cc:47: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/malloc_extension_test.cc:39: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/malloc_extension_test.cc:39: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/malloc_hook_test.cc:47: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/tests/malloc_hook_test.cc:47: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/malloc_hook_test.cc:47: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/malloc_hook_test.cc:47: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/malloc_hook_test.cc:47: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: 2 warnings generated. note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/malloc_hook_test.cc:47: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/malloc_hook_test.cc:47: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/malloc_hook_test.cc:47: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/malloc_hook_test.cc:47: In file included from ./src/malloc_hook-inl.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ mv -f src/tests/.deps/current_allocated_bytes_test-current_allocated_bytes_test.Tpo src/tests/.deps/current_allocated_bytes_test-current_allocated_bytes_test.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/stack_trace_table_test-stack_trace_table_test.o -MD -MP -MF src/tests/.deps/stack_trace_table_test-stack_trace_table_test.Tpo -c -o src/tests/stack_trace_table_test-stack_trace_table_test.o `test -f 'src/tests/stack_trace_table_test.cc' || echo './'`src/tests/stack_trace_table_test.cc src/tests/malloc_extension_test.cc:47:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ASSERT_TRUE(MallocExtension::instance()->GetNumericProperty( ^ ./src/base/logging.h:167:31: note: expanded from macro 'ASSERT_TRUE' #define ASSERT_TRUE(cond) EXPECT_TRUE(cond) ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/malloc_extension_test.cc:49:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ASSERT_TRUE(MallocExtension_GetNumericProperty( ^ ./src/base/logging.h:167:31: note: expanded from macro 'ASSERT_TRUE' #define ASSERT_TRUE(cond) EXPECT_TRUE(cond) ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/malloc_extension_test.cc:54:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ASSERT_TRUE(MallocExtension::instance()->VerifyAllMemory()); ^ ./src/base/logging.h:167:31: note: expanded from macro 'ASSERT_TRUE' #define ASSERT_TRUE(cond) EXPECT_TRUE(cond) ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/malloc_extension_test.cc:55:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ASSERT_TRUE(MallocExtension_VerifyAllMemory()); ^ ./src/base/logging.h:167:31: note: expanded from macro 'ASSERT_TRUE' #define ASSERT_TRUE(cond) EXPECT_TRUE(cond) ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/malloc_hook_test.cc:47: In file included from ./src/malloc_hook-inl.h:44: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/malloc_hook_test.cc:48: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/malloc_hook_test.cc:132:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ASSERT_TRUE(TestHookList_Remove(&list, 69)); ^ ./src/base/logging.h:167:31: note: expanded from macro 'ASSERT_TRUE' #define ASSERT_TRUE(cond) EXPECT_TRUE(cond) ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/malloc_hook_test.cc:141:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ASSERT_TRUE(TestHookList_Add(&list, 42)); ^ ./src/base/logging.h:167:31: note: expanded from macro 'ASSERT_TRUE' #define ASSERT_TRUE(cond) EXPECT_TRUE(cond) ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/malloc_hook_test.cc:152:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ASSERT_TRUE(TestHookList_Add(&list, 42)); ^ ./src/base/logging.h:167:31: note: expanded from macro 'ASSERT_TRUE' #define ASSERT_TRUE(cond) EXPECT_TRUE(cond) ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/malloc_hook_test.cc:154:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ASSERT_TRUE(TestHookList_Remove(&list, 69)); ^ ./src/base/logging.h:167:31: note: expanded from macro 'ASSERT_TRUE' #define ASSERT_TRUE(cond) EXPECT_TRUE(cond) ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/malloc_hook_test.cc:161:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ASSERT_TRUE(TestHookList_Remove(&list, 42)); ^ ./src/base/logging.h:167:31: note: expanded from macro 'ASSERT_TRUE' #define ASSERT_TRUE(cond) EXPECT_TRUE(cond) ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/malloc_hook_test.cc:168:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ASSERT_TRUE(TestHookList_Add(&list, 42)); ^ ./src/base/logging.h:167:31: note: expanded from macro 'ASSERT_TRUE' #define ASSERT_TRUE(cond) EXPECT_TRUE(cond) ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/malloc_hook_test.cc:170:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ASSERT_TRUE(TestHookList_Remove(&list, 69)); ^ ./src/base/logging.h:167:31: note: expanded from macro 'ASSERT_TRUE' #define ASSERT_TRUE(cond) EXPECT_TRUE(cond) ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/malloc_hook_test.cc:173:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ASSERT_TRUE(TestHookList_Add(&list, 7)); ^ ./src/base/logging.h:167:31: note: expanded from macro 'ASSERT_TRUE' #define ASSERT_TRUE(cond) EXPECT_TRUE(cond) ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/malloc_hook_test.cc:184:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_FALSE(TestHookList_Add(&list, 0)); ^ ./src/base/logging.h:165:31: note: expanded from macro 'EXPECT_FALSE' #define EXPECT_FALSE(cond) CHECK(!(cond)) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/malloc_hook_test.cc:220:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(TestHookList_Add(list, value)); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/malloc_hook_test.cc:234:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(TestHookList_Remove(list, value)); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/malloc_hook_test.cc:279:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ASSERT_TRUE(TestHookList_Remove(&list, 69)); ^ ./src/base/logging.h:167:31: note: expanded from macro 'ASSERT_TRUE' #define ASSERT_TRUE(cond) EXPECT_TRUE(cond) ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 6 warnings generated. mv -f src/tests/.deps/malloc_extension_test-malloc_extension_test.Tpo src/tests/.deps/malloc_extension_test-malloc_extension_test.Po In file included from src/tests/stack_trace_table_test.cc:11: In file included from ./src/stack_trace_table.h:43: In file included from ./src/common.h:45: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/thread_dealloc_unittest-thread_dealloc_unittest.o -MD -MP -MF src/tests/.deps/thread_dealloc_unittest-thread_dealloc_unittest.Tpo -c -o src/tests/thread_dealloc_unittest-thread_dealloc_unittest.o `test -f 'src/tests/thread_dealloc_unittest.cc' || echo './'`src/tests/thread_dealloc_unittest.cc In file included from src/tests/page_heap_test.cc:14: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/page_heap_test.cc:14: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/page_heap_test.cc:15: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/tests/page_heap_test.cc:15: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/page_heap_test.cc:15: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/page_heap_test.cc:15: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/page_heap_test.cc:15: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/page_heap_test.cc:15: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/page_heap_test.cc:15: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/page_heap_test.cc:15: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/page_heap_test.cc:15: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ 15 warnings generated. mv -f src/tests/.deps/addressmap_unittest-addressmap_unittest.Tpo src/tests/.deps/addressmap_unittest-addressmap_unittest.Po In file included from src/tests/realloc_unittest.cc:42: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ src/tests/page_heap_test.cc:146:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(ph->CheckExpensive()); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/page_heap_test.cc:152:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(ph->CheckExpensive()); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' In file included from src/tests/realloc_unittest.cc:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/thread_dealloc_unittest-testutil.o -MD -MP -MF src/tests/.deps/thread_dealloc_unittest-testutil.Tpo -c -o src/tests/thread_dealloc_unittest-testutil.o `test -f 'src/tests/testutil.cc' || echo './'`src/tests/testutil.cc #define EXPECT_TRUE(cond) CHECK(cond) ^ WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len)int syscall(int, ...); ^ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/page_heap_test.cc:184:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(ph->CheckExpensive()); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' src/tests/realloc_unittest.ccIn file included from :96:7: warning: src/tests/pagemap_unittest.cc'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]: #define EXPECT_TRUE(cond) CHECK(cond) ^ CHECK(Valid(dst, min(src_size, dst_size))); ^ 44: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311./src/base/logging.h:87:7: note: expanded from macro 'CHECK' ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' :9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] WRITE_TO_STDERR("Check failed: " #condition "\n", \ if (_dyld_present()) { ^ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ int syscall(int, ...); ^ src/tests/realloc_unittest.cc:98:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(Valid(dst, dst_size)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/pagemap_unittest.cc:44: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/pagemap_unittest.cc:129:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(map.Next(0) == NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/pagemap_unittest.cc:130:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(map.Next(5) == NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/pagemap_unittest.cc:131:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(map.Next(1<<30) == NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/pagemap_unittest.cc:136:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(map.Next(0) == &a); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/pagemap_unittest.cc:137:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(map.Next(39) == &a); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/pagemap_unittest.cc:138:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(map.Next(40) == &a); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/pagemap_unittest.cc:139:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(map.Next(41) == NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/pagemap_unittest.cc:140:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(map.Next(1<<30) == NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/pagemap_unittest.cc:149:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(map.Next(0) == &a); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/pagemap_unittest.cc:150:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(map.Next(39) == &a); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/pagemap_unittest.cc:151:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(map.Next(40) == &a); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/pagemap_unittest.cc:152:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(map.Next(41) == &b); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/pagemap_unittest.cc:153:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(map.Next(42) == &c); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/pagemap_unittest.cc:154:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(map.Next(63) == &c); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/pagemap_unittest.cc:155:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(map.Next(64) == &c); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/pagemap_unittest.cc:156:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(map.Next(65) == &c); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/pagemap_unittest.cc:157:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(map.Next(99) == &c); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/pagemap_unittest.cc:158:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(map.Next(100) == &c); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/pagemap_unittest.cc:159:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(map.Next(101) == &d); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/pagemap_unittest.cc:160:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(map.Next(102) == &e); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/pagemap_unittest.cc:161:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(map.Next(103) == NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 23 warnings generated. In file included from src/tests/stack_trace_table_test.cc:12: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/stack_trace_table_test.cc:13: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/tests/stack_trace_table_test.cc:13: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/stack_trace_table_test.cc:13: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/stack_trace_table_test.cc:13: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/stack_trace_table_test.cc:13: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/stack_trace_table_test.cc:13: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/stack_trace_table_test.cc:13: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/stack_trace_table_test.cc:13: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] mv -f src/tests/.deps/malloc_hook_test-malloc_hook_test.Tpo src/tests/.deps/malloc_hook_test-malloc_hook_test.Po } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/stack_trace_table_test.cc:13: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ 4 warnings generated. mv -f src/tests/.deps/realloc_unittest-realloc_unittest.Tpo src/tests/.deps/realloc_unittest-realloc_unittest.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DDEBUGALLOCATION -O2 -MT src/tests/tcmalloc_minimal_debug_unittest-tcmalloc_unittest.o -MD -MP -MF src/tests/.deps/tcmalloc_minimal_debug_unittest-tcmalloc_unittest.Tpo -c -o src/tests/tcmalloc_minimal_debug_unittest-tcmalloc_unittest.o `test -f 'src/tests/tcmalloc_unittest.cc' || echo './'`src/tests/tcmalloc_unittest.cc clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DDEBUGALLOCATION -O2 -MT src/tests/tcmalloc_minimal_debug_unittest-testutil.o -MD -MP -MF src/tests/.deps/tcmalloc_minimal_debug_unittest-testutil.Tpo -c -o src/tests/tcmalloc_minimal_debug_unittest-testutil.o `test -f 'src/tests/testutil.cc' || echo './'`src/tests/testutil.cc In file included from src/tests/thread_dealloc_unittest.cc:41: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/thread_dealloc_unittest.cc:41: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ mv -f src/tests/.deps/thread_dealloc_unittest-testutil.Tpo src/tests/.deps/thread_dealloc_unittest-testutil.Po /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DTCMALLOC_FOR_DEBUGALLOCATION -O2 -MT src/libtcmalloc_minimal_debug_la-debugallocation.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_debug_la-debugallocation.Tpo -c -o src/libtcmalloc_minimal_debug_la-debugallocation.lo `test -f 'src/debugallocation.cc' || echo './'`src/debugallocation.cc 14 warnings generated. mv -f src/tests/.deps/page_heap_test-page_heap_test.Tpo src/tests/.deps/page_heap_test-page_heap_test.Po 12 warnings generated. mv -f src/.deps/tcm_min_asserts_unittest-tcmalloc.Tpo src/.deps/tcm_min_asserts_unittest-tcmalloc.Po 11 warnings generated. clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/malloc_extension_debug_test-malloc_extension_test.o -MD -MP -MF src/tests/.deps/malloc_extension_debug_test-malloc_extension_test.Tpo -c -o src/tests/malloc_extension_debug_test-malloc_extension_test.o `test -f 'src/tests/malloc_extension_test.cc' || echo './'`src/tests/malloc_extension_test.cc 2 warnings generated. mv -f src/tests/.deps/thread_dealloc_unittest-thread_dealloc_unittest.Tpo src/tests/.deps/thread_dealloc_unittest-thread_dealloc_unittest.Po mv -f src/tests/.deps/stack_trace_table_test-stack_trace_table_test.Tpo src/tests/.deps/stack_trace_table_test-stack_trace_table_test.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/realloc_debug_unittest-realloc_unittest.o -MD -MP -MF src/tests/.deps/realloc_debug_unittest-realloc_unittest.Tpo -c -o src/tests/realloc_debug_unittest-realloc_unittest.o `test -f 'src/tests/realloc_unittest.cc' || echo './'`src/tests/realloc_unittest.cc clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/tcmalloc_large_unittest-tcmalloc_large_unittest.o -MD -MP -MF src/tests/.deps/tcmalloc_large_unittest-tcmalloc_large_unittest.Tpo -c -o src/tests/tcmalloc_large_unittest-tcmalloc_large_unittest.o `test -f 'src/tests/tcmalloc_large_unittest.cc' || echo './'`src/tests/tcmalloc_large_unittest.cc clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/tcmalloc_large_heap_fragmentation_unittest-large_heap_fragmentation_unittest.o -MD -MP -MF src/tests/.deps/tcmalloc_large_heap_fragmentation_unittest-large_heap_fragmentation_unittest.Tpo -c -o src/tests/tcmalloc_large_heap_fragmentation_unittest-large_heap_fragmentation_unittest.o `test -f 'src/tests/large_heap_fragmentation_unittest.cc' || echo './'`src/tests/large_heap_fragmentation_unittest.cc mv -f src/tests/.deps/tcmalloc_minimal_debug_unittest-testutil.Tpo src/tests/.deps/tcmalloc_minimal_debug_unittest-testutil.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/raw_printer_test-raw_printer_test.o -MD -MP -MF src/tests/.deps/raw_printer_test-raw_printer_test.Tpo -c -o src/tests/raw_printer_test-raw_printer_test.o `test -f 'src/tests/raw_printer_test.cc' || echo './'`src/tests/raw_printer_test.cc libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DTCMALLOC_FOR_DEBUGALLOCATION -O2 -MT src/libtcmalloc_minimal_debug_la-debugallocation.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_debug_la-debugallocation.Tpo -c src/debugallocation.cc -fno-common -DPIC -o src/.libs/libtcmalloc_minimal_debug_la-debugallocation.o In file included from src/tests/raw_printer_test.cc:8: In file included from ./src/raw_printer.h:47: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/tcmalloc_unittest.cc:90: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/tcmalloc_unittest.cc:90: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ src/tests/tcmalloc_unittest.cc:478:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(object.ptr); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:606:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p == NULL); // huge allocation s should fail! ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:630:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(inst); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:639:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p == NULL); // calloc(n, s) should not succeed ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:641:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p != NULL); // calloc(n, s) should succeed ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:643:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p[i] == '\0'); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:802:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(NewHook, const void*, size_t); ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/malloc_extension_test.cc:39: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:src/tests/tcmalloc_unittest.cc56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] In file included from src/tests/realloc_unittest.cc:42: In file included from ./src/base/logging.h:49: In file included from :./src/base/commandlineflags.h if (_dyld_present()) { ^ :56: ./src/base/basictypes.h/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here :311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] 802:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ if (_dyld_present()) { ^ MAKE_HOOK_CALLBACK(NewHook, const void*, size_t); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:803:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(DeleteHook, const void*); ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:803:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(DeleteHook, const void*); ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' In file included from src/tests/malloc_extension_test.ccIn file included from src/tests/realloc_unittest.cc:42: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] :39: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' ./src/base/logging.h:61: WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ 35: note: expanded from macro 'WRITE_TO_STDERR' ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ int syscall(int, ...); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:804:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MmapHook, const void*, const void*, size_t, int, int, int, ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:804:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MmapHook, const void*, const void*, size_t, int, int, int, ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' src/tests/realloc_unittest.cc:96:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ CHECK(Valid(dst, min(src_size, dst_size))); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6#define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ : note: 'syscall' has been explicitly marked deprecated here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ int syscall(int, ...); ^ src/tests/realloc_unittest.cc:98:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(Valid(dst, dst_size)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' src/tests/tcmalloc_unittest.cc: WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ 806:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' MAKE_HOOK_CALLBACK(MremapHook, const void*, const void*, size_t, size_t, int, ^ #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742: CHECK(MallocHook::Add##hook_type( \ ^ 6: note: 'syscall' has been explicitly marked deprecated here ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' int syscall(int, ...); ^ WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:806:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MremapHook, const void*, const void*, size_t, size_t, int, ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:808:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MunmapHook, const void *, size_t); ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:808:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MunmapHook, const void *, size_t); ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:809:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(SbrkHook, const void *, ptrdiff_t); ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:809:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(SbrkHook, const void *, ptrdiff_t); ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:818:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((p % sizeof(void*)) == 0); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:819:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((p % sizeof(double)) == 0); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:824:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((p % kMinAlign) == 0); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:871:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(r->type == base::MallocRange::FREE || ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/large_heap_fragmentation_unittest.cc:38: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: src/tests/tcmalloc_unittest.cc:892:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] warning CHECK(state.matched);: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] ^ if (_dyld_present()) { ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13 WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ : note: '_dyld_present' has been explicitly marked deprecated here ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1071:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(g_no_memory); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' In file included from src/tests/large_heap_fragmentation_unittest.cc:38: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1077:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(g_no_memory); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1083:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(g_no_memory); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^src/tests/malloc_extension_test.cc :47:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' ASSERT_TRUE(MallocExtension::instance()->GetNumericProperty( ^ WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:167:31: note: expanded from macro 'ASSERT_TRUE' ./src/base/logging.h:61:35#define ASSERT_TRUE(cond) EXPECT_TRUE(cond) ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' : note: expanded from macro 'WRITE_TO_STDERR' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ int syscall(int, ...); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/malloc_extension_test.cc:49:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] src/tests/tcmalloc_unittest.cc:1094:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ASSERT_TRUE(MallocExtension_GetNumericProperty( ^ EXPECT_TRUE(g_no_memory); ^ ./src/base/logging.h:167:31: note: expanded from macro 'ASSERT_TRUE' ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define ASSERT_TRUE(cond) EXPECT_TRUE(cond) ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' #define EXPECT_TRUE(cond) CHECK(cond) ^ WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:./src/base/logging.h:87:7: note: expanded from macro 'CHECK' 35: note: expanded from macro 'WRITE_TO_STDERR' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ int syscall(int, ...); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1101:5src/tests/malloc_extension_test.cc:: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] 54:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(g_no_memory); ^ ASSERT_TRUE(MallocExtension::instance()->VerifyAllMemory()); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' ./src/base/logging.h:167:31: note: expanded from macro 'ASSERT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ #define ASSERT_TRUE(cond) EXPECT_TRUE(cond) ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' #define EXPECT_TRUE(cond) CHECK(cond) ^ WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ int syscall(int, ...); ^ src/tests/malloc_extension_test.cc:55:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ASSERT_TRUE(MallocExtension_VerifyAllMemory()); ^ ./src/base/logging.h:167:31: note: expanded from macro 'ASSERT_TRUE' #define ASSERT_TRUE(cond) EXPECT_TRUE(cond) ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1251:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1253:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1254:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != p2); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/tcmalloc_large_unittest.cc:44: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/tcmalloc_large_unittest.cc:44: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_large_unittest.cc:54:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 == NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_large_unittest.cc:57:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_large_unittest.cc:60:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p3 == NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_large_unittest.cc:78:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p[i * (size / kPoints)] == static_cast(i)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' src/tests/tcmalloc_unittest.cc:1280:5: warning WRITE_TO_STDERR("Check failed: " #condition "\n", \: ^ 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' CHECK(p1 != NULL); // force use of this variable ^ #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ ./src/base/logging.h:87/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ :7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' src/tests/tcmalloc_large_unittest.cc:82:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ CHECK(p[size-1] == 'M'); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' int syscall(int, ...); ^ WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1290:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1296:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1302:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: noteIn file included from src/tests/raw_printer_test.cc:11: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ : expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1310:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1316:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1332:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1338:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1344:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' src/tests/tcmalloc_large_unittest.cc:98:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_large_unittest.cc:99:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p_set.find(p) == p_set.end()); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: src/tests/tcmalloc_large_unittest.cc:108:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] expanded from macro 'WRITE_TO_STDERR' CHECK(p_small != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len)int syscall(int, ...); ^ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1350:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' 4 warnings generated. WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1356:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK'2 warnings generated. WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ mv -f src/tests/.deps/realloc_debug_unittest-realloc_unittest.Tpo src/tests/.deps/realloc_debug_unittest-realloc_unittest.Po src/tests/tcmalloc_unittest.cc:1362:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' mv -f src/tests/.deps/tcmalloc_large_heap_fragmentation_unittest-large_heap_fragmentation_unittest.Tpo src/tests/.deps/tcmalloc_large_heap_fragmentation_unittest-large_heap_fragmentation_unittest.Po #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1369:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1376:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1398:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(poveraligned != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1399:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)poveraligned) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1405:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(poveraligned != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1406:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)poveraligned) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1412:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(poveraligned != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1413:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)poveraligned) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1419:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(poveraligned != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1420:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)poveraligned) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1427:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1428:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)p2) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1434:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/sampler_test-sampler_test.o -MD -MP -MF src/tests/.deps/sampler_test-sampler_test.Tpo -c -o src/tests/sampler_test-sampler_test.o `test -f 'src/tests/sampler_test.cc' || echo './'`src/tests/sampler_test.cc :35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1435:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)p2) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' depbase=`echo src/tests/simple_compat_test.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/simple_compat_test.o -MD -MP -MF $depbase.Tpo -c -o src/tests/simple_compat_test.o src/tests/simple_compat_test.cc &&\ mv -f $depbase.Tpo $depbase.Po #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1461:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1538:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p != NULL); // could not allocate ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 6 warnings generated. mv -f src/tests/.deps/malloc_extension_debug_test-malloc_extension_test.Tpo src/tests/.deps/malloc_extension_debug_test-malloc_extension_test.Po src/tests/tcmalloc_unittest.cc:1643:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(!strcmp(PACKAGE_STRING, human_version)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1644:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(!strcmp(PACKAGE_VERSION, mmp)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DDEBUGALLOCATION -O2 -MT src/tests/tcmalloc_debug_unittest-tcmalloc_unittest.o -MD -MP -MF src/tests/.deps/tcmalloc_debug_unittest-tcmalloc_unittest.Tpo -c -o src/tests/tcmalloc_debug_unittest-tcmalloc_unittest.o `test -f 'src/tests/tcmalloc_unittest.cc' || echo './'`src/tests/tcmalloc_unittest.cc In file included from src/debugallocation.cc:72: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/debugallocation.cc:73: In file included from ./src/base/googleinit.h:37: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/debugallocation.cc:75: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/debugallocation.cc:75: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/debugallocation.cc:75: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/debugallocation.cc:75: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/debugallocation.cc:75: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/debugallocation.cc:75: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/debugallocation.cc:75: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/debugallocation.cc:75: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/debugallocation.cc:75: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ 23 warnings generated. mv -f src/tests/.deps/pagemap_unittest-pagemap_unittest.Tpo src/tests/.deps/pagemap_unittest-pagemap_unittest.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DDEBUGALLOCATION -O2 -MT src/tests/tcmalloc_debug_unittest-testutil.o -MD -MP -MF src/tests/.deps/tcmalloc_debug_unittest-testutil.Tpo -c -o src/tests/tcmalloc_debug_unittest-testutil.o `test -f 'src/tests/testutil.cc' || echo './'`src/tests/testutil.cc 2 warnings generated. mv -f src/tests/.deps/raw_printer_test-raw_printer_test.Tpo src/tests/.deps/raw_printer_test-raw_printer_test.Po clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -O2 -MT src/tests/sampler_debug_test-sampler_test.o -MD -MP -MF src/tests/.deps/sampler_debug_test-sampler_test.Tpo -c -o src/tests/sampler_debug_test-sampler_test.o `test -f 'src/tests/sampler_test.cc' || echo './'`src/tests/sampler_test.cc src/debugallocation.cc:182:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(q_back_ != q_front_, "Queue is empty"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/debugallocation.cc:385:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(IsValidMagicValue(magic1_), ""); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/debugallocation.cc:404:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(memcmp(&size1_, size2_addr(), sizeof(size1_)) == 0, "should hold"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/debugallocation.cc:405:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(memcmp(&magic1_, magic2_addr(), sizeof(magic1_)) == 0, "should hold"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/debugallocation.cc:413:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(memcmp(&size1_, size2_addr(), sizeof(size1_)) == 0, "should hold"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/debugallocation.cc:420:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(!given_size || given_size == size1_, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/debugallocation.cc:594:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(!free_queue_->Full(), "Free queue mustn't be full!"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/debugallocation.cc:605:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(num_entries < arraysize(entries), "entries array overflow"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/debugallocation.cc:829:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(entry < kMallocHistogramSize, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/debugallocation.cc:1093:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK(GetOwnership(p) != MallocExtension::kNotOwned, ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/debugallocation.cc:1395:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] RAW_CHECK((alignment & (alignment-1)) == 0, "must be power of two"); ^ ./src/base/logging.h:97:7: note: expanded from macro 'RAW_CHECK' WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 10 warnings generated. mv -f src/tests/.deps/tcmalloc_large_unittest-tcmalloc_large_unittest.Tpo src/tests/.deps/tcmalloc_large_unittest-tcmalloc_large_unittest.Po cat libtcmalloc.pc | sed s/-ltcmalloc/-ltcmalloc_minimal/ > "libtcmalloc_minimal.pc" In file included from src/debugallocation.cc:85: In file included from ./src/tcmalloc.cc:150: In file included from ./src/libc_override.h:84: ./src/libc_override_osx.h:184:6: warning: unused function 'mi_statistics' [-Wunused-function] void mi_statistics(malloc_zone_t *zone, malloc_statistics_t *stats) { ^ src/debugallocation.cc:303:10: warning: private field 'magic2_' is not used [-Wunused-private-field] size_t magic2_; ^ cat libtcmalloc.pc | sed s/-ltcmalloc/-ltcmalloc_debug/ > "libtcmalloc_debug.pc" cat libtcmalloc.pc | sed s/-ltcmalloc/-ltcmalloc_minimal_debug/ > "libtcmalloc_minimal_debug.pc" cat libtcmalloc.pc | sed s/-ltcmalloc/-lprofiler/ > "libprofiler.pc" clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -MT src/tests/debugallocation_test-debugallocation_test.o -MD -MP -MF src/tests/.deps/debugallocation_test-debugallocation_test.Tpo -c -o src/tests/debugallocation_test-debugallocation_test.o `test -f 'src/tests/debugallocation_test.cc' || echo './'`src/tests/debugallocation_test.cc mv -f src/tests/.deps/tcmalloc_debug_unittest-testutil.Tpo src/tests/.deps/tcmalloc_debug_unittest-testutil.Po depbase=`echo src/base/thread_lister.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /opt/pkg/bin/mksh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./src -I./src -O2 -MT src/base/thread_lister.lo -MD -MP -MF $depbase.Tpo -c -o src/base/thread_lister.lo src/base/thread_lister.c &&\ mv -f $depbase.Tpo $depbase.Plo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DTCMALLOC_FOR_DEBUGALLOCATION -O2 -MT src/base/libtcmalloc_debug_la-linuxthreads.lo -MD -MP -MF src/base/.deps/libtcmalloc_debug_la-linuxthreads.Tpo -c -o src/base/libtcmalloc_debug_la-linuxthreads.lo `test -f 'src/base/linuxthreads.cc' || echo './'`src/base/linuxthreads.cc In file included from src/tests/tcmalloc_unittest.cc:90: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/tcmalloc_unittest.cc:90: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -O2 -MT src/base/thread_lister.lo -MD -MP -MF src/base/.deps/thread_lister.Tpo -c src/base/thread_lister.c -fno-common -DPIC -o src/base/.libs/thread_lister.o In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/tcmalloc_unittest.cc:96: In file included from ./src/thread_cache.h:51: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -O2 -MT src/base/thread_lister.lo -MD -MP -MF src/base/.deps/thread_lister.Tpo -c src/base/thread_lister.c -o src/base/thread_lister.o >/dev/null 2>&1 libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DTCMALLOC_FOR_DEBUGALLOCATION -O2 -MT src/base/libtcmalloc_debug_la-linuxthreads.lo -MD -MP -MF src/base/.deps/libtcmalloc_debug_la-linuxthreads.Tpo -c src/base/linuxthreads.cc -fno-common -DPIC -o src/base/.libs/libtcmalloc_debug_la-linuxthreads.o In file included from src/tests/sampler_test.cc:52: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ src/tests/tcmalloc_unittest.cc:478:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(object.ptr); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/sampler_test.cc:52: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/sampler_test.cc:54: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/tests/sampler_test.cc:54: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/sampler_test.cc:54: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/sampler_test.cc:54: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/sampler_test.cc:54: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/sampler_test.cc:54: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/sampler_test.cc:54: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/sampler_test.cc:54: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/sampler_test.cc:54: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ src/tests/tcmalloc_unittest.cc:606:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p == NULL); // huge allocation s should fail! ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:630:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(inst); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:639:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p == NULL); // calloc(n, s) should not succeed ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:641:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p != NULL); // calloc(n, s) should succeed ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:643:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p[i] == '\0'); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:802:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(NewHook, const void*, size_t); ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:802:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(NewHook, const void*, size_t); ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:803:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(DeleteHook, const void*); ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:803:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(DeleteHook, const void*); ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:804:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MmapHook, const void*, const void*, size_t, int, int, int, ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:804:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MmapHook, const void*, const void*, size_t, int, int, int, ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:806:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MremapHook, const void*, const void*, size_t, size_t, int, ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:806:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MremapHook, const void*, const void*, size_t, size_t, int, ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:808:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MunmapHook, const void *, size_t); ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:808:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(MunmapHook, const void *, size_t); ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:809:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(SbrkHook, const void *, ptrdiff_t); ^ src/tests/tcmalloc_unittest.cc:793:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Add##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:809:1: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] MAKE_HOOK_CALLBACK(SbrkHook, const void *, ptrdiff_t); ^ src/tests/tcmalloc_unittest.cc:797:5: note: expanded from macro 'MAKE_HOOK_CALLBACK' CHECK(MallocHook::Remove##hook_type( \ ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:818:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((p % sizeof(void*)) == 0); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:819:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((p % sizeof(double)) == 0); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:824:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((p % kMinAlign) == 0); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:871:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(r->type == base::MallocRange::FREE || ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:892:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(state.matched); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1071:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(g_no_memory); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1077:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(g_no_memory); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1083:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(g_no_memory); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1094:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(g_no_memory); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1101:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] EXPECT_TRUE(g_no_memory); ^ ./src/base/logging.h:164:31: note: expanded from macro 'EXPECT_TRUE' #define EXPECT_TRUE(cond) CHECK(cond) ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1251:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1253:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1254:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != p2); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1280:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); // force use of this variable ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1290:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1296:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1302:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1310:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1316:7: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1332:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1338:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p1 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1344:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1350:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1356:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1362:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1369:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1376:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1398:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(poveraligned != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1399:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)poveraligned) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1405:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(poveraligned != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1406:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)poveraligned) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1412:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(poveraligned != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1413:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)poveraligned) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1419:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(poveraligned != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1420:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)poveraligned) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1427:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1428:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)p2) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1434:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1435:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK((((size_t)p2) % OVERALIGNMENT) == 0u); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1461:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p2 != NULL); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1538:5: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(p != NULL); // could not allocate ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1643:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(!strcmp(PACKAGE_STRING, human_version)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/tcmalloc_unittest.cc:1644:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(!strcmp(PACKAGE_VERSION, mmp)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DTCMALLOC_FOR_DEBUGALLOCATION -O2 -MT src/base/libtcmalloc_debug_la-linuxthreads.lo -MD -MP -MF src/base/.deps/libtcmalloc_debug_la-linuxthreads.Tpo -c src/base/linuxthreads.cc -o src/base/libtcmalloc_debug_la-linuxthreads.o >/dev/null 2>&1 src/tests/sampler_test.cc:397:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(CheckMean(kSamplingInterval, 1000)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/debugallocation_test.cc:40: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/debugallocation_test.cc:40: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ src/tests/debugallocation_test.cc:237:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(MallocExtension::instance()->GetNumericProperty( ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -no-undefined -L/opt/pkg/lib -o libspinlock.la src/base/spinlock.lo src/base/spinlock_internal.lo src/base/atomicops-internals-x86.lo In file included from src/tests/sampler_test.cc:52: In file included from ./src/base/logging.h:49: In file included from ./src/base/commandlineflags.h:56: ./src/base/basictypes.h:311:9: warning: '_dyld_present' is deprecated: first deprecated in macOS 10.5 - always true [-Wdeprecated-declarations] if (_dyld_present()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:256:13: note: '_dyld_present' has been explicitly marked deprecated here extern bool _dyld_present(void) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "always true"); ^ In file included from src/tests/sampler_test.cc:52: ./src/base/logging.h:207:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] WRITE_TO_STDERR(buf, strlen(buf)); ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ In file included from src/tests/sampler_test.cc:54: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:107:3: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_thread_fence() from instead [-Wdeprecated-declarations] OSMemoryBarrier(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:750:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here void OSMemoryBarrier( void ); ^ In file included from src/tests/sampler_test.cc:54: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:117:9: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/sampler_test.cc:54: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:131:13: warning: 'OSAtomicCompareAndSwap32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:503:9: note: 'OSAtomicCompareAndSwap32' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/sampler_test.cc:54: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:141:13: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/sampler_test.cc:54: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:156:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ In file included from src/tests/sampler_test.cc:54: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:207:9: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/sampler_test.cc:54: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:221:13: warning: 'OSAtomicCompareAndSwap64' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong_explicit(std::memory_order_relaxed) from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:629:9: note: 'OSAtomicCompareAndSwap64' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/sampler_test.cc:54: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:231:13: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] } while (!OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ In file included from src/tests/sampler_test.cc:54: In file included from ./src/sampler.h:47: In file included from ./src/static_vars.h:41: In file included from ./src/base/spinlock.h:43: In file included from ./src/base/atomicops.h:114: ./src/base/atomicops-internals-macosx.h:246:9: warning: 'OSAtomicCompareAndSwap64Barrier' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_compare_exchange_strong() from instead [-Wdeprecated-declarations] if (OSAtomicCompareAndSwap64Barrier(old_value, new_value, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libkern/OSAtomicDeprecated.h:646:9: note: 'OSAtomicCompareAndSwap64Barrier' has been explicitly marked deprecated here mv -f src/base/.deps/libtcmalloc_debug_la-linuxthreads.Tpo src/base/.deps/libtcmalloc_debug_la-linuxthreads.Plo bool OSAtomicCompareAndSwap64Barrier( int64_t __oldValue, int64_t __newValue, ^ /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -no-undefined -L/opt/pkg/lib -o libsysinfo.la src/base/sysinfo.lo src/tests/sampler_test.cc:397:3: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] CHECK(CheckMean(kSamplingInterval, 1000)); ^ ./src/base/logging.h:87:7: note: expanded from macro 'CHECK' WRITE_TO_STDERR("Check failed: " #condition "\n", \ ^ ./src/base/logging.h:61:35: note: expanded from macro 'WRITE_TO_STDERR' #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:742:6: note: 'syscall' has been explicitly marked deprecated here int syscall(int, ...); ^ 3 warnings generated. mv -f src/tests/.deps/debugallocation_test-debugallocation_test.Tpo src/tests/.deps/debugallocation_test-debugallocation_test.Po 72 warnings generated. mv -f src/tests/.deps/tcmalloc_minimal_debug_unittest-tcmalloc_unittest.Tpo src/tests/.deps/tcmalloc_minimal_debug_unittest-tcmalloc_unittest.Po /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -no-undefined -L/opt/pkg/lib -o liblogging.la src/base/logging.lo src/base/dynamic_annotations.lo /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -no-undefined -L/opt/pkg/lib -o libmaybe_threads.la src/maybe_threads.lo 12 warnings generated. mv -f src/tests/.deps/sampler_test-sampler_test.Tpo src/tests/.deps/sampler_test-sampler_test.Po /opt/pkg/bin/mksh ./libtool --tag=CC --mode=link clang -O2 -no-undefined -L/opt/pkg/lib -o librun_benchmark.la benchmark/run_benchmark.lo libtool: link: ar cru .libs/libsysinfo.a src/base/.libs/sysinfo.o libtool: link: ar cru .libs/libspinlock.a src/base/.libs/spinlock.o src/base/.libs/spinlock_internal.o src/base/.libs/atomicops-internals-x86.o libtool: link: ranlib .libs/libsysinfo.a libtool: link: ranlib .libs/libspinlock.a 24 warnings generated. libtool: compile: clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I./src -DNO_TCMALLOC_SAMPLES -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DTCMALLOC_FOR_DEBUGALLOCATION -O2 -MT src/libtcmalloc_minimal_debug_la-debugallocation.lo -MD -MP -MF src/.deps/libtcmalloc_minimal_debug_la-debugallocation.Tpo -c src/debugallocation.cc -o src/libtcmalloc_minimal_debug_la-debugallocation.o >/dev/null 2>&1 libtool: link: ( cd ".libs" && rm -f "libsysinfo.la" && ln -s "../libsysinfo.la" "libsysinfo.la" ) libtool: link: ( cd ".libs" && rm -f "libspinlock.la" && ln -s "../libspinlock.la" "libspinlock.la" ) /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -no-undefined -L/opt/pkg/lib -o libfake_stacktrace_scope.la src/fake_stacktrace_scope.lo libtool: link: ar cru .libs/liblogging.a src/base/.libs/logging.o src/base/.libs/dynamic_annotations.o libtool: link: ar cru .libs/libmaybe_threads.a src/.libs/maybe_threads.o libtool: link: ranlib .libs/liblogging.a libtool: link: ar cru .libs/librun_benchmark.a benchmark/.libs/run_benchmark.o libtool: link: ranlib .libs/libmaybe_threads.a 12 warnings generated. mv -f src/tests/.deps/sampler_debug_test-sampler_test.Tpo src/tests/.deps/sampler_debug_test-sampler_test.Po libtool: link: ranlib .libs/librun_benchmark.a libtool: link: ( cd ".libs" && rm -f "liblogging.la" && ln -s "../liblogging.la" "liblogging.la" ) libtool: link: ( cd ".libs" && rm -f "libmaybe_threads.la" && ln -s "../libmaybe_threads.la" "libmaybe_threads.la" ) /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -export-symbols-regex '(GetStackTrace|GetStackFrames|GetStackTraceWithContext|GetStackFramesWithContext)' -no-undefined -L/opt/pkg/lib -o libstacktrace.la src/stacktrace.lo src/base/elf_mem_image.lo src/base/vdso_support.lo libspinlock.la libsysinfo.la liblogging.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -no-undefined -L/opt/pkg/lib -o atomicops_unittest src/tests/atomicops_unittest.o libspinlock.la libsysinfo.la liblogging.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -no-undefined -L/opt/pkg/lib -o libtcmalloc_minimal_internal.la src/libtcmalloc_minimal_internal_la-common.lo src/libtcmalloc_minimal_internal_la-internal_logging.lo src/libtcmalloc_minimal_internal_la-system-alloc.lo src/libtcmalloc_minimal_internal_la-memfs_malloc.lo src/libtcmalloc_minimal_internal_la-central_freelist.lo src/libtcmalloc_minimal_internal_la-page_heap.lo src/libtcmalloc_minimal_internal_la-sampler.lo src/libtcmalloc_minimal_internal_la-span.lo src/libtcmalloc_minimal_internal_la-stack_trace_table.lo src/libtcmalloc_minimal_internal_la-static_vars.lo src/libtcmalloc_minimal_internal_la-symbolize.lo src/libtcmalloc_minimal_internal_la-thread_cache.lo src/libtcmalloc_minimal_internal_la-malloc_hook.lo src/libtcmalloc_minimal_internal_la-malloc_extension.lo libspinlock.la libsysinfo.la liblogging.la libmaybe_threads.la libtool: link: ( cd ".libs" && rm -f "librun_benchmark.la" && ln -s "../librun_benchmark.la" "librun_benchmark.la" ) /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -g -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -no-undefined -L/opt/pkg/lib -o addressmap_unittest src/tests/addressmap_unittest-addressmap_unittest.o liblogging.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -DNO_TCMALLOC_SAMPLES -O2 -no-undefined -L/opt/pkg/lib -o low_level_alloc_unittest src/base/low_level_alloc_unittest-low_level_alloc.o src/low_level_alloc_unittest-malloc_hook.o src/tests/low_level_alloc_unittest-low_level_alloc_unittest.o libspinlock.la libsysinfo.la liblogging.la libmaybe_threads.la libtool: link: ar cru .libs/libfake_stacktrace_scope.a src/.libs/fake_stacktrace_scope.o 72 warnings generated. mv -f src/tests/.deps/tcmalloc_debug_unittest-tcmalloc_unittest.Tpo src/tests/.deps/tcmalloc_debug_unittest-tcmalloc_unittest.Po libtool: link: ranlib .libs/libfake_stacktrace_scope.a /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o tcm_min_asserts_unittest src/tests/tcm_min_asserts_unittest-tcmalloc_unittest.o src/tests/tcm_min_asserts_unittest-testutil.o src/tcm_min_asserts_unittest-common.o src/tcm_min_asserts_unittest-internal_logging.o src/tcm_min_asserts_unittest-system-alloc.o src/tcm_min_asserts_unittest-memfs_malloc.o src/tcm_min_asserts_unittest-central_freelist.o src/tcm_min_asserts_unittest-page_heap.o src/tcm_min_asserts_unittest-sampler.o src/tcm_min_asserts_unittest-span.o src/tcm_min_asserts_unittest-stack_trace_table.o src/tcm_min_asserts_unittest-static_vars.o src/tcm_min_asserts_unittest-symbolize.o src/tcm_min_asserts_unittest-thread_cache.o src/tcm_min_asserts_unittest-malloc_hook.o src/tcm_min_asserts_unittest-malloc_extension.o src/tcm_min_asserts_unittest-tcmalloc.o libspinlock.la libsysinfo.la liblogging.la libmaybe_threads.la liblogging.la libtool: link: ( cd ".libs" && rm -f "libfake_stacktrace_scope.la" && ln -s "../libfake_stacktrace_scope.la" "libfake_stacktrace_scope.la" ) libtool: link: clang++ -std=gnu++11 -g -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -o addressmap_unittest src/tests/addressmap_unittest-addressmap_unittest.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/liblogging.a libtool: link: clang++ -std=gnu++11 -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -o atomicops_unittest src/tests/atomicops_unittest.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libspinlock.a ./.libs/libsysinfo.a ./.libs/liblogging.a libtool: link: (cd .libs/libstacktrace.lax/libspinlock.a && ar x "/opt/work/devel/gperftools/work/gperftools-2.8/./.libs/libspinlock.a") libtool: link: clang++ -std=gnu++11 -DNO_TCMALLOC_SAMPLES -O2 -o low_level_alloc_unittest src/base/low_level_alloc_unittest-low_level_alloc.o src/low_level_alloc_unittest-malloc_hook.o src/tests/low_level_alloc_unittest-low_level_alloc_unittest.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libspinlock.a ./.libs/libsysinfo.a ./.libs/liblogging.a ./.libs/libmaybe_threads.a libtool: link: (cd .libs/libtcmalloc_minimal_internal.lax/libspinlock.a && ar x "/opt/work/devel/gperftools/work/gperftools-2.8/./.libs/libspinlock.a") libtool: link: clang++ -std=gnu++11 -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o tcm_min_asserts_unittest src/tests/tcm_min_asserts_unittest-tcmalloc_unittest.o src/tests/tcm_min_asserts_unittest-testutil.o src/tcm_min_asserts_unittest-common.o src/tcm_min_asserts_unittest-internal_logging.o src/tcm_min_asserts_unittest-system-alloc.o src/tcm_min_asserts_unittest-memfs_malloc.o src/tcm_min_asserts_unittest-central_freelist.o src/tcm_min_asserts_unittest-page_heap.o src/tcm_min_asserts_unittest-sampler.o src/tcm_min_asserts_unittest-span.o src/tcm_min_asserts_unittest-stack_trace_table.o src/tcm_min_asserts_unittest-static_vars.o src/tcm_min_asserts_unittest-symbolize.o src/tcm_min_asserts_unittest-thread_cache.o src/tcm_min_asserts_unittest-malloc_hook.o src/tcm_min_asserts_unittest-malloc_extension.o src/tcm_min_asserts_unittest-tcmalloc.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libspinlock.a ./.libs/libsysinfo.a ./.libs/libmaybe_threads.a ./.libs/liblogging.a libtool: link: (cd .libs/libstacktrace.lax/libsysinfo.a && ar x "/opt/work/devel/gperftools/work/gperftools-2.8/./.libs/libsysinfo.a") libtool: link: (cd .libs/libstacktrace.lax/liblogging.a && ar x "/opt/work/devel/gperftools/work/gperftools-2.8/./.libs/liblogging.a") libtool: link: (cd .libs/libtcmalloc_minimal_internal.lax/libsysinfo.a && ar x "/opt/work/devel/gperftools/work/gperftools-2.8/./.libs/libsysinfo.a") libtool: link: ar cru .libs/libstacktrace.a src/.libs/stacktrace.o src/base/.libs/elf_mem_image.o src/base/.libs/vdso_support.o .libs/libstacktrace.lax/libspinlock.a/atomicops-internals-x86.o .libs/libstacktrace.lax/libspinlock.a/spinlock.o .libs/libstacktrace.lax/libspinlock.a/spinlock_internal.o .libs/libstacktrace.lax/libsysinfo.a/sysinfo.o .libs/libstacktrace.lax/liblogging.a/dynamic_annotations.o .libs/libstacktrace.lax/liblogging.a/logging.o libtool: link: ranlib .libs/libstacktrace.a libtool: link: (cd .libs/libtcmalloc_minimal_internal.lax/liblogging.a && ar x "/opt/work/devel/gperftools/work/gperftools-2.8/./.libs/liblogging.a") libtool: link: rm -fr .libs/libstacktrace.lax libtool: link: ( cd ".libs" && rm -f "libstacktrace.la" && ln -s "../libstacktrace.la" "libstacktrace.la" ) /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o libtcmalloc_internal.la src/libtcmalloc_internal_la-common.lo src/libtcmalloc_internal_la-internal_logging.lo src/libtcmalloc_internal_la-system-alloc.lo src/libtcmalloc_internal_la-memfs_malloc.lo src/libtcmalloc_internal_la-central_freelist.lo src/libtcmalloc_internal_la-page_heap.lo src/libtcmalloc_internal_la-sampler.lo src/libtcmalloc_internal_la-span.lo src/libtcmalloc_internal_la-stack_trace_table.lo src/libtcmalloc_internal_la-static_vars.lo src/libtcmalloc_internal_la-symbolize.lo src/libtcmalloc_internal_la-thread_cache.lo src/libtcmalloc_internal_la-malloc_hook.lo src/libtcmalloc_internal_la-malloc_extension.lo src/base/libtcmalloc_internal_la-low_level_alloc.lo src/libtcmalloc_internal_la-heap-profile-table.lo src/libtcmalloc_internal_la-heap-profiler.lo src/libtcmalloc_internal_la-raw_printer.lo src/libtcmalloc_internal_la-fake_stacktrace_scope.lo src/libtcmalloc_internal_la-memory_region_map.lo libstacktrace.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -no-undefined -L/opt/pkg/lib -o stacktrace_unittest src/tests/stacktrace_unittest.o libstacktrace.la liblogging.la libfake_stacktrace_scope.la libtool: link: (cd .libs/libtcmalloc_minimal_internal.lax/libmaybe_threads.a && ar x "/opt/work/devel/gperftools/work/gperftools-2.8/./.libs/libmaybe_threads.a") mv -f src/.deps/libtcmalloc_minimal_debug_la-debugallocation.Tpo src/.deps/libtcmalloc_minimal_debug_la-debugallocation.Plo libtool: link: ar cru .libs/libtcmalloc_minimal_internal.a src/.libs/libtcmalloc_minimal_internal_la-common.o src/.libs/libtcmalloc_minimal_internal_la-internal_logging.o src/.libs/libtcmalloc_minimal_internal_la-system-alloc.o src/.libs/libtcmalloc_minimal_internal_la-memfs_malloc.o src/.libs/libtcmalloc_minimal_internal_la-central_freelist.o src/.libs/libtcmalloc_minimal_internal_la-page_heap.o src/.libs/libtcmalloc_minimal_internal_la-sampler.o src/.libs/libtcmalloc_minimal_internal_la-span.o src/.libs/libtcmalloc_minimal_internal_la-stack_trace_table.o src/.libs/libtcmalloc_minimal_internal_la-static_vars.o src/.libs/libtcmalloc_minimal_internal_la-symbolize.o src/.libs/libtcmalloc_minimal_internal_la-thread_cache.o src/.libs/libtcmalloc_minimal_internal_la-malloc_hook.o src/.libs/libtcmalloc_minimal_internal_la-malloc_extension.o .libs/libtcmalloc_minimal_internal.lax/libspinlock.a/atomicops-internals-x86.o .libs/libtcmalloc_minimal_internal.lax/libspinlock.a/spinlock.o .libs/libtcmalloc_minimal_internal.lax/libspinlock.a/spinlock_internal.o .libs/libtcmalloc_minimal_internal.lax/libsysinfo.a/sysinfo.o .libs/libtcmalloc_minimal_internal.lax/liblogging.a/dynamic_annotations.o .libs/libtcmalloc_minimal_internal.lax/liblogging.a/logging.o .libs/libtcmalloc_minimal_internal.lax/libmaybe_threads.a/maybe_threads.o libtool: link: ranlib .libs/libtcmalloc_minimal_internal.a libtool: link: rm -fr .libs/libtcmalloc_minimal_internal.lax libtool: link: ( cd ".libs" && rm -f "libtcmalloc_minimal_internal.la" && ln -s "../libtcmalloc_minimal_internal.la" "libtcmalloc_minimal_internal.la" ) /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -DNO_TCMALLOC_SAMPLES -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -version-info 9:5:5 -no-undefined -L/opt/pkg/lib -o libtcmalloc_minimal.la -rpath /opt/pkg/lib src/libtcmalloc_minimal_la-tcmalloc.lo libtcmalloc_minimal_internal.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -DNO_TCMALLOC_SAMPLES -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DTCMALLOC_FOR_DEBUGALLOCATION -O2 -version-info 9:5:5 -no-undefined -version-info 9:5:5 -L/opt/pkg/lib -o libtcmalloc_minimal_debug.la -rpath /opt/pkg/lib src/libtcmalloc_minimal_debug_la-debugallocation.lo libtcmalloc_minimal_internal.la libtool: link: clang++ -std=gnu++11 -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -o stacktrace_unittest src/tests/stacktrace_unittest.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libstacktrace.a ./.libs/liblogging.a ./.libs/libfake_stacktrace_scope.a libtool: link: (cd .libs/libtcmalloc_internal.lax/libstacktrace.a && ar x "/opt/work/devel/gperftools/work/gperftools-2.8/./.libs/libstacktrace.a") libtool: link: clang++ -dynamiclib -o .libs/libtcmalloc_minimal.4.dylib src/.libs/libtcmalloc_minimal_la-tcmalloc.o -Wl,-force_load,./.libs/libtcmalloc_minimal_internal.a -L/opt/work/devel/gperftools/work/.buildlink/lib -O2 -install_name /opt/pkg/lib/libtcmalloc_minimal.4.dylib -compatibility_version 10 -current_version 10.5 -Wl,-single_module libtool: link: clang++ -dynamiclib -o .libs/libtcmalloc_minimal_debug.4.dylib src/.libs/libtcmalloc_minimal_debug_la-debugallocation.o -Wl,-force_load,./.libs/libtcmalloc_minimal_internal.a -L/opt/work/devel/gperftools/work/.buildlink/lib -O2 -install_name /opt/pkg/lib/libtcmalloc_minimal_debug.4.dylib -compatibility_version 10 -current_version 10.5 -Wl,-single_module libtool: link: ar cru .libs/libtcmalloc_internal.a src/.libs/libtcmalloc_internal_la-common.o src/.libs/libtcmalloc_internal_la-internal_logging.o src/.libs/libtcmalloc_internal_la-system-alloc.o src/.libs/libtcmalloc_internal_la-memfs_malloc.o src/.libs/libtcmalloc_internal_la-central_freelist.o src/.libs/libtcmalloc_internal_la-page_heap.o src/.libs/libtcmalloc_internal_la-sampler.o src/.libs/libtcmalloc_internal_la-span.o src/.libs/libtcmalloc_internal_la-stack_trace_table.o src/.libs/libtcmalloc_internal_la-static_vars.o src/.libs/libtcmalloc_internal_la-symbolize.o src/.libs/libtcmalloc_internal_la-thread_cache.o src/.libs/libtcmalloc_internal_la-malloc_hook.o src/.libs/libtcmalloc_internal_la-malloc_extension.o src/base/.libs/libtcmalloc_internal_la-low_level_alloc.o src/.libs/libtcmalloc_internal_la-heap-profile-table.o src/.libs/libtcmalloc_internal_la-heap-profiler.o src/.libs/libtcmalloc_internal_la-raw_printer.o src/.libs/libtcmalloc_internal_la-fake_stacktrace_scope.o src/.libs/libtcmalloc_internal_la-memory_region_map.o .libs/libtcmalloc_internal.lax/libstacktrace.a/atomicops-internals-x86.o .libs/libtcmalloc_internal.lax/libstacktrace.a/dynamic_annotations.o .libs/libtcmalloc_internal.lax/libstacktrace.a/elf_mem_image.o .libs/libtcmalloc_internal.lax/libstacktrace.a/logging.o .libs/libtcmalloc_internal.lax/libstacktrace.a/spinlock.o .libs/libtcmalloc_internal.lax/libstacktrace.a/spinlock_internal.o .libs/libtcmalloc_internal.lax/libstacktrace.a/stacktrace.o .libs/libtcmalloc_internal.lax/libstacktrace.a/sysinfo.o .libs/libtcmalloc_internal.lax/libstacktrace.a/vdso_support.o libtool: link: (cd ".libs" && rm -f "libtcmalloc_minimal.dylib" && ln -s "libtcmalloc_minimal.4.dylib" "libtcmalloc_minimal.dylib") libtool: link: (cd ".libs" && rm -f "libtcmalloc_minimal_debug.dylib" && ln -s "libtcmalloc_minimal_debug.4.dylib" "libtcmalloc_minimal_debug.dylib") libtool: link: ranlib .libs/libtcmalloc_internal.a libtool: link: rm -fr .libs/libtcmalloc_internal.lax libtool: link: ( cd ".libs" && rm -f "libtcmalloc_internal.la" && ln -s "../libtcmalloc_internal.la" "libtcmalloc_internal.la" ) /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DTCMALLOC_FOR_DEBUGALLOCATION -O2 -D_THREAD_SAFE -version-info 9:5:5 -version-info 9:5:5 -L/opt/pkg/lib -o libtcmalloc_debug.la -rpath /opt/pkg/lib src/libtcmalloc_debug_la-debugallocation.lo src/base/thread_lister.lo src/base/libtcmalloc_debug_la-linuxthreads.lo src/libtcmalloc_debug_la-heap-checker.lo src/libtcmalloc_debug_la-heap-checker-bcad.lo libtcmalloc_internal.la libmaybe_threads.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -version-info 9:5:5 -L/opt/pkg/lib -o libtcmalloc.la -rpath /opt/pkg/lib src/libtcmalloc_la-tcmalloc.lo src/base/thread_lister.lo src/base/libtcmalloc_la-linuxthreads.lo src/libtcmalloc_la-heap-checker.lo src/libtcmalloc_la-heap-checker-bcad.lo libtcmalloc_internal.la libmaybe_threads.la libtool: link: (cd .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a && ar x "/opt/work/devel/gperftools/work/gperftools-2.8/./.libs/libtcmalloc_minimal_internal.a") libtool: link: (cd .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a && ar x "/opt/work/devel/gperftools/work/gperftools-2.8/./.libs/libtcmalloc_minimal_internal.a") libtool: link: ar cru .libs/libtcmalloc_minimal.a src/libtcmalloc_minimal_la-tcmalloc.o .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/atomicops-internals-x86.o .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/dynamic_annotations.o .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-central_freelist.o .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-common.o .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-internal_logging.o .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-malloc_extension.o .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-malloc_hook.o .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-memfs_malloc.o .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-page_heap.o .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-sampler.o .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-span.o .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-stack_trace_table.o .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-static_vars.o .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-symbolize.o .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-system-alloc.o .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-thread_cache.o .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/logging.o .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/maybe_threads.o .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/spinlock.o .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/spinlock_internal.o .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/sysinfo.o libtool: link: ar cru .libs/libtcmalloc_minimal_debug.a src/libtcmalloc_minimal_debug_la-debugallocation.o .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/atomicops-internals-x86.o .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/dynamic_annotations.o .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-central_freelist.o .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-common.o .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-internal_logging.o .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-malloc_extension.o .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-malloc_hook.o .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-memfs_malloc.o .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-page_heap.o .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-sampler.o .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-span.o .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-stack_trace_table.o .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-static_vars.o .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-symbolize.o .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-system-alloc.o .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-thread_cache.o .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/logging.o .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/maybe_threads.o .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/spinlock.o .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/spinlock_internal.o .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/sysinfo.o libtool: link: ranlib .libs/libtcmalloc_minimal.a libtool: link: ranlib .libs/libtcmalloc_minimal_debug.a libtool: link: rm -fr .libs/libtcmalloc_minimal.lax libtool: link: rm -fr .libs/libtcmalloc_minimal_debug.lax libtool: link: ( cd ".libs" && rm -f "libtcmalloc_minimal.la" && ln -s "../libtcmalloc_minimal.la" "libtcmalloc_minimal.la" ) libtool: link: ( cd ".libs" && rm -f "libtcmalloc_minimal_debug.la" && ln -s "../libtcmalloc_minimal_debug.la" "libtcmalloc_minimal_debug.la" ) libtool: link: clang++ -dynamiclib -Wl,-flat_namespace -Wl,-undefined -Wl,suppress -o .libs/libtcmalloc.4.dylib src/.libs/libtcmalloc_la-tcmalloc.o src/base/.libs/thread_lister.o src/base/.libs/libtcmalloc_la-linuxthreads.o src/.libs/libtcmalloc_la-heap-checker.o src/.libs/libtcmalloc_la-heap-checker-bcad.o -Wl,-force_load,./.libs/libtcmalloc_internal.a -Wl,-force_load,./.libs/libmaybe_threads.a -L/opt/work/devel/gperftools/work/.buildlink/lib -O2 -install_name /opt/pkg/lib/libtcmalloc.4.dylib -compatibility_version 10 -current_version 10.5 -Wl,-single_module /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -static -L/opt/pkg/lib -o malloc_bench benchmark/malloc_bench-malloc_bench.o librun_benchmark.la libtcmalloc_minimal.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -static -L/opt/pkg/lib -o binary_trees benchmark/binary_trees-binary_trees.o libtcmalloc_minimal.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o malloc_bench_shared benchmark/malloc_bench_shared-malloc_bench.o librun_benchmark.la libtcmalloc_minimal.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o tcmalloc_minimal_unittest src/tests/tcmalloc_minimal_unittest-tcmalloc_unittest.o src/tests/tcmalloc_minimal_unittest-testutil.o libtcmalloc_minimal.la liblogging.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o binary_trees_shared benchmark/binary_trees_shared-binary_trees.o libtcmalloc_minimal.la libtool: link: clang++ -dynamiclib -Wl,-flat_namespace -Wl,-undefined -Wl,suppress -o .libs/libtcmalloc_debug.4.dylib src/.libs/libtcmalloc_debug_la-debugallocation.o src/base/.libs/thread_lister.o src/base/.libs/libtcmalloc_debug_la-linuxthreads.o src/.libs/libtcmalloc_debug_la-heap-checker.o src/.libs/libtcmalloc_debug_la-heap-checker-bcad.o -Wl,-force_load,./.libs/libtcmalloc_internal.a -Wl,-force_load,./.libs/libmaybe_threads.a -L/opt/work/devel/gperftools/work/.buildlink/lib -O2 -install_name /opt/pkg/lib/libtcmalloc_debug.4.dylib -compatibility_version 10 -current_version 10.5 -Wl,-single_module /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o tcmalloc_minimal_large_unittest src/tests/tcmalloc_minimal_large_unittest-tcmalloc_large_unittest.o libtcmalloc_minimal.la libtool: link: (cd ".libs" && rm -f "libtcmalloc.dylib" && ln -s "libtcmalloc.4.dylib" "libtcmalloc.dylib") libtool: link: (cd ".libs" && rm -f "libtcmalloc_debug.dylib" && ln -s "libtcmalloc_debug.4.dylib" "libtcmalloc_debug.dylib") libtool: link: (cd .libs/libtcmalloc.lax/libtcmalloc_internal.a && ar x "/opt/work/devel/gperftools/work/gperftools-2.8/./.libs/libtcmalloc_internal.a") libtool: link: (cd .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a && ar x "/opt/work/devel/gperftools/work/gperftools-2.8/./.libs/libtcmalloc_internal.a") libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o binary_trees benchmark/binary_trees-binary_trees.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_minimal.a libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/tcmalloc_minimal_large_unittest src/tests/tcmalloc_minimal_large_unittest-tcmalloc_large_unittest.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_minimal.dylib libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/binary_trees_shared benchmark/binary_trees_shared-binary_trees.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_minimal.dylib libtool: link: (cd .libs/libtcmalloc.lax/libmaybe_threads.a && ar x "/opt/work/devel/gperftools/work/gperftools-2.8/./.libs/libmaybe_threads.a") /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o tcmalloc_minimal_large_heap_fragmentation_unittest src/tests/tcmalloc_minimal_large_heap_fragmentation_unittest-large_heap_fragmentation_unittest.o libtcmalloc_minimal.la libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o malloc_bench benchmark/malloc_bench-malloc_bench.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/librun_benchmark.a ./.libs/libtcmalloc_minimal.a libtool: link: (cd .libs/libtcmalloc_debug.lax/libmaybe_threads.a && ar x "/opt/work/devel/gperftools/work/gperftools-2.8/./.libs/libmaybe_threads.a") /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o system_alloc_unittest src/tests/system_alloc_unittest-system-alloc_unittest.o libtcmalloc_minimal.la libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/tcmalloc_minimal_unittest src/tests/tcmalloc_minimal_unittest-tcmalloc_unittest.o src/tests/tcmalloc_minimal_unittest-testutil.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_minimal.dylib ./.libs/liblogging.a libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/malloc_bench_shared benchmark/malloc_bench_shared-malloc_bench.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/librun_benchmark.a ./.libs/libtcmalloc_minimal.dylib /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o packed_cache_test src/tests/packed_cache_test-packed-cache_test.o libtcmalloc_minimal.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o frag_unittest src/tests/frag_unittest-frag_unittest.o libtcmalloc_minimal.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o markidle_unittest src/tests/markidle_unittest-markidle_unittest.o src/tests/markidle_unittest-testutil.o libtcmalloc_minimal.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o current_allocated_bytes_test src/tests/current_allocated_bytes_test-current_allocated_bytes_test.o libtcmalloc_minimal.la libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/tcmalloc_minimal_large_heap_fragmentation_unittest src/tests/tcmalloc_minimal_large_heap_fragmentation_unittest-large_heap_fragmentation_unittest.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_minimal.dylib libtool: link: ar cru .libs/libtcmalloc.a src/libtcmalloc_la-tcmalloc.o src/base/thread_lister.o src/base/libtcmalloc_la-linuxthreads.o src/libtcmalloc_la-heap-checker.o src/libtcmalloc_la-heap-checker-bcad.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/atomicops-internals-x86.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/dynamic_annotations.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/elf_mem_image.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-central_freelist.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-common.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-fake_stacktrace_scope.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-heap-profile-table.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-heap-profiler.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-internal_logging.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-low_level_alloc.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-malloc_extension.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-malloc_hook.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-memfs_malloc.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-memory_region_map.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-page_heap.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-raw_printer.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-sampler.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-span.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-stack_trace_table.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-static_vars.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-symbolize.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-system-alloc.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-thread_cache.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/logging.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/spinlock.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/spinlock_internal.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/stacktrace.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/sysinfo.o .libs/libtcmalloc.lax/libtcmalloc_internal.a/vdso_support.o .libs/libtcmalloc.lax/libmaybe_threads.a/maybe_threads.o libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/system_alloc_unittest src/tests/system_alloc_unittest-system-alloc_unittest.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_minimal.dylib libtool: link: ranlib .libs/libtcmalloc.a libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/packed_cache_test src/tests/packed_cache_test-packed-cache_test.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_minimal.dylib libtool: link: ar cru .libs/libtcmalloc_debug.a src/libtcmalloc_debug_la-debugallocation.o src/base/thread_lister.o src/base/libtcmalloc_debug_la-linuxthreads.o src/libtcmalloc_debug_la-heap-checker.o src/libtcmalloc_debug_la-heap-checker-bcad.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/atomicops-internals-x86.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/dynamic_annotations.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/elf_mem_image.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-central_freelist.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-common.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-fake_stacktrace_scope.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-heap-profile-table.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-heap-profiler.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-internal_logging.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-low_level_alloc.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-malloc_extension.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-malloc_hook.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-memfs_malloc.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-memory_region_map.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-page_heap.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-raw_printer.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-sampler.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-span.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-stack_trace_table.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-static_vars.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-symbolize.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-system-alloc.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/libtcmalloc_internal_la-thread_cache.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/logging.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/spinlock.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/spinlock_internal.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/stacktrace.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/sysinfo.o .libs/libtcmalloc_debug.lax/libtcmalloc_internal.a/vdso_support.o .libs/libtcmalloc_debug.lax/libmaybe_threads.a/maybe_threads.o libtool: link: rm -fr .libs/libtcmalloc.lax libtool: link: ranlib .libs/libtcmalloc_debug.a libtool: link: ( cd ".libs" && rm -f "libtcmalloc.la" && ln -s "../libtcmalloc.la" "libtcmalloc.la" ) libtool: link: rm -fr .libs/libtcmalloc_debug.lax /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o malloc_hook_test src/tests/malloc_hook_test-malloc_hook_test.o src/tests/malloc_hook_test-testutil.o libtcmalloc_minimal.la libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/frag_unittest src/tests/frag_unittest-frag_unittest.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_minimal.dylib /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o malloc_extension_test src/tests/malloc_extension_test-malloc_extension_test.o libtcmalloc_minimal.la libtool: link: ( cd ".libs" && rm -f "libtcmalloc_debug.la" && ln -s "../libtcmalloc_debug.la" "libtcmalloc_debug.la" ) libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/markidle_unittest src/tests/markidle_unittest-markidle_unittest.o src/tests/markidle_unittest-testutil.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_minimal.dylib /opt/pkg/bin/mksh ./libtool --tag=CC --mode=link clang -D_THREAD_SAFE -ansi -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o malloc_extension_c_test src/tests/malloc_extension_c_test-malloc_extension_c_test.o libtcmalloc_minimal.la -lstdc++ -lm /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o page_heap_test src/tests/page_heap_test-page_heap_test.o libtcmalloc_minimal.la libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/current_allocated_bytes_test src/tests/current_allocated_bytes_test-current_allocated_bytes_test.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_minimal.dylib /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o pagemap_unittest src/tests/pagemap_unittest-pagemap_unittest.o libtcmalloc_minimal.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o realloc_unittest src/tests/realloc_unittest-realloc_unittest.o libtcmalloc_minimal.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o stack_trace_table_test src/tests/stack_trace_table_test-stack_trace_table_test.o libtcmalloc_minimal.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o thread_dealloc_unittest src/tests/thread_dealloc_unittest-thread_dealloc_unittest.o src/tests/thread_dealloc_unittest-testutil.o libtcmalloc_minimal.la libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/malloc_hook_test src/tests/malloc_hook_test-malloc_hook_test.o src/tests/malloc_hook_test-testutil.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_minimal.dylib libtool: link: clang -D_THREAD_SAFE -ansi -O2 -D_THREAD_SAFE -o .libs/malloc_extension_c_test src/tests/malloc_extension_c_test-malloc_extension_c_test.o -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_minimal.dylib -lstdc++ -lm libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/malloc_extension_test src/tests/malloc_extension_test-malloc_extension_test.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_minimal.dylib libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/page_heap_test src/tests/page_heap_test-page_heap_test.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_minimal.dylib libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/pagemap_unittest src/tests/pagemap_unittest-pagemap_unittest.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_minimal.dylib /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DDEBUGALLOCATION -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o tcmalloc_minimal_debug_unittest src/tests/tcmalloc_minimal_debug_unittest-tcmalloc_unittest.o src/tests/tcmalloc_minimal_debug_unittest-testutil.o libtcmalloc_minimal_debug.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o malloc_extension_debug_test src/tests/malloc_extension_debug_test-malloc_extension_test.o libtcmalloc_minimal_debug.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o realloc_debug_unittest src/tests/realloc_debug_unittest-realloc_unittest.o libtcmalloc_minimal_debug.la libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/realloc_unittest src/tests/realloc_unittest-realloc_unittest.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_minimal.dylib /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o tcmalloc_large_unittest src/tests/tcmalloc_large_unittest-tcmalloc_large_unittest.o libtcmalloc.la libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/stack_trace_table_test src/tests/stack_trace_table_test-stack_trace_table_test.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_minimal.dylib /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o tcmalloc_large_heap_fragmentation_unittest src/tests/tcmalloc_large_heap_fragmentation_unittest-large_heap_fragmentation_unittest.o libtcmalloc.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o raw_printer_test src/tests/raw_printer_test-raw_printer_test.o libtcmalloc.la libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/thread_dealloc_unittest src/tests/thread_dealloc_unittest-thread_dealloc_unittest.o src/tests/thread_dealloc_unittest-testutil.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_minimal.dylib /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o sampler_test src/tests/sampler_test-sampler_test.o libtcmalloc.la -lm /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -L/opt/pkg/lib -o simple_compat_test src/tests/simple_compat_test.o libtcmalloc.la libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/malloc_extension_debug_test src/tests/malloc_extension_debug_test-malloc_extension_test.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_minimal_debug.dylib libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/realloc_debug_unittest src/tests/realloc_debug_unittest-realloc_unittest.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_minimal_debug.dylib libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DDEBUGALLOCATION -O2 -D_THREAD_SAFE -o .libs/tcmalloc_minimal_debug_unittest src/tests/tcmalloc_minimal_debug_unittest-tcmalloc_unittest.o src/tests/tcmalloc_minimal_debug_unittest-testutil.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_minimal_debug.dylib libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/tcmalloc_large_unittest src/tests/tcmalloc_large_unittest-tcmalloc_large_unittest.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc.dylib for la in libtcmalloc_minimal.la libtcmalloc_minimal_debug.la libtcmalloc.la libtcmalloc_debug.la ; do lib=".libs/`basename $la .la`.a"; [ ! -f "$lib" ] || : "$lib"; done libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/raw_printer_test src/tests/raw_printer_test-raw_printer_test.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc.dylib /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o sampler_debug_test src/tests/sampler_debug_test-sampler_test.o libtcmalloc_debug.la -lm libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/tcmalloc_large_heap_fragmentation_unittest src/tests/tcmalloc_large_heap_fragmentation_unittest-large_heap_fragmentation_unittest.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc.dylib /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DDEBUGALLOCATION -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o tcmalloc_debug_unittest src/tests/tcmalloc_debug_unittest-tcmalloc_unittest.o src/tests/tcmalloc_debug_unittest-testutil.o libtcmalloc_debug.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o debugallocation_test src/tests/debugallocation_test-debugallocation_test.o libtcmalloc_debug.la libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/sampler_test src/tests/sampler_test-sampler_test.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc.dylib -lm /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o malloc_bench_shared_full benchmark/malloc_bench_shared_full-malloc_bench.o librun_benchmark.la libtcmalloc.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -L/opt/pkg/lib -o tcmalloc_unittest src/tests/tcmalloc_unittest-tcmalloc_unittest.o src/tests/tcmalloc_unittest-testutil.o libtcmalloc.la liblogging.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -g -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -g -D_THREAD_SAFE -L/opt/pkg/lib -o sampling_test src/tests/sampling_test-sampling_test.o libtcmalloc.la libtool: link: clang++ -std=gnu++11 -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -o .libs/simple_compat_test src/tests/simple_compat_test.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc.dylib /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -g -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -g -D_THREAD_SAFE -L/opt/pkg/lib -o heap-profiler_unittest src/tests/heap_profiler_unittest-heap-profiler_unittest.o libtcmalloc.la /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -g -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -g -D_THREAD_SAFE -L/opt/pkg/lib -o heap-checker_unittest src/tests/heap_checker_unittest-heap-checker_unittest.o libtcmalloc.la liblogging.la libtool: link: clang++ -std=gnu++11 -O2 -D_THREAD_SAFE -o .libs/sampler_debug_test src/tests/sampler_debug_test-sampler_test.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_debug.dylib -lm libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -DDEBUGALLOCATION -O2 -D_THREAD_SAFE -o .libs/tcmalloc_debug_unittest src/tests/tcmalloc_debug_unittest-tcmalloc_unittest.o src/tests/tcmalloc_debug_unittest-testutil.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_debug.dylib libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/debugallocation_test src/tests/debugallocation_test-debugallocation_test.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_debug.dylib /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -g -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -g -D_THREAD_SAFE -L/opt/pkg/lib -o sampling_debug_test src/tests/sampling_debug_test-sampling_test.o libtcmalloc_debug.la libtool: link: clang++ -std=gnu++11 -g -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -g -D_THREAD_SAFE -o .libs/sampling_test src/tests/sampling_test-sampling_test.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc.dylib /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -g -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -g -D_THREAD_SAFE -L/opt/pkg/lib -o heap-profiler_debug_unittest src/tests/heap_profiler_debug_unittest-heap-profiler_unittest.o libtcmalloc_debug.la libtool: link: clang++ -std=gnu++11 -g -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -g -D_THREAD_SAFE -o .libs/heap-profiler_unittest src/tests/heap_profiler_unittest-heap-profiler_unittest.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc.dylib /opt/pkg/bin/mksh ./libtool --tag=CXX --mode=link clang++ -std=gnu++11 -g -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -g -D_THREAD_SAFE -L/opt/pkg/lib -o heap-checker_debug_unittest src/tests/heap_checker_debug_unittest-heap-checker_unittest.o libtcmalloc_debug.la liblogging.la libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/malloc_bench_shared_full benchmark/malloc_bench_shared_full-malloc_bench.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/librun_benchmark.a ./.libs/libtcmalloc.dylib libtool: link: clang++ -std=gnu++11 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -D_THREAD_SAFE -o .libs/tcmalloc_unittest src/tests/tcmalloc_unittest-tcmalloc_unittest.o src/tests/tcmalloc_unittest-testutil.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc.dylib ./.libs/liblogging.a rm -f debugallocation_test.sh cp -p ./src/tests/debugallocation_test.sh debugallocation_test.sh rm -f sampling_test.sh rm -f heap-profiler_unittest.sh cp -p ./src/tests/sampling_test.sh sampling_test.sh cp -p ./src/tests/heap-profiler_unittest.sh heap-profiler_unittest.sh rm -f tcmalloc_unittest.sh libtool: link: clang++ -std=gnu++11 -g -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -g -D_THREAD_SAFE -o .libs/heap-checker_unittest src/tests/heap_checker_unittest-heap-checker_unittest.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc.dylib ./.libs/liblogging.a cp -p ./src/tests/tcmalloc_unittest.sh tcmalloc_unittest.sh libtool: link: clang++ -std=gnu++11 -g -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -g -D_THREAD_SAFE -o .libs/sampling_debug_test src/tests/sampling_debug_test-sampling_test.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_debug.dylib libtool: link: clang++ -std=gnu++11 -g -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -g -D_THREAD_SAFE -o .libs/heap-profiler_debug_unittest src/tests/heap_profiler_debug_unittest-heap-profiler_unittest.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_debug.dylib rm -f heap-checker_unittest.sh rm -f heap-checker-death_unittest.sh cp -p ./src/tests/heap-checker-death_unittest.sh heap-checker-death_unittest.sh cp -p ./src/tests/heap-checker_unittest.sh heap-checker_unittest.sh rm -f sampling_debug_test.sh cp -p ./src/tests/sampling_test.sh sampling_debug_test.sh libtool: link: clang++ -std=gnu++11 -g -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-unused-result -fsized-deallocation -faligned-new -O2 -g -D_THREAD_SAFE -o .libs/heap-checker_debug_unittest src/tests/heap_checker_debug_unittest-heap-checker_unittest.o -Wl,-bind_at_load -L/opt/work/devel/gperftools/work/.buildlink/lib ./.libs/libtcmalloc_debug.dylib ./.libs/liblogging.a rm -f heap-profiler_debug_unittest.sh cp -p ./src/tests/heap-profiler_unittest.sh heap-profiler_debug_unittest.sh rm -f heap-checker_debug_unittest.sh cp -p ./src/tests/heap-checker_unittest.sh heap-checker_debug_unittest.sh