substrate-node-template: Build error

Question

when I used command cargo build --release, there was a compile error.

LIB_x86_64-apple-darwin = None
  CXXSTDLIB_x86_64_apple_darwin = None
  HOST_CXXSTDLIB = None
  CXXSTDLIB = None
  cargo:rustc-link-lib=c++
  cargo:rerun-if-changed=snappy/
  TARGET = Some("x86_64-apple-darwin")
  OPT_LEVEL = Some("3")
  HOST = Some("x86_64-apple-darwin")
  CXX_x86_64-apple-darwin = None
  CXX_x86_64_apple_darwin = None
  HOST_CXX = None
  CXX = None
  CXXFLAGS_x86_64-apple-darwin = None
  CXXFLAGS_x86_64_apple_darwin = None
  HOST_CXXFLAGS = None
  CXXFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("false")
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,sse3,ssse3")
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-arch" "x86_64" "-I" "snappy/" "-I" "." "-Wall" "-std=c++11" "-DNDEBUG=1" "-o" "/Users/lizhen/Code/substrate/tutorials-1-first-substrate-chain/substrate-node-template/target/release/build/librocksdb-sys-7f7d33f4548d89f8/out/snappy/snappy.o" "-c" "snappy/snappy.cc"
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-arch" "x86_64" "-I" "snappy/" "-I" "." "-Wall" "-std=c++11" "-DNDEBUG=1" "-o" "/Users/lizhen/Code/substrate/tutorials-1-first-substrate-chain/substrate-node-template/target/release/build/librocksdb-sys-7f7d33f4548d89f8/out/snappy/snappy-sinksource.o" "-c" "snappy/snappy-sinksource.cc"
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-arch" "x86_64" "-I" "snappy/" "-I" "." "-Wall" "-std=c++11" "-DNDEBUG=1" "-o" "/Users/lizhen/Code/substrate/tutorials-1-first-substrate-chain/substrate-node-template/target/release/build/librocksdb-sys-7f7d33f4548d89f8/out/snappy/snappy-c.o" "-c" "snappy/snappy-c.cc"
  exit status: 0
  exit status: 0
  cargo:warning=snappy/snappy.cc:1033:36: error: invalid output constraint '=@ccz' in asm
  cargo:warning=      : [tag_type] "+r"(tag_type), "=@ccz"(is_literal));
  cargo:warning=                                   ^
  cargo:warning=1 error generated.
  exit status: 1

  --- stderr


  error occurred: Command "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-arch" "x86_64" "-I" "snappy/" "-I" "." "-Wall" "-std=c++11" "-DNDEBUG=1" "-o" "/Users/lizhen/Code/substrate/tutorials-1-first-substrate-chain/substrate-node-template/target/release/build/librocksdb-sys-7f7d33f4548d89f8/out/snappy/snappy.o" "-c" "snappy/snappy.cc" with args "c++" did not execute successfully (status code exit status: 1).

My Rust version

default host: x86_64-apple-darwin
rustup home:  /Users/lizhen/.rustup

installed toolchains
--------------------

stable-x86_64-apple-darwin (default)
nightly-x86_64-apple-darwin

active toolchain
----------------

stable-x86_64-apple-darwin (default)
rustc 1.60.0 (7737e0b5c 2022-04-04)

followed Create your first Substrate blockchain Version3

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 33 (12 by maintainers)

Most upvoted comments

I believe this should be solved in a release of snappy https://github.com/google/snappy/releases/tag/1.1.9 that will be included in https://github.com/facebook/rocksdb/releases/ perhaps 7.2.3…

And finally upstream in substrate. Keep a lookout for a next release of Polkadot that includes a fix 🙏

Same issue here too. I agree with you @NukeManDan, I think it’s: google/snappy@8dd58a5

Also, maybe this can help solve it out: invalid output constraint ‘=@ccz’ in asm

Default host: x86_64-apple-darwin
rustup home:  /Users/xxx/.rustup

installed toolchains
--------------------

stable-x86_64-apple-darwin (default)
nightly-x86_64-apple-darwin

installed targets for active toolchain
--------------------------------------

wasm32-unknown-unknown
x86_64-apple-darwin

active toolchain
----------------

nightly-x86_64-apple-darwin (overridden by +toolchain on the command line)
rustc 1.62.0-nightly (e1b71feb5 2022-05-03)

More info: Everything works fine until polkadot-v0.9.17, which includes:

[[package]]
name = "librocksdb-sys"
version = "6.20.3"

the compiling error starts with the following updated version:

[[package]]
name = "librocksdb-sys"
version = "0.6.1+6.28.2"

Agree with closed but may need to update Tutorial content to help newbies. I tried to leave website comment but did not work.

Still getting

error: failed to run custom build command for `tikv-jemalloc-sys v0.4.3+5.2.1-patched.2`

Caused by:
  process didn't exit successfully: `/Users/hypeempreendimentos/Desktop/my projects/substrate-node-template/target/debug/build/tikv-jemalloc-sys-9d0a84b3886f9841/build-script-build` (exit status: 101)
  --- stdout
  TARGET=aarch64-apple-darwin
  HOST=aarch64-apple-darwin
  NUM_JOBS=8
  OUT_DIR="/Users/hypeempreendimentos/Desktop/my projects/substrate-node-template/target/debug/build/tikv-jemalloc-sys-ce22b21209d16031/out"
  BUILD_DIR="/Users/hypeempreendimentos/Desktop/my projects/substrate-node-template/target/debug/build/tikv-jemalloc-sys-ce22b21209d16031/out/build"
  SRC_DIR="/Users/hypeempreendimentos/.cargo/registry/src/github.com-1ecc6299db9ec823/tikv-jemalloc-sys-0.4.3+5.2.1-patched.2"
  cargo:warning="Unprefixed `malloc` requested on unsupported platform `aarch64-apple-darwin` => using prefixed `malloc`"
  cargo:rustc-cfg=prefixed
  OPT_LEVEL = Some("0")
  TARGET = Some("aarch64-apple-darwin")
  HOST = Some("aarch64-apple-darwin")
  CC_aarch64-apple-darwin = None
  CC_aarch64_apple_darwin = None
  HOST_CC = None
  CC = None
  CFLAGS_aarch64-apple-darwin = None
  CFLAGS_aarch64_apple_darwin = None
  HOST_CFLAGS = None
  CFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("true")
  CARGO_CFG_TARGET_FEATURE = Some("aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh")
  CC="cc"
  CFLAGS="-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall"
  JEMALLOC_REPO_DIR="jemalloc"
  --with-jemalloc-prefix=_rjem_
  running: "sh" "/Users/hypeempreendimentos/Desktop/my projects/substrate-node-template/target/debug/build/tikv-jemalloc-sys-ce22b21209d16031/out/build/configure" "--disable-cxx" "--with-jemalloc-prefix=_rjem_" "--with-private-namespace=_rjem_" "--host=aarch64-apple-darwin" "--build=aarch64-apple-darwin" "--prefix=/Users/hypeempreendimentos/Desktop/my projects/substrate-node-template/target/debug/build/tikv-jemalloc-sys-ce22b21209d16031/out"
  checking for xsltproc... /usr/bin/xsltproc
  checking for aarch64-apple-darwin-gcc... cc
  checking whether the C compiler works... yes
  checking for C compiler default output file name... a.out
  checking for suffix of executables... 
  checking whether we are cross compiling... no
  checking for suffix of object files... o
  checking whether we are using the GNU C compiler... yes
  checking whether cc accepts -g... yes
  checking for cc option to accept ISO C89... none needed
  checking whether compiler is cray... no
  checking whether compiler supports -std=gnu11... yes
  checking whether compiler supports -Wall... yes
  checking whether compiler supports -Wextra... yes
  checking whether compiler supports -Wshorten-64-to-32... yes
  checking whether compiler supports -Wsign-compare... yes
  checking whether compiler supports -Wundef... yes
  checking whether compiler supports -Wno-format-zero-length... yes
  checking whether compiler supports -pipe... yes
  checking whether compiler supports -g3... yes
  checking how to run the C preprocessor... cc -E
  checking for grep that handles long lines and -e... /usr/bin/grep
  checking for egrep... /usr/bin/grep -E
  checking for ANSI C header files... yes
  checking for sys/types.h... yes
  checking for sys/stat.h... yes
  checking for stdlib.h... yes
  checking for string.h... yes
  checking for memory.h... yes
  checking for strings.h... yes
  checking for inttypes.h... yes
  checking for stdint.h... yes
  checking for unistd.h... yes
  checking whether byte ordering is bigendian... no
  checking size of void *... 8
  checking size of int... 4
  checking size of long... 8
  checking size of long long... 8
  checking size of intmax_t... 8
  checking build system type... aarch64-apple-darwin
  checking host system type... aarch64-apple-darwin
  checking number of significant virtual address bits... 48
  checking for aarch64-apple-darwin-ar... no
  checking for ar... ar
  checking for aarch64-apple-darwin-nm... no
  checking for nm... nm
  checking for gawk... no
  checking for mawk... no
  checking for nawk... no
  checking for awk... awk
  checking malloc.h usability... no
  checking malloc.h presence... no
  checking for malloc.h... no
  checking for library containing log... none required
  checking whether __attribute__ syntax is compilable... yes
  checking whether compiler supports -Werror... yes
  checking whether compiler supports -herror_on_warning... no
  checking whether tls_model attribute is compilable... yes
  checking whether compiler supports -Werror... yes
  checking whether compiler supports -herror_on_warning... no
  checking whether alloc_size attribute is compilable... yes
  checking whether compiler supports -Werror... yes
  checking whether compiler supports -herror_on_warning... no
  checking whether format(gnu_printf, ...) attribute is compilable... no
  checking whether compiler supports -Werror... yes
  checking whether compiler supports -herror_on_warning... no
  checking whether format(printf, ...) attribute is compilable... yes
  checking whether compiler supports -Werror... yes
  checking whether compiler supports -herror_on_warning... no
  checking whether format(printf, ...) attribute is compilable... yes
  checking for a BSD-compatible install... /usr/bin/install -c
  checking for aarch64-apple-darwin-ranlib... no
  checking for ranlib... ranlib
  checking for ld... /usr/bin/ld
  checking for autoconf... false
  checking for memalign... no
  checking for valloc... yes
  checking whether compiler supports -O3... yes
  checking whether compiler supports -O3... no
  checking whether compiler supports -funroll-loops... yes
  checking configured backtracing method... N/A
  checking for sbrk... yes
  Disabling dss allocation because sbrk is deprecated
  checking whether utrace(2) is compilable... no
  checking whether a program using __builtin_unreachable is compilable... yes
  checking whether a program using __builtin_ffsl is compilable... yes
  checking whether a program using __builtin_popcountl is compilable... yes
  checking LG_PAGE... 14
  checking pthread.h usability... yes
  checking pthread.h presence... yes
  checking for pthread.h... yes
  checking for pthread_create in -lpthread... yes
  checking dlfcn.h usability... yes
  checking dlfcn.h presence... yes
  checking for dlfcn.h... yes
  checking for dlsym... yes
  checking whether pthread_atfork(3) is compilable... yes
  checking whether pthread_setname_np(3) is compilable... no
  checking for library containing clock_gettime... none required
  checking whether clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is compilable... no
  checking whether clock_gettime(CLOCK_MONOTONIC, ...) is compilable... no
  checking whether mach_absolute_time() is compilable... yes
  checking whether compiler supports -Werror... yes
  checking whether syscall(2) is compilable... no
  checking for secure_getenv... no
  checking for sched_getcpu... no
  checking for sched_setaffinity... no
  checking for issetugid... yes
  checking for _malloc_thread_cleanup... no
  checking for _pthread_mutex_init_calloc_cb... no
  checking whether C11 atomics is compilable... yes
  checking whether GCC __atomic atomics is compilable... yes
  checking whether GCC 8-bit __atomic atomics is compilable... yes
  checking whether GCC __sync atomics is compilable... yes
  checking whether GCC 8-bit __sync atomics is compilable... yes
  checking whether Darwin OSAtomic*() is compilable... yes
  checking whether madvise(2) is compilable... yes
  checking whether madvise(..., MADV_FREE) is compilable... yes
  checking whether madvise(..., MADV_DONTNEED) is compilable... yes
  checking whether madvise(..., MADV_DO[NT]DUMP) is compilable... no
  checking whether madvise(..., MADV_[NO]HUGEPAGE) is compilable... no
  checking for __builtin_clz... yes
  checking whether Darwin os_unfair_lock_*() is compilable... yes
  checking whether glibc malloc hook is compilable... no
  checking whether glibc memalign hook is compilable... no
  checking whether pthreads adaptive mutexes is compilable... no
  checking whether compiler supports -D_GNU_SOURCE... yes
  checking whether compiler supports -Werror... yes
  checking whether compiler supports -herror_on_warning... no
  checking whether strerror_r returns char with gnu source is compilable... no
  checking for stdbool.h that conforms to C99... yes
  checking for _Bool... yes
  configure: creating ./config.status
  config.status: creating Makefile
  config.status: creating jemalloc.pc
  config.status: creating doc/html.xsl
  config.status: creating doc/manpages.xsl
  config.status: creating doc/jemalloc.xml
  config.status: creating include/jemalloc/jemalloc_macros.h
  config.status: creating include/jemalloc/jemalloc_protos.h
  config.status: creating include/jemalloc/jemalloc_typedefs.h
  config.status: creating include/jemalloc/internal/jemalloc_preamble.h
  config.status: creating test/test.sh
  config.status: creating test/include/test/jemalloc_test.h
  config.status: creating config.stamp
  config.status: creating bin/jemalloc-config
  config.status: creating bin/jemalloc.sh
  config.status: creating bin/jeprof
  config.status: creating include/jemalloc/jemalloc_defs.h
  config.status: creating include/jemalloc/internal/jemalloc_internal_defs.h
  config.status: creating test/include/test/jemalloc_test_defs.h
  config.status: executing include/jemalloc/internal/public_symbols.txt commands
  config.status: executing include/jemalloc/internal/private_symbols.awk commands
  config.status: executing include/jemalloc/internal/private_symbols_jet.awk commands
  config.status: executing include/jemalloc/internal/public_namespace.h commands
  config.status: executing include/jemalloc/internal/public_unnamespace.h commands
  config.status: executing include/jemalloc/jemalloc_protos_jet.h commands
  config.status: executing include/jemalloc/jemalloc_rename.h commands
  config.status: executing include/jemalloc/jemalloc_mangle.h commands
  config.status: executing include/jemalloc/jemalloc_mangle_jet.h commands
  config.status: executing include/jemalloc/jemalloc.h commands
  ===============================================================================
  jemalloc version   : 5.2.1-2-g172143a2979d9d948035423ce347e35cd1388fc3
  library revision   : 2

  CONFIG             : --disable-cxx --with-jemalloc-prefix=_rjem_ --with-private-namespace=_rjem_ --host=aarch64-apple-darwin --build=aarch64-apple-darwin '--prefix=/Users/hypeempreendimentos/Desktop/my projects/substrate-node-template/target/debug/build/tikv-jemalloc-sys-ce22b21209d16031/out' build_alias=aarch64-apple-darwin host_alias=aarch64-apple-darwin CC=cc 'CFLAGS=-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall' 'LDFLAGS=-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall' 'CPPFLAGS=-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall'
  CC                 : cc
  CONFIGURE_CFLAGS   : -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops
  SPECIFIED_CFLAGS   : -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall
  EXTRA_CFLAGS       : 
  CPPFLAGS           : -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT
  CXX                : 
  CONFIGURE_CXXFLAGS : 
  SPECIFIED_CXXFLAGS : 
  EXTRA_CXXFLAGS     : 
  LDFLAGS            : -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall
  EXTRA_LDFLAGS      : 
  DSO_LDFLAGS        : -shared -Wl,-install_name,$(LIBDIR)/$(@F)
  LIBS               : -pthread
  RPATH_EXTRA        : 

  XSLTPROC           : /usr/bin/xsltproc
  XSLROOT            : 

  PREFIX             : /Users/hypeempreendimentos/Desktop/my projects/substrate-node-template/target/debug/build/tikv-jemalloc-sys-ce22b21209d16031/out
  BINDIR             : /Users/hypeempreendimentos/Desktop/my projects/substrate-node-template/target/debug/build/tikv-jemalloc-sys-ce22b21209d16031/out/bin
  DATADIR            : /Users/hypeempreendimentos/Desktop/my projects/substrate-node-template/target/debug/build/tikv-jemalloc-sys-ce22b21209d16031/out/share
  INCLUDEDIR         : /Users/hypeempreendimentos/Desktop/my projects/substrate-node-template/target/debug/build/tikv-jemalloc-sys-ce22b21209d16031/out/include
  LIBDIR             : /Users/hypeempreendimentos/Desktop/my projects/substrate-node-template/target/debug/build/tikv-jemalloc-sys-ce22b21209d16031/out/lib
  MANDIR             : /Users/hypeempreendimentos/Desktop/my projects/substrate-node-template/target/debug/build/tikv-jemalloc-sys-ce22b21209d16031/out/share/man

  srcroot            : 
  abs_srcroot        : /Users/hypeempreendimentos/Desktop/my projects/substrate-node-template/target/debug/build/tikv-jemalloc-sys-ce22b21209d16031/out/build/
  objroot            : 
  abs_objroot        : /Users/hypeempreendimentos/Desktop/my projects/substrate-node-template/target/debug/build/tikv-jemalloc-sys-ce22b21209d16031/out/build/

  JEMALLOC_PREFIX    : _rjem_
  JEMALLOC_PRIVATE_NAMESPACE
                     : _rjem_je_
  install_suffix     : 
  malloc_conf        : 
  documentation      : 1
  shared libs        : 1
  static libs        : 1
  autogen            : 0
  debug              : 0
  stats              : 1
  experimetal_smallocx : 0
  prof               : 0
  prof-libunwind     : 0
  prof-libgcc        : 0
  prof-gcc           : 0
  fill               : 1
  utrace             : 0
  xmalloc            : 0
  log                : 0
  lazy_lock          : 0
  cache-oblivious    : 1
  cxx                : 0
  ===============================================================================
  running: "make" "-j" "8"
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/jemalloc.sym.o src/jemalloc.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/arena.sym.o src/arena.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/background_thread.sym.o src/background_thread.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/base.sym.o src/base.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/bin.sym.o src/bin.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/bitmap.sym.o src/bitmap.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/ckh.sym.o src/ckh.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/ctl.sym.o src/ctl.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/div.sym.o src/div.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/extent.sym.o src/extent.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/extent_dss.sym.o src/extent_dss.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/extent_mmap.sym.o src/extent_mmap.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/hash.sym.o src/hash.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/hook.sym.o src/hook.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/large.sym.o src/large.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/log.sym.o src/log.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/malloc_io.sym.o src/malloc_io.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/mutex.sym.o src/mutex.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/mutex_pool.sym.o src/mutex_pool.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/nstime.sym.o src/nstime.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/pages.sym.o src/pages.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/prng.sym.o src/prng.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/prof.sym.o src/prof.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/rtree.sym.o src/rtree.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/safety_check.sym.o src/safety_check.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/stats.sym.o src/stats.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/sc.sym.o src/sc.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/sz.sym.o src/sz.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/tcache.sym.o src/tcache.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/test_hooks.sym.o src/test_hooks.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/ticker.sym.o src/ticker.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/tsd.sym.o src/tsd.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/witness.sym.o src/witness.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/zone.sym.o src/zone.c
  nm -a src/arena.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/arena.sym
  nm -a src/background_thread.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/background_thread.sym
  nm -a src/base.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/base.sym
  nm -a src/bin.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/bin.sym
  nm -a src/bitmap.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/bitmap.sym
  nm -a src/ctl.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/ctl.sym
  nm -a src/ckh.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/ckh.sym
  nm -a src/div.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/div.sym
  nm -a src/extent.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/extent.sym
  nm -a src/extent_dss.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/extent_dss.sym
  nm -a src/extent_mmap.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/extent_mmap.sym
  nm -a src/hash.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/hash.sym
  nm -a src/hook.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/hook.sym
  nm -a src/large.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/large.sym
  nm -a src/log.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/log.sym
  nm -a src/malloc_io.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/malloc_io.sym
  nm -a src/mutex.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/mutex.sym
  nm -a src/mutex_pool.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/mutex_pool.sym
  nm -a src/nstime.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/nstime.sym
  nm -a src/pages.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/pages.sym
  nm -a src/prng.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/prng.sym
  nm -a src/rtree.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/rtree.sym
  nm -a src/safety_check.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/safety_check.sym
  nm -a src/stats.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/stats.sym
  nm -a src/sc.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/sc.sym
  nm -a src/sz.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/sz.sym
  nm -a src/test_hooks.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/test_hooks.sym
  nm -a src/ticker.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/ticker.sym
  nm -a src/tsd.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/tsd.sym
  nm -a src/witness.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/witness.sym
  nm -a src/zone.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/zone.sym
  nm -a src/tcache.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/tcache.sym
  nm -a src/prof.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/prof.sym
  nm -a src/jemalloc.sym.o | awk -f include/jemalloc/internal/private_symbols.awk > src/jemalloc.sym
  /bin/sh include/jemalloc/internal/private_namespace.sh src/jemalloc.sym src/arena.sym src/background_thread.sym src/base.sym src/bin.sym src/bitmap.sym src/ckh.sym src/ctl.sym src/div.sym src/extent.sym src/extent_dss.sym src/extent_mmap.sym src/hash.sym src/hook.sym src/large.sym src/log.sym src/malloc_io.sym src/mutex.sym src/mutex_pool.sym src/nstime.sym src/pages.sym src/prng.sym src/prof.sym src/rtree.sym src/safety_check.sym src/stats.sym src/sc.sym src/sz.sym src/tcache.sym src/test_hooks.sym src/ticker.sym src/tsd.sym src/witness.sym src/zone.sym > include/jemalloc/internal/private_namespace.gen.h
  cp include/jemalloc/internal/private_namespace.gen.h include/jemalloc/internal/private_namespace.gen.h
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/jemalloc.pic.o src/jemalloc.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/arena.pic.o src/arena.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/background_thread.pic.o src/background_thread.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/base.pic.o src/base.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/bitmap.pic.o src/bitmap.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/bin.pic.o src/bin.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/ckh.pic.o src/ckh.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/ctl.pic.o src/ctl.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/div.pic.o src/div.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/extent.pic.o src/extent.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/extent_dss.pic.o src/extent_dss.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/extent_mmap.pic.o src/extent_mmap.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/hash.pic.o src/hash.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/hook.pic.o src/hook.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/large.pic.o src/large.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/log.pic.o src/log.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/malloc_io.pic.o src/malloc_io.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/mutex.pic.o src/mutex.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/mutex_pool.pic.o src/mutex_pool.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/nstime.pic.o src/nstime.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/pages.pic.o src/pages.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/prng.pic.o src/prng.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/prof.pic.o src/prof.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/rtree.pic.o src/rtree.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/safety_check.pic.o src/safety_check.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/stats.pic.o src/stats.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/sc.pic.o src/sc.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/sz.pic.o src/sz.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/tcache.pic.o src/tcache.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/test_hooks.pic.o src/test_hooks.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/ticker.pic.o src/ticker.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/tsd.pic.o src/tsd.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/witness.pic.o src/witness.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -fPIC -DPIC -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/zone.pic.o src/zone.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/jemalloc.o src/jemalloc.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/arena.o src/arena.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/background_thread.o src/background_thread.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/base.o src/base.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/bin.o src/bin.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/bitmap.o src/bitmap.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/ckh.o src/ckh.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/ctl.o src/ctl.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/div.o src/div.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/extent.o src/extent.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/extent_dss.o src/extent_dss.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/extent_mmap.o src/extent_mmap.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/hash.o src/hash.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/hook.o src/hook.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/large.o src/large.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/log.o src/log.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/malloc_io.o src/malloc_io.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/mutex.o src/mutex.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/mutex_pool.o src/mutex_pool.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/nstime.o src/nstime.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/pages.o src/pages.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/prng.o src/prng.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/prof.o src/prof.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/rtree.o src/rtree.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/safety_check.o src/safety_check.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/stats.o src/stats.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/sc.o src/sc.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/sz.o src/sz.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/tcache.o src/tcache.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/test_hooks.o src/test_hooks.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/ticker.o src/ticker.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/tsd.o src/tsd.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/witness.o src/witness.c
  cc -std=gnu11 -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -O3 -funroll-loops -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -c -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -D_REENTRANT -Iinclude -Iinclude -o src/zone.o src/zone.c
  ar crus lib/libjemalloc_pic.a src/jemalloc.pic.o src/arena.pic.o src/background_thread.pic.o src/base.pic.o src/bin.pic.o src/bitmap.pic.o src/ckh.pic.o src/ctl.pic.o src/div.pic.o src/extent.pic.o src/extent_dss.pic.o src/extent_mmap.pic.o src/hash.pic.o src/hook.pic.o src/large.pic.o src/log.pic.o src/malloc_io.pic.o src/mutex.pic.o src/mutex_pool.pic.o src/nstime.pic.o src/pages.pic.o src/prng.pic.o src/prof.pic.o src/rtree.pic.o src/safety_check.pic.o src/stats.pic.o src/sc.pic.o src/sz.pic.o src/tcache.pic.o src/test_hooks.pic.o src/ticker.pic.o src/tsd.pic.o src/witness.pic.o src/zone.pic.o
  cc -shared -Wl,-install_name,/Users/hypeempreendimentos/Desktop/my projects/substrate-node-template/target/debug/build/tikv-jemalloc-sys-ce22b21209d16031/out/lib/libjemalloc.2.dylib  -o lib/libjemalloc.2.dylib src/jemalloc.pic.o src/arena.pic.o src/background_thread.pic.o src/base.pic.o src/bin.pic.o src/bitmap.pic.o src/ckh.pic.o src/ctl.pic.o src/div.pic.o src/extent.pic.o src/extent_dss.pic.o src/extent_mmap.pic.o src/hash.pic.o src/hook.pic.o src/large.pic.o src/log.pic.o src/malloc_io.pic.o src/mutex.pic.o src/mutex_pool.pic.o src/nstime.pic.o src/pages.pic.o src/prng.pic.o src/prof.pic.o src/rtree.pic.o src/safety_check.pic.o src/stats.pic.o src/sc.pic.o src/sz.pic.o src/tcache.pic.o src/test_hooks.pic.o src/ticker.pic.o src/tsd.pic.o src/witness.pic.o src/zone.pic.o -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer -arch arm64 -Wall -pthread 

  --- stderr
  rm: conftest.dSYM: is a directory
  rm: conftest.dSYM: is a directory
  src/jemalloc.c:1028:7: warning: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Wstring-concatenation]
                      "/etc/malloc.conf",
                      ^
  src/jemalloc.c:1027:3: note: place parentheses around the string literal to silence warning
                  "\"name\" of the file referenced by the symbolic link named "
                  ^
  1 warning generated.
  src/jemalloc.c:1028:7: warning: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Wstring-concatenation]
                      "/etc/malloc.conf",
                      ^
  src/jemalloc.c:1027:3: note: place parentheses around the string literal to silence warning
                  "\"name\" of the file referenced by the symbolic link named "
                  ^
  src/jemalloc.c:1028:7: warning: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Wstring-concatenation]
                      "/etc/malloc.conf",
                      ^
  src/jemalloc.c:1027:3: note: place parentheses around the string literal to silence warning
                  "\"name\" of the file referenced by the symbolic link named "
                  ^
  1 warning generated.
  clang: error: no such file or directory: 'projects/substrate-node-template/target/debug/build/tikv-jemalloc-sys-ce22b21209d16031/out/lib/libjemalloc.2.dylib'
  make: *** [lib/libjemalloc.2.dylib] Error 1
  make: *** Waiting for unfinished jobs....
  1 warning generated.
  thread 'main' panicked at 'command did not execute successfully: "make" "-j" "8"
  expected success, got: exit status: 2', /Users/hypeempreendimentos/.cargo/registry/src/github.com-1ecc6299db9ec823/tikv-jemalloc-sys-0.4.3+5.2.1-patched.2/build.rs:338:9
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Tried with new clones of substrate repo but didn’t work. I have no idea about what to do now.

I have the same issue on my M1 machine as well - tried everything suggested by folks here and StackExchange

Or perhaps this is the reason. https://github.com/google/snappy/commit/8dd58a519f79f0742d4c68fbccb2aed2ddb651e8

snappy is a dependency of rocksdb