>>> jemalloc 5.2.1 Extracting bzcat /nvmedata/autobuild/instance-4/dl/jemalloc/jemalloc-5.2.1.tar.bz2 | tar --strip-components=1 -C /nvmedata/autobuild/instance-4/output-1/build/jemalloc-5.2.1 -xf - >>> jemalloc 5.2.1 Patching >>> jemalloc 5.2.1 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /nvmedata/autobuild/instance-4/output-1/build/jemalloc-5.2.1 -name $file); do cp support/gnuconfig/$file $i; done; done >>> jemalloc 5.2.1 Patching libtool >>> jemalloc 5.2.1 Configuring (cd /nvmedata/autobuild/instance-4/output-1/build/jemalloc-5.2.1/ && rm -rf config.cache && PATH="/nvmedata/autobuild/instance-4/output-1/host/bin:/nvmedata/autobuild/instance-4/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-gcc-ar" AS="/nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-as" LD="/nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-ld" NM="/nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-gcc-nm" CC="/nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-gcc" GCC="/nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-gcc" CPP="/nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-cpp" CXX="/nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-g++" FC="/nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-gfortran" F77="/nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-gfortran" RANLIB="/nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-gcc-ranlib" READELF="/nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-readelf" STRIP="/bin/true" OBJCOPY="/nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-objcopy" OBJDUMP="/nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/nvmedata/autobuild/instance-4/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/nvmedata/autobuild/instance-4/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/nvmedata/autobuild/instance-4/output-1/host/include" LDFLAGS_FOR_BUILD="-L/nvmedata/autobuild/instance-4/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-4/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-as" DEFAULT_LINKER="/nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wl,-elf2flt=-r -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static" LDFLAGS=" -Wl,-elf2flt=-r -static" FCFLAGS=" -Og -g0 -Wl,-elf2flt=-r -static" FFLAGS=" -Og -g0 -Wl,-elf2flt=-r -static" PKG_CONFIG="/nvmedata/autobuild/instance-4/output-1/host/bin/pkg-config" STAGING_DIR="/nvmedata/autobuild/instance-4/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no CONFIG_SITE=/dev/null ./configure --target=arm-buildroot-uclinux-uclibcgnueabi --host=arm-buildroot-uclinux-uclibcgnueabi --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls checking for xsltproc... /usr/bin/xsltproc checking for arm-buildroot-uclinux-uclibcgnueabi-gcc... /nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-gcc 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... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-gcc accepts -g... yes checking for /nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-gcc 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... no 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... /nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-cpp checking whether we are using the GNU C++ compiler... no checking whether no accepts -g... no checking whether no supports C++14 features by default... no checking whether no supports C++14 features with -std=c++14... no checking whether no supports C++14 features with -std=c++0x... no checking whether no supports C++14 features with +std=c++14... no checking whether no supports C++14 features with -h std=c++14... no configure: No compiler with C++14 support was found checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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... (cached) no checking size of void *... 4 checking size of int... 4 checking size of long... 4 checking size of long long... 8 checking size of intmax_t... 8 checking build system type... x86_64-pc-linux-gnu checking host system type... arm-buildroot-uclinux-uclibcgnueabi checking number of significant virtual address bits... 32 checking for arm-buildroot-uclinux-uclibcgnueabi-ar... /nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-gcc-ar checking for arm-buildroot-uclinux-uclibcgnueabi-nm... /nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-gcc-nm checking for gawk... gawk Unsupported operating system: arm-buildroot-uclinux-uclibcgnueabi checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking whether malloc_usable_size definition can use const argument... yes checking for library containing log... none required checking whether __attribute__ syntax is compilable... yes checking whether compiler supports -fvisibility=hidden... yes checking whether compiler supports -fvisibility=hidden... no checking whether compiler supports -Werror... yes checking whether compiler supports -herror_on_warning... no checking whether tls_model attribute is compilable... no 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... yes 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 arm-buildroot-uclinux-uclibcgnueabi-ranlib... /nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-gcc-ranlib checking for ld... /nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-ld checking for autoconf... /nvmedata/autobuild/instance-4/output-1/host/bin/autoconf checking for memalign... yes checking for valloc... yes checking for __libc_calloc... no checking for __libc_free... no checking for __libc_malloc... no checking for __libc_memalign... no checking for __libc_realloc... no checking for __libc_valloc... no checking for __posix_memalign... no 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 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... 12 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... no checking dlfcn.h presence... no checking for dlfcn.h... no 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... yes checking whether clock_gettime(CLOCK_MONOTONIC, ...) is compilable... yes checking whether mach_absolute_time() is compilable... no checking whether compiler supports -Werror... yes checking whether syscall(2) is compilable... yes checking for secure_getenv... yes checking for sched_getcpu... yes checking for sched_setaffinity... yes checking for issetugid... yes checking for _malloc_thread_cleanup... no checking for _pthread_mutex_init_calloc_cb... no checking for TLS... yes checking whether C11 atomics is compilable... no checking whether GCC __atomic atomics is compilable... no checking whether GCC __sync atomics is compilable... no checking whether Darwin OSAtomic*() is compilable... no checking whether madvise(2) is compilable... no checking for __builtin_clz... yes checking whether Darwin os_unfair_lock_*() is compilable... no checking whether glibc malloc hook is compilable... no checking whether glibc memalign hook is compilable... no checking whether pthreads adaptive mutexes is compilable... yes 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... yes 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 configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls =============================================================================== jemalloc version : 5.2.1-0-gea6b3e973b477b8061e0076bb257dbd7f3faa756 library revision : 2 CONFIG : --target=arm-buildroot-uclinux-uclibcgnueabi --host=arm-buildroot-uclinux-uclibcgnueabi --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared build_alias=x86_64-pc-linux-gnu host_alias=arm-buildroot-uclinux-uclibcgnueabi target_alias=arm-buildroot-uclinux-uclibcgnueabi CC=/nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-gcc 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wl,-elf2flt=-r -static' 'LDFLAGS= -Wl,-elf2flt=-r -static' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CPP=/nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-cpp CXX=no 'CXXFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static' CC : /nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-gcc CONFIGURE_CFLAGS : -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops SPECIFIED_CFLAGS : -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wl,-elf2flt=-r -static EXTRA_CFLAGS : CPPFLAGS : -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT CXX : no CONFIGURE_CXXFLAGS : SPECIFIED_CXXFLAGS : -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wl,-elf2flt=-r -static -Wl,-elf2flt=-r -static EXTRA_CXXFLAGS : LDFLAGS : -Wl,-elf2flt=-r -static EXTRA_LDFLAGS : DSO_LDFLAGS : -shared -Wl,-soname,$(@F) LIBS : -pthread RPATH_EXTRA : XSLTPROC : /usr/bin/xsltproc XSLROOT : /usr/share/xml/docbook/stylesheet/docbook-xsl PREFIX : /usr BINDIR : /usr/bin DATADIR : /usr/share INCLUDEDIR : /usr/include LIBDIR : /usr/lib MANDIR : /usr/share/man srcroot : abs_srcroot : /nvmedata/autobuild/instance-4/output-1/build/jemalloc-5.2.1/ objroot : abs_objroot : /nvmedata/autobuild/instance-4/output-1/build/jemalloc-5.2.1/ JEMALLOC_PREFIX : JEMALLOC_PRIVATE_NAMESPACE : je_ install_suffix : malloc_conf : documentation : 0 shared libs : 0 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 =============================================================================== >>> jemalloc 5.2.1 Building PATH="/nvmedata/autobuild/instance-4/output-1/host/bin:/nvmedata/autobuild/instance-4/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j1 -C /nvmedata/autobuild/instance-4/output-1/build/jemalloc-5.2.1/ make[1]: Entering directory '/nvmedata/autobuild/instance-4/output-1/build/jemalloc-5.2.1' /nvmedata/autobuild/instance-4/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-gcc -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wl,-elf2flt=-r -static -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/jemalloc.sym.o src/jemalloc.c In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:22:4: error: #error "Don't have atomics implemented on this platform." 22 | # error "Don't have atomics implemented on this platform." | ^~~~~ include/jemalloc/internal/atomic.h:62:35: error: unknown type name 'p' 62 | JEMALLOC_GENERATE_ATOMICS(void *, p, LG_SIZEOF_PTR) | ^ In file included from include/jemalloc/internal/jemalloc_preamble.h:21, from src/jemalloc.c:2: include/jemalloc/internal/../jemalloc.h:54:23: error: expected declaration specifiers or '...' before numeric constant 54 | #define LG_SIZEOF_PTR 2 | ^ include/jemalloc/internal/atomic.h:62:38: note: in expansion of macro 'LG_SIZEOF_PTR' 62 | JEMALLOC_GENERATE_ATOMICS(void *, p, LG_SIZEOF_PTR) | ^~~~~~~~~~~~~ In file included from include/jemalloc/internal/mutex_prof.h:5, from include/jemalloc/internal/mutex.h:5, from include/jemalloc/internal/extent_structs.h:7, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/nstime.h:10:3: warning: data definition has no type or storage class 10 | } nstime_t; | ^~~~~~~~ include/jemalloc/internal/nstime.h:10:3: warning: type defaults to 'int' in declaration of 'nstime_t' [-Wimplicit-int] include/jemalloc/internal/nstime.h:12:18: error: expected declaration specifiers or '...' before 'nstime_t' 12 | void nstime_init(nstime_t *time, uint64_t ns); | ^~~~~~~~ include/jemalloc/internal/nstime.h:13:19: error: expected declaration specifiers or '...' before 'nstime_t' 13 | void nstime_init2(nstime_t *time, uint64_t sec, uint64_t nsec); | ^~~~~~~~ include/jemalloc/internal/nstime.h:14:26: warning: type defaults to 'int' in declaration of 'nstime_t' [-Wimplicit-int] 14 | uint64_t nstime_ns(const nstime_t *time); | ^~~~~~~~ include/jemalloc/internal/nstime.h:14:35: error: expected ';', ',' or ')' before '*' token 14 | uint64_t nstime_ns(const nstime_t *time); | ^ include/jemalloc/internal/nstime.h:15:27: warning: type defaults to 'int' in declaration of 'nstime_t' [-Wimplicit-int] 15 | uint64_t nstime_sec(const nstime_t *time); | ^~~~~~~~ include/jemalloc/internal/nstime.h:15:36: error: expected ';', ',' or ')' before '*' token 15 | uint64_t nstime_sec(const nstime_t *time); | ^ include/jemalloc/internal/nstime.h:16:28: warning: type defaults to 'int' in declaration of 'nstime_t' [-Wimplicit-int] 16 | uint64_t nstime_msec(const nstime_t *time); | ^~~~~~~~ include/jemalloc/internal/nstime.h:16:37: error: expected ';', ',' or ')' before '*' token 16 | uint64_t nstime_msec(const nstime_t *time); | ^ include/jemalloc/internal/nstime.h:17:28: warning: type defaults to 'int' in declaration of 'nstime_t' [-Wimplicit-int] 17 | uint64_t nstime_nsec(const nstime_t *time); | ^~~~~~~~ include/jemalloc/internal/nstime.h:17:37: error: expected ';', ',' or ')' before '*' token 17 | uint64_t nstime_nsec(const nstime_t *time); | ^ include/jemalloc/internal/nstime.h:18:18: error: expected declaration specifiers or '...' before 'nstime_t' 18 | void nstime_copy(nstime_t *time, const nstime_t *source); | ^~~~~~~~ include/jemalloc/internal/nstime.h:18:40: warning: type defaults to 'int' in declaration of 'nstime_t' [-Wimplicit-int] 18 | void nstime_copy(nstime_t *time, const nstime_t *source); | ^~~~~~~~ include/jemalloc/internal/nstime.h:18:49: error: expected ';', ',' or ')' before '*' token 18 | void nstime_copy(nstime_t *time, const nstime_t *source); | ^ include/jemalloc/internal/nstime.h:19:26: warning: type defaults to 'int' in declaration of 'nstime_t' [-Wimplicit-int] 19 | int nstime_compare(const nstime_t *a, const nstime_t *b); | ^~~~~~~~ include/jemalloc/internal/nstime.h:19:35: error: expected ';', ',' or ')' before '*' token 19 | int nstime_compare(const nstime_t *a, const nstime_t *b); | ^ include/jemalloc/internal/nstime.h:20:17: error: expected declaration specifiers or '...' before 'nstime_t' 20 | void nstime_add(nstime_t *time, const nstime_t *addend); | ^~~~~~~~ include/jemalloc/internal/nstime.h:20:39: warning: type defaults to 'int' in declaration of 'nstime_t' [-Wimplicit-int] 20 | void nstime_add(nstime_t *time, const nstime_t *addend); | ^~~~~~~~ include/jemalloc/internal/nstime.h:20:48: error: expected ';', ',' or ')' before '*' token 20 | void nstime_add(nstime_t *time, const nstime_t *addend); | ^ include/jemalloc/internal/nstime.h:21:18: error: expected declaration specifiers or '...' before 'nstime_t' 21 | void nstime_iadd(nstime_t *time, uint64_t addend); | ^~~~~~~~ include/jemalloc/internal/nstime.h:22:22: error: expected declaration specifiers or '...' before 'nstime_t' 22 | void nstime_subtract(nstime_t *time, const nstime_t *subtrahend); | ^~~~~~~~ include/jemalloc/internal/nstime.h:22:44: warning: type defaults to 'int' in declaration of 'nstime_t' [-Wimplicit-int] 22 | void nstime_subtract(nstime_t *time, const nstime_t *subtrahend); | ^~~~~~~~ include/jemalloc/internal/nstime.h:22:53: error: expected ';', ',' or ')' before '*' token 22 | void nstime_subtract(nstime_t *time, const nstime_t *subtrahend); | ^ include/jemalloc/internal/nstime.h:23:23: error: expected declaration specifiers or '...' before 'nstime_t' 23 | void nstime_isubtract(nstime_t *time, uint64_t subtrahend); | ^~~~~~~~ include/jemalloc/internal/nstime.h:24:23: error: expected declaration specifiers or '...' before 'nstime_t' 24 | void nstime_imultiply(nstime_t *time, uint64_t multiplier); | ^~~~~~~~ include/jemalloc/internal/nstime.h:25:21: error: expected declaration specifiers or '...' before 'nstime_t' 25 | void nstime_idivide(nstime_t *time, uint64_t divisor); | ^~~~~~~~ include/jemalloc/internal/nstime.h:26:30: warning: type defaults to 'int' in declaration of 'nstime_t' [-Wimplicit-int] 26 | uint64_t nstime_divide(const nstime_t *time, const nstime_t *divisor); | ^~~~~~~~ include/jemalloc/internal/nstime.h:26:39: error: expected ';', ',' or ')' before '*' token 26 | uint64_t nstime_divide(const nstime_t *time, const nstime_t *divisor); | ^ include/jemalloc/internal/nstime.h:31:32: error: expected declaration specifiers or '...' before 'nstime_t' 31 | typedef bool (nstime_update_t)(nstime_t *); | ^~~~~~~~ include/jemalloc/internal/nstime.h:32:8: error: unknown type name 'nstime_update_t' 32 | extern nstime_update_t *JET_MUTABLE nstime_update; | ^~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/mutex.h:5, from include/jemalloc/internal/extent_structs.h:7, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/mutex_prof.h:82:2: error: expected specifier-qualifier-list before 'nstime_t' 82 | nstime_t tot_wait_time; | ^~~~~~~~ In file included from include/jemalloc/internal/tsd.h:7, from include/jemalloc/internal/mutex.h:6, from include/jemalloc/internal/extent_structs.h:7, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/jemalloc_internal_externs.h:35:8: error: unknown type name 'atomic_p_t' 35 | extern atomic_p_t arenas[]; | ^~~~~~~~~~ In file included from include/jemalloc/internal/mutex.h:6, from include/jemalloc/internal/extent_structs.h:7, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/tsd.h:173:23: error: unknown type name 'atomic_u8_t' 173 | # define tsd_state_t atomic_u8_t | ^~~~~~~~~~~ include/jemalloc/internal/tsd.h:196:2: note: in expansion of macro 'tsd_state_t' 196 | tsd_state_t state; | ^~~~~~~~~~~ In file included from include/jemalloc/internal/extent_structs.h:7, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/mutex.h:50:4: error: unknown type name 'atomic_b_t' 50 | atomic_b_t locked; | ^~~~~~~~~~ include/jemalloc/internal/mutex.h: In function 'malloc_mutex_lock_final': include/jemalloc/internal/mutex.h:156:2: warning: implicit declaration of function 'atomic_store_b'; did you mean 'tsd_atomic_store'? [-Wimplicit-function-declaration] 156 | atomic_store_b(&mutex->locked, true, ATOMIC_RELAXED); | ^~~~~~~~~~~~~~ | tsd_atomic_store In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:156:39: note: in expansion of macro 'ATOMIC_RELAXED' 156 | atomic_store_b(&mutex->locked, true, ATOMIC_RELAXED); | ^~~~~~~~~~~~~~ include/jemalloc/internal/atomic.h:48:24: note: each undeclared identifier is reported only once for each function it appears in 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:156:39: note: in expansion of macro 'ATOMIC_RELAXED' 156 | atomic_store_b(&mutex->locked, true, ATOMIC_RELAXED); | ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/extent_structs.h:7, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/mutex.h: In function 'mutex_owner_stats_update': include/jemalloc/internal/mutex.h:168:7: error: 'mutex_prof_data_t' has no member named 'n_lock_ops' 168 | data->n_lock_ops++; | ^~ include/jemalloc/internal/mutex.h:169:11: error: 'mutex_prof_data_t' has no member named 'prev_owner' 169 | if (data->prev_owner != tsdn) { | ^~ include/jemalloc/internal/mutex.h:170:8: error: 'mutex_prof_data_t' has no member named 'prev_owner' 170 | data->prev_owner = tsdn; | ^~ include/jemalloc/internal/mutex.h:171:8: error: 'mutex_prof_data_t' has no member named 'n_owner_switches' 171 | data->n_owner_switches++; | ^~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/mutex.h: In function 'malloc_mutex_trylock': include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:182:41: note: in expansion of macro 'ATOMIC_RELAXED' 182 | atomic_store_b(&mutex->locked, true, ATOMIC_RELAXED); | ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/extent_structs.h:7, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/mutex.h: In function 'malloc_mutex_prof_merge': include/jemalloc/internal/mutex.h:195:2: warning: implicit declaration of function 'nstime_add'; did you mean 'timeradd'? [-Wimplicit-function-declaration] 195 | nstime_add(&sum->tot_wait_time, &data->tot_wait_time); | ^~~~~~~~~~ | timeradd include/jemalloc/internal/mutex.h:195:17: error: 'mutex_prof_data_t' has no member named 'tot_wait_time' 195 | nstime_add(&sum->tot_wait_time, &data->tot_wait_time); | ^~ include/jemalloc/internal/mutex.h:195:39: error: 'mutex_prof_data_t' has no member named 'tot_wait_time' 195 | nstime_add(&sum->tot_wait_time, &data->tot_wait_time); | ^~ include/jemalloc/internal/mutex.h:196:6: warning: implicit declaration of function 'nstime_compare' [-Wimplicit-function-declaration] 196 | if (nstime_compare(&sum->max_wait_time, &data->max_wait_time) < 0) { | ^~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:196:25: error: 'mutex_prof_data_t' has no member named 'max_wait_time' 196 | if (nstime_compare(&sum->max_wait_time, &data->max_wait_time) < 0) { | ^~ include/jemalloc/internal/mutex.h:196:47: error: 'mutex_prof_data_t' has no member named 'max_wait_time' 196 | if (nstime_compare(&sum->max_wait_time, &data->max_wait_time) < 0) { | ^~ include/jemalloc/internal/mutex.h:197:3: warning: implicit declaration of function 'nstime_copy' [-Wimplicit-function-declaration] 197 | nstime_copy(&sum->max_wait_time, &data->max_wait_time); | ^~~~~~~~~~~ include/jemalloc/internal/mutex.h:197:19: error: 'mutex_prof_data_t' has no member named 'max_wait_time' 197 | nstime_copy(&sum->max_wait_time, &data->max_wait_time); | ^~ include/jemalloc/internal/mutex.h:197:41: error: 'mutex_prof_data_t' has no member named 'max_wait_time' 197 | nstime_copy(&sum->max_wait_time, &data->max_wait_time); | ^~ include/jemalloc/internal/mutex.h:200:5: error: 'mutex_prof_data_t' has no member named 'n_wait_times' 200 | sum->n_wait_times += data->n_wait_times; | ^~ include/jemalloc/internal/mutex.h:200:27: error: 'mutex_prof_data_t' has no member named 'n_wait_times' 200 | sum->n_wait_times += data->n_wait_times; | ^~ include/jemalloc/internal/mutex.h:201:5: error: 'mutex_prof_data_t' has no member named 'n_spin_acquired' 201 | sum->n_spin_acquired += data->n_spin_acquired; | ^~ include/jemalloc/internal/mutex.h:201:30: error: 'mutex_prof_data_t' has no member named 'n_spin_acquired' 201 | sum->n_spin_acquired += data->n_spin_acquired; | ^~ include/jemalloc/internal/mutex.h:203:9: error: 'mutex_prof_data_t' has no member named 'max_n_thds' 203 | if (sum->max_n_thds < data->max_n_thds) { | ^~ include/jemalloc/internal/mutex.h:203:28: error: 'mutex_prof_data_t' has no member named 'max_n_thds' 203 | if (sum->max_n_thds < data->max_n_thds) { | ^~ include/jemalloc/internal/mutex.h:204:6: error: 'mutex_prof_data_t' has no member named 'max_n_thds' 204 | sum->max_n_thds = data->max_n_thds; | ^~ include/jemalloc/internal/mutex.h:204:25: error: 'mutex_prof_data_t' has no member named 'max_n_thds' 204 | sum->max_n_thds = data->max_n_thds; | ^~ include/jemalloc/internal/mutex.h:206:32: warning: implicit declaration of function 'atomic_load_u32' [-Wimplicit-function-declaration] 206 | uint32_t cur_n_waiting_thds = atomic_load_u32(&sum->n_waiting_thds, | ^~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:206:52: error: 'mutex_prof_data_t' has no member named 'n_waiting_thds' 206 | uint32_t cur_n_waiting_thds = atomic_load_u32(&sum->n_waiting_thds, | ^~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:207:6: note: in expansion of macro 'ATOMIC_RELAXED' 207 | ATOMIC_RELAXED); | ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/extent_structs.h:7, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/mutex.h:209:11: error: 'mutex_prof_data_t' has no member named 'n_waiting_thds' 209 | &data->n_waiting_thds, ATOMIC_RELAXED); | ^~ include/jemalloc/internal/mutex.h:210:2: warning: implicit declaration of function 'atomic_store_u32' [-Wimplicit-function-declaration] 210 | atomic_store_u32(&sum->n_waiting_thds, new_n_waiting_thds, | ^~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:210:23: error: 'mutex_prof_data_t' has no member named 'n_waiting_thds' 210 | atomic_store_u32(&sum->n_waiting_thds, new_n_waiting_thds, | ^~ include/jemalloc/internal/mutex.h:212:5: error: 'mutex_prof_data_t' has no member named 'n_owner_switches' 212 | sum->n_owner_switches += data->n_owner_switches; | ^~ include/jemalloc/internal/mutex.h:212:31: error: 'mutex_prof_data_t' has no member named 'n_owner_switches' 212 | sum->n_owner_switches += data->n_owner_switches; | ^~ include/jemalloc/internal/mutex.h:213:5: error: 'mutex_prof_data_t' has no member named 'n_lock_ops' 213 | sum->n_lock_ops += data->n_lock_ops; | ^~ include/jemalloc/internal/mutex.h:213:25: error: 'mutex_prof_data_t' has no member named 'n_lock_ops' 213 | sum->n_lock_ops += data->n_lock_ops; | ^~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/mutex.h: In function 'malloc_mutex_lock': include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:222:41: note: in expansion of macro 'ATOMIC_RELAXED' 222 | atomic_store_b(&mutex->locked, true, ATOMIC_RELAXED); | ^~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h: In function 'malloc_mutex_unlock': include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:231:40: note: in expansion of macro 'ATOMIC_RELAXED' 231 | atomic_store_b(&mutex->locked, false, ATOMIC_RELAXED); | ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/extent_structs.h:7, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/mutex.h: In function 'malloc_mutex_prof_read': include/jemalloc/internal/mutex.h:263:24: error: 'mutex_prof_data_t' has no member named 'n_waiting_thds' 263 | atomic_store_u32(&data->n_waiting_thds, 0, ATOMIC_RELAXED); | ^~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:263:45: note: in expansion of macro 'ATOMIC_RELAXED' 263 | atomic_store_u32(&data->n_waiting_thds, 0, ATOMIC_RELAXED); | ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/extent_structs.h:7, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/mutex.h: In function 'malloc_mutex_prof_accum': include/jemalloc/internal/mutex.h:273:18: error: 'mutex_prof_data_t' has no member named 'tot_wait_time' 273 | nstime_add(&data->tot_wait_time, &source->tot_wait_time); | ^~ include/jemalloc/internal/mutex.h:273:42: error: 'mutex_prof_data_t' has no member named 'tot_wait_time' 273 | nstime_add(&data->tot_wait_time, &source->tot_wait_time); | ^~ include/jemalloc/internal/mutex.h:274:28: error: 'mutex_prof_data_t' has no member named 'max_wait_time' 274 | if (nstime_compare(&source->max_wait_time, &data->max_wait_time) > 0) { | ^~ include/jemalloc/internal/mutex.h:274:50: error: 'mutex_prof_data_t' has no member named 'max_wait_time' 274 | if (nstime_compare(&source->max_wait_time, &data->max_wait_time) > 0) { | ^~ include/jemalloc/internal/mutex.h:275:20: error: 'mutex_prof_data_t' has no member named 'max_wait_time' 275 | nstime_copy(&data->max_wait_time, &source->max_wait_time); | ^~ include/jemalloc/internal/mutex.h:275:44: error: 'mutex_prof_data_t' has no member named 'max_wait_time' 275 | nstime_copy(&data->max_wait_time, &source->max_wait_time); | ^~ include/jemalloc/internal/mutex.h:277:6: error: 'mutex_prof_data_t' has no member named 'n_wait_times' 277 | data->n_wait_times += source->n_wait_times; | ^~ include/jemalloc/internal/mutex.h:277:30: error: 'mutex_prof_data_t' has no member named 'n_wait_times' 277 | data->n_wait_times += source->n_wait_times; | ^~ include/jemalloc/internal/mutex.h:278:6: error: 'mutex_prof_data_t' has no member named 'n_spin_acquired' 278 | data->n_spin_acquired += source->n_spin_acquired; | ^~ include/jemalloc/internal/mutex.h:278:33: error: 'mutex_prof_data_t' has no member named 'n_spin_acquired' 278 | data->n_spin_acquired += source->n_spin_acquired; | ^~ include/jemalloc/internal/mutex.h:279:10: error: 'mutex_prof_data_t' has no member named 'max_n_thds' 279 | if (data->max_n_thds < source->max_n_thds) { | ^~ include/jemalloc/internal/mutex.h:279:31: error: 'mutex_prof_data_t' has no member named 'max_n_thds' 279 | if (data->max_n_thds < source->max_n_thds) { | ^~ include/jemalloc/internal/mutex.h:280:7: error: 'mutex_prof_data_t' has no member named 'max_n_thds' 280 | data->max_n_thds = source->max_n_thds; | ^~ include/jemalloc/internal/mutex.h:280:28: error: 'mutex_prof_data_t' has no member named 'max_n_thds' 280 | data->max_n_thds = source->max_n_thds; | ^~ include/jemalloc/internal/mutex.h:283:24: error: 'mutex_prof_data_t' has no member named 'n_waiting_thds' 283 | atomic_store_u32(&data->n_waiting_thds, 0, ATOMIC_RELAXED); | ^~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:283:45: note: in expansion of macro 'ATOMIC_RELAXED' 283 | atomic_store_u32(&data->n_waiting_thds, 0, ATOMIC_RELAXED); | ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/extent_structs.h:7, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/mutex.h:284:6: error: 'mutex_prof_data_t' has no member named 'n_owner_switches' 284 | data->n_owner_switches += source->n_owner_switches; | ^~ include/jemalloc/internal/mutex.h:284:34: error: 'mutex_prof_data_t' has no member named 'n_owner_switches' 284 | data->n_owner_switches += source->n_owner_switches; | ^~ include/jemalloc/internal/mutex.h:285:6: error: 'mutex_prof_data_t' has no member named 'n_lock_ops' 285 | data->n_lock_ops += source->n_lock_ops; | ^~ include/jemalloc/internal/mutex.h:285:28: error: 'mutex_prof_data_t' has no member named 'n_lock_ops' 285 | data->n_lock_ops += source->n_lock_ops; | ^~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/extent_structs.h: At top level: include/jemalloc/internal/extent_structs.h:178:4: error: expected specifier-qualifier-list before 'nstime_t' 178 | nstime_t e_alloc_time; | ^~~~~~~~ include/jemalloc/internal/extent_structs.h:198:2: error: unknown type name 'atomic_zu_t' 198 | atomic_zu_t nextents[SC_NPSIZES + 1]; | ^~~~~~~~~~~ include/jemalloc/internal/extent_structs.h:199:2: error: unknown type name 'atomic_zu_t' 199 | atomic_zu_t nbytes[SC_NPSIZES + 1]; | ^~~~~~~~~~~ include/jemalloc/internal/extent_structs.h:223:2: error: unknown type name 'atomic_zu_t' 223 | atomic_zu_t npages; | ^~~~~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:55, from src/jemalloc.c:3: include/jemalloc/internal/base_structs.h:28:2: error: unknown type name 'atomic_p_t' 28 | atomic_p_t extent_hooks; | ^~~~~~~~~~ In file included from include/jemalloc/internal/prof_structs.h:6, from include/jemalloc/internal/jemalloc_internal_includes.h:56, from src/jemalloc.c:3: include/jemalloc/internal/prng.h:67:19: error: unknown type name 'atomic_u32_t' 67 | prng_lg_range_u32(atomic_u32_t *state, unsigned lg_range, bool atomic) { | ^~~~~~~~~~~~ include/jemalloc/internal/prng.h:104:18: error: unknown type name 'atomic_zu_t' 104 | prng_lg_range_zu(atomic_zu_t *state, unsigned lg_range, bool atomic) { | ^~~~~~~~~~~ include/jemalloc/internal/prng.h:132:16: error: unknown type name 'atomic_u32_t' 132 | prng_range_u32(atomic_u32_t *state, uint32_t range, bool atomic) { | ^~~~~~~~~~~~ include/jemalloc/internal/prng.h:168:15: error: unknown type name 'atomic_zu_t' 168 | prng_range_zu(atomic_zu_t *state, size_t range, bool atomic) { | ^~~~~~~~~~~ In file included from include/jemalloc/internal/arena_structs_b.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:57, from src/jemalloc.c:3: include/jemalloc/internal/arena_stats.h:68:2: error: unknown type name 'atomic_zu_t' 68 | atomic_zu_t ndirty; | ^~~~~~~~~~~ include/jemalloc/internal/arena_stats.h:69:2: error: unknown type name 'atomic_zu_t' 69 | atomic_zu_t dirty_bytes; | ^~~~~~~~~~~ include/jemalloc/internal/arena_stats.h:70:2: error: unknown type name 'atomic_zu_t' 70 | atomic_zu_t nmuzzy; | ^~~~~~~~~~~ include/jemalloc/internal/arena_stats.h:71:2: error: unknown type name 'atomic_zu_t' 71 | atomic_zu_t muzzy_bytes; | ^~~~~~~~~~~ include/jemalloc/internal/arena_stats.h:72:2: error: unknown type name 'atomic_zu_t' 72 | atomic_zu_t nretained; | ^~~~~~~~~~~ include/jemalloc/internal/arena_stats.h:73:2: error: unknown type name 'atomic_zu_t' 73 | atomic_zu_t retained_bytes; | ^~~~~~~~~~~ include/jemalloc/internal/arena_stats.h:88:2: error: unknown type name 'atomic_zu_t' 88 | atomic_zu_t mapped; /* Partially derived. */ | ^~~~~~~~~~~ include/jemalloc/internal/arena_stats.h:95:2: error: unknown type name 'atomic_zu_t' 95 | atomic_zu_t retained; /* Derived. */ | ^~~~~~~~~~~ include/jemalloc/internal/arena_stats.h:98:2: error: unknown type name 'atomic_zu_t' 98 | atomic_zu_t extent_avail; | ^~~~~~~~~~~ include/jemalloc/internal/arena_stats.h:103:2: error: unknown type name 'atomic_zu_t' 103 | atomic_zu_t base; /* Derived. */ | ^~~~~~~~~~~ include/jemalloc/internal/arena_stats.h:104:2: error: unknown type name 'atomic_zu_t' 104 | atomic_zu_t internal; | ^~~~~~~~~~~ include/jemalloc/internal/arena_stats.h:105:2: error: unknown type name 'atomic_zu_t' 105 | atomic_zu_t resident; /* Derived. */ | ^~~~~~~~~~~ include/jemalloc/internal/arena_stats.h:106:2: error: unknown type name 'atomic_zu_t' 106 | atomic_zu_t metadata_thp; | ^~~~~~~~~~~ include/jemalloc/internal/arena_stats.h:108:2: error: unknown type name 'atomic_zu_t' 108 | atomic_zu_t allocated_large; /* Derived. */ | ^~~~~~~~~~~ include/jemalloc/internal/arena_stats.h:116:2: error: unknown type name 'atomic_zu_t' 116 | atomic_zu_t abandoned_vm; | ^~~~~~~~~~~ include/jemalloc/internal/arena_stats.h:119:2: error: unknown type name 'atomic_zu_t' 119 | atomic_zu_t tcache_bytes; /* Derived. */ | ^~~~~~~~~~~ include/jemalloc/internal/arena_stats.h:127:2: error: expected specifier-qualifier-list before 'nstime_t' 127 | nstime_t uptime; | ^~~~~~~~ include/jemalloc/internal/arena_stats.h:213:5: error: unknown type name 'atomic_zu_t' 213 | atomic_zu_t *p) { | ^~~~~~~~~~~ include/jemalloc/internal/arena_stats.h:224:5: error: unknown type name 'atomic_zu_t' 224 | atomic_zu_t *p, size_t x) { | ^~~~~~~~~~~ include/jemalloc/internal/arena_stats.h:236:5: error: unknown type name 'atomic_zu_t' 236 | atomic_zu_t *p, size_t x) { | ^~~~~~~~~~~ include/jemalloc/internal/arena_stats.h:249:22: error: unknown type name 'atomic_zu_t' 249 | arena_stats_accum_zu(atomic_zu_t *dst, size_t src) { | ^~~~~~~~~~~ include/jemalloc/internal/arena_stats.h: In function 'arena_stats_mapped_add': include/jemalloc/internal/arena_stats.h:267:2: warning: implicit declaration of function 'arena_stats_add_zu'; did you mean 'arena_stats_add_u64'? [-Wimplicit-function-declaration] 267 | arena_stats_add_zu(tsdn, arena_stats, &arena_stats->mapped, size); | ^~~~~~~~~~~~~~~~~~ | arena_stats_add_u64 In file included from include/jemalloc/internal/jemalloc_internal_includes.h:57, from src/jemalloc.c:3: include/jemalloc/internal/arena_structs_b.h: At top level: include/jemalloc/internal/arena_structs_b.h:30:2: error: unknown type name 'atomic_zd_t' 30 | atomic_zd_t time_ms; | ^~~~~~~~~~~ include/jemalloc/internal/arena_structs_b.h:32:2: error: expected specifier-qualifier-list before 'nstime_t' 32 | nstime_t interval; | ^~~~~~~~ include/jemalloc/internal/arena_structs_b.h:91:2: error: unknown type name 'atomic_u_t' 91 | atomic_u_t nthreads[2]; | ^~~~~~~~~~ include/jemalloc/internal/arena_structs_b.h:94:2: error: unknown type name 'atomic_u_t' 94 | atomic_u_t binshard_next; | ^~~~~~~~~~ include/jemalloc/internal/arena_structs_b.h:126:2: error: unknown type name 'atomic_zu_t' 126 | atomic_zu_t offset_state; | ^~~~~~~~~~~ include/jemalloc/internal/arena_structs_b.h:133:2: error: unknown type name 'atomic_zu_t' 133 | atomic_zu_t extent_sn_next; | ^~~~~~~~~~~ include/jemalloc/internal/arena_structs_b.h:140:2: error: unknown type name 'atomic_u_t' 140 | atomic_u_t dss_prec; | ^~~~~~~~~~ include/jemalloc/internal/arena_structs_b.h:147:2: error: unknown type name 'atomic_zu_t' 147 | atomic_zu_t nactive; | ^~~~~~~~~~~ include/jemalloc/internal/arena_structs_b.h:201:2: error: unknown type name 'atomic_zu_t' 201 | atomic_zu_t extent_avail_cnt; | ^~~~~~~~~~~ include/jemalloc/internal/arena_structs_b.h:218:2: error: expected specifier-qualifier-list before 'nstime_t' 218 | nstime_t create_time; | ^~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:59, from src/jemalloc.c:3: include/jemalloc/internal/background_thread_structs.h:30:2: error: unknown type name 'atomic_b_t' 30 | atomic_b_t indefinite_sleep; | ^~~~~~~~~~ include/jemalloc/internal/background_thread_structs.h:32:2: error: expected specifier-qualifier-list before 'nstime_t' 32 | nstime_t next_wakeup; | ^~~~~~~~ include/jemalloc/internal/background_thread_structs.h:50:2: error: expected specifier-qualifier-list before 'nstime_t' 50 | nstime_t run_interval; | ^~~~~~~~ In file included from include/jemalloc/internal/extent_externs.h:7, from include/jemalloc/internal/jemalloc_internal_includes.h:66, from src/jemalloc.c:3: include/jemalloc/internal/rtree.h:43:2: error: unknown type name 'atomic_p_t' 43 | atomic_p_t child; /* (rtree_{node,leaf}_elm_t *) */ | ^~~~~~~~~~ include/jemalloc/internal/rtree.h:62:2: error: unknown type name 'atomic_p_t' 62 | atomic_p_t le_extent; /* (extent_t *) */ | ^~~~~~~~~~ include/jemalloc/internal/rtree.h:63:2: error: unknown type name 'atomic_u_t' 63 | atomic_u_t le_szind; /* (szind_t) */ | ^~~~~~~~~~ include/jemalloc/internal/rtree.h:64:2: error: unknown type name 'atomic_b_t' 64 | atomic_b_t le_slab; /* (bool) */ | ^~~~~~~~~~ include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_extent_read': include/jemalloc/internal/rtree.h:217:33: warning: implicit declaration of function 'atomic_load_p' [-Wimplicit-function-declaration] 217 | extent_t *extent = (extent_t *)atomic_load_p(&elm->le_extent, dependent | ^~~~~~~~~~~~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/rtree.h:218:8: note: in expansion of macro 'ATOMIC_RELAXED' 218 | ? ATOMIC_RELAXED : ATOMIC_ACQUIRE); | ^~~~~~~~~~~~~~ include/jemalloc/internal/atomic.h:49:24: error: 'atomic_memory_order_acquire' undeclared (first use in this function) 49 | #define ATOMIC_ACQUIRE atomic_memory_order_acquire | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/rtree.h:218:25: note: in expansion of macro 'ATOMIC_ACQUIRE' 218 | ? ATOMIC_RELAXED : ATOMIC_ACQUIRE); | ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/extent_externs.h:7, from include/jemalloc/internal/jemalloc_internal_includes.h:66, from src/jemalloc.c:3: include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_szind_read': include/jemalloc/internal/rtree.h:230:18: warning: implicit declaration of function 'atomic_load_u' [-Wimplicit-function-declaration] 230 | return (szind_t)atomic_load_u(&elm->le_szind, dependent ? ATOMIC_RELAXED | ^~~~~~~~~~~~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/rtree.h:230:60: note: in expansion of macro 'ATOMIC_RELAXED' 230 | return (szind_t)atomic_load_u(&elm->le_szind, dependent ? ATOMIC_RELAXED | ^~~~~~~~~~~~~~ include/jemalloc/internal/atomic.h:49:24: error: 'atomic_memory_order_acquire' undeclared (first use in this function) 49 | #define ATOMIC_ACQUIRE atomic_memory_order_acquire | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/rtree.h:231:8: note: in expansion of macro 'ATOMIC_ACQUIRE' 231 | : ATOMIC_ACQUIRE); | ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/extent_externs.h:7, from include/jemalloc/internal/jemalloc_internal_includes.h:66, from src/jemalloc.c:3: include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_slab_read': include/jemalloc/internal/rtree.h:242:9: warning: implicit declaration of function 'atomic_load_b' [-Wimplicit-function-declaration] 242 | return atomic_load_b(&elm->le_slab, dependent ? ATOMIC_RELAXED : | ^~~~~~~~~~~~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/rtree.h:242:50: note: in expansion of macro 'ATOMIC_RELAXED' 242 | return atomic_load_b(&elm->le_slab, dependent ? ATOMIC_RELAXED : | ^~~~~~~~~~~~~~ include/jemalloc/internal/atomic.h:49:24: error: 'atomic_memory_order_acquire' undeclared (first use in this function) 49 | #define ATOMIC_ACQUIRE atomic_memory_order_acquire | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/rtree.h:243:6: note: in expansion of macro 'ATOMIC_ACQUIRE' 243 | ATOMIC_ACQUIRE); | ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/extent_externs.h:7, from include/jemalloc/internal/jemalloc_internal_includes.h:66, from src/jemalloc.c:3: include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_extent_write': include/jemalloc/internal/rtree.h:257:2: warning: implicit declaration of function 'atomic_store_p'; did you mean 'tsd_atomic_store'? [-Wimplicit-function-declaration] 257 | atomic_store_p(&elm->le_extent, extent, ATOMIC_RELEASE); | ^~~~~~~~~~~~~~ | tsd_atomic_store In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:50:24: error: 'atomic_memory_order_release' undeclared (first use in this function) 50 | #define ATOMIC_RELEASE atomic_memory_order_release | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/rtree.h:257:42: note: in expansion of macro 'ATOMIC_RELEASE' 257 | atomic_store_p(&elm->le_extent, extent, ATOMIC_RELEASE); | ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/extent_externs.h:7, from include/jemalloc/internal/jemalloc_internal_includes.h:66, from src/jemalloc.c:3: include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_szind_write': include/jemalloc/internal/rtree.h:275:2: warning: implicit declaration of function 'atomic_store_u'; did you mean 'tsd_atomic_store'? [-Wimplicit-function-declaration] 275 | atomic_store_u(&elm->le_szind, szind, ATOMIC_RELEASE); | ^~~~~~~~~~~~~~ | tsd_atomic_store In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:50:24: error: 'atomic_memory_order_release' undeclared (first use in this function) 50 | #define ATOMIC_RELEASE atomic_memory_order_release | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/rtree.h:275:40: note: in expansion of macro 'ATOMIC_RELEASE' 275 | atomic_store_u(&elm->le_szind, szind, ATOMIC_RELEASE); | ^~~~~~~~~~~~~~ include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_slab_write': include/jemalloc/internal/atomic.h:50:24: error: 'atomic_memory_order_release' undeclared (first use in this function) 50 | #define ATOMIC_RELEASE atomic_memory_order_release | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/rtree.h:290:38: note: in expansion of macro 'ATOMIC_RELEASE' 290 | atomic_store_b(&elm->le_slab, slab, ATOMIC_RELEASE); | ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:69, from src/jemalloc.c:3: include/jemalloc/internal/large_externs.h: At top level: include/jemalloc/internal/large_externs.h:29:1: error: unknown type name 'nstime_t'; did you mean 'time_t'? 29 | nstime_t large_prof_alloc_time_get(const extent_t *extent); | ^~~~~~~~ | time_t include/jemalloc/internal/large_externs.h:30:50: error: expected declaration specifiers or '...' before 'nstime_t' 30 | void large_prof_alloc_time_set(extent_t *extent, nstime_t time); | ^~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:72, from src/jemalloc.c:3: include/jemalloc/internal/background_thread_externs.h:7:8: error: unknown type name 'atomic_b_t' 7 | extern atomic_b_t background_thread_enabled_state; | ^~~~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:78, from src/jemalloc.c:3: include/jemalloc/internal/jemalloc_internal_inlines_a.h: In function 'malloc_getcpu': include/jemalloc/internal/jemalloc_internal_inlines_a.h:16:25: warning: implicit declaration of function 'sched_getcpu'; did you mean 'sched_getparam'? [-Wimplicit-function-declaration] 16 | return (malloc_cpuid_t)sched_getcpu(); | ^~~~~~~~~~~~ | sched_getparam In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/jemalloc_internal_inlines_a.h: In function 'arena_get': include/jemalloc/internal/atomic.h:49:24: error: 'atomic_memory_order_acquire' undeclared (first use in this function) 49 | #define ATOMIC_ACQUIRE atomic_memory_order_acquire | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/jemalloc_internal_inlines_a.h:90:47: note: in expansion of macro 'ATOMIC_ACQUIRE' 90 | ret = (arena_t *)atomic_load_p(&arenas[ind], ATOMIC_ACQUIRE); | ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:85, from src/jemalloc.c:3: include/jemalloc/internal/arena_inlines_a.h: In function 'arena_internal_add': include/jemalloc/internal/arena_inlines_a.h:11:2: warning: implicit declaration of function 'atomic_fetch_add_zu' [-Wimplicit-function-declaration] 11 | atomic_fetch_add_zu(&arena->stats.internal, size, ATOMIC_RELAXED); | ^~~~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/arena_inlines_a.h:11:52: note: in expansion of macro 'ATOMIC_RELAXED' 11 | atomic_fetch_add_zu(&arena->stats.internal, size, ATOMIC_RELAXED); | ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:85, from src/jemalloc.c:3: include/jemalloc/internal/arena_inlines_a.h: In function 'arena_internal_sub': include/jemalloc/internal/arena_inlines_a.h:16:2: warning: implicit declaration of function 'atomic_fetch_sub_zu' [-Wimplicit-function-declaration] 16 | atomic_fetch_sub_zu(&arena->stats.internal, size, ATOMIC_RELAXED); | ^~~~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/arena_inlines_a.h:16:52: note: in expansion of macro 'ATOMIC_RELAXED' 16 | atomic_fetch_sub_zu(&arena->stats.internal, size, ATOMIC_RELAXED); | ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:85, from src/jemalloc.c:3: include/jemalloc/internal/arena_inlines_a.h: In function 'arena_internal_get': include/jemalloc/internal/arena_inlines_a.h:21:9: warning: implicit declaration of function 'atomic_load_zu' [-Wimplicit-function-declaration] 21 | return atomic_load_zu(&arena->stats.internal, ATOMIC_RELAXED); | ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/arena_inlines_a.h:21:48: note: in expansion of macro 'ATOMIC_RELAXED' 21 | return atomic_load_zu(&arena->stats.internal, ATOMIC_RELAXED); | ^~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h: In function 'extent_arena_get': include/jemalloc/internal/atomic.h:49:24: error: 'atomic_memory_order_acquire' undeclared (first use in this function) 49 | #define ATOMIC_ACQUIRE atomic_memory_order_acquire | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h:51:54: note: in expansion of macro 'ATOMIC_ACQUIRE' 51 | return (arena_t *)atomic_load_p(&arenas[arena_ind], ATOMIC_ACQUIRE); | ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/jemalloc.c:3: include/jemalloc/internal/extent_inlines.h: In function 'extent_prof_tctx_get': include/jemalloc/internal/extent_inlines.h:185:45: error: 'extent_t' {aka 'const struct extent_s'} has no member named 'e_prof_tctx' 185 | return (prof_tctx_t *)atomic_load_p(&extent->e_prof_tctx, | ^~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:49:24: error: 'atomic_memory_order_acquire' undeclared (first use in this function) 49 | #define ATOMIC_ACQUIRE atomic_memory_order_acquire | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h:186:6: note: in expansion of macro 'ATOMIC_ACQUIRE' 186 | ATOMIC_ACQUIRE); | ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/jemalloc.c:3: include/jemalloc/internal/extent_inlines.h: At top level: include/jemalloc/internal/extent_inlines.h:190:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extent_prof_alloc_time_get' 190 | extent_prof_alloc_time_get(const extent_t *extent) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h: In function 'extent_addr_randomize': include/jemalloc/internal/extent_inlines.h:228:8: warning: implicit declaration of function 'prng_lg_range_zu'; did you mean 'prng_lg_range_u64'? [-Wimplicit-function-declaration] 228 | r = prng_lg_range_zu( | ^~~~~~~~~~~~~~~~ | prng_lg_range_u64 include/jemalloc/internal/extent_inlines.h: In function 'extent_prof_tctx_set': include/jemalloc/internal/extent_inlines.h:338:24: error: 'extent_t' {aka 'struct extent_s'} has no member named 'e_prof_tctx' 338 | atomic_store_p(&extent->e_prof_tctx, tctx, ATOMIC_RELEASE); | ^~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:50:24: error: 'atomic_memory_order_release' undeclared (first use in this function) 50 | #define ATOMIC_RELEASE atomic_memory_order_release | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h:338:45: note: in expansion of macro 'ATOMIC_RELEASE' 338 | atomic_store_p(&extent->e_prof_tctx, tctx, ATOMIC_RELEASE); | ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/jemalloc.c:3: include/jemalloc/internal/extent_inlines.h: At top level: include/jemalloc/internal/extent_inlines.h:342:46: error: expected declaration specifiers or '...' before 'nstime_t' 342 | extent_prof_alloc_time_set(extent_t *extent, nstime_t t) { | ^~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:89, from src/jemalloc.c:3: include/jemalloc/internal/arena_inlines_b.h:87:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'arena_prof_alloc_time_get' 87 | arena_prof_alloc_time_get(tsdn_t *tsdn, const void *ptr, | ^~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/arena_inlines_b.h:103:5: error: expected declaration specifiers or '...' before 'nstime_t' 103 | nstime_t t) { | ^~~~~~~~ include/jemalloc/internal/arena_inlines_b.h: In function 'arena_decay_extent': include/jemalloc/internal/arena_inlines_b.h:149:26: error: 'arena_decay_t' {aka 'struct arena_decay_s'} has no member named 'stats' 149 | &arena->decay_dirty.stats->nmadvise, 1); | ^ include/jemalloc/internal/arena_inlines_b.h:151:26: error: 'arena_decay_t' {aka 'struct arena_decay_s'} has no member named 'stats' 151 | &arena->decay_dirty.stats->purged, extent_size >> LG_PAGE); | ^ include/jemalloc/internal/arena_inlines_b.h:152:3: warning: implicit declaration of function 'arena_stats_sub_zu'; did you mean 'arena_stats_sub_u64'? [-Wimplicit-function-declaration] 152 | arena_stats_sub_zu(tsdn, &arena->stats, &arena->stats.mapped, | ^~~~~~~~~~~~~~~~~~ | arena_stats_sub_u64 In file included from include/jemalloc/internal/jemalloc_internal_includes.h:91, from src/jemalloc.c:3: include/jemalloc/internal/prof_inlines_b.h: At top level: include/jemalloc/internal/prof_inlines_b.h:66:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'prof_alloc_time_get' 66 | prof_alloc_time_get(tsdn_t *tsdn, const void *ptr, alloc_ctx_t *alloc_ctx) { | ^~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/prof_inlines_b.h:75:5: error: expected declaration specifiers or '...' before 'nstime_t' 75 | nstime_t t) { | ^~~~~~~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/background_thread_inlines.h: In function 'background_thread_enabled': include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/background_thread_inlines.h:6:57: note: in expansion of macro 'ATOMIC_RELAXED' 6 | return atomic_load_b(&background_thread_enabled_state, ATOMIC_RELAXED); | ^~~~~~~~~~~~~~ include/jemalloc/internal/background_thread_inlines.h: In function 'background_thread_enabled_set': include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/background_thread_inlines.h:12:58: note: in expansion of macro 'ATOMIC_RELAXED' 12 | atomic_store_b(&background_thread_enabled_state, state, ATOMIC_RELAXED); | ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:92, from src/jemalloc.c:3: include/jemalloc/internal/background_thread_inlines.h: In function 'background_thread_wakeup_time_get': include/jemalloc/internal/background_thread_inlines.h:28:25: warning: implicit declaration of function 'nstime_ns' [-Wimplicit-function-declaration] 28 | uint64_t next_wakeup = nstime_ns(&info->next_wakeup); | ^~~~~~~~~ include/jemalloc/internal/background_thread_inlines.h:28:40: error: 'background_thread_info_t' {aka 'struct background_thread_info_s'} has no member named 'next_wakeup' 28 | uint64_t next_wakeup = nstime_ns(&info->next_wakeup); | ^~ In file included from include/jemalloc/internal/assert.h:2, from include/jemalloc/internal/bit_util.h:4, from include/jemalloc/internal/bitmap.h:5, from include/jemalloc/internal/arena_structs_a.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:53, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:49:24: error: 'atomic_memory_order_acquire' undeclared (first use in this function) 49 | #define ATOMIC_ACQUIRE atomic_memory_order_acquire | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' 33 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ include/jemalloc/internal/background_thread_inlines.h:29:2: note: in expansion of macro 'assert' 29 | assert(atomic_load_b(&info->indefinite_sleep, ATOMIC_ACQUIRE) == | ^~~~~~ include/jemalloc/internal/background_thread_inlines.h:29:48: note: in expansion of macro 'ATOMIC_ACQUIRE' 29 | assert(atomic_load_b(&info->indefinite_sleep, ATOMIC_ACQUIRE) == | ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/background_thread_inlines.h: In function 'background_thread_wakeup_time_set': include/jemalloc/internal/atomic.h:50:24: error: 'atomic_memory_order_release' undeclared (first use in this function) 50 | #define ATOMIC_RELEASE atomic_memory_order_release | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/background_thread_inlines.h:39:57: note: in expansion of macro 'ATOMIC_RELEASE' 39 | wakeup_time == BACKGROUND_THREAD_INDEFINITE_SLEEP, ATOMIC_RELEASE); | ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:92, from src/jemalloc.c:3: include/jemalloc/internal/background_thread_inlines.h:40:2: warning: implicit declaration of function 'nstime_init' [-Wimplicit-function-declaration] 40 | nstime_init(&info->next_wakeup, wakeup_time); | ^~~~~~~~~~~ include/jemalloc/internal/background_thread_inlines.h:40:19: error: 'background_thread_info_t' {aka 'struct background_thread_info_s'} has no member named 'next_wakeup' 40 | nstime_init(&info->next_wakeup, wakeup_time); | ^~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/background_thread_inlines.h: In function 'background_thread_indefinite_sleep': include/jemalloc/internal/atomic.h:49:24: error: 'atomic_memory_order_acquire' undeclared (first use in this function) 49 | #define ATOMIC_ACQUIRE atomic_memory_order_acquire | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/background_thread_inlines.h:45:48: note: in expansion of macro 'ATOMIC_ACQUIRE' 45 | return atomic_load_b(&info->indefinite_sleep, ATOMIC_ACQUIRE); | ^~~~~~~~~~~~~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h: At top level: include/jemalloc/internal/log.h:39:8: error: unknown type name 'atomic_b_t' 39 | extern atomic_b_t log_init_done; | ^~~~~~~~~~ include/jemalloc/internal/log.h:47:2: error: unknown type name 'atomic_u_t' 47 | atomic_u_t state; | ^~~~~~~~~~ src/jemalloc.c:90:1: error: unknown type name 'atomic_p_t' 90 | atomic_p_t arenas[MALLOCX_ARENA_LIMIT]; | ^~~~~~~~~~ src/jemalloc.c:91:8: error: unknown type name 'atomic_u_t' 91 | static atomic_u_t narenas_total; /* Use narenas_total_*(). */ | ^~~~~~~~~~ In file included from include/jemalloc/internal/mutex_prof.h:5, from include/jemalloc/internal/mutex.h:5, from include/jemalloc/internal/extent_structs.h:7, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/nstime.h:6:33: error: extra brace group at end of initializer 6 | #define NSTIME_ZERO_INITIALIZER {0} | ^ include/jemalloc/internal/mutex.h:97:6: note: in expansion of macro 'NSTIME_ZERO_INITIALIZER' 97 | {NSTIME_ZERO_INITIALIZER, NSTIME_ZERO_INITIALIZER, 0, 0, 0, \ | ^~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:131:9: note: in expansion of macro 'LOCK_PROF_DATA_INITIALIZER' 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/nstime.h:6:33: note: (near initialization for 'init_lock...prof_data') 6 | #define NSTIME_ZERO_INITIALIZER {0} | ^ include/jemalloc/internal/mutex.h:97:6: note: in expansion of macro 'NSTIME_ZERO_INITIALIZER' 97 | {NSTIME_ZERO_INITIALIZER, NSTIME_ZERO_INITIALIZER, 0, 0, 0, \ | ^~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:131:9: note: in expansion of macro 'LOCK_PROF_DATA_INITIALIZER' 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/nstime.h:6:33: warning: excess elements in struct initializer 6 | #define NSTIME_ZERO_INITIALIZER {0} | ^ include/jemalloc/internal/mutex.h:97:6: note: in expansion of macro 'NSTIME_ZERO_INITIALIZER' 97 | {NSTIME_ZERO_INITIALIZER, NSTIME_ZERO_INITIALIZER, 0, 0, 0, \ | ^~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:131:9: note: in expansion of macro 'LOCK_PROF_DATA_INITIALIZER' 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/nstime.h:6:33: note: (near initialization for 'init_lock...prof_data') 6 | #define NSTIME_ZERO_INITIALIZER {0} | ^ include/jemalloc/internal/mutex.h:97:6: note: in expansion of macro 'NSTIME_ZERO_INITIALIZER' 97 | {NSTIME_ZERO_INITIALIZER, NSTIME_ZERO_INITIALIZER, 0, 0, 0, \ | ^~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:131:9: note: in expansion of macro 'LOCK_PROF_DATA_INITIALIZER' 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/nstime.h:6:33: error: extra brace group at end of initializer 6 | #define NSTIME_ZERO_INITIALIZER {0} | ^ include/jemalloc/internal/mutex.h:97:31: note: in expansion of macro 'NSTIME_ZERO_INITIALIZER' 97 | {NSTIME_ZERO_INITIALIZER, NSTIME_ZERO_INITIALIZER, 0, 0, 0, \ | ^~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:131:9: note: in expansion of macro 'LOCK_PROF_DATA_INITIALIZER' 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/nstime.h:6:33: note: (near initialization for 'init_lock...prof_data') 6 | #define NSTIME_ZERO_INITIALIZER {0} | ^ include/jemalloc/internal/mutex.h:97:31: note: in expansion of macro 'NSTIME_ZERO_INITIALIZER' 97 | {NSTIME_ZERO_INITIALIZER, NSTIME_ZERO_INITIALIZER, 0, 0, 0, \ | ^~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:131:9: note: in expansion of macro 'LOCK_PROF_DATA_INITIALIZER' 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/nstime.h:6:33: warning: excess elements in struct initializer 6 | #define NSTIME_ZERO_INITIALIZER {0} | ^ include/jemalloc/internal/mutex.h:97:31: note: in expansion of macro 'NSTIME_ZERO_INITIALIZER' 97 | {NSTIME_ZERO_INITIALIZER, NSTIME_ZERO_INITIALIZER, 0, 0, 0, \ | ^~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:131:9: note: in expansion of macro 'LOCK_PROF_DATA_INITIALIZER' 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/nstime.h:6:33: note: (near initialization for 'init_lock...prof_data') 6 | #define NSTIME_ZERO_INITIALIZER {0} | ^ include/jemalloc/internal/mutex.h:97:31: note: in expansion of macro 'NSTIME_ZERO_INITIALIZER' 97 | {NSTIME_ZERO_INITIALIZER, NSTIME_ZERO_INITIALIZER, 0, 0, 0, \ | ^~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:131:9: note: in expansion of macro 'LOCK_PROF_DATA_INITIALIZER' 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/extent_structs.h:7, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/mutex.h:97:56: warning: excess elements in struct initializer 97 | {NSTIME_ZERO_INITIALIZER, NSTIME_ZERO_INITIALIZER, 0, 0, 0, \ | ^ include/jemalloc/internal/mutex.h:131:9: note: in expansion of macro 'LOCK_PROF_DATA_INITIALIZER' 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:97:56: note: (near initialization for 'init_lock...prof_data') 97 | {NSTIME_ZERO_INITIALIZER, NSTIME_ZERO_INITIALIZER, 0, 0, 0, \ | ^ include/jemalloc/internal/mutex.h:131:9: note: in expansion of macro 'LOCK_PROF_DATA_INITIALIZER' 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:97:59: warning: excess elements in struct initializer 97 | {NSTIME_ZERO_INITIALIZER, NSTIME_ZERO_INITIALIZER, 0, 0, 0, \ | ^ include/jemalloc/internal/mutex.h:131:9: note: in expansion of macro 'LOCK_PROF_DATA_INITIALIZER' 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:97:59: note: (near initialization for 'init_lock...prof_data') 97 | {NSTIME_ZERO_INITIALIZER, NSTIME_ZERO_INITIALIZER, 0, 0, 0, \ | ^ include/jemalloc/internal/mutex.h:131:9: note: in expansion of macro 'LOCK_PROF_DATA_INITIALIZER' 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:97:62: warning: excess elements in struct initializer 97 | {NSTIME_ZERO_INITIALIZER, NSTIME_ZERO_INITIALIZER, 0, 0, 0, \ | ^ include/jemalloc/internal/mutex.h:131:9: note: in expansion of macro 'LOCK_PROF_DATA_INITIALIZER' 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:97:62: note: (near initialization for 'init_lock...prof_data') 97 | {NSTIME_ZERO_INITIALIZER, NSTIME_ZERO_INITIALIZER, 0, 0, 0, \ | ^ include/jemalloc/internal/mutex.h:131:9: note: in expansion of macro 'LOCK_PROF_DATA_INITIALIZER' 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:98:6: warning: implicit declaration of function 'ATOMIC_INIT' [-Wimplicit-function-declaration] 98 | ATOMIC_INIT(0), 0, NULL, 0} | ^~~~~~~~~~~ include/jemalloc/internal/mutex.h:131:9: note: in expansion of macro 'LOCK_PROF_DATA_INITIALIZER' 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:98:6: warning: excess elements in struct initializer 98 | ATOMIC_INIT(0), 0, NULL, 0} | ^~~~~~~~~~~ include/jemalloc/internal/mutex.h:131:9: note: in expansion of macro 'LOCK_PROF_DATA_INITIALIZER' 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:98:6: note: (near initialization for 'init_lock...prof_data') 98 | ATOMIC_INIT(0), 0, NULL, 0} | ^~~~~~~~~~~ include/jemalloc/internal/mutex.h:131:9: note: in expansion of macro 'LOCK_PROF_DATA_INITIALIZER' 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:98:22: warning: excess elements in struct initializer 98 | ATOMIC_INIT(0), 0, NULL, 0} | ^ include/jemalloc/internal/mutex.h:131:9: note: in expansion of macro 'LOCK_PROF_DATA_INITIALIZER' 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:98:22: note: (near initialization for 'init_lock...prof_data') 98 | ATOMIC_INIT(0), 0, NULL, 0} | ^ include/jemalloc/internal/mutex.h:131:9: note: in expansion of macro 'LOCK_PROF_DATA_INITIALIZER' 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:35: warning: excess elements in struct initializer src/jemalloc.c:166:35: note: (near initialization for 'init_lock...prof_data') In file included from include/jemalloc/internal/extent_structs.h:7, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/mutex.h:98:31: warning: excess elements in struct initializer 98 | ATOMIC_INIT(0), 0, NULL, 0} | ^ include/jemalloc/internal/mutex.h:131:9: note: in expansion of macro 'LOCK_PROF_DATA_INITIALIZER' 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:98:31: note: (near initialization for 'init_lock...prof_data') 98 | ATOMIC_INIT(0), 0, NULL, 0} | ^ include/jemalloc/internal/mutex.h:131:9: note: in expansion of macro 'LOCK_PROF_DATA_INITIALIZER' 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:131:64: error: initializer element is not constant 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/mutex.h:131:64: note: (near initialization for 'init_lock...locked') 131 | {{{LOCK_PROF_DATA_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, ATOMIC_INIT(false)}}, \ | ^~~~~~~~~~~ src/jemalloc.c:166:35: note: in expansion of macro 'MALLOC_MUTEX_INITIALIZER' 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:166:1: warning: missing initializer for field 'locked' of 'struct ' [-Wmissing-field-initializers] 166 | static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER; | ^~~~~~ In file included from include/jemalloc/internal/extent_structs.h:7, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/mutex.h:50:16: note: 'locked' declared here 50 | atomic_b_t locked; | ^~~~~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: src/jemalloc.c: In function 'arena_set': include/jemalloc/internal/atomic.h:50:24: error: 'atomic_memory_order_release' undeclared (first use in this function) 50 | #define ATOMIC_RELEASE atomic_memory_order_release | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:298:38: note: in expansion of macro 'ATOMIC_RELEASE' 298 | atomic_store_p(&arenas[ind], arena, ATOMIC_RELEASE); | ^~~~~~~~~~~~~~ src/jemalloc.c: In function 'narenas_total_set': include/jemalloc/internal/atomic.h:50:24: error: 'atomic_memory_order_release' undeclared (first use in this function) 50 | #define ATOMIC_RELEASE atomic_memory_order_release | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:303:42: note: in expansion of macro 'ATOMIC_RELEASE' 303 | atomic_store_u(&narenas_total, narenas, ATOMIC_RELEASE); | ^~~~~~~~~~~~~~ src/jemalloc.c: In function 'narenas_total_inc': src/jemalloc.c:308:2: warning: implicit declaration of function 'atomic_fetch_add_u' [-Wimplicit-function-declaration] 308 | atomic_fetch_add_u(&narenas_total, 1, ATOMIC_RELEASE); | ^~~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:50:24: error: 'atomic_memory_order_release' undeclared (first use in this function) 50 | #define ATOMIC_RELEASE atomic_memory_order_release | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:308:40: note: in expansion of macro 'ATOMIC_RELEASE' 308 | atomic_fetch_add_u(&narenas_total, 1, ATOMIC_RELEASE); | ^~~~~~~~~~~~~~ src/jemalloc.c: In function 'narenas_total_get': include/jemalloc/internal/atomic.h:49:24: error: 'atomic_memory_order_acquire' undeclared (first use in this function) 49 | #define ATOMIC_ACQUIRE atomic_memory_order_acquire | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:313:39: note: in expansion of macro 'ATOMIC_ACQUIRE' 313 | return atomic_load_u(&narenas_total, ATOMIC_ACQUIRE); | ^~~~~~~~~~~~~~ src/jemalloc.c: In function 'arena_bind': include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:386:7: note: in expansion of macro 'ATOMIC_RELAXED' 386 | ATOMIC_RELAXED); | ^~~~~~~~~~~~~~ src/jemalloc.c: In function 'malloc_conf_init_helper': include/jemalloc/internal/atomic.h:50:24: error: 'atomic_memory_order_release' undeclared (first use in this function) 50 | #define ATOMIC_RELEASE atomic_memory_order_release | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/jemalloc.c:1436:39: note: in expansion of macro 'ATOMIC_RELEASE' 1436 | atomic_store_b(&log_init_done, true, ATOMIC_RELEASE); | ^~~~~~~~~~~~~~ src/jemalloc.c: In function 'malloc_init_hard_recursible': src/jemalloc.c:1584:6: warning: implicit declaration of function 'pthread_atfork'; did you mean 'pthread_join'? [-Wimplicit-function-declaration] 1584 | if (pthread_atfork(jemalloc_prefork, jemalloc_postfork_parent, | ^~~~~~~~~~~~~~ | pthread_join In file included from src/jemalloc.c:12: src/jemalloc.c: In function 'malloc_default': include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2276:2: note: in expansion of macro 'LOG' 2276 | LOG("core.malloc.entry", "size: %zu", size); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2276:2: note: in expansion of macro 'LOG' 2276 | LOG("core.malloc.entry", "size: %zu", size); | ^~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/log.h:68:6: note: in expansion of macro 'ATOMIC_RELAXED' 68 | ATOMIC_RELAXED); \ | ^~~~~~~~~~~~~~ include/jemalloc/internal/log.h:110:2: note: in expansion of macro 'log_do_begin' 110 | log_do_begin(log_var) \ | ^~~~~~~~~~~~ src/jemalloc.c:2276:2: note: in expansion of macro 'LOG' 2276 | LOG("core.malloc.entry", "size: %zu", size); | ^~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2299:2: note: in expansion of macro 'LOG' 2299 | LOG("core.malloc.exit", "result: %p", ret); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2299:2: note: in expansion of macro 'LOG' 2299 | LOG("core.malloc.exit", "result: %p", ret); | ^~~ src/jemalloc.c: In function 'malloc': include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2324:2: note: in expansion of macro 'LOG' 2324 | LOG("core.malloc.entry", "size: %zu", size); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2324:2: note: in expansion of macro 'LOG' 2324 | LOG("core.malloc.entry", "size: %zu", size); | ^~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/log.h:68:6: note: in expansion of macro 'ATOMIC_RELAXED' 68 | ATOMIC_RELAXED); \ | ^~~~~~~~~~~~~~ include/jemalloc/internal/log.h:110:2: note: in expansion of macro 'log_do_begin' 110 | log_do_begin(log_var) \ | ^~~~~~~~~~~~ src/jemalloc.c:2324:2: note: in expansion of macro 'LOG' 2324 | LOG("core.malloc.entry", "size: %zu", size); | ^~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2382:3: note: in expansion of macro 'LOG' 2382 | LOG("core.malloc.exit", "result: %p", ret); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2382:3: note: in expansion of macro 'LOG' 2382 | LOG("core.malloc.exit", "result: %p", ret); | ^~~ src/jemalloc.c: In function 'posix_memalign': include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2398:2: note: in expansion of macro 'LOG' 2398 | LOG("core.posix_memalign.entry", "mem ptr: %p, alignment: %zu, " | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2398:2: note: in expansion of macro 'LOG' 2398 | LOG("core.posix_memalign.entry", "mem ptr: %p, alignment: %zu, " | ^~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/log.h:68:6: note: in expansion of macro 'ATOMIC_RELAXED' 68 | ATOMIC_RELAXED); \ | ^~~~~~~~~~~~~~ include/jemalloc/internal/log.h:110:2: note: in expansion of macro 'log_do_begin' 110 | log_do_begin(log_var) \ | ^~~~~~~~~~~~ src/jemalloc.c:2398:2: note: in expansion of macro 'LOG' 2398 | LOG("core.posix_memalign.entry", "mem ptr: %p, alignment: %zu, " | ^~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2424:2: note: in expansion of macro 'LOG' 2424 | LOG("core.posix_memalign.exit", "result: %d, alloc ptr: %p", ret, | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2424:2: note: in expansion of macro 'LOG' 2424 | LOG("core.posix_memalign.exit", "result: %d, alloc ptr: %p", ret, | ^~~ src/jemalloc.c: In function 'aligned_alloc': include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2439:2: note: in expansion of macro 'LOG' 2439 | LOG("core.aligned_alloc.entry", "alignment: %zu, size: %zu\n", | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2439:2: note: in expansion of macro 'LOG' 2439 | LOG("core.aligned_alloc.entry", "alignment: %zu, size: %zu\n", | ^~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/log.h:68:6: note: in expansion of macro 'ATOMIC_RELAXED' 68 | ATOMIC_RELAXED); \ | ^~~~~~~~~~~~~~ include/jemalloc/internal/log.h:110:2: note: in expansion of macro 'log_do_begin' 110 | log_do_begin(log_var) \ | ^~~~~~~~~~~~ src/jemalloc.c:2439:2: note: in expansion of macro 'LOG' 2439 | LOG("core.aligned_alloc.entry", "alignment: %zu, size: %zu\n", | ^~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2466:2: note: in expansion of macro 'LOG' 2466 | LOG("core.aligned_alloc.exit", "result: %p", ret); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2466:2: note: in expansion of macro 'LOG' 2466 | LOG("core.aligned_alloc.exit", "result: %p", ret); | ^~~ src/jemalloc.c: In function 'calloc': include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2479:2: note: in expansion of macro 'LOG' 2479 | LOG("core.calloc.entry", "num: %zu, size: %zu\n", num, size); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2479:2: note: in expansion of macro 'LOG' 2479 | LOG("core.calloc.entry", "num: %zu, size: %zu\n", num, size); | ^~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/log.h:68:6: note: in expansion of macro 'ATOMIC_RELAXED' 68 | ATOMIC_RELAXED); \ | ^~~~~~~~~~~~~~ include/jemalloc/internal/log.h:110:2: note: in expansion of macro 'log_do_begin' 110 | log_do_begin(log_var) \ | ^~~~~~~~~~~~ src/jemalloc.c:2479:2: note: in expansion of macro 'LOG' 2479 | LOG("core.calloc.entry", "num: %zu, size: %zu\n", num, size); | ^~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2500:2: note: in expansion of macro 'LOG' 2500 | LOG("core.calloc.exit", "result: %p", ret); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2500:2: note: in expansion of macro 'LOG' 2500 | LOG("core.calloc.exit", "result: %p", ret); | ^~~ src/jemalloc.c: In function 'realloc': include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2660:2: note: in expansion of macro 'LOG' 2660 | LOG("core.realloc.entry", "ptr: %p, size: %zu\n", ptr, size); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2660:2: note: in expansion of macro 'LOG' 2660 | LOG("core.realloc.entry", "ptr: %p, size: %zu\n", ptr, size); | ^~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/log.h:68:6: note: in expansion of macro 'ATOMIC_RELAXED' 68 | ATOMIC_RELAXED); \ | ^~~~~~~~~~~~~~ include/jemalloc/internal/log.h:110:2: note: in expansion of macro 'log_do_begin' 110 | log_do_begin(log_var) \ | ^~~~~~~~~~~~ src/jemalloc.c:2660:2: note: in expansion of macro 'LOG' 2660 | LOG("core.realloc.entry", "ptr: %p, size: %zu\n", ptr, size); | ^~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2679:4: note: in expansion of macro 'LOG' 2679 | LOG("core.realloc.exit", "result: %p", NULL); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2679:4: note: in expansion of macro 'LOG' 2679 | LOG("core.realloc.exit", "result: %p", NULL); | ^~~ include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2765:2: note: in expansion of macro 'LOG' 2765 | LOG("core.realloc.exit", "result: %p", ret); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2765:2: note: in expansion of macro 'LOG' 2765 | LOG("core.realloc.exit", "result: %p", ret); | ^~~ src/jemalloc.c: In function 'free': include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2864:2: note: in expansion of macro 'LOG' 2864 | LOG("core.free.entry", "ptr: %p", ptr); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2864:2: note: in expansion of macro 'LOG' 2864 | LOG("core.free.entry", "ptr: %p", ptr); | ^~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/log.h:68:6: note: in expansion of macro 'ATOMIC_RELAXED' 68 | ATOMIC_RELAXED); \ | ^~~~~~~~~~~~~~ include/jemalloc/internal/log.h:110:2: note: in expansion of macro 'log_do_begin' 110 | log_do_begin(log_var) \ | ^~~~~~~~~~~~ src/jemalloc.c:2864:2: note: in expansion of macro 'LOG' 2864 | LOG("core.free.entry", "ptr: %p", ptr); | ^~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2870:2: note: in expansion of macro 'LOG' 2870 | LOG("core.free.exit", ""); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2870:2: note: in expansion of macro 'LOG' 2870 | LOG("core.free.exit", ""); | ^~~ src/jemalloc.c: In function 'memalign': include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2890:2: note: in expansion of macro 'LOG' 2890 | LOG("core.memalign.entry", "alignment: %zu, size: %zu\n", alignment, | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2890:2: note: in expansion of macro 'LOG' 2890 | LOG("core.memalign.entry", "alignment: %zu, size: %zu\n", alignment, | ^~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/log.h:68:6: note: in expansion of macro 'ATOMIC_RELAXED' 68 | ATOMIC_RELAXED); \ | ^~~~~~~~~~~~~~ include/jemalloc/internal/log.h:110:2: note: in expansion of macro 'log_do_begin' 110 | log_do_begin(log_var) \ | ^~~~~~~~~~~~ src/jemalloc.c:2890:2: note: in expansion of macro 'LOG' 2890 | LOG("core.memalign.entry", "alignment: %zu, size: %zu\n", alignment, | ^~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2915:2: note: in expansion of macro 'LOG' 2915 | LOG("core.memalign.exit", "result: %p", ret); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2915:2: note: in expansion of macro 'LOG' 2915 | LOG("core.memalign.exit", "result: %p", ret); | ^~~ src/jemalloc.c: In function 'valloc': include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2930:2: note: in expansion of macro 'LOG' 2930 | LOG("core.valloc.entry", "size: %zu\n", size); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2930:2: note: in expansion of macro 'LOG' 2930 | LOG("core.valloc.entry", "size: %zu\n", size); | ^~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/log.h:68:6: note: in expansion of macro 'ATOMIC_RELAXED' 68 | ATOMIC_RELAXED); \ | ^~~~~~~~~~~~~~ include/jemalloc/internal/log.h:110:2: note: in expansion of macro 'log_do_begin' 110 | log_do_begin(log_var) \ | ^~~~~~~~~~~~ src/jemalloc.c:2930:2: note: in expansion of macro 'LOG' 2930 | LOG("core.valloc.entry", "size: %zu\n", size); | ^~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2953:2: note: in expansion of macro 'LOG' 2953 | LOG("core.valloc.exit", "result: %p\n", ret); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:2953:2: note: in expansion of macro 'LOG' 2953 | LOG("core.valloc.exit", "result: %p\n", ret); | ^~~ src/jemalloc.c: In function 'mallocx': include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3103:2: note: in expansion of macro 'LOG' 3103 | LOG("core.mallocx.entry", "size: %zu, flags: %d", size, flags); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3103:2: note: in expansion of macro 'LOG' 3103 | LOG("core.mallocx.entry", "size: %zu, flags: %d", size, flags); | ^~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/log.h:68:6: note: in expansion of macro 'ATOMIC_RELAXED' 68 | ATOMIC_RELAXED); \ | ^~~~~~~~~~~~~~ include/jemalloc/internal/log.h:110:2: note: in expansion of macro 'log_do_begin' 110 | log_do_begin(log_var) \ | ^~~~~~~~~~~~ src/jemalloc.c:3103:2: note: in expansion of macro 'LOG' 3103 | LOG("core.mallocx.entry", "size: %zu, flags: %d", size, flags); | ^~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3144:2: note: in expansion of macro 'LOG' 3144 | LOG("core.mallocx.exit", "result: %p", ret); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3144:2: note: in expansion of macro 'LOG' 3144 | LOG("core.mallocx.exit", "result: %p", ret); | ^~~ src/jemalloc.c: In function 'rallocx': include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3226:2: note: in expansion of macro 'LOG' 3226 | LOG("core.rallocx.entry", "ptr: %p, size: %zu, flags: %d", ptr, | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3226:2: note: in expansion of macro 'LOG' 3226 | LOG("core.rallocx.entry", "ptr: %p, size: %zu, flags: %d", ptr, | ^~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/log.h:68:6: note: in expansion of macro 'ATOMIC_RELAXED' 68 | ATOMIC_RELAXED); \ | ^~~~~~~~~~~~~~ include/jemalloc/internal/log.h:110:2: note: in expansion of macro 'log_do_begin' 110 | log_do_begin(log_var) \ | ^~~~~~~~~~~~ src/jemalloc.c:3226:2: note: in expansion of macro 'LOG' 3226 | LOG("core.rallocx.entry", "ptr: %p, size: %zu, flags: %d", ptr, | ^~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3297:2: note: in expansion of macro 'LOG' 3297 | LOG("core.rallocx.exit", "result: %p", p); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3297:2: note: in expansion of macro 'LOG' 3297 | LOG("core.rallocx.exit", "result: %p", p); | ^~~ include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3307:2: note: in expansion of macro 'LOG' 3307 | LOG("core.rallocx.exit", "result: %p", NULL); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3307:2: note: in expansion of macro 'LOG' 3307 | LOG("core.rallocx.exit", "result: %p", NULL); | ^~~ src/jemalloc.c: In function 'xallocx': include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3396:2: note: in expansion of macro 'LOG' 3396 | LOG("core.xallocx.entry", "ptr: %p, size: %zu, extra: %zu, " | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3396:2: note: in expansion of macro 'LOG' 3396 | LOG("core.xallocx.entry", "ptr: %p, size: %zu, extra: %zu, " | ^~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/log.h:68:6: note: in expansion of macro 'ATOMIC_RELAXED' 68 | ATOMIC_RELAXED); \ | ^~~~~~~~~~~~~~ include/jemalloc/internal/log.h:110:2: note: in expansion of macro 'log_do_begin' 110 | log_do_begin(log_var) \ | ^~~~~~~~~~~~ src/jemalloc.c:3396:2: note: in expansion of macro 'LOG' 3396 | LOG("core.xallocx.entry", "ptr: %p, size: %zu, extra: %zu, " | ^~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3455:2: note: in expansion of macro 'LOG' 3455 | LOG("core.xallocx.exit", "result: %zu", usize); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3455:2: note: in expansion of macro 'LOG' 3455 | LOG("core.xallocx.exit", "result: %zu", usize); | ^~~ src/jemalloc.c: In function 'sallocx': include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3465:2: note: in expansion of macro 'LOG' 3465 | LOG("core.sallocx.entry", "ptr: %p, flags: %d", ptr, flags); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3465:2: note: in expansion of macro 'LOG' 3465 | LOG("core.sallocx.entry", "ptr: %p, flags: %d", ptr, flags); | ^~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/log.h:68:6: note: in expansion of macro 'ATOMIC_RELAXED' 68 | ATOMIC_RELAXED); \ | ^~~~~~~~~~~~~~ include/jemalloc/internal/log.h:110:2: note: in expansion of macro 'log_do_begin' 110 | log_do_begin(log_var) \ | ^~~~~~~~~~~~ src/jemalloc.c:3465:2: note: in expansion of macro 'LOG' 3465 | LOG("core.sallocx.entry", "ptr: %p, flags: %d", ptr, flags); | ^~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3482:2: note: in expansion of macro 'LOG' 3482 | LOG("core.sallocx.exit", "result: %zu", usize); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3482:2: note: in expansion of macro 'LOG' 3482 | LOG("core.sallocx.exit", "result: %zu", usize); | ^~~ src/jemalloc.c: In function 'dallocx': include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3488:2: note: in expansion of macro 'LOG' 3488 | LOG("core.dallocx.entry", "ptr: %p, flags: %d", ptr, flags); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3488:2: note: in expansion of macro 'LOG' 3488 | LOG("core.dallocx.entry", "ptr: %p, flags: %d", ptr, flags); | ^~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/log.h:68:6: note: in expansion of macro 'ATOMIC_RELAXED' 68 | ATOMIC_RELAXED); \ | ^~~~~~~~~~~~~~ include/jemalloc/internal/log.h:110:2: note: in expansion of macro 'log_do_begin' 110 | log_do_begin(log_var) \ | ^~~~~~~~~~~~ src/jemalloc.c:3488:2: note: in expansion of macro 'LOG' 3488 | LOG("core.dallocx.entry", "ptr: %p, flags: %d", ptr, flags); | ^~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3530:2: note: in expansion of macro 'LOG' 3530 | LOG("core.dallocx.exit", ""); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3530:2: note: in expansion of macro 'LOG' 3530 | LOG("core.dallocx.exit", ""); | ^~~ src/jemalloc.c: In function 'sdallocx': include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3595:2: note: in expansion of macro 'LOG' 3595 | LOG("core.sdallocx.entry", "ptr: %p, size: %zu, flags: %d", ptr, | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3595:2: note: in expansion of macro 'LOG' 3595 | LOG("core.sdallocx.entry", "ptr: %p, size: %zu, flags: %d", ptr, | ^~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/log.h:68:6: note: in expansion of macro 'ATOMIC_RELAXED' 68 | ATOMIC_RELAXED); \ | ^~~~~~~~~~~~~~ include/jemalloc/internal/log.h:110:2: note: in expansion of macro 'log_do_begin' 110 | log_do_begin(log_var) \ | ^~~~~~~~~~~~ src/jemalloc.c:3595:2: note: in expansion of macro 'LOG' 3595 | LOG("core.sdallocx.entry", "ptr: %p, size: %zu, flags: %d", ptr, | ^~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3602:2: note: in expansion of macro 'LOG' 3602 | LOG("core.sdallocx.exit", ""); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3602:2: note: in expansion of macro 'LOG' 3602 | LOG("core.sdallocx.exit", ""); | ^~~ src/jemalloc.c: In function 'je_sdallocx_noflags': include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3607:2: note: in expansion of macro 'LOG' 3607 | LOG("core.sdallocx.entry", "ptr: %p, size: %zu, flags: 0", ptr, | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3607:2: note: in expansion of macro 'LOG' 3607 | LOG("core.sdallocx.entry", "ptr: %p, size: %zu, flags: 0", ptr, | ^~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/log.h:68:6: note: in expansion of macro 'ATOMIC_RELAXED' 68 | ATOMIC_RELAXED); \ | ^~~~~~~~~~~~~~ include/jemalloc/internal/log.h:110:2: note: in expansion of macro 'log_do_begin' 110 | log_do_begin(log_var) \ | ^~~~~~~~~~~~ src/jemalloc.c:3607:2: note: in expansion of macro 'LOG' 3607 | LOG("core.sdallocx.entry", "ptr: %p, size: %zu, flags: 0", ptr, | ^~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3614:2: note: in expansion of macro 'LOG' 3614 | LOG("core.sdallocx.exit", ""); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3614:2: note: in expansion of macro 'LOG' 3614 | LOG("core.sdallocx.exit", ""); | ^~~ src/jemalloc.c: In function 'nallocx': include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3626:3: note: in expansion of macro 'LOG' 3626 | LOG("core.nallocx.exit", "result: %zu", ZU(0)); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3626:3: note: in expansion of macro 'LOG' 3626 | LOG("core.nallocx.exit", "result: %zu", ZU(0)); | ^~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/log.h:68:6: note: in expansion of macro 'ATOMIC_RELAXED' 68 | ATOMIC_RELAXED); \ | ^~~~~~~~~~~~~~ include/jemalloc/internal/log.h:110:2: note: in expansion of macro 'log_do_begin' 110 | log_do_begin(log_var) \ | ^~~~~~~~~~~~ src/jemalloc.c:3626:3: note: in expansion of macro 'LOG' 3626 | LOG("core.nallocx.exit", "result: %zu", ZU(0)); | ^~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3635:3: note: in expansion of macro 'LOG' 3635 | LOG("core.nallocx.exit", "result: %zu", ZU(0)); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3635:3: note: in expansion of macro 'LOG' 3635 | LOG("core.nallocx.exit", "result: %zu", ZU(0)); | ^~~ include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3640:2: note: in expansion of macro 'LOG' 3640 | LOG("core.nallocx.exit", "result: %zu", usize); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3640:2: note: in expansion of macro 'LOG' 3640 | LOG("core.nallocx.exit", "result: %zu", usize); | ^~~ src/jemalloc.c: In function 'mallctl': include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3650:2: note: in expansion of macro 'LOG' 3650 | LOG("core.mallctl.entry", "name: %s", name); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3650:2: note: in expansion of macro 'LOG' 3650 | LOG("core.mallctl.entry", "name: %s", name); | ^~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/log.h:68:6: note: in expansion of macro 'ATOMIC_RELAXED' 68 | ATOMIC_RELAXED); \ | ^~~~~~~~~~~~~~ include/jemalloc/internal/log.h:110:2: note: in expansion of macro 'log_do_begin' 110 | log_do_begin(log_var) \ | ^~~~~~~~~~~~ src/jemalloc.c:3650:2: note: in expansion of macro 'LOG' 3650 | LOG("core.mallctl.entry", "name: %s", name); | ^~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3653:3: note: in expansion of macro 'LOG' 3653 | LOG("core.mallctl.exit", "result: %d", EAGAIN); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3653:3: note: in expansion of macro 'LOG' 3653 | LOG("core.mallctl.exit", "result: %d", EAGAIN); | ^~~ include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3662:2: note: in expansion of macro 'LOG' 3662 | LOG("core.mallctl.exit", "result: %d", ret); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3662:2: note: in expansion of macro 'LOG' 3662 | LOG("core.mallctl.exit", "result: %d", ret); | ^~~ src/jemalloc.c: In function 'mallctlnametomib': include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3670:2: note: in expansion of macro 'LOG' 3670 | LOG("core.mallctlnametomib.entry", "name: %s", name); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3670:2: note: in expansion of macro 'LOG' 3670 | LOG("core.mallctlnametomib.entry", "name: %s", name); | ^~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/log.h:68:6: note: in expansion of macro 'ATOMIC_RELAXED' 68 | ATOMIC_RELAXED); \ | ^~~~~~~~~~~~~~ include/jemalloc/internal/log.h:110:2: note: in expansion of macro 'log_do_begin' 110 | log_do_begin(log_var) \ | ^~~~~~~~~~~~ src/jemalloc.c:3670:2: note: in expansion of macro 'LOG' 3670 | LOG("core.mallctlnametomib.entry", "name: %s", name); | ^~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3673:3: note: in expansion of macro 'LOG' 3673 | LOG("core.mallctlnametomib.exit", "result: %d", EAGAIN); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3673:3: note: in expansion of macro 'LOG' 3673 | LOG("core.mallctlnametomib.exit", "result: %d", EAGAIN); | ^~~ include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3682:2: note: in expansion of macro 'LOG' 3682 | LOG("core.mallctlnametomib.exit", "result: %d", ret); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3682:2: note: in expansion of macro 'LOG' 3682 | LOG("core.mallctlnametomib.exit", "result: %d", ret); | ^~~ src/jemalloc.c: In function 'mallctlbymib': include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3692:2: note: in expansion of macro 'LOG' 3692 | LOG("core.mallctlbymib.entry", ""); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3692:2: note: in expansion of macro 'LOG' 3692 | LOG("core.mallctlbymib.entry", ""); | ^~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/log.h:68:6: note: in expansion of macro 'ATOMIC_RELAXED' 68 | ATOMIC_RELAXED); \ | ^~~~~~~~~~~~~~ include/jemalloc/internal/log.h:110:2: note: in expansion of macro 'log_do_begin' 110 | log_do_begin(log_var) \ | ^~~~~~~~~~~~ src/jemalloc.c:3692:2: note: in expansion of macro 'LOG' 3692 | LOG("core.mallctlbymib.entry", ""); | ^~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3695:3: note: in expansion of macro 'LOG' 3695 | LOG("core.mallctlbymib.exit", "result: %d", EAGAIN); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3695:3: note: in expansion of macro 'LOG' 3695 | LOG("core.mallctlbymib.exit", "result: %d", EAGAIN); | ^~~ include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3703:2: note: in expansion of macro 'LOG' 3703 | LOG("core.mallctlbymib.exit", "result: %d", ret); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3703:2: note: in expansion of macro 'LOG' 3703 | LOG("core.mallctlbymib.exit", "result: %d", ret); | ^~~ src/jemalloc.c: In function 'malloc_stats_print': include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3712:2: note: in expansion of macro 'LOG' 3712 | LOG("core.malloc_stats_print.entry", ""); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3712:2: note: in expansion of macro 'LOG' 3712 | LOG("core.malloc_stats_print.entry", ""); | ^~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/log.h:68:6: note: in expansion of macro 'ATOMIC_RELAXED' 68 | ATOMIC_RELAXED); \ | ^~~~~~~~~~~~~~ include/jemalloc/internal/log.h:110:2: note: in expansion of macro 'log_do_begin' 110 | log_do_begin(log_var) \ | ^~~~~~~~~~~~ src/jemalloc.c:3712:2: note: in expansion of macro 'LOG' 3712 | LOG("core.malloc_stats_print.entry", ""); | ^~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3718:2: note: in expansion of macro 'LOG' 3718 | LOG("core.malloc_stats_print.exit", ""); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3718:2: note: in expansion of macro 'LOG' 3718 | LOG("core.malloc_stats_print.exit", ""); | ^~~ src/jemalloc.c: In function 'malloc_usable_size': include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3726:2: note: in expansion of macro 'LOG' 3726 | LOG("core.malloc_usable_size.entry", "ptr: %p", ptr); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3726:2: note: in expansion of macro 'LOG' 3726 | LOG("core.malloc_usable_size.entry", "ptr: %p", ptr); | ^~~ In file included from include/jemalloc/internal/extent_structs.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/atomic.h:48:24: error: 'atomic_memory_order_relaxed' undeclared (first use in this function) 48 | #define ATOMIC_RELAXED atomic_memory_order_relaxed | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/log.h:68:6: note: in expansion of macro 'ATOMIC_RELAXED' 68 | ATOMIC_RELAXED); \ | ^~~~~~~~~~~~~~ include/jemalloc/internal/log.h:110:2: note: in expansion of macro 'log_do_begin' 110 | log_do_begin(log_var) \ | ^~~~~~~~~~~~ src/jemalloc.c:3726:2: note: in expansion of macro 'LOG' 3726 | LOG("core.malloc_usable_size.entry", "ptr: %p", ptr); | ^~~ In file included from src/jemalloc.c:12: include/jemalloc/internal/log.h:55:33: error: initializer element is not constant 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3745:2: note: in expansion of macro 'LOG' 3745 | LOG("core.malloc_usable_size.exit", "result: %zu", ret); | ^~~ include/jemalloc/internal/log.h:55:33: note: (near initialization for 'log_var.state') 55 | #define LOG_VAR_INIT(name_str) {ATOMIC_INIT(LOG_NOT_INITIALIZED), name_str} | ^~~~~~~~~~~ include/jemalloc/internal/log.h:109:29: note: in expansion of macro 'LOG_VAR_INIT' 109 | static log_var_t log_var = LOG_VAR_INIT(log_var_str); \ | ^~~~~~~~~~~~ src/jemalloc.c:3745:2: note: in expansion of macro 'LOG' 3745 | LOG("core.malloc_usable_size.exit", "result: %zu", ret); | ^~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/jemalloc.c:3: include/jemalloc/internal/extent_inlines.h: In function 'extent_arena_get': include/jemalloc/internal/extent_inlines.h:52:1: warning: control reaches end of non-void function [-Wreturn-type] 52 | } | ^ In file included from include/jemalloc/internal/extent_externs.h:7, from include/jemalloc/internal/jemalloc_internal_includes.h:66, from src/jemalloc.c:3: include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_szind_read': include/jemalloc/internal/rtree.h:233:1: warning: control reaches end of non-void function [-Wreturn-type] 233 | } | ^ include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_slab_read': include/jemalloc/internal/rtree.h:245:1: warning: control reaches end of non-void function [-Wreturn-type] 245 | } | ^ src/jemalloc.c: In function 'narenas_total_get': src/jemalloc.c:314:1: warning: control reaches end of non-void function [-Wreturn-type] 314 | } | ^ make[1]: *** [Makefile:389: src/jemalloc.sym.o] Error 1 make[1]: Leaving directory '/nvmedata/autobuild/instance-4/output-1/build/jemalloc-5.2.1' make: *** [package/pkg-generic.mk:292: /nvmedata/autobuild/instance-4/output-1/build/jemalloc-5.2.1/.stamp_built] Error 2 make: Leaving directory '/nvmedata/autobuild/instance-4/buildroot'