+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/jemalloc.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pk7vQ6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jemalloc-5.0.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/jemalloc-5.0.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jemalloc-5.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #4 (jemalloc-5.0.1.no_explicit_altivec.patch):' Patch #4 (jemalloc-5.0.1.no_explicit_altivec.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file configure + echo 'Patch #5 (jemalloc-4.4.0.disable_thp.patch):' Patch #5 (jemalloc-4.4.0.disable_thp.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file configure Hunk #1 succeeded at 11085 (offset 2343 lines). + echo 'Patch #6 (jemalloc_fix_test_suite_segv_aarch64.patch):' Patch #6 (jemalloc_fix_test_suite_segv_aarch64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file include/jemalloc/internal/rtree.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qhCMmX + umask 022 + cd /builddir/build/BUILD + cd jemalloc-5.0.1 + echo 'For debugging package builders' For debugging package builders + echo 'What is the pagesize?' What is the pagesize? + getconf PAGESIZE 4096 + echo 'What mm features are available?' What mm features are available? + ls /sys/kernel/mm swap + ls /sys/kernel/mm/transparent_hugepage ls: cannot access '/sys/kernel/mm/transparent_hugepage': No such file or directory + true + cat /sys/kernel/mm/transparent_hugepage/enabled cat: /sys/kernel/mm/transparent_hugepage/enabled: No such file or directory + true + echo 'What kernel version and config is this?' What kernel version and config is this? + uname -a Linux stage4-builder 4.15.0-rc9-00064-gf923ce3a29af #1 SMP Thu Feb 15 10:59:13 GMT 2018 riscv64 riscv64 riscv64 GNU/Linux + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-thp configure: WARNING: unrecognized options: --disable-dependency-tracking checking for xsltproc... /usr/bin/xsltproc checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... 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... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for 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 -Wshorten-64-to-32... no checking whether compiler supports -Wsign-compare... yes checking whether compiler supports -Wundef... yes checking whether compiler supports -pipe... yes checking whether compiler supports -g3... yes checking how to run the C preprocessor... gcc -E checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether g++ supports C++14 features by default... yes checking whether compiler supports -Wall... yes checking whether compiler supports -g3... yes checking whether libstdc++ linkage is compilable... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking size of void *... 8 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of intmax_t... 8 checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking number of significant virtual address bits... 64 checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for gawk... gawk 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... no checking for library containing log... -lm checking whether __attribute__ syntax is compilable... yes checking whether compiler supports -fvisibility=hidden... yes checking whether compiler supports -fvisibility=hidden... yes checking whether compiler supports -Werror... yes checking whether compiler supports -herror_on_warning... no checking whether tls_model attribute is compilable... yes checking whether compiler supports -Werror... yes checking whether compiler supports -herror_on_warning... no checking whether alloc_size attribute is compilable... yes checking whether compiler supports -Werror... yes checking whether compiler supports -herror_on_warning... no checking whether format(gnu_printf, ...) attribute is compilable... 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 riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for ld... /usr/bin/ld checking for autoconf... false checking for memalign... yes checking for valloc... yes checking for __libc_calloc... yes checking for __libc_free... yes checking for __libc_malloc... yes checking for __libc_memalign... yes checking for __libc_realloc... yes checking for __libc_valloc... yes checking for __posix_memalign... no checking whether compiler supports -O3... yes checking whether compiler supports -O3... yes 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 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... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for dlsym... no checking for dlsym in -ldl... yes checking whether pthread_atfork(3) is compilable... yes checking whether pthread_setname_np(3) is compilable... yes 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... no checking for _malloc_thread_cleanup... no checking for _pthread_mutex_init_calloc_cb... no checking for TLS... yes checking whether C11 atomics is compilable... yes checking whether GCC __atomic atomics is compilable... yes checking whether GCC __sync atomics is compilable... yes checking whether Darwin OSAtomic*() is compilable... no checking whether madvise(2) is compilable... yes checking whether madvise(..., MADV_FREE) is compilable... yes checking whether madvise(..., MADV_DONTNEED) is compilable... yes checking whether madvise(..., MADV_[NO]HUGEPAGE) is compilable... no checking whether to force 32-bit __sync_{add,sub}_and_fetch()... no checking whether to force 64-bit __sync_{add,sub}_and_fetch()... no checking for __builtin_clz... yes checking whether Darwin os_unfair_lock_*() is compilable... no checking whether Darwin OSSpin*() is compilable... no checking whether glibc malloc hook is compilable... yes checking whether glibc memalign hook is compilable... yes checking whether pthreads adaptive mutexes 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/internal/size_classes.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-dependency-tracking =============================================================================== jemalloc version : 5.0.1-0-g896ed3a8b3f41998d4fb4d625d30ac63ef2d51fb library revision : 2 CONFIG : --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-thp build_alias=riscv64-redhat-linux-gnu host_alias=riscv64-redhat-linux-gnu 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' CC : gcc CONFIGURE_CFLAGS : -std=gnu11 -Wall -Wsign-compare -Wundef -pipe -g3 -fvisibility=hidden -O3 -funroll-loops SPECIFIED_CFLAGS : -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 EXTRA_CFLAGS : CPPFLAGS : -D_GNU_SOURCE -D_REENTRANT CXX : g++ CONFIGURE_CXXFLAGS : -Wall -g3 -fvisibility=hidden -O3 SPECIFIED_CXXFLAGS : -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 EXTRA_CXXFLAGS : LDFLAGS : -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld EXTRA_LDFLAGS : DSO_LDFLAGS : -shared -Wl,-soname,$(@F) LIBS : -lm -lstdc++ -lpthread -ldl RPATH_EXTRA : XSLTPROC : /usr/bin/xsltproc XSLROOT : PREFIX : /usr BINDIR : /usr/bin DATADIR : /usr/share INCLUDEDIR : /usr/include LIBDIR : /usr/lib64 MANDIR : /usr/share/man srcroot : abs_srcroot : /builddir/build/BUILD/jemalloc-5.0.1/ objroot : abs_objroot : /builddir/build/BUILD/jemalloc-5.0.1/ JEMALLOC_PREFIX : JEMALLOC_PRIVATE_NAMESPACE : je_ install_suffix : malloc_conf : autogen : 0 debug : 0 stats : 1 prof : 0 prof-libunwind : 0 prof-libgcc : 0 prof-gcc : 0 thp : 0 fill : 1 utrace : 0 xmalloc : 0 lazy_lock : 0 cache-oblivious : 1 cxx : 1 =============================================================================== + make -j4 gcc -std=gnu11 -Wall -Wsign-compare -Wundef -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -DPIC -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/jemalloc.sym.o src/jemalloc.c gcc -std=gnu11 -Wall -Wsign-compare -Wundef -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -DPIC -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/arena.sym.o src/arena.c gcc -std=gnu11 -Wall -Wsign-compare -Wundef -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -DPIC -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/background_thread.sym.o src/background_thread.c gcc -std=gnu11 -Wall -Wsign-compare -Wundef -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -DPIC -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/base.sym.o src/base.c In file included from include/jemalloc/internal/size_classes.h:6:0, from include/jemalloc/internal/tcache_types.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:46, from src/jemalloc.c:3: include/jemalloc/internal/jemalloc_internal_types.h:107:6: error: #error "Unknown minimum alignment for architecture; specify via " # error "Unknown minimum alignment for architecture; specify via " ^~~~~ In file included from include/jemalloc/internal/tcache_types.h:4:0, from include/jemalloc/internal/jemalloc_internal_includes.h:46, from src/jemalloc.c:3: include/jemalloc/internal/size_classes.h:488:48: warning: "LG_QUANTUM" is not defined, evaluates to 0 [-Wundef] #if (LG_SIZEOF_PTR == 3 && LG_TINY_MIN == 3 && LG_QUANTUM == 3 && LG_PAGE == 12) ^~~~~~~~~~ In file included from include/jemalloc/internal/size_classes.h:6:0, from include/jemalloc/internal/tcache_types.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:46, from src/base.c:3: include/jemalloc/internal/jemalloc_internal_types.h:107:6: error: #error "Unknown minimum alignment for architecture; specify via " # error "Unknown minimum alignment for architecture; specify via " ^~~~~ include/jemalloc/internal/size_classes.h:800:48: warning: "LG_QUANTUM" is not defined, evaluates to 0 [-Wundef] #if (LG_SIZEOF_PTR == 3 && LG_TINY_MIN == 3 && LG_QUANTUM == 4 && LG_PAGE == 12) ^~~~~~~~~~ include/jemalloc/internal/size_classes.h:1417:4: error: #error "No size class definitions match configuration" # error "No size class definitions match configuration" ^~~~~ include/jemalloc/internal/size_classes.h:1424:6: warning: "NBINS" is not defined, evaluates to 0 [-Wundef] #if (NBINS > 256) ^~~~~ In file included from include/jemalloc/internal/tcache_types.h:4:0, from include/jemalloc/internal/jemalloc_internal_includes.h:46, from src/base.c:3: include/jemalloc/internal/size_classes.h:488:48: warning: "LG_QUANTUM" is not defined, evaluates to 0 [-Wundef] #if (LG_SIZEOF_PTR == 3 && LG_TINY_MIN == 3 && LG_QUANTUM == 3 && LG_PAGE == 12) ^~~~~~~~~~ In file included from include/jemalloc/internal/size_classes.h:6:0, from include/jemalloc/internal/tcache_types.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:46, from src/jemalloc.c:3: include/jemalloc/internal/jemalloc_internal_types.h:108:3: error: expected identifier or '(' before string constant "--with-lg-quantum" ^~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/size_classes.h:800:48: warning: "LG_QUANTUM" is not defined, evaluates to 0 [-Wundef] #if (LG_SIZEOF_PTR == 3 && LG_TINY_MIN == 3 && LG_QUANTUM == 4 && LG_PAGE == 12) ^~~~~~~~~~ include/jemalloc/internal/size_classes.h:1417:4: error: #error "No size class definitions match configuration" # error "No size class definitions match configuration" ^~~~~ include/jemalloc/internal/size_classes.h:1424:6: warning: "NBINS" is not defined, evaluates to 0 [-Wundef] #if (NBINS > 256) ^~~~~ In file included from include/jemalloc/internal/size_classes.h:6:0, from include/jemalloc/internal/tcache_types.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:46, from src/base.c:3: include/jemalloc/internal/jemalloc_internal_types.h:108:3: error: expected identifier or '(' before string constant "--with-lg-quantum" ^~~~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/arena_structs_a.h:4:0, from include/jemalloc/internal/jemalloc_internal_includes.h:53, from src/jemalloc.c:3: include/jemalloc/internal/bitmap.h:12:23: warning: "LG_CEIL_NSIZES" is not defined, evaluates to 0 [-Wundef] #if LG_SLAB_MAXREGS > LG_CEIL_NSIZES ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/arena_structs_a.h:4:0, from include/jemalloc/internal/jemalloc_internal_includes.h:53, from src/base.c:3: include/jemalloc/internal/bitmap.h:12:23: warning: "LG_CEIL_NSIZES" is not defined, evaluates to 0 [-Wundef] #if LG_SLAB_MAXREGS > LG_CEIL_NSIZES ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/size_classes.h:6:0, from include/jemalloc/internal/tcache_types.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:46, from src/background_thread.c:3: include/jemalloc/internal/jemalloc_internal_types.h:107:6: error: #error "Unknown minimum alignment for architecture; specify via " # error "Unknown minimum alignment for architecture; specify via " ^~~~~ In file included from include/jemalloc/internal/tcache_types.h:4:0, from include/jemalloc/internal/jemalloc_internal_includes.h:46, from src/background_thread.c:3: include/jemalloc/internal/size_classes.h:488:48: warning: "LG_QUANTUM" is not defined, evaluates to 0 [-Wundef] #if (LG_SIZEOF_PTR == 3 && LG_TINY_MIN == 3 && LG_QUANTUM == 3 && LG_PAGE == 12) ^~~~~~~~~~ include/jemalloc/internal/size_classes.h:800:48: warning: "LG_QUANTUM" is not defined, evaluates to 0 [-Wundef] #if (LG_SIZEOF_PTR == 3 && LG_TINY_MIN == 3 && LG_QUANTUM == 4 && LG_PAGE == 12) ^~~~~~~~~~ include/jemalloc/internal/size_classes.h:1417:4: error: #error "No size class definitions match configuration" # error "No size class definitions match configuration" ^~~~~ include/jemalloc/internal/size_classes.h:1424:6: warning: "NBINS" is not defined, evaluates to 0 [-Wundef] #if (NBINS > 256) ^~~~~ In file included from include/jemalloc/internal/size_classes.h:6:0, from include/jemalloc/internal/tcache_types.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:46, from src/background_thread.c:3: include/jemalloc/internal/jemalloc_internal_types.h:108:3: error: expected identifier or '(' before string constant "--with-lg-quantum" ^~~~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/size_classes.h:6:0, from include/jemalloc/internal/tcache_types.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:46, from src/arena.c:3: include/jemalloc/internal/jemalloc_internal_types.h:107:6: error: #error "Unknown minimum alignment for architecture; specify via " # error "Unknown minimum alignment for architecture; specify via " ^~~~~ In file included from include/jemalloc/internal/arena_structs_a.h:4:0, from include/jemalloc/internal/jemalloc_internal_includes.h:53, from src/background_thread.c:3: include/jemalloc/internal/bitmap.h:12:23: warning: "LG_CEIL_NSIZES" is not defined, evaluates to 0 [-Wundef] #if LG_SLAB_MAXREGS > LG_CEIL_NSIZES ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/tcache_types.h:4:0, from include/jemalloc/internal/jemalloc_internal_includes.h:46, from src/arena.c:3: include/jemalloc/internal/size_classes.h:488:48: warning: "LG_QUANTUM" is not defined, evaluates to 0 [-Wundef] #if (LG_SIZEOF_PTR == 3 && LG_TINY_MIN == 3 && LG_QUANTUM == 3 && LG_PAGE == 12) ^~~~~~~~~~ In file included from include/jemalloc/internal/tsd.h:11:0, from include/jemalloc/internal/mutex.h:6, from include/jemalloc/internal/extent_structs.h:6, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/jemalloc.c:3: include/jemalloc/internal/tcache_structs.h:46:27: error: 'NBINS' undeclared here (not in a function) tcache_bin_t tbins_small[NBINS]; ^~~~~ include/jemalloc/internal/tcache_structs.h:53:27: error: 'NSIZES' undeclared here (not in a function); did you mean 'NBINS'? tcache_bin_t tbins_large[NSIZES-NBINS]; ^~~~~~ NBINS include/jemalloc/internal/size_classes.h:800:48: warning: "LG_QUANTUM" is not defined, evaluates to 0 [-Wundef] #if (LG_SIZEOF_PTR == 3 && LG_TINY_MIN == 3 && LG_QUANTUM == 4 && LG_PAGE == 12) ^~~~~~~~~~ include/jemalloc/internal/size_classes.h:1417:4: error: #error "No size class definitions match configuration" # error "No size class definitions match configuration" ^~~~~ include/jemalloc/internal/size_classes.h:1424:6: warning: "NBINS" is not defined, evaluates to 0 [-Wundef] #if (NBINS > 256) ^~~~~ In file included from include/jemalloc/internal/size_classes.h:6:0, from include/jemalloc/internal/tcache_types.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:46, from src/arena.c:3: include/jemalloc/internal/jemalloc_internal_types.h:108:3: error: expected identifier or '(' before string constant "--with-lg-quantum" ^~~~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/tsd.h:11:0, from include/jemalloc/internal/mutex.h:6, from include/jemalloc/internal/extent_structs.h:6, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/base.c:3: include/jemalloc/internal/tcache_structs.h:46:27: error: 'NBINS' undeclared here (not in a function) tcache_bin_t tbins_small[NBINS]; ^~~~~ include/jemalloc/internal/tcache_structs.h:53:27: error: 'NSIZES' undeclared here (not in a function); did you mean 'NBINS'? tcache_bin_t tbins_large[NSIZES-NBINS]; ^~~~~~ NBINS In file included from include/jemalloc/internal/arena_structs_a.h:4:0, from include/jemalloc/internal/jemalloc_internal_includes.h:53, from src/arena.c:3: include/jemalloc/internal/bitmap.h:12:23: warning: "LG_CEIL_NSIZES" is not defined, evaluates to 0 [-Wundef] #if LG_SLAB_MAXREGS > LG_CEIL_NSIZES ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/tsd.h:11:0, from include/jemalloc/internal/mutex.h:6, from include/jemalloc/internal/extent_structs.h:6, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/background_thread.c:3: include/jemalloc/internal/tcache_structs.h:46:27: error: 'NBINS' undeclared here (not in a function) tcache_bin_t tbins_small[NBINS]; ^~~~~ include/jemalloc/internal/tcache_structs.h:53:27: error: 'NSIZES' undeclared here (not in a function); did you mean 'NBINS'? tcache_bin_t tbins_large[NSIZES-NBINS]; ^~~~~~ NBINS In file included from include/jemalloc/internal/jemalloc_internal_includes.h:54:0, from src/jemalloc.c:3: include/jemalloc/internal/extent_structs.h:163:23: error: 'NPSIZES' undeclared here (not in a function); did you mean 'NSIZES'? extent_heap_t heaps[NPSIZES+1]; ^~~~~~~ NSIZES In file included from include/jemalloc/internal/tsd.h:11:0, from include/jemalloc/internal/mutex.h:6, from include/jemalloc/internal/extent_structs.h:6, from include/jemalloc/internal/jemalloc_internal_includes.h:54, from src/arena.c:3: include/jemalloc/internal/tcache_structs.h:46:27: error: 'NBINS' undeclared here (not in a function) tcache_bin_t tbins_small[NBINS]; ^~~~~ include/jemalloc/internal/tcache_structs.h:53:27: error: 'NSIZES' undeclared here (not in a function); did you mean 'NBINS'? tcache_bin_t tbins_large[NSIZES-NBINS]; ^~~~~~ NBINS In file included from include/jemalloc/internal/jemalloc_internal_includes.h:54:0, from src/base.c:3: include/jemalloc/internal/extent_structs.h:163:23: error: 'NPSIZES' undeclared here (not in a function); did you mean 'NSIZES'? extent_heap_t heaps[NPSIZES+1]; ^~~~~~~ NSIZES In file included from include/jemalloc/internal/extent_externs.h:8:0, from include/jemalloc/internal/jemalloc_internal_includes.h:66, from src/jemalloc.c:3: include/jemalloc/internal/rtree.h:34:19: warning: "LG_CEIL_NSIZES" is not defined, evaluates to 0 [-Wundef] #if RTREE_NHIB >= LG_CEIL_NSIZES ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:54:0, from src/background_thread.c:3: include/jemalloc/internal/extent_structs.h:163:23: error: 'NPSIZES' undeclared here (not in a function); did you mean 'NSIZES'? extent_heap_t heaps[NPSIZES+1]; ^~~~~~~ NSIZES include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_bits_szind_get': include/jemalloc/internal/rtree.h:200:24: warning: right shift count >= width of type [-Wshift-count-overflow] return (szind_t)(bits >> LG_VADDR); ^~ In file included from include/jemalloc/internal/extent_externs.h:8:0, from include/jemalloc/internal/jemalloc_internal_includes.h:66, from src/base.c:3: include/jemalloc/internal/rtree.h:34:19: warning: "LG_CEIL_NSIZES" is not defined, evaluates to 0 [-Wundef] #if RTREE_NHIB >= LG_CEIL_NSIZES ^~~~~~~~~~~~~~ include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_extent_write': include/jemalloc/internal/rtree.h:252:71: warning: left shift count >= width of type [-Wshift-count-overflow] uintptr_t bits = ((uintptr_t)rtree_leaf_elm_bits_szind_get(old_bits) << ^~ include/jemalloc/internal/rtree.h:253:56: warning: left shift count >= width of type [-Wshift-count-overflow] LG_VADDR) | ((uintptr_t)extent & (((uintptr_t)0x1 << LG_VADDR) - 1)) ^~ include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_szind_write': include/jemalloc/internal/rtree.h:269:37: warning: left shift count >= width of type [-Wshift-count-overflow] uintptr_t bits = ((uintptr_t)szind << LG_VADDR) | ^~ include/jemalloc/internal/rtree.h:271:23: warning: left shift count >= width of type [-Wshift-count-overflow] (((uintptr_t)0x1 << LG_VADDR) - 1)) | ^~ include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_slab_write': include/jemalloc/internal/rtree.h:285:71: warning: left shift count >= width of type [-Wshift-count-overflow] uintptr_t bits = ((uintptr_t)rtree_leaf_elm_bits_szind_get(old_bits) << ^~ include/jemalloc/internal/rtree.h:287:23: warning: left shift count >= width of type [-Wshift-count-overflow] (((uintptr_t)0x1 << LG_VADDR) - 1)) | ((uintptr_t)slab); ^~ include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_bits_szind_get': include/jemalloc/internal/rtree.h:200:24: warning: right shift count >= width of type [-Wshift-count-overflow] return (szind_t)(bits >> LG_VADDR); ^~ include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_write': include/jemalloc/internal/rtree.h:298:37: warning: left shift count >= width of type [-Wshift-count-overflow] uintptr_t bits = ((uintptr_t)szind << LG_VADDR) | ^~ include/jemalloc/internal/rtree.h:299:44: warning: left shift count >= width of type [-Wshift-count-overflow] ((uintptr_t)extent & (((uintptr_t)0x1 << LG_VADDR) - 1)) | ^~ include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_extent_write': include/jemalloc/internal/rtree.h:252:71: warning: left shift count >= width of type [-Wshift-count-overflow] uintptr_t bits = ((uintptr_t)rtree_leaf_elm_bits_szind_get(old_bits) << ^~ include/jemalloc/internal/rtree.h:253:56: warning: left shift count >= width of type [-Wshift-count-overflow] LG_VADDR) | ((uintptr_t)extent & (((uintptr_t)0x1 << LG_VADDR) - 1)) ^~ include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_szind_write': include/jemalloc/internal/rtree.h:269:37: warning: left shift count >= width of type [-Wshift-count-overflow] uintptr_t bits = ((uintptr_t)szind << LG_VADDR) | ^~ include/jemalloc/internal/rtree.h:271:23: warning: left shift count >= width of type [-Wshift-count-overflow] (((uintptr_t)0x1 << LG_VADDR) - 1)) | ^~ include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_slab_write': include/jemalloc/internal/rtree.h:285:71: warning: left shift count >= width of type [-Wshift-count-overflow] uintptr_t bits = ((uintptr_t)rtree_leaf_elm_bits_szind_get(old_bits) << ^~ include/jemalloc/internal/rtree.h:287:23: warning: left shift count >= width of type [-Wshift-count-overflow] (((uintptr_t)0x1 << LG_VADDR) - 1)) | ((uintptr_t)slab); ^~ include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_write': include/jemalloc/internal/rtree.h:298:37: warning: left shift count >= width of type [-Wshift-count-overflow] uintptr_t bits = ((uintptr_t)szind << LG_VADDR) | ^~ include/jemalloc/internal/rtree.h:299:44: warning: left shift count >= width of type [-Wshift-count-overflow] ((uintptr_t)extent & (((uintptr_t)0x1 << LG_VADDR) - 1)) | ^~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:54:0, from src/arena.c:3: include/jemalloc/internal/extent_structs.h:163:23: error: 'NPSIZES' undeclared here (not in a function); did you mean 'NSIZES'? extent_heap_t heaps[NPSIZES+1]; ^~~~~~~ NSIZES In file included from include/jemalloc/internal/jemalloc_internal_includes.h:70:0, from src/jemalloc.c:3: include/jemalloc/internal/tcache_externs.h: At top level: include/jemalloc/internal/tcache_externs.h:9:8: error: unknown type name 'tcache_bin_info_t' extern tcache_bin_info_t *tcache_bin_info; ^~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:70:0, from src/base.c:3: include/jemalloc/internal/tcache_externs.h: At top level: include/jemalloc/internal/tcache_externs.h:9:8: error: unknown type name 'tcache_bin_info_t' extern tcache_bin_info_t *tcache_bin_info; ^~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/extent_externs.h:8:0, from include/jemalloc/internal/jemalloc_internal_includes.h:66, from src/background_thread.c:3: include/jemalloc/internal/rtree.h:34:19: warning: "LG_CEIL_NSIZES" is not defined, evaluates to 0 [-Wundef] #if RTREE_NHIB >= LG_CEIL_NSIZES ^~~~~~~~~~~~~~ include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_bits_szind_get': include/jemalloc/internal/rtree.h:200:24: warning: right shift count >= width of type [-Wshift-count-overflow] return (szind_t)(bits >> LG_VADDR); ^~ include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_extent_write': include/jemalloc/internal/rtree.h:252:71: warning: left shift count >= width of type [-Wshift-count-overflow] uintptr_t bits = ((uintptr_t)rtree_leaf_elm_bits_szind_get(old_bits) << ^~ include/jemalloc/internal/rtree.h:253:56: warning: left shift count >= width of type [-Wshift-count-overflow] LG_VADDR) | ((uintptr_t)extent & (((uintptr_t)0x1 << LG_VADDR) - 1)) ^~ include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_szind_write': include/jemalloc/internal/rtree.h:269:37: warning: left shift count >= width of type [-Wshift-count-overflow] uintptr_t bits = ((uintptr_t)szind << LG_VADDR) | ^~ include/jemalloc/internal/rtree.h:271:23: warning: left shift count >= width of type [-Wshift-count-overflow] (((uintptr_t)0x1 << LG_VADDR) - 1)) | ^~ include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_slab_write': include/jemalloc/internal/rtree.h:285:71: warning: left shift count >= width of type [-Wshift-count-overflow] uintptr_t bits = ((uintptr_t)rtree_leaf_elm_bits_szind_get(old_bits) << ^~ include/jemalloc/internal/rtree.h:287:23: warning: left shift count >= width of type [-Wshift-count-overflow] (((uintptr_t)0x1 << LG_VADDR) - 1)) | ((uintptr_t)slab); ^~ include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_write': include/jemalloc/internal/rtree.h:298:37: warning: left shift count >= width of type [-Wshift-count-overflow] uintptr_t bits = ((uintptr_t)szind << LG_VADDR) | ^~ include/jemalloc/internal/rtree.h:299:44: warning: left shift count >= width of type [-Wshift-count-overflow] ((uintptr_t)extent & (((uintptr_t)0x1 << LG_VADDR) - 1)) | ^~ In file included from include/jemalloc/internal/extent_externs.h:8:0, from include/jemalloc/internal/jemalloc_internal_includes.h:66, from src/arena.c:3: include/jemalloc/internal/rtree.h:34:19: warning: "LG_CEIL_NSIZES" is not defined, evaluates to 0 [-Wundef] #if RTREE_NHIB >= LG_CEIL_NSIZES ^~~~~~~~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:84:0, from src/jemalloc.c:3: include/jemalloc/internal/prof_inlines_a.h: In function 'prof_accum_cancel': include/jemalloc/internal/prof_inlines_a.h:58:15: error: 'LARGE_MINCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? a1 = (a0 >= LARGE_MINCLASS - usize) ? a0 - (LARGE_MINCLASS - ^~~~~~~~~~~~~~ PAGE_MASK include/jemalloc/internal/prof_inlines_a.h:58:15: note: each undeclared identifier is reported only once for each function it appears in include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_bits_szind_get': include/jemalloc/internal/rtree.h:200:24: warning: right shift count >= width of type [-Wshift-count-overflow] return (szind_t)(bits >> LG_VADDR); ^~ include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_extent_write': include/jemalloc/internal/rtree.h:252:71: warning: left shift count >= width of type [-Wshift-count-overflow] uintptr_t bits = ((uintptr_t)rtree_leaf_elm_bits_szind_get(old_bits) << ^~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:84:0, from src/base.c:3: include/jemalloc/internal/prof_inlines_a.h: In function 'prof_accum_cancel': include/jemalloc/internal/rtree.h:253:56: warning: left shift count >= width of type [-Wshift-count-overflow] LG_VADDR) | ((uintptr_t)extent & (((uintptr_t)0x1 << LG_VADDR) - 1)) ^~ include/jemalloc/internal/prof_inlines_a.h:58:15: error: 'LARGE_MINCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? a1 = (a0 >= LARGE_MINCLASS - usize) ? a0 - (LARGE_MINCLASS - ^~~~~~~~~~~~~~ PAGE_MASK include/jemalloc/internal/prof_inlines_a.h:58:15: note: each undeclared identifier is reported only once for each function it appears in include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_szind_write': include/jemalloc/internal/rtree.h:269:37: warning: left shift count >= width of type [-Wshift-count-overflow] uintptr_t bits = ((uintptr_t)szind << LG_VADDR) | ^~ include/jemalloc/internal/rtree.h:271:23: warning: left shift count >= width of type [-Wshift-count-overflow] (((uintptr_t)0x1 << LG_VADDR) - 1)) | ^~ include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_slab_write': include/jemalloc/internal/rtree.h:285:71: warning: left shift count >= width of type [-Wshift-count-overflow] uintptr_t bits = ((uintptr_t)rtree_leaf_elm_bits_szind_get(old_bits) << ^~ include/jemalloc/internal/rtree.h:287:23: warning: left shift count >= width of type [-Wshift-count-overflow] (((uintptr_t)0x1 << LG_VADDR) - 1)) | ((uintptr_t)slab); ^~ include/jemalloc/internal/rtree.h: In function 'rtree_leaf_elm_write': include/jemalloc/internal/rtree.h:298:37: warning: left shift count >= width of type [-Wshift-count-overflow] uintptr_t bits = ((uintptr_t)szind << LG_VADDR) | ^~ include/jemalloc/internal/rtree.h:299:44: warning: left shift count >= width of type [-Wshift-count-overflow] ((uintptr_t)extent & (((uintptr_t)0x1 << LG_VADDR) - 1)) | ^~ In file included from include/jemalloc/internal/assert.h:2:0, 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/sz.h: In function 'sz_psz2ind': include/jemalloc/internal/sz.h:52:21: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(psz > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/assert.h:2:0, 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/base.c:3: include/jemalloc/internal/sz.h: In function 'sz_psz2ind': In file included from include/jemalloc/internal/jemalloc_internal_includes.h:70:0, from src/background_thread.c:3: include/jemalloc/internal/tcache_externs.h: At top level: include/jemalloc/internal/sz.h:52:21: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(psz > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/tcache_externs.h:9:8: error: unknown type name 'tcache_bin_info_t' extern tcache_bin_info_t *tcache_bin_info; ^~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/extent_inlines.h:9:0, from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/jemalloc.c:3: include/jemalloc/internal/sz.h: In function 'sz_pind2sz_compute': include/jemalloc/internal/sz.h:76:10: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? return LARGE_MAXCLASS + PAGE; ^~~~~~~~~~~~~~ PAGE_MASK In file included from include/jemalloc/internal/extent_inlines.h:9:0, from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/base.c:3: include/jemalloc/internal/sz.h: In function 'sz_pind2sz_compute': include/jemalloc/internal/sz.h:76:10: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? return LARGE_MAXCLASS + PAGE; ^~~~~~~~~~~~~~ PAGE_MASK In file included from include/jemalloc/internal/jemalloc_internal_includes.h:70:0, from src/arena.c:3: include/jemalloc/internal/tcache_externs.h: At top level: include/jemalloc/internal/tcache_externs.h:9:8: error: unknown type name 'tcache_bin_info_t' extern tcache_bin_info_t *tcache_bin_info; ^~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/assert.h:2:0, 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/sz.h: In function 'sz_psz2u': include/jemalloc/internal/sz.h:110:21: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(psz > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/assert.h:2:0, 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/base.c:3: include/jemalloc/internal/sz.h: In function 'sz_psz2u': include/jemalloc/internal/sz.h:110:21: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(psz > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/sz.h: In function 'sz_size2index_compute': include/jemalloc/internal/sz.h:126:22: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(size > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/extent_inlines.h:9:0, from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/base.c:3: include/jemalloc/internal/sz.h:129:6: warning: "NTBINS" is not defined, evaluates to 0 [-Wundef] #if (NTBINS != 0) ^~~~~~ include/jemalloc/internal/sz.h: In function 'sz_size2index_compute': include/jemalloc/internal/sz.h:126:22: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(size > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/extent_inlines.h:9:0, from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/jemalloc.c:3: include/jemalloc/internal/sz.h:129:6: warning: "NTBINS" is not defined, evaluates to 0 [-Wundef] #if (NTBINS != 0) ^~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:84:0, from src/background_thread.c:3: include/jemalloc/internal/prof_inlines_a.h: In function 'prof_accum_cancel': include/jemalloc/internal/prof_inlines_a.h:58:15: error: 'LARGE_MINCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? a1 = (a0 >= LARGE_MINCLASS - usize) ? a0 - (LARGE_MINCLASS - ^~~~~~~~~~~~~~ PAGE_MASK include/jemalloc/internal/prof_inlines_a.h:58:15: note: each undeclared identifier is reported only once for each function it appears in include/jemalloc/internal/sz.h:138:46: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? szind_t shift = (x < LG_SIZE_CLASS_GROUP + LG_QUANTUM) ? 0 : ^~~~~~~~~~ QUANTUM include/jemalloc/internal/sz.h:138:46: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? szind_t shift = (x < LG_SIZE_CLASS_GROUP + LG_QUANTUM) ? 0 : ^~~~~~~~~~ QUANTUM include/jemalloc/internal/sz.h:149:19: error: 'NTBINS' undeclared (first use in this function); did you mean 'NBINS'? szind_t index = NTBINS + grp + mod; ^~~~~~ NBINS include/jemalloc/internal/sz.h:149:19: error: 'NTBINS' undeclared (first use in this function); did you mean 'NBINS'? szind_t index = NTBINS + grp + mod; ^~~~~~ NBINS In file included from include/jemalloc/internal/jemalloc_internal_includes.h:84:0, from src/arena.c:3: include/jemalloc/internal/prof_inlines_a.h: In function 'prof_accum_cancel': include/jemalloc/internal/prof_inlines_a.h:58:15: error: 'LARGE_MINCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? a1 = (a0 >= LARGE_MINCLASS - usize) ? a0 - (LARGE_MINCLASS - ^~~~~~~~~~~~~~ PAGE_MASK include/jemalloc/internal/prof_inlines_a.h:58:15: note: each undeclared identifier is reported only once for each function it appears in In file included from include/jemalloc/internal/assert.h:2:0, 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/base.c:3: include/jemalloc/internal/sz.h: In function 'sz_size2index_lookup': include/jemalloc/internal/sz.h:156:17: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) assert(size <= LOOKUP_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/sz.h:156:2: note: in expansion of macro 'assert' assert(size <= LOOKUP_MAXCLASS); ^~~~~~ In file included from include/jemalloc/internal/assert.h:2:0, 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/sz.h: In function 'sz_size2index_lookup': include/jemalloc/internal/sz.h:156:17: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) assert(size <= LOOKUP_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/sz.h:156:2: note: in expansion of macro 'assert' assert(size <= LOOKUP_MAXCLASS); ^~~~~~ In file included from include/jemalloc/internal/assert.h:2:0, 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/background_thread.c:3: include/jemalloc/internal/sz.h: In function 'sz_psz2ind': include/jemalloc/internal/sz.h:52:21: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(psz > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/assert.h:2:0, 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/arena.c:3: include/jemalloc/internal/sz.h: In function 'sz_psz2ind': include/jemalloc/internal/sz.h:52:21: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(psz > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/sz.h: In function 'sz_size2index': include/jemalloc/internal/sz.h:167:21: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) if (likely(size <= LOOKUP_MAXCLASS)) { ^ include/jemalloc/internal/util.h:32:43: note: in definition of macro 'likely' # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from include/jemalloc/internal/extent_inlines.h:9:0, from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/base.c:3: include/jemalloc/internal/sz.h: In function 'sz_index2size_compute': include/jemalloc/internal/sz.h:175:6: warning: "NTBINS" is not defined, evaluates to 0 [-Wundef] #if (NTBINS > 0) ^~~~~~ include/jemalloc/internal/sz.h:181:34: error: 'NTBINS' undeclared (first use in this function); did you mean 'NBINS'? size_t reduced_index = index - NTBINS; ^~~~~~ NBINS include/jemalloc/internal/sz.h: In function 'sz_size2index': include/jemalloc/internal/sz.h:167:21: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) if (likely(size <= LOOKUP_MAXCLASS)) { ^ include/jemalloc/internal/util.h:32:43: note: in definition of macro 'likely' # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from include/jemalloc/internal/extent_inlines.h:9:0, from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/jemalloc.c:3: include/jemalloc/internal/sz.h: In function 'sz_index2size_compute': include/jemalloc/internal/sz.h:175:6: warning: "NTBINS" is not defined, evaluates to 0 [-Wundef] #if (NTBINS > 0) ^~~~~~ include/jemalloc/internal/sz.h:187:33: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? size_t grp_size = ((ZU(1) << (LG_QUANTUM + ^~~~~~~~~~ QUANTUM In file included from include/jemalloc/internal/extent_inlines.h:9:0, from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/background_thread.c:3: include/jemalloc/internal/sz.h: In function 'sz_pind2sz_compute': include/jemalloc/internal/sz.h:76:10: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? return LARGE_MAXCLASS + PAGE; ^~~~~~~~~~~~~~ PAGE_MASK include/jemalloc/internal/sz.h:181:34: error: 'NTBINS' undeclared (first use in this function); did you mean 'NBINS'? size_t reduced_index = index - NTBINS; ^~~~~~ NBINS In file included from include/jemalloc/internal/extent_inlines.h:9:0, from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/arena.c:3: include/jemalloc/internal/sz.h: In function 'sz_pind2sz_compute': include/jemalloc/internal/sz.h:76:10: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? return LARGE_MAXCLASS + PAGE; ^~~~~~~~~~~~~~ PAGE_MASK include/jemalloc/internal/sz.h:187:33: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? size_t grp_size = ((ZU(1) << (LG_QUANTUM + ^~~~~~~~~~ QUANTUM In file included from include/jemalloc/internal/assert.h:2:0, 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/arena.c:3: include/jemalloc/internal/sz.h: In function 'sz_psz2u': include/jemalloc/internal/sz.h:110:21: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(psz > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/assert.h:2:0, 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/base.c:3: include/jemalloc/internal/sz.h: In function 'sz_s2u_compute': include/jemalloc/internal/sz.h:214:22: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(size > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/extent_inlines.h:9:0, from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/base.c:3: include/jemalloc/internal/sz.h:217:6: warning: "NTBINS" is not defined, evaluates to 0 [-Wundef] #if (NTBINS > 0) ^~~~~~ In file included from include/jemalloc/internal/assert.h:2:0, 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/background_thread.c:3: include/jemalloc/internal/sz.h: In function 'sz_psz2u': include/jemalloc/internal/sz.h:110:21: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(psz > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/assert.h:2:0, 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/sz.h: In function 'sz_s2u_compute': include/jemalloc/internal/sz.h:214:22: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(size > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/extent_inlines.h:9:0, from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/jemalloc.c:3: include/jemalloc/internal/sz.h:217:6: warning: "NTBINS" is not defined, evaluates to 0 [-Wundef] #if (NTBINS > 0) ^~~~~~ include/jemalloc/internal/sz.h:227:48: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? size_t lg_delta = (x < LG_SIZE_CLASS_GROUP + LG_QUANTUM + 1) ^~~~~~~~~~ QUANTUM include/jemalloc/internal/sz.h: In function 'sz_size2index_compute': include/jemalloc/internal/sz.h:126:22: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(size > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/extent_inlines.h:9:0, from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/arena.c:3: include/jemalloc/internal/sz.h:129:6: warning: "NTBINS" is not defined, evaluates to 0 [-Wundef] #if (NTBINS != 0) ^~~~~~ include/jemalloc/internal/sz.h:227:48: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? size_t lg_delta = (x < LG_SIZE_CLASS_GROUP + LG_QUANTUM + 1) ^~~~~~~~~~ QUANTUM include/jemalloc/internal/sz.h: In function 'sz_size2index_compute': include/jemalloc/internal/sz.h:126:22: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(size > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/extent_inlines.h:9:0, from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/background_thread.c:3: include/jemalloc/internal/sz.h:129:6: warning: "NTBINS" is not defined, evaluates to 0 [-Wundef] #if (NTBINS != 0) ^~~~~~ include/jemalloc/internal/sz.h:138:46: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? szind_t shift = (x < LG_SIZE_CLASS_GROUP + LG_QUANTUM) ? 0 : ^~~~~~~~~~ QUANTUM include/jemalloc/internal/sz.h:149:19: error: 'NTBINS' undeclared (first use in this function); did you mean 'NBINS'? szind_t index = NTBINS + grp + mod; ^~~~~~ NBINS include/jemalloc/internal/sz.h:138:46: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? szind_t shift = (x < LG_SIZE_CLASS_GROUP + LG_QUANTUM) ? 0 : ^~~~~~~~~~ QUANTUM include/jemalloc/internal/sz.h:149:19: error: 'NTBINS' undeclared (first use in this function); did you mean 'NBINS'? szind_t index = NTBINS + grp + mod; ^~~~~~ NBINS In file included from include/jemalloc/internal/assert.h:2:0, 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/base.c:3: include/jemalloc/internal/sz.h: In function 'sz_s2u': include/jemalloc/internal/sz.h:251:21: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) if (likely(size <= LOOKUP_MAXCLASS)) { ^ include/jemalloc/internal/util.h:32:43: note: in definition of macro 'likely' # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from include/jemalloc/internal/assert.h:2:0, 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/sz.h: In function 'sz_s2u': include/jemalloc/internal/sz.h:251:21: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) if (likely(size <= LOOKUP_MAXCLASS)) { ^ include/jemalloc/internal/util.h:32:43: note: in definition of macro 'likely' # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from include/jemalloc/internal/assert.h:2:0, 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/arena.c:3: include/jemalloc/internal/sz.h: In function 'sz_size2index_lookup': include/jemalloc/internal/sz.h:156:17: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) assert(size <= LOOKUP_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/sz.h:156:2: note: in expansion of macro 'assert' assert(size <= LOOKUP_MAXCLASS); ^~~~~~ In file included from include/jemalloc/internal/extent_inlines.h:9:0, from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/jemalloc.c:3: include/jemalloc/internal/sz.h: In function 'sz_sa2u': include/jemalloc/internal/sz.h:268:14: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'SLAB_MAXREGS'? if (size <= SMALL_MAXCLASS && alignment < PAGE) { ^~~~~~~~~~~~~~ SLAB_MAXREGS In file included from include/jemalloc/internal/assert.h:2:0, 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/background_thread.c:3: include/jemalloc/internal/sz.h: In function 'sz_size2index_lookup': include/jemalloc/internal/sz.h:156:17: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) assert(size <= LOOKUP_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/sz.h:156:2: note: in expansion of macro 'assert' assert(size <= LOOKUP_MAXCLASS); ^~~~~~ In file included from include/jemalloc/internal/extent_inlines.h:9:0, from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/base.c:3: include/jemalloc/internal/sz.h: In function 'sz_sa2u': include/jemalloc/internal/sz.h:268:14: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'SLAB_MAXREGS'? if (size <= SMALL_MAXCLASS && alignment < PAGE) { ^~~~~~~~~~~~~~ SLAB_MAXREGS include/jemalloc/internal/sz.h:284:15: error: 'LARGE_MINCLASS' undeclared (first use in this function); did you mean 'SMALL_MAXCLASS'? if (usize < LARGE_MINCLASS) { ^~~~~~~~~~~~~~ SMALL_MAXCLASS In file included from include/jemalloc/internal/assert.h:2:0, 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/sz.h:291:27: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'LARGE_MINCLASS'? if (unlikely(alignment > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/sz.h: In function 'sz_size2index': include/jemalloc/internal/sz.h:167:21: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) if (likely(size <= LOOKUP_MAXCLASS)) { ^ include/jemalloc/internal/util.h:32:43: note: in definition of macro 'likely' # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from include/jemalloc/internal/extent_inlines.h:9:0, from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/arena.c:3: include/jemalloc/internal/sz.h: In function 'sz_index2size_compute': include/jemalloc/internal/sz.h:175:6: warning: "NTBINS" is not defined, evaluates to 0 [-Wundef] #if (NTBINS > 0) ^~~~~~ include/jemalloc/internal/sz.h: In function 'sz_size2index': include/jemalloc/internal/sz.h:167:21: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) if (likely(size <= LOOKUP_MAXCLASS)) { ^ include/jemalloc/internal/util.h:32:43: note: in definition of macro 'likely' # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from include/jemalloc/internal/extent_inlines.h:9:0, from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/background_thread.c:3: include/jemalloc/internal/sz.h: In function 'sz_index2size_compute': include/jemalloc/internal/sz.h:175:6: warning: "NTBINS" is not defined, evaluates to 0 [-Wundef] #if (NTBINS > 0) ^~~~~~ include/jemalloc/internal/sz.h:181:34: error: 'NTBINS' undeclared (first use in this function); did you mean 'NBINS'? size_t reduced_index = index - NTBINS; ^~~~~~ NBINS include/jemalloc/internal/sz.h:181:34: error: 'NTBINS' undeclared (first use in this function); did you mean 'NBINS'? size_t reduced_index = index - NTBINS; ^~~~~~ NBINS include/jemalloc/internal/sz.h:284:15: error: 'LARGE_MINCLASS' undeclared (first use in this function); did you mean 'SMALL_MAXCLASS'? if (usize < LARGE_MINCLASS) { ^~~~~~~~~~~~~~ SMALL_MAXCLASS include/jemalloc/internal/sz.h:187:33: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? size_t grp_size = ((ZU(1) << (LG_QUANTUM + ^~~~~~~~~~ QUANTUM include/jemalloc/internal/sz.h:187:33: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? size_t grp_size = ((ZU(1) << (LG_QUANTUM + ^~~~~~~~~~ QUANTUM In file included from include/jemalloc/internal/assert.h:2:0, 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/base.c:3: include/jemalloc/internal/sz.h:291:27: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'LARGE_MINCLASS'? if (unlikely(alignment > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:54:0, from src/jemalloc.c:3: include/jemalloc/internal/extent_inlines.h: In function 'extent_szind_get_maybe_invalid': include/jemalloc/internal/extent_structs.h:94:24: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (((uint64_t)(1U << LG_CEIL_NSIZES) - 1) << EXTENT_BITS_SZIND_SHIFT) ^ include/jemalloc/internal/extent_inlines.h:54:46: note: in expansion of macro 'EXTENT_BITS_SZIND_MASK' szind_t szind = (szind_t)((extent->e_bits & EXTENT_BITS_SZIND_MASK) >> ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/assert.h:2:0, 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/background_thread.c:3: include/jemalloc/internal/sz.h: In function 'sz_s2u_compute': include/jemalloc/internal/sz.h:214:22: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(size > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/extent_inlines.h:9:0, from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/background_thread.c:3: include/jemalloc/internal/sz.h:217:6: warning: "NTBINS" is not defined, evaluates to 0 [-Wundef] #if (NTBINS > 0) ^~~~~~ In file included from include/jemalloc/internal/assert.h:2:0, 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/arena.c:3: include/jemalloc/internal/sz.h: In function 'sz_s2u_compute': include/jemalloc/internal/sz.h:214:22: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(size > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/extent_inlines.h:9:0, from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/arena.c:3: include/jemalloc/internal/sz.h:217:6: warning: "NTBINS" is not defined, evaluates to 0 [-Wundef] #if (NTBINS > 0) ^~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:54:0, from src/base.c:3: include/jemalloc/internal/extent_inlines.h: In function 'extent_szind_get_maybe_invalid': include/jemalloc/internal/extent_inlines.h: In function 'extent_sn_get': include/jemalloc/internal/extent_structs.h:102:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES + (LG_SLAB_MAXREGS + 1)) ^ include/jemalloc/internal/extent_structs.h:103:45: note: in expansion of macro 'EXTENT_BITS_SN_SHIFT' #define EXTENT_BITS_SN_MASK (UINT64_MAX << EXTENT_BITS_SN_SHIFT) ^~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h:74:36: note: in expansion of macro 'EXTENT_BITS_SN_MASK' return (size_t)((extent->e_bits & EXTENT_BITS_SN_MASK) >> ^~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_structs.h:94:24: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (((uint64_t)(1U << LG_CEIL_NSIZES) - 1) << EXTENT_BITS_SZIND_SHIFT) ^ include/jemalloc/internal/extent_inlines.h:54:46: note: in expansion of macro 'EXTENT_BITS_SZIND_MASK' szind_t szind = (szind_t)((extent->e_bits & EXTENT_BITS_SZIND_MASK) >> ^~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/sz.h:227:48: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? size_t lg_delta = (x < LG_SIZE_CLASS_GROUP + LG_QUANTUM + 1) ^~~~~~~~~~ QUANTUM include/jemalloc/internal/sz.h:227:48: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? size_t lg_delta = (x < LG_SIZE_CLASS_GROUP + LG_QUANTUM + 1) ^~~~~~~~~~ QUANTUM include/jemalloc/internal/extent_inlines.h: In function 'extent_sn_get': include/jemalloc/internal/extent_structs.h:102:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES + (LG_SLAB_MAXREGS + 1)) ^ include/jemalloc/internal/extent_structs.h:103:45: note: in expansion of macro 'EXTENT_BITS_SN_SHIFT' #define EXTENT_BITS_SN_MASK (UINT64_MAX << EXTENT_BITS_SN_SHIFT) ^~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h:74:36: note: in expansion of macro 'EXTENT_BITS_SN_MASK' return (size_t)((extent->e_bits & EXTENT_BITS_SN_MASK) >> ^~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h: In function 'extent_nfree_get': include/jemalloc/internal/extent_structs.h:97:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES) ^ include/jemalloc/internal/extent_structs.h:99:55: note: in expansion of macro 'EXTENT_BITS_NFREE_SHIFT' ((uint64_t)((1U << (LG_SLAB_MAXREGS + 1)) - 1) << EXTENT_BITS_NFREE_SHIFT) ^~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h:105:38: note: in expansion of macro 'EXTENT_BITS_NFREE_MASK' return (unsigned)((extent->e_bits & EXTENT_BITS_NFREE_MASK) >> ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/assert.h:2:0, 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/background_thread.c:3: include/jemalloc/internal/sz.h: In function 'sz_s2u': include/jemalloc/internal/sz.h:251:21: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) if (likely(size <= LOOKUP_MAXCLASS)) { ^ include/jemalloc/internal/util.h:32:43: note: in definition of macro 'likely' # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from include/jemalloc/internal/assert.h:2:0, 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/arena.c:3: include/jemalloc/internal/sz.h: In function 'sz_s2u': include/jemalloc/internal/sz.h:251:21: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) if (likely(size <= LOOKUP_MAXCLASS)) { ^ include/jemalloc/internal/util.h:32:43: note: in definition of macro 'likely' # define likely(x) __builtin_expect(!!(x), 1) ^ include/jemalloc/internal/extent_inlines.h: In function 'extent_nfree_get': include/jemalloc/internal/extent_structs.h:97:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES) ^ include/jemalloc/internal/extent_structs.h:99:55: note: in expansion of macro 'EXTENT_BITS_NFREE_SHIFT' ((uint64_t)((1U << (LG_SLAB_MAXREGS + 1)) - 1) << EXTENT_BITS_NFREE_SHIFT) ^~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h:105:38: note: in expansion of macro 'EXTENT_BITS_NFREE_MASK' return (unsigned)((extent->e_bits & EXTENT_BITS_NFREE_MASK) >> ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/extent_inlines.h:9:0, from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/background_thread.c:3: include/jemalloc/internal/sz.h: In function 'sz_sa2u': include/jemalloc/internal/sz.h:268:14: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'SLAB_MAXREGS'? if (size <= SMALL_MAXCLASS && alignment < PAGE) { ^~~~~~~~~~~~~~ SLAB_MAXREGS In file included from include/jemalloc/internal/extent_inlines.h:9:0, from include/jemalloc/internal/jemalloc_internal_includes.h:86, from src/arena.c:3: include/jemalloc/internal/sz.h: In function 'sz_sa2u': include/jemalloc/internal/sz.h:268:14: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'SLAB_MAXREGS'? if (size <= SMALL_MAXCLASS && alignment < PAGE) { ^~~~~~~~~~~~~~ SLAB_MAXREGS include/jemalloc/internal/extent_inlines.h: In function 'extent_szind_set': include/jemalloc/internal/extent_structs.h:94:24: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (((uint64_t)(1U << LG_CEIL_NSIZES) - 1) << EXTENT_BITS_SZIND_SHIFT) ^ include/jemalloc/internal/extent_inlines.h:225:38: note: in expansion of macro 'EXTENT_BITS_SZIND_MASK' extent->e_bits = (extent->e_bits & ~EXTENT_BITS_SZIND_MASK) | ^~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/sz.h:284:15: error: 'LARGE_MINCLASS' undeclared (first use in this function); did you mean 'SMALL_MAXCLASS'? if (usize < LARGE_MINCLASS) { ^~~~~~~~~~~~~~ SMALL_MAXCLASS include/jemalloc/internal/sz.h:284:15: error: 'LARGE_MINCLASS' undeclared (first use in this function); did you mean 'SMALL_MAXCLASS'? if (usize < LARGE_MINCLASS) { ^~~~~~~~~~~~~~ SMALL_MAXCLASS include/jemalloc/internal/extent_inlines.h: In function 'extent_nfree_set': include/jemalloc/internal/extent_structs.h:97:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES) ^ include/jemalloc/internal/extent_structs.h:99:55: note: in expansion of macro 'EXTENT_BITS_NFREE_SHIFT' ((uint64_t)((1U << (LG_SLAB_MAXREGS + 1)) - 1) << EXTENT_BITS_NFREE_SHIFT) ^~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h:232:38: note: in expansion of macro 'EXTENT_BITS_NFREE_MASK' extent->e_bits = (extent->e_bits & ~EXTENT_BITS_NFREE_MASK) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/assert.h:2:0, 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/arena.c:3: include/jemalloc/internal/sz.h:291:27: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'LARGE_MINCLASS'? if (unlikely(alignment > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/assert.h:2:0, 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/background_thread.c:3: include/jemalloc/internal/sz.h:291:27: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'LARGE_MINCLASS'? if (unlikely(alignment > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/extent_inlines.h: In function 'extent_szind_set': include/jemalloc/internal/extent_structs.h:94:24: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (((uint64_t)(1U << LG_CEIL_NSIZES) - 1) << EXTENT_BITS_SZIND_SHIFT) ^ include/jemalloc/internal/extent_inlines.h:225:38: note: in expansion of macro 'EXTENT_BITS_SZIND_MASK' extent->e_bits = (extent->e_bits & ~EXTENT_BITS_SZIND_MASK) | ^~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h: In function 'extent_nfree_inc': include/jemalloc/internal/extent_structs.h:97:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES) ^ include/jemalloc/internal/extent_inlines.h:239:37: note: in expansion of macro 'EXTENT_BITS_NFREE_SHIFT' extent->e_bits += ((uint64_t)1U << EXTENT_BITS_NFREE_SHIFT); ^~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h: In function 'extent_nfree_set': include/jemalloc/internal/extent_structs.h:97:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES) ^ include/jemalloc/internal/extent_structs.h:99:55: note: in expansion of macro 'EXTENT_BITS_NFREE_SHIFT' ((uint64_t)((1U << (LG_SLAB_MAXREGS + 1)) - 1) << EXTENT_BITS_NFREE_SHIFT) ^~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h:232:38: note: in expansion of macro 'EXTENT_BITS_NFREE_MASK' extent->e_bits = (extent->e_bits & ~EXTENT_BITS_NFREE_MASK) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:54:0, from src/arena.c:3: include/jemalloc/internal/extent_inlines.h: In function 'extent_szind_get_maybe_invalid': include/jemalloc/internal/extent_structs.h:94:24: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (((uint64_t)(1U << LG_CEIL_NSIZES) - 1) << EXTENT_BITS_SZIND_SHIFT) ^ include/jemalloc/internal/extent_inlines.h:54:46: note: in expansion of macro 'EXTENT_BITS_SZIND_MASK' szind_t szind = (szind_t)((extent->e_bits & EXTENT_BITS_SZIND_MASK) >> ^~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h: In function 'extent_nfree_dec': include/jemalloc/internal/extent_structs.h:97:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES) ^ include/jemalloc/internal/extent_inlines.h:245:37: note: in expansion of macro 'EXTENT_BITS_NFREE_SHIFT' extent->e_bits -= ((uint64_t)1U << EXTENT_BITS_NFREE_SHIFT); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:54:0, from src/background_thread.c:3: include/jemalloc/internal/extent_inlines.h: In function 'extent_szind_get_maybe_invalid': include/jemalloc/internal/extent_structs.h:94:24: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (((uint64_t)(1U << LG_CEIL_NSIZES) - 1) << EXTENT_BITS_SZIND_SHIFT) ^ include/jemalloc/internal/extent_inlines.h:54:46: note: in expansion of macro 'EXTENT_BITS_SZIND_MASK' szind_t szind = (szind_t)((extent->e_bits & EXTENT_BITS_SZIND_MASK) >> ^~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h: In function 'extent_nfree_inc': include/jemalloc/internal/extent_structs.h:97:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES) ^ include/jemalloc/internal/extent_inlines.h:239:37: note: in expansion of macro 'EXTENT_BITS_NFREE_SHIFT' extent->e_bits += ((uint64_t)1U << EXTENT_BITS_NFREE_SHIFT); ^~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h: In function 'extent_sn_set': include/jemalloc/internal/extent_structs.h:102:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES + (LG_SLAB_MAXREGS + 1)) ^ include/jemalloc/internal/extent_structs.h:103:45: note: in expansion of macro 'EXTENT_BITS_SN_SHIFT' #define EXTENT_BITS_SN_MASK (UINT64_MAX << EXTENT_BITS_SN_SHIFT) ^~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h:250:38: note: in expansion of macro 'EXTENT_BITS_SN_MASK' extent->e_bits = (extent->e_bits & ~EXTENT_BITS_SN_MASK) | ^~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h: In function 'extent_sn_get': include/jemalloc/internal/extent_inlines.h: In function 'extent_sn_get': include/jemalloc/internal/extent_structs.h:102:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES + (LG_SLAB_MAXREGS + 1)) ^ include/jemalloc/internal/extent_structs.h:103:45: note: in expansion of macro 'EXTENT_BITS_SN_SHIFT' #define EXTENT_BITS_SN_MASK (UINT64_MAX << EXTENT_BITS_SN_SHIFT) ^~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h:74:36: note: in expansion of macro 'EXTENT_BITS_SN_MASK' return (size_t)((extent->e_bits & EXTENT_BITS_SN_MASK) >> ^~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_structs.h:102:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES + (LG_SLAB_MAXREGS + 1)) ^ include/jemalloc/internal/extent_structs.h:103:45: note: in expansion of macro 'EXTENT_BITS_SN_SHIFT' #define EXTENT_BITS_SN_MASK (UINT64_MAX << EXTENT_BITS_SN_SHIFT) ^~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h:74:36: note: in expansion of macro 'EXTENT_BITS_SN_MASK' return (size_t)((extent->e_bits & EXTENT_BITS_SN_MASK) >> ^~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h: In function 'extent_nfree_dec': include/jemalloc/internal/extent_structs.h:97:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES) ^ include/jemalloc/internal/extent_inlines.h:245:37: note: in expansion of macro 'EXTENT_BITS_NFREE_SHIFT' extent->e_bits -= ((uint64_t)1U << EXTENT_BITS_NFREE_SHIFT); ^~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h: In function 'extent_nfree_get': include/jemalloc/internal/extent_structs.h:97:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES) ^ include/jemalloc/internal/extent_structs.h:99:55: note: in expansion of macro 'EXTENT_BITS_NFREE_SHIFT' ((uint64_t)((1U << (LG_SLAB_MAXREGS + 1)) - 1) << EXTENT_BITS_NFREE_SHIFT) ^~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h:105:38: note: in expansion of macro 'EXTENT_BITS_NFREE_MASK' return (unsigned)((extent->e_bits & EXTENT_BITS_NFREE_MASK) >> ^~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h: In function 'extent_nfree_get': include/jemalloc/internal/extent_structs.h:97:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES) ^ include/jemalloc/internal/extent_structs.h:99:55: note: in expansion of macro 'EXTENT_BITS_NFREE_SHIFT' ((uint64_t)((1U << (LG_SLAB_MAXREGS + 1)) - 1) << EXTENT_BITS_NFREE_SHIFT) ^~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h:105:38: note: in expansion of macro 'EXTENT_BITS_NFREE_MASK' return (unsigned)((extent->e_bits & EXTENT_BITS_NFREE_MASK) >> ^~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h: In function 'extent_sn_set': include/jemalloc/internal/extent_structs.h:102:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES + (LG_SLAB_MAXREGS + 1)) ^ include/jemalloc/internal/extent_structs.h:103:45: note: in expansion of macro 'EXTENT_BITS_SN_SHIFT' #define EXTENT_BITS_SN_MASK (UINT64_MAX << EXTENT_BITS_SN_SHIFT) ^~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h:250:38: note: in expansion of macro 'EXTENT_BITS_SN_MASK' extent->e_bits = (extent->e_bits & ~EXTENT_BITS_SN_MASK) | ^~~~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:88:0, from src/jemalloc.c:3: include/jemalloc/internal/tcache_inlines.h: In function 'tcache_dalloc_small': include/jemalloc/internal/tcache_inlines.h:194:2: error: unknown type name 'tcache_bin_info_t'; did you mean 'tcache_bin_stats_t'? tcache_bin_info_t *tbin_info; ^~~~~~~~~~~~~~~~~ tcache_bin_stats_t include/jemalloc/internal/extent_inlines.h: In function 'extent_szind_set': include/jemalloc/internal/extent_structs.h:94:24: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (((uint64_t)(1U << LG_CEIL_NSIZES) - 1) << EXTENT_BITS_SZIND_SHIFT) ^ include/jemalloc/internal/extent_inlines.h:225:38: note: in expansion of macro 'EXTENT_BITS_SZIND_MASK' extent->e_bits = (extent->e_bits & ~EXTENT_BITS_SZIND_MASK) | ^~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h: In function 'extent_szind_set': include/jemalloc/internal/extent_structs.h:94:24: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (((uint64_t)(1U << LG_CEIL_NSIZES) - 1) << EXTENT_BITS_SZIND_SHIFT) ^ include/jemalloc/internal/extent_inlines.h:225:38: note: in expansion of macro 'EXTENT_BITS_SZIND_MASK' extent->e_bits = (extent->e_bits & ~EXTENT_BITS_SZIND_MASK) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/assert.h:2:0, 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/tcache_inlines.h:196:46: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'SLAB_MAXREGS'? assert(tcache_salloc(tsd_tsdn(tsd), ptr) <= SMALL_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/tcache_inlines.h:196:2: note: in expansion of macro 'assert' assert(tcache_salloc(tsd_tsdn(tsd), ptr) <= SMALL_MAXCLASS); ^~~~~~ include/jemalloc/internal/tcache_inlines.h:204:41: error: request for member 'ncached_max' in something not a structure or union if (unlikely(tbin->ncached == tbin_info->ncached_max)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:88:0, from src/jemalloc.c:3: include/jemalloc/internal/tcache_inlines.h:206:17: error: request for member 'ncached_max' in something not a structure or union (tbin_info->ncached_max >> 1)); ^~ In file included from include/jemalloc/internal/assert.h:2:0, 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/tcache_inlines.h:208:34: error: request for member 'ncached_max' in something not a structure or union assert(tbin->ncached < tbin_info->ncached_max); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/tcache_inlines.h:208:2: note: in expansion of macro 'assert' assert(tbin->ncached < tbin_info->ncached_max); ^~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:88:0, from src/base.c:3: include/jemalloc/internal/tcache_inlines.h: In function 'tcache_dalloc_small': include/jemalloc/internal/extent_inlines.h: In function 'extent_nfree_set': include/jemalloc/internal/tcache_inlines.h:194:2: error: unknown type name 'tcache_bin_info_t'; did you mean 'tcache_bin_stats_t'? tcache_bin_info_t *tbin_info; ^~~~~~~~~~~~~~~~~ tcache_bin_stats_t include/jemalloc/internal/extent_structs.h:97:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES) ^ include/jemalloc/internal/extent_structs.h:99:55: note: in expansion of macro 'EXTENT_BITS_NFREE_SHIFT' ((uint64_t)((1U << (LG_SLAB_MAXREGS + 1)) - 1) << EXTENT_BITS_NFREE_SHIFT) ^~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h:232:38: note: in expansion of macro 'EXTENT_BITS_NFREE_MASK' extent->e_bits = (extent->e_bits & ~EXTENT_BITS_NFREE_MASK) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:88:0, from src/jemalloc.c:3: include/jemalloc/internal/tcache_inlines.h: In function 'tcache_dalloc_large': include/jemalloc/internal/tcache_inlines.h:219:2: error: unknown type name 'tcache_bin_info_t'; did you mean 'tcache_bin_stats_t'? tcache_bin_info_t *tbin_info; ^~~~~~~~~~~~~~~~~ tcache_bin_stats_t include/jemalloc/internal/extent_inlines.h: In function 'extent_nfree_set': include/jemalloc/internal/extent_structs.h:97:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES) ^ include/jemalloc/internal/extent_structs.h:99:55: note: in expansion of macro 'EXTENT_BITS_NFREE_SHIFT' ((uint64_t)((1U << (LG_SLAB_MAXREGS + 1)) - 1) << EXTENT_BITS_NFREE_SHIFT) ^~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h:232:38: note: in expansion of macro 'EXTENT_BITS_NFREE_MASK' extent->e_bits = (extent->e_bits & ~EXTENT_BITS_NFREE_MASK) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/assert.h:2:0, 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/base.c:3: include/jemalloc/internal/tcache_inlines.h:196:46: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'SLAB_MAXREGS'? assert(tcache_salloc(tsd_tsdn(tsd), ptr) <= SMALL_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/tcache_inlines.h:196:2: note: in expansion of macro 'assert' assert(tcache_salloc(tsd_tsdn(tsd), ptr) <= SMALL_MAXCLASS); ^~~~~~ include/jemalloc/internal/tcache_inlines.h:204:41: error: request for member 'ncached_max' in something not a structure or union if (unlikely(tbin->ncached == tbin_info->ncached_max)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:88:0, from src/base.c:3: include/jemalloc/internal/tcache_inlines.h:206:17: error: request for member 'ncached_max' in something not a structure or union (tbin_info->ncached_max >> 1)); ^~ In file included from include/jemalloc/internal/assert.h:2:0, 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/base.c:3: include/jemalloc/internal/tcache_inlines.h:208:34: error: request for member 'ncached_max' in something not a structure or union assert(tbin->ncached < tbin_info->ncached_max); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/tcache_inlines.h:208:2: note: in expansion of macro 'assert' assert(tbin->ncached < tbin_info->ncached_max); ^~~~~~ In file included from include/jemalloc/internal/assert.h:2:0, 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/tcache_inlines.h:221:45: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'SLAB_MAXREGS'? assert(tcache_salloc(tsd_tsdn(tsd), ptr) > SMALL_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/tcache_inlines.h:221:2: note: in expansion of macro 'assert' assert(tcache_salloc(tsd_tsdn(tsd), ptr) > SMALL_MAXCLASS); ^~~~~~ include/jemalloc/internal/tcache_inlines.h:230:41: error: request for member 'ncached_max' in something not a structure or union if (unlikely(tbin->ncached == tbin_info->ncached_max)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:88:0, from src/jemalloc.c:3: include/jemalloc/internal/tcache_inlines.h:232:17: error: request for member 'ncached_max' in something not a structure or union (tbin_info->ncached_max >> 1), tcache); ^~ In file included from include/jemalloc/internal/assert.h:2:0, 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/tcache_inlines.h:234:34: error: request for member 'ncached_max' in something not a structure or union assert(tbin->ncached < tbin_info->ncached_max); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/tcache_inlines.h:234:2: note: in expansion of macro 'assert' assert(tbin->ncached < tbin_info->ncached_max); ^~~~~~ include/jemalloc/internal/extent_inlines.h: In function 'extent_nfree_inc': include/jemalloc/internal/extent_structs.h:97:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES) ^ include/jemalloc/internal/extent_inlines.h:239:37: note: in expansion of macro 'EXTENT_BITS_NFREE_SHIFT' extent->e_bits += ((uint64_t)1U << EXTENT_BITS_NFREE_SHIFT); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:88:0, from src/base.c:3: include/jemalloc/internal/tcache_inlines.h: In function 'tcache_dalloc_large': include/jemalloc/internal/tcache_inlines.h:219:2: error: unknown type name 'tcache_bin_info_t'; did you mean 'tcache_bin_stats_t'? tcache_bin_info_t *tbin_info; ^~~~~~~~~~~~~~~~~ tcache_bin_stats_t include/jemalloc/internal/extent_inlines.h: In function 'extent_nfree_inc': include/jemalloc/internal/extent_structs.h:97:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES) ^ include/jemalloc/internal/extent_inlines.h:239:37: note: in expansion of macro 'EXTENT_BITS_NFREE_SHIFT' extent->e_bits += ((uint64_t)1U << EXTENT_BITS_NFREE_SHIFT); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/assert.h:2:0, 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/base.c:3: include/jemalloc/internal/tcache_inlines.h:221:45: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'SLAB_MAXREGS'? assert(tcache_salloc(tsd_tsdn(tsd), ptr) > SMALL_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/tcache_inlines.h:221:2: note: in expansion of macro 'assert' assert(tcache_salloc(tsd_tsdn(tsd), ptr) > SMALL_MAXCLASS); ^~~~~~ include/jemalloc/internal/extent_inlines.h: In function 'extent_nfree_dec': include/jemalloc/internal/extent_structs.h:97:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES) ^ include/jemalloc/internal/extent_inlines.h:245:37: note: in expansion of macro 'EXTENT_BITS_NFREE_SHIFT' extent->e_bits -= ((uint64_t)1U << EXTENT_BITS_NFREE_SHIFT); ^~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/tcache_inlines.h:230:41: error: request for member 'ncached_max' in something not a structure or union if (unlikely(tbin->ncached == tbin_info->ncached_max)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:88:0, from src/base.c:3: include/jemalloc/internal/tcache_inlines.h:232:17: error: request for member 'ncached_max' in something not a structure or union (tbin_info->ncached_max >> 1), tcache); ^~ In file included from include/jemalloc/internal/assert.h:2:0, 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/base.c:3: include/jemalloc/internal/tcache_inlines.h:234:34: error: request for member 'ncached_max' in something not a structure or union assert(tbin->ncached < tbin_info->ncached_max); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/tcache_inlines.h:234:2: note: in expansion of macro 'assert' assert(tbin->ncached < tbin_info->ncached_max); ^~~~~~ include/jemalloc/internal/arena_inlines_b.h: In function 'arena_malloc': include/jemalloc/internal/extent_inlines.h: In function 'extent_nfree_dec': include/jemalloc/internal/extent_structs.h:97:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES) ^ include/jemalloc/internal/extent_inlines.h:245:37: note: in expansion of macro 'EXTENT_BITS_NFREE_SHIFT' extent->e_bits -= ((uint64_t)1U << EXTENT_BITS_NFREE_SHIFT); ^~~~~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/arena_inlines_b.h:100:22: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'SLAB_MAXREGS'? if (likely(size <= SMALL_MAXCLASS)) { ^ include/jemalloc/internal/util.h:32:43: note: in definition of macro 'likely' # define likely(x) __builtin_expect(!!(x), 1) ^ include/jemalloc/internal/extent_inlines.h: In function 'extent_sn_set': include/jemalloc/internal/extent_structs.h:102:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES + (LG_SLAB_MAXREGS + 1)) ^ include/jemalloc/internal/extent_structs.h:103:45: note: in expansion of macro 'EXTENT_BITS_SN_SHIFT' #define EXTENT_BITS_SN_MASK (UINT64_MAX << EXTENT_BITS_SN_SHIFT) ^~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h:250:38: note: in expansion of macro 'EXTENT_BITS_SN_MASK' extent->e_bits = (extent->e_bits & ~EXTENT_BITS_SN_MASK) | ^~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h: In function 'extent_sn_set': include/jemalloc/internal/extent_structs.h:102:31: error: 'LG_CEIL_NSIZES' undeclared (first use in this function) (MALLOCX_ARENA_BITS + 5 + LG_CEIL_NSIZES + (LG_SLAB_MAXREGS + 1)) ^ include/jemalloc/internal/extent_structs.h:103:45: note: in expansion of macro 'EXTENT_BITS_SN_SHIFT' #define EXTENT_BITS_SN_MASK (UINT64_MAX << EXTENT_BITS_SN_SHIFT) ^~~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/extent_inlines.h:250:38: note: in expansion of macro 'EXTENT_BITS_SN_MASK' extent->e_bits = (extent->e_bits & ~EXTENT_BITS_SN_MASK) | ^~~~~~~~~~~~~~~~~~~ include/jemalloc/internal/arena_inlines_b.h: In function 'arena_malloc': include/jemalloc/internal/arena_inlines_b.h:100:22: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'SLAB_MAXREGS'? if (likely(size <= SMALL_MAXCLASS)) { ^ include/jemalloc/internal/util.h:32:43: note: in definition of macro 'likely' # define likely(x) __builtin_expect(!!(x), 1) ^ include/jemalloc/internal/arena_inlines_b.h: In function 'arena_sdalloc_no_tcache': include/jemalloc/internal/arena_inlines_b.h:252:17: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? assert(size <= LARGE_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/arena_inlines_b.h:252:2: note: in expansion of macro 'assert' assert(size <= LARGE_MAXCLASS); ^~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:88:0, from src/arena.c:3: include/jemalloc/internal/tcache_inlines.h: In function 'tcache_dalloc_small': include/jemalloc/internal/tcache_inlines.h:194:2: error: unknown type name 'tcache_bin_info_t'; did you mean 'tcache_bin_stats_t'? tcache_bin_info_t *tbin_info; ^~~~~~~~~~~~~~~~~ tcache_bin_stats_t include/jemalloc/internal/arena_inlines_b.h: In function 'arena_sdalloc_no_tcache': include/jemalloc/internal/arena_inlines_b.h:252:17: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? assert(size <= LARGE_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/arena_inlines_b.h:252:2: note: in expansion of macro 'assert' assert(size <= LARGE_MAXCLASS); ^~~~~~ include/jemalloc/internal/arena_inlines_b.h: In function 'arena_sdalloc': include/jemalloc/internal/arena_inlines_b.h:298:17: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? assert(size <= LARGE_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/arena_inlines_b.h:298:2: note: in expansion of macro 'assert' assert(size <= LARGE_MAXCLASS); ^~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:88:0, from src/background_thread.c:3: include/jemalloc/internal/tcache_inlines.h: In function 'tcache_dalloc_small': include/jemalloc/internal/tcache_inlines.h:194:2: error: unknown type name 'tcache_bin_info_t'; did you mean 'tcache_bin_stats_t'? tcache_bin_info_t *tbin_info; ^~~~~~~~~~~~~~~~~ tcache_bin_stats_t In file included from include/jemalloc/internal/assert.h:2:0, 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/arena.c:3: include/jemalloc/internal/tcache_inlines.h:196:46: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'SLAB_MAXREGS'? assert(tcache_salloc(tsd_tsdn(tsd), ptr) <= SMALL_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/tcache_inlines.h:196:2: note: in expansion of macro 'assert' assert(tcache_salloc(tsd_tsdn(tsd), ptr) <= SMALL_MAXCLASS); ^~~~~~ include/jemalloc/internal/tcache_inlines.h:204:41: error: request for member 'ncached_max' in something not a structure or union if (unlikely(tbin->ncached == tbin_info->ncached_max)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:88:0, from src/arena.c:3: include/jemalloc/internal/tcache_inlines.h:206:17: error: request for member 'ncached_max' in something not a structure or union (tbin_info->ncached_max >> 1)); ^~ In file included from include/jemalloc/internal/assert.h:2:0, 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/arena.c:3: include/jemalloc/internal/tcache_inlines.h:208:34: error: request for member 'ncached_max' in something not a structure or union assert(tbin->ncached < tbin_info->ncached_max); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/tcache_inlines.h:208:2: note: in expansion of macro 'assert' assert(tbin->ncached < tbin_info->ncached_max); ^~~~~~ include/jemalloc/internal/arena_inlines_b.h: In function 'arena_sdalloc': include/jemalloc/internal/arena_inlines_b.h:298:17: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? assert(size <= LARGE_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/arena_inlines_b.h:298:2: note: in expansion of macro 'assert' assert(size <= LARGE_MAXCLASS); ^~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:88:0, from src/arena.c:3: include/jemalloc/internal/tcache_inlines.h: In function 'tcache_dalloc_large': include/jemalloc/internal/tcache_inlines.h:219:2: error: unknown type name 'tcache_bin_info_t'; did you mean 'tcache_bin_stats_t'? tcache_bin_info_t *tbin_info; ^~~~~~~~~~~~~~~~~ tcache_bin_stats_t In file included from include/jemalloc/internal/assert.h:2:0, 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/background_thread.c:3: include/jemalloc/internal/tcache_inlines.h:196:46: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'SLAB_MAXREGS'? assert(tcache_salloc(tsd_tsdn(tsd), ptr) <= SMALL_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/tcache_inlines.h:196:2: note: in expansion of macro 'assert' assert(tcache_salloc(tsd_tsdn(tsd), ptr) <= SMALL_MAXCLASS); ^~~~~~ include/jemalloc/internal/tcache_inlines.h:204:41: error: request for member 'ncached_max' in something not a structure or union if (unlikely(tbin->ncached == tbin_info->ncached_max)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:88:0, from src/background_thread.c:3: include/jemalloc/internal/tcache_inlines.h:206:17: error: request for member 'ncached_max' in something not a structure or union (tbin_info->ncached_max >> 1)); ^~ In file included from include/jemalloc/internal/assert.h:2:0, 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/background_thread.c:3: include/jemalloc/internal/tcache_inlines.h:208:34: error: request for member 'ncached_max' in something not a structure or union assert(tbin->ncached < tbin_info->ncached_max); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/tcache_inlines.h:208:2: note: in expansion of macro 'assert' assert(tbin->ncached < tbin_info->ncached_max); ^~~~~~ include/jemalloc/internal/jemalloc_internal_inlines_c.h: In function 'iralloct_realign': include/jemalloc/internal/jemalloc_internal_inlines_c.h:123:37: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(usize == 0 || usize > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:88:0, from src/background_thread.c:3: include/jemalloc/internal/tcache_inlines.h: In function 'tcache_dalloc_large': include/jemalloc/internal/tcache_inlines.h:219:2: error: unknown type name 'tcache_bin_info_t'; did you mean 'tcache_bin_stats_t'? tcache_bin_info_t *tbin_info; ^~~~~~~~~~~~~~~~~ tcache_bin_stats_t In file included from include/jemalloc/internal/assert.h:2:0, 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/arena.c:3: include/jemalloc/internal/tcache_inlines.h:221:45: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'SLAB_MAXREGS'? assert(tcache_salloc(tsd_tsdn(tsd), ptr) > SMALL_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/tcache_inlines.h:221:2: note: in expansion of macro 'assert' assert(tcache_salloc(tsd_tsdn(tsd), ptr) > SMALL_MAXCLASS); ^~~~~~ include/jemalloc/internal/tcache_inlines.h:230:41: error: request for member 'ncached_max' in something not a structure or union if (unlikely(tbin->ncached == tbin_info->ncached_max)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:88:0, from src/arena.c:3: include/jemalloc/internal/tcache_inlines.h:232:17: error: request for member 'ncached_max' in something not a structure or union (tbin_info->ncached_max >> 1), tcache); ^~ In file included from include/jemalloc/internal/assert.h:2:0, 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/arena.c:3: include/jemalloc/internal/tcache_inlines.h:234:34: error: request for member 'ncached_max' in something not a structure or union assert(tbin->ncached < tbin_info->ncached_max); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/tcache_inlines.h:234:2: note: in expansion of macro 'assert' assert(tbin->ncached < tbin_info->ncached_max); ^~~~~~ In file included from include/jemalloc/internal/assert.h:2:0, 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/background_thread.c:3: include/jemalloc/internal/tcache_inlines.h:221:45: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'SLAB_MAXREGS'? assert(tcache_salloc(tsd_tsdn(tsd), ptr) > SMALL_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/tcache_inlines.h:221:2: note: in expansion of macro 'assert' assert(tcache_salloc(tsd_tsdn(tsd), ptr) > SMALL_MAXCLASS); ^~~~~~ include/jemalloc/internal/tcache_inlines.h:230:41: error: request for member 'ncached_max' in something not a structure or union if (unlikely(tbin->ncached == tbin_info->ncached_max)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/jemalloc_internal_inlines_c.h: In function 'iralloct_realign': In file included from include/jemalloc/internal/jemalloc_internal_includes.h:88:0, from src/background_thread.c:3: include/jemalloc/internal/tcache_inlines.h:232:17: error: request for member 'ncached_max' in something not a structure or union (tbin_info->ncached_max >> 1), tcache); ^~ include/jemalloc/internal/jemalloc_internal_inlines_c.h:123:37: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(usize == 0 || usize > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/assert.h:2:0, 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/background_thread.c:3: include/jemalloc/internal/tcache_inlines.h:234:34: error: request for member 'ncached_max' in something not a structure or union assert(tbin->ncached < tbin_info->ncached_max); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/tcache_inlines.h:234:2: note: in expansion of macro 'assert' assert(tbin->ncached < tbin_info->ncached_max); ^~~~~~ include/jemalloc/internal/arena_inlines_b.h: In function 'arena_malloc': include/jemalloc/internal/arena_inlines_b.h:100:22: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'SLAB_MAXREGS'? if (likely(size <= SMALL_MAXCLASS)) { ^ include/jemalloc/internal/util.h:32:43: note: in definition of macro 'likely' # define likely(x) __builtin_expect(!!(x), 1) ^ include/jemalloc/internal/arena_inlines_b.h: In function 'arena_sdalloc_no_tcache': include/jemalloc/internal/arena_inlines_b.h:252:17: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? assert(size <= LARGE_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/arena_inlines_b.h:252:2: note: in expansion of macro 'assert' assert(size <= LARGE_MAXCLASS); ^~~~~~ include/jemalloc/internal/arena_inlines_b.h: In function 'arena_malloc': include/jemalloc/internal/arena_inlines_b.h:100:22: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'SLAB_MAXREGS'? if (likely(size <= SMALL_MAXCLASS)) { ^ include/jemalloc/internal/util.h:32:43: note: in definition of macro 'likely' # define likely(x) __builtin_expect(!!(x), 1) ^ include/jemalloc/internal/arena_inlines_b.h: In function 'arena_sdalloc': src/base.c: In function 'base_extent_bump_alloc_helper': include/jemalloc/internal/arena_inlines_b.h:298:17: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? assert(size <= LARGE_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/arena_inlines_b.h:298:2: note: in expansion of macro 'assert' assert(size <= LARGE_MAXCLASS); ^~~~~~ include/jemalloc/internal/jemalloc_internal_types.h:112:35: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? #define QUANTUM ((size_t)(1U << LG_QUANTUM)) ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ src/base.c:113:2: note: in expansion of macro 'assert' assert(alignment == ALIGNMENT_CEILING(alignment, QUANTUM)); ^~~~~~ src/base.c:113:22: note: in expansion of macro 'ALIGNMENT_CEILING' assert(alignment == ALIGNMENT_CEILING(alignment, QUANTUM)); ^~~~~~~~~~~~~~~~~ src/base.c:113:51: note: in expansion of macro 'QUANTUM' assert(alignment == ALIGNMENT_CEILING(alignment, QUANTUM)); ^~~~~~~ src/base.c: In function 'base_extent_bump_alloc_post': src/base.c:134:11: warning: variable 'index_floor' set but not used [-Wunused-but-set-variable] szind_t index_floor = ^~~~~~~~~~~ include/jemalloc/internal/arena_inlines_b.h: In function 'arena_sdalloc_no_tcache': include/jemalloc/internal/arena_inlines_b.h:252:17: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? assert(size <= LARGE_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/arena_inlines_b.h:252:2: note: in expansion of macro 'assert' assert(size <= LARGE_MAXCLASS); ^~~~~~ In file included from include/jemalloc/internal/size_classes.h:6:0, from include/jemalloc/internal/tcache_types.h:4, from include/jemalloc/internal/jemalloc_internal_includes.h:46, from src/base.c:3: src/base.c: In function 'base_block_alloc': include/jemalloc/internal/jemalloc_internal_types.h:112:35: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? #define QUANTUM ((size_t)(1U << LG_QUANTUM)) ^ include/jemalloc/internal/jemalloc_internal_types.h:158:11: note: in definition of macro 'ALIGNMENT_CEILING' (((s) + (alignment - 1)) & ((~(alignment)) + 1)) ^~~~~~~~~ src/base.c:172:43: note: in expansion of macro 'QUANTUM' alignment = ALIGNMENT_CEILING(alignment, QUANTUM); ^~~~~~~ src/base.c: In function 'base_new': include/jemalloc/internal/jemalloc_internal_types.h:112:35: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? #define QUANTUM ((size_t)(1U << LG_QUANTUM)) ^ src/base.c:248:51: note: in expansion of macro 'QUANTUM' &pind_last, &extent_sn_next, sizeof(base_t), QUANTUM); ^~~~~~~ include/jemalloc/internal/arena_inlines_b.h: In function 'arena_sdalloc': include/jemalloc/internal/arena_inlines_b.h:298:17: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? assert(size <= LARGE_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ include/jemalloc/internal/arena_inlines_b.h:298:2: note: in expansion of macro 'assert' assert(size <= LARGE_MAXCLASS); ^~~~~~ include/jemalloc/internal/jemalloc_internal_inlines_c.h: In function 'iralloct_realign': include/jemalloc/internal/jemalloc_internal_inlines_c.h:123:37: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(usize == 0 || usize > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ src/base.c: In function 'base_alloc_impl': include/jemalloc/internal/jemalloc_internal_types.h:112:35: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? #define QUANTUM ((size_t)(1U << LG_QUANTUM)) ^ include/jemalloc/internal/jemalloc_internal_types.h:113:24: note: in expansion of macro 'QUANTUM' #define QUANTUM_MASK (QUANTUM - 1) ^~~~~~~ include/jemalloc/internal/jemalloc_internal_types.h:117:10: note: in expansion of macro 'QUANTUM_MASK' (((a) + QUANTUM_MASK) & ~QUANTUM_MASK) ^~~~~~~~~~~~ src/base.c:312:14: note: in expansion of macro 'QUANTUM_CEILING' alignment = QUANTUM_CEILING(alignment); ^~~~~~~~~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:86:0, from src/base.c:3: include/jemalloc/internal/extent_inlines.h: In function 'extent_sn_get': include/jemalloc/internal/extent_inlines.h:76:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/jemalloc.c: In function 'imalloc_sample': src/jemalloc.c:1666:15: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'SLAB_MAXREGS'? if (usize <= SMALL_MAXCLASS) { ^~~~~~~~~~~~~~ SLAB_MAXREGS include/jemalloc/internal/jemalloc_internal_inlines_c.h: In function 'iralloct_realign': include/jemalloc/internal/jemalloc_internal_inlines_c.h:123:37: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(usize == 0 || usize > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/assert.h:2:0, 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: src/jemalloc.c:1667:44: error: 'LARGE_MINCLASS' undeclared (first use in this function); did you mean 'SMALL_MAXCLASS'? assert(((dopts->alignment == 0) ? sz_s2u(LARGE_MINCLASS) : ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ src/jemalloc.c:1667:3: note: in expansion of macro 'assert' assert(((dopts->alignment == 0) ? sz_s2u(LARGE_MINCLASS) : ^~~~~~ src/arena.c: At top level: src/arena.c:44:2: error: 'SIZE_CLASSES' undeclared here (not in a function); did you mean 'SIZE_MAX'? SIZE_CLASSES ^~~~~~~~~~~~ SIZE_MAX src/jemalloc.c: In function 'imalloc_body': src/jemalloc.c:1779:33: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? assert(usize > 0 && usize <= LARGE_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ src/jemalloc.c:1779:4: note: in expansion of macro 'assert' assert(usize > 0 && usize <= LARGE_MAXCLASS); ^~~~~~ make: *** [Makefile:343: src/base.sym.o] Error 1 make: *** Waiting for unfinished jobs.... src/jemalloc.c:1819:31: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'LARGE_MAXCLASS'? alloc_ctx.slab = (usize <= SMALL_MAXCLASS); ^~~~~~~~~~~~~~ LARGE_MAXCLASS src/arena.c: In function 'arena_slab_regind': src/arena.c:433:2: error: expected ';' before 'default' default: not_reached(); ^~~~~~~ src/arena.c:408:9: warning: variable 'diff' set but not used [-Wunused-but-set-variable] size_t diff, regind; ^~~~ src/jemalloc.c: In function 'irealloc_prof_sample': src/jemalloc.c:2073:15: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'SLAB_MAXREGS'? if (usize <= SMALL_MAXCLASS) { ^~~~~~~~~~~~~~ SLAB_MAXREGS src/arena.c: In function 'arena_large_malloc_stats_update': src/arena.c:473:14: error: 'LARGE_MINCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (usize < LARGE_MINCLASS) { ^~~~~~~~~~~~~~ PAGE_MASK src/arena.c:469:17: warning: variable 'hindex' set but not used [-Wunused-but-set-variable] szind_t index, hindex; ^~~~~~ src/jemalloc.c:2074:40: error: 'LARGE_MINCLASS' undeclared (first use in this function); did you mean 'SMALL_MAXCLASS'? p = iralloc(tsd, old_ptr, old_usize, LARGE_MINCLASS, 0, false); ^~~~~~~~~~~~~~ SMALL_MAXCLASS src/arena.c: In function 'arena_large_dalloc_stats_update': src/arena.c:489:14: error: 'LARGE_MINCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (usize < LARGE_MINCLASS) { ^~~~~~~~~~~~~~ PAGE_MASK src/arena.c:485:17: warning: variable 'hindex' set but not used [-Wunused-but-set-variable] szind_t index, hindex; ^~~~~~ In file included from include/jemalloc/internal/assert.h:2:0, 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: src/jemalloc.c: In function 'realloc': src/jemalloc.c:2227:41: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? ret = unlikely(usize == 0 || usize > LARGE_MAXCLASS) ? ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ src/jemalloc.c: In function 'irallocx_prof_sample': src/jemalloc.c:2480:15: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'SLAB_MAXREGS'? if (usize <= SMALL_MAXCLASS) { ^~~~~~~~~~~~~~ SLAB_MAXREGS src/arena.c: In function 'arena_tcache_fill_small': src/arena.c:1434:46: error: request for member 'ncached_max' in something not a structure or union for (i = 0, nfill = (tcache_bin_info[binind].ncached_max >> ^ src/jemalloc.c:2481:42: error: 'LARGE_MINCLASS' undeclared (first use in this function); did you mean 'SMALL_MAXCLASS'? p = iralloct(tsdn, old_ptr, old_usize, LARGE_MINCLASS, ^~~~~~~~~~~~~~ SMALL_MAXCLASS In file included from include/jemalloc/internal/assert.h:2:0, 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/arena.c:3: src/arena.c: In function 'arena_malloc_hard': src/arena.c:1556:21: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'SLAB_MAXREGS'? if (likely(size <= SMALL_MAXCLASS)) { ^ include/jemalloc/internal/util.h:32:43: note: in definition of macro 'likely' # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from include/jemalloc/internal/assert.h:2:0, 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: src/jemalloc.c: In function 'rallocx': src/jemalloc.c:2584:38: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(usize == 0 || usize > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ src/arena.c: In function 'arena_palloc': src/arena.c:1567:15: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'SLAB_MAXREGS'? if (usize <= SMALL_MAXCLASS && (alignment < PAGE || (alignment == PAGE ^~~~~~~~~~~~~~ SLAB_MAXREGS src/jemalloc.c: In function 'ixallocx_prof': src/jemalloc.c:2665:40: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? assert(usize_max > 0 && usize_max <= LARGE_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ src/jemalloc.c:2665:3: note: in expansion of macro 'assert' assert(usize_max > 0 && usize_max <= LARGE_MAXCLASS); ^~~~~~ In file included from include/jemalloc/internal/assert.h:2:0, 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/arena.c:3: src/arena.c: In function 'arena_prof_promote': src/arena.c:1586:31: error: 'LARGE_MINCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? assert(isalloc(tsdn, ptr) == LARGE_MINCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ src/arena.c:1586:2: note: in expansion of macro 'assert' assert(isalloc(tsdn, ptr) == LARGE_MINCLASS); ^~~~~~ make: *** [Makefile:343: src/background_thread.sym.o] Error 1 src/arena.c:1587:18: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'LARGE_MINCLASS'? assert(usize <= SMALL_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ src/arena.c:1587:2: note: in expansion of macro 'assert' assert(usize <= SMALL_MAXCLASS); ^~~~~~ src/jemalloc.c: In function 'xallocx': src/jemalloc.c:2727:22: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(size > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ src/arena.c: In function 'arena_prof_demote': src/arena.c:1617:31: error: 'LARGE_MINCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? assert(isalloc(tsdn, ptr) == LARGE_MINCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ src/arena.c:1617:2: note: in expansion of macro 'assert' assert(isalloc(tsdn, ptr) == LARGE_MINCLASS); ^~~~~~ src/arena.c: In function 'arena_dissociate_bin_slab': src/arena.c:1644:11: warning: variable 'binind' set but not used [-Wunused-but-set-variable] szind_t binind = extent_szind_get(slab); ^~~~~~ src/arena.c: In function 'arena_dalloc_bin_locked_impl': src/arena.c:1706:10: warning: variable 'binind' set but not used [-Wunused-but-set-variable] szind_t binind = extent_szind_get(slab); ^~~~~~ src/arena.c: In function 'arena_dalloc_bin': src/arena.c:1738:10: warning: variable 'binind' set but not used [-Wunused-but-set-variable] szind_t binind = extent_szind_get(extent); ^~~~~~ src/jemalloc.c: In function 'nallocx': src/jemalloc.c:2893:23: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(usize > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ In file included from include/jemalloc/internal/assert.h:2:0, 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/arena.c:3: src/arena.c: In function 'arena_ralloc_no_move': src/arena.c:1759:39: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? assert(extra == 0 || size + extra <= LARGE_MAXCLASS); ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ src/arena.c:1759:2: note: in expansion of macro 'assert' assert(extra == 0 || size + extra <= LARGE_MAXCLASS); ^~~~~~ src/arena.c:1768:24: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'LARGE_MAXCLASS'? if (likely(oldsize <= SMALL_MAXCLASS && usize_min <= SMALL_MAXCLASS)) { ^ include/jemalloc/internal/util.h:32:43: note: in definition of macro 'likely' # define likely(x) __builtin_expect(!!(x), 1) ^ src/arena.c:1783:24: error: 'LARGE_MINCLASS' undeclared (first use in this function); did you mean 'LARGE_MAXCLASS'? } else if (oldsize >= LARGE_MINCLASS && usize_max >= LARGE_MINCLASS) { ^~~~~~~~~~~~~~ LARGE_MAXCLASS In file included from include/jemalloc/internal/assert.h:2:0, 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/arena.c:3: src/arena.c: In function 'arena_ralloc_move_helper': src/arena.c:1799:37: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(usize == 0 || usize > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ src/arena.c: In function 'arena_ralloc': src/arena.c:1809:36: error: 'LARGE_MAXCLASS' undeclared (first use in this function); did you mean 'PAGE_MASK'? if (unlikely(usize == 0 || size > LARGE_MAXCLASS)) { ^ include/jemalloc/internal/util.h:33:43: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ src/arena.c:1813:22: error: 'SMALL_MAXCLASS' undeclared (first use in this function); did you mean 'LARGE_MAXCLASS'? if (likely(usize <= SMALL_MAXCLASS)) { ^ include/jemalloc/internal/util.h:32:43: note: in definition of macro 'likely' # define likely(x) __builtin_expect(!!(x), 1) ^ src/arena.c:1820:17: error: 'LARGE_MINCLASS' undeclared (first use in this function); did you mean 'LARGE_MAXCLASS'? if (oldsize >= LARGE_MINCLASS && usize >= LARGE_MINCLASS) { ^~~~~~~~~~~~~~ LARGE_MAXCLASS In file included from include/jemalloc/internal/jemalloc_internal_includes.h:78:0, from src/jemalloc.c:3: include/jemalloc/internal/jemalloc_internal_inlines_a.h: In function 'tcache_large_bin_get': include/jemalloc/internal/jemalloc_internal_inlines_a.h:119:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:78:0, from src/arena.c:3: include/jemalloc/internal/jemalloc_internal_inlines_a.h: In function 'tcache_large_bin_get': include/jemalloc/internal/jemalloc_internal_inlines_a.h:119:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ include/jemalloc/internal/jemalloc_internal_inlines_a.h: In function 'tcache_small_bin_get': include/jemalloc/internal/jemalloc_internal_inlines_a.h:113:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:86:0, from src/arena.c:3: include/jemalloc/internal/extent_inlines.h: In function 'extent_nfree_get': include/jemalloc/internal/extent_inlines.h:107:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ include/jemalloc/internal/extent_inlines.h: In function 'extent_sn_get': include/jemalloc/internal/extent_inlines.h:76:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from include/jemalloc/internal/jemalloc_internal_includes.h:78:0, from src/arena.c:3: include/jemalloc/internal/jemalloc_internal_inlines_a.h: In function 'tcache_small_bin_get': include/jemalloc/internal/jemalloc_internal_inlines_a.h:113:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make: *** [Makefile:343: src/jemalloc.sym.o] Error 1 make: *** [Makefile:343: src/arena.sym.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.qhCMmX (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.qhCMmX (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff