Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/pmdk.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-133313-47898/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/pmdk.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/pmdk-1.6.1-1.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/pmdk.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-133313-47898/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/pmdk.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7BigLq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pmdk-1.6.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/pmdk-1.6.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pmdk-1.6.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/pmdk-use-platform-python.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-support-for-loongarch.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-support-for-loongarch-remove-specific-flag.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-support-for-loongarch-remove-specific-source.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-support-for-loongarch-in-config.guess.patch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JuueFQ + umask 022 + cd /builddir/build/BUILD + cd pmdk-1.6.1 + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + NDCTL_ENABLE=y + make -j4 NORPATH=1 make -C src all make[1]: Entering directory '/builddir/build/BUILD/pmdk-1.6.1/src' make -C libpmem make[2]: Entering directory '/builddir/build/BUILD/pmdk-1.6.1/src/libpmem' mkdir -p ../nondebug/libpmem mkdir -p ../nondebug/libpmem/.. cc -MD -c -o ../nondebug/libpmem/alloc.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/alloc.c cc -MD -c -o ../nondebug/libpmem/file.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/file.c cc -MD -c -o ../nondebug/libpmem/file_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/file_posix.c cc -MD -c -o ../nondebug/libpmem/fs_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/fs_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/alloc.o ../../src/../src/common/alloc.c cc -MD -c -o ../nondebug/libpmem/mmap.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/mmap.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/fs_posix.o ../../src/../src/common/fs_posix.c cc -MD -c -o ../nondebug/libpmem/mmap_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/mmap_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/file_posix.o ../../src/../src/common/file_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/file.o ../../src/../src/common/file.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/mmap_posix.o ../../src/../src/common/mmap_posix.c cc -MD -c -o ../nondebug/libpmem/os_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/os_posix.c cc -MD -c -o ../nondebug/libpmem/os_thread_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/os_thread_posix.c cc -MD -c -o ../nondebug/libpmem/os_deep_linux.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/os_deep_linux.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/mmap.o ../../src/../src/common/mmap.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/os_posix.o ../../src/../src/common/os_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/os_thread_posix.o ../../src/../src/common/os_thread_posix.c cc -MD -c -o ../nondebug/libpmem/os_auto_flush_linux.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/os_auto_flush_linux.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/os_deep_linux.o ../../src/../src/common/os_deep_linux.c cc -MD -c -o ../nondebug/libpmem/out.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/out.c cc -MD -c -o ../nondebug/libpmem/util.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/util.c cc -MD -c -o ../nondebug/libpmem/util_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/util_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/os_auto_flush_linux.o ../../src/../src/common/os_auto_flush_linux.c cc -MD -c -o ../nondebug/libpmem/libpmem.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC libpmem.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/util_posix.o ../../src/../src/common/util_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/out.o ../../src/../src/common/out.c cc -MD -c -o ../nondebug/libpmem/memops_generic.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC memops_generic.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/util.o ../../src/../src/common/util.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/libpmem.o libpmem.c cc -MD -c -o ../nondebug/libpmem/pmem.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC pmem.c cc -MD -c -o ../nondebug/libpmem/pmem_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC pmem_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/pmem_posix.o pmem_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/memops_generic.o memops_generic.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/pmem.o pmem.c ld -o ../nondebug/libpmem/libpmem_unscoped.o -r ../nondebug/libpmem/alloc.o ../nondebug/libpmem/file.o ../nondebug/libpmem/file_posix.o ../nondebug/libpmem/fs_posix.o ../nondebug/libpmem/mmap.o ../nondebug/libpmem/mmap_posix.o ../nondebug/libpmem/os_posix.o ../nondebug/libpmem/os_thread_posix.o ../nondebug/libpmem/os_deep_linux.o ../nondebug/libpmem/os_auto_flush_linux.o ../nondebug/libpmem/out.o ../nondebug/libpmem/util.o ../nondebug/libpmem/util_posix.o ../nondebug/libpmem/libpmem.o ../nondebug/libpmem/memops_generic.o ../nondebug/libpmem/pmem.o ../nondebug/libpmem/pmem_posix.o cc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,--fatal-warnings -Wl,--warn-common -L../nondebug/libpmem/.. -shared -Wl,--version-script=libpmem.link,-soname,libpmem.so.1 -o ../nondebug/libpmem/../libpmem.so.1.0.0 ../nondebug/libpmem/alloc.o ../nondebug/libpmem/file.o ../nondebug/libpmem/file_posix.o ../nondebug/libpmem/fs_posix.o ../nondebug/libpmem/mmap.o ../nondebug/libpmem/mmap_posix.o ../nondebug/libpmem/os_posix.o ../nondebug/libpmem/os_thread_posix.o ../nondebug/libpmem/os_deep_linux.o ../nondebug/libpmem/os_auto_flush_linux.o ../nondebug/libpmem/out.o ../nondebug/libpmem/util.o ../nondebug/libpmem/util_posix.o ../nondebug/libpmem/libpmem.o ../nondebug/libpmem/memops_generic.o ../nondebug/libpmem/pmem.o ../nondebug/libpmem/pmem_posix.o -pthread objcopy --localize-hidden `sed -n 's/^ *\([a-zA-Z0-9_]*\);$/-G \1/p' libpmem.link` ../nondebug/libpmem/libpmem_unscoped.o ../nondebug/libpmem/libpmem_all.o ar rv ../nondebug/libpmem/../libpmem.a ../nondebug/libpmem/libpmem_all.o ar: creating ../nondebug/libpmem/../libpmem.a a - ../nondebug/libpmem/libpmem_all.o ln -sf libpmem.so.1.0.0 ../nondebug/libpmem/../libpmem.so.1 ln -sf libpmem.so.1 ../nondebug/libpmem/../libpmem.so make[2]: Leaving directory '/builddir/build/BUILD/pmdk-1.6.1/src/libpmem' make -C libpmem DEBUG=1 make[2]: Entering directory '/builddir/build/BUILD/pmdk-1.6.1/src/libpmem' mkdir -p ../debug/libpmem mkdir -p ../debug/libpmem/.. cc -MD -c -o ../debug/libpmem/alloc.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/alloc.c cc -MD -c -o ../debug/libpmem/file.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/file.c cc -MD -c -o ../debug/libpmem/file_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/file_posix.c cc -MD -c -o ../debug/libpmem/fs_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/fs_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/alloc.o ../../src/../src/common/alloc.c cc -MD -c -o ../debug/libpmem/mmap.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/mmap.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/file_posix.o ../../src/../src/common/file_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/file.o ../../src/../src/common/file.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/fs_posix.o ../../src/../src/common/fs_posix.c cc -MD -c -o ../debug/libpmem/mmap_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/mmap_posix.c cc -MD -c -o ../debug/libpmem/os_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/os_posix.c cc -MD -c -o ../debug/libpmem/os_thread_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/os_thread_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/mmap.o ../../src/../src/common/mmap.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/mmap_posix.o ../../src/../src/common/mmap_posix.c cc -MD -c -o ../debug/libpmem/os_deep_linux.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/os_deep_linux.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/os_posix.o ../../src/../src/common/os_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/os_thread_posix.o ../../src/../src/common/os_thread_posix.c cc -MD -c -o ../debug/libpmem/os_auto_flush_linux.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/os_auto_flush_linux.c cc -MD -c -o ../debug/libpmem/out.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/out.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/os_auto_flush_linux.o ../../src/../src/common/os_auto_flush_linux.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/os_deep_linux.o ../../src/../src/common/os_deep_linux.c cc -MD -c -o ../debug/libpmem/util.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/util.c cc -MD -c -o ../debug/libpmem/util_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/util_posix.c cc -MD -c -o ../debug/libpmem/libpmem.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC libpmem.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/out.o ../../src/../src/common/out.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/util_posix.o ../../src/../src/common/util_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/libpmem.o libpmem.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/util.o ../../src/../src/common/util.c cc -MD -c -o ../debug/libpmem/memops_generic.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC memops_generic.c cc -MD -c -o ../debug/libpmem/pmem.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC pmem.c cc -MD -c -o ../debug/libpmem/pmem_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC pmem_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/memops_generic.o memops_generic.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/pmem_posix.o pmem_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/pmem.o pmem.c ld -o ../debug/libpmem/libpmem_unscoped.o -r ../debug/libpmem/alloc.o ../debug/libpmem/file.o ../debug/libpmem/file_posix.o ../debug/libpmem/fs_posix.o ../debug/libpmem/mmap.o ../debug/libpmem/mmap_posix.o ../debug/libpmem/os_posix.o ../debug/libpmem/os_thread_posix.o ../debug/libpmem/os_deep_linux.o ../debug/libpmem/os_auto_flush_linux.o ../debug/libpmem/out.o ../debug/libpmem/util.o ../debug/libpmem/util_posix.o ../debug/libpmem/libpmem.o ../debug/libpmem/memops_generic.o ../debug/libpmem/pmem.o ../debug/libpmem/pmem_posix.o cc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,--fatal-warnings -Wl,--warn-common -L../debug/libpmem/.. -shared -Wl,--version-script=libpmem.link,-soname,libpmem.so.1 -o ../debug/libpmem/../libpmem.so.1.0.0 ../debug/libpmem/alloc.o ../debug/libpmem/file.o ../debug/libpmem/file_posix.o ../debug/libpmem/fs_posix.o ../debug/libpmem/mmap.o ../debug/libpmem/mmap_posix.o ../debug/libpmem/os_posix.o ../debug/libpmem/os_thread_posix.o ../debug/libpmem/os_deep_linux.o ../debug/libpmem/os_auto_flush_linux.o ../debug/libpmem/out.o ../debug/libpmem/util.o ../debug/libpmem/util_posix.o ../debug/libpmem/libpmem.o ../debug/libpmem/memops_generic.o ../debug/libpmem/pmem.o ../debug/libpmem/pmem_posix.o -pthread objcopy --localize-hidden `sed -n 's/^ *\([a-zA-Z0-9_]*\);$/-G \1/p' libpmem.link` ../debug/libpmem/libpmem_unscoped.o ../debug/libpmem/libpmem_all.o ar rv ../debug/libpmem/../libpmem.a ../debug/libpmem/libpmem_all.o ar: creating ../debug/libpmem/../libpmem.a a - ../debug/libpmem/libpmem_all.o ln -sf libpmem.so.1.0.0 ../debug/libpmem/../libpmem.so.1 ln -sf libpmem.so.1 ../debug/libpmem/../libpmem.so make[2]: Leaving directory '/builddir/build/BUILD/pmdk-1.6.1/src/libpmem' make -C jemalloc -f Makefile.libvmem jemalloc EXTRA_CFLAGS=" -I/builddir/build/BUILD/pmdk-1.6.1/src/common" make[2]: Entering directory '/builddir/build/BUILD/pmdk-1.6.1/src/jemalloc' cd /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc && \ autoconf mkdir -p ../nondebug/libvmem/jemalloc rm -f -f ../nondebug/libvmem/jemalloc/bin/jemalloc.sh ../nondebug/libvmem/jemalloc/config.stamp ../nondebug/libvmem/jemalloc/Makefile ../nondebug/libvmem/jemalloc/include/jemalloc/jemalloc_typedefs.h ../nondebug/libvmem/jemalloc/include/jemalloc/jemalloc_protos.h ../nondebug/libvmem/jemalloc/include/jemalloc/jemalloc_macros.h ../nondebug/libvmem/jemalloc/include/jemalloc/jemalloc_defs.h ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h ../nondebug/libvmem/jemalloc/test/test.sh ../nondebug/libvmem/jemalloc/test/include/test/jemalloc_test_defs.h ../nondebug/libvmem/jemalloc/test/include/test/jemalloc_test.h ../nondebug/libvmem/jemalloc/doc/jemalloc.xml ../nondebug/libvmem/jemalloc/doc/html.xsl ../nondebug/libvmem/jemalloc/doc/manpages.xsl cd ../nondebug/libvmem/jemalloc && \ CFLAGS="-O2 -g -std=gnu99 -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I/builddir/build/BUILD/pmdk-1.6.1/src/common" LDFLAGS="-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,--fatal-warnings"\ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/configure --without-export --with-jemalloc-prefix=je_vmem_ --with-private-namespace=je_vmem_ --disable-xmalloc --disable-munmap --disable-bsd-malloc-hooks checking for xsltproc... false 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 supports -I/builddir/build/BUILD/pmdk-1.6.1/src/common... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking size of void *... 8 checking size of int... 4 checking size of long... 8 checking size of intmax_t... 8 checking build system type... loongarch64-unknown-linux-gnu checking host system type... loongarch64-unknown-linux-gnu checking for ar... ar 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 whether __attribute__ syntax is compilable... yes checking whether compiler supports -fvisibility=hidden... yes checking whether compiler supports -Werror... yes checking whether tls_model attribute is compilable... yes checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for ld... /usr/bin/ld checking for autoconf... /usr/bin/autoconf checking for memalign... yes checking for valloc... yes checking configured backtracing method... N/A checking for sbrk... yes checking whether utrace(2) is compilable... no checking whether valgrind is compilable... yes checking whether a program using __builtin_ffsl is compilable... yes checking STATIC_PAGE_SHIFT... 14 checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_create in -lpthread... yes checking for TLS... yes checking whether atomic(9) is compilable... no checking whether Darwin OSAtomic*() is compilable... no checking whether madvise(2) is compilable... yes 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 OSSpin*() is compilable... no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes configure: creating ./config.status config.status: creating Makefile config.status: creating 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_internal.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.sh 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/private_namespace.h commands config.status: executing include/jemalloc/internal/private_unnamespace.h commands config.status: executing include/jemalloc/internal/public_symbols.txt 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 =============================================================================== jemalloc version : library revision : 2 CC : gcc CPPFLAGS : -D_GNU_SOURCE -D_REENTRANT CFLAGS : -O2 -g -std=gnu99 -pthread -DSRCVERSION="1.6.1" -DSDS_ENABLED -DNDCTL_GE_63 -I/builddir/build/BUILD/pmdk-1.6.1/src/common -I/builddir/build/BUILD/pmdk-1.6.1/src/common -fvisibility=hidden LDFLAGS : -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,--fatal-warnings EXTRA_LDFLAGS : LIBS : -lpthread RPATH_EXTRA : XSLTPROC : false XSLROOT : PREFIX : /usr/local BINDIR : /usr/local/bin INCLUDEDIR : /usr/local/include LIBDIR : /usr/local/lib DATADIR : /usr/local/share MANDIR : /usr/local/share/man srcroot : /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/ abs_srcroot : /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/ objroot : abs_objroot : /builddir/build/BUILD/pmdk-1.6.1/src/nondebug/libvmem/jemalloc/ JEMALLOC_PREFIX : je_vmem_ JEMALLOC_PRIVATE_NAMESPACE : je_vmem_je_ install_suffix : autogen : 0 cc-silence : 1 debug : 0 code-coverage : 0 stats : 1 prof : 0 prof-libunwind : 0 prof-libgcc : 0 prof-gcc : 0 tcache : 1 fill : 1 utrace : 0 valgrind : 1 xmalloc : 0 munmap : 0 lazy_lock : 0 tls : 1 =============================================================================== touch ../nondebug/libvmem/jemalloc/config.stamp ../nondebug/libvmem/jemalloc/Makefile ../nondebug/libvmem/jemalloc/include/jemalloc/jemalloc_typedefs.h ../nondebug/libvmem/jemalloc/include/jemalloc/jemalloc_protos.h ../nondebug/libvmem/jemalloc/include/jemalloc/jemalloc_macros.h ../nondebug/libvmem/jemalloc/include/jemalloc/jemalloc_defs.h ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h ../nondebug/libvmem/jemalloc/test/test.sh ../nondebug/libvmem/jemalloc/test/include/test/jemalloc_test_defs.h ../nondebug/libvmem/jemalloc/test/include/test/jemalloc_test.h ../nondebug/libvmem/jemalloc/doc/jemalloc.xml ../nondebug/libvmem/jemalloc/doc/html.xsl ../nondebug/libvmem/jemalloc/doc/manpages.xsl make objroot=../nondebug/libvmem/jemalloc/ -f ../nondebug/libvmem/jemalloc/Makefile -C /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc all make[3]: Entering directory '/builddir/build/BUILD/pmdk-1.6.1/src/jemalloc' gcc -O2 -g -std=gnu99 -pthread -DSRCVERSION="1.6.1" -DSDS_ENABLED -DNDCTL_GE_63 -I/builddir/build/BUILD/pmdk-1.6.1/src/common -I/builddir/build/BUILD/pmdk-1.6.1/src/common -fvisibility=hidden -fPIC -DPIC -c -D_GNU_SOURCE -D_REENTRANT -I/builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include -I../nondebug/libvmem/jemalloc/include -o ../nondebug/libvmem/jemalloc/src/jemalloc.pic.o /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c gcc -O2 -g -std=gnu99 -pthread -DSRCVERSION="1.6.1" -DSDS_ENABLED -DNDCTL_GE_63 -I/builddir/build/BUILD/pmdk-1.6.1/src/common -I/builddir/build/BUILD/pmdk-1.6.1/src/common -fvisibility=hidden -fPIC -DPIC -c -D_GNU_SOURCE -D_REENTRANT -I/builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include -I../nondebug/libvmem/jemalloc/include -o ../nondebug/libvmem/jemalloc/src/pool.pic.o /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/pool.c gcc -O2 -g -std=gnu99 -pthread -DSRCVERSION="1.6.1" -DSDS_ENABLED -DNDCTL_GE_63 -I/builddir/build/BUILD/pmdk-1.6.1/src/common -I/builddir/build/BUILD/pmdk-1.6.1/src/common -fvisibility=hidden -fPIC -DPIC -c -D_GNU_SOURCE -D_REENTRANT -I/builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include -I../nondebug/libvmem/jemalloc/include -o ../nondebug/libvmem/jemalloc/src/arena.pic.o /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c gcc -O2 -g -std=gnu99 -pthread -DSRCVERSION="1.6.1" -DSDS_ENABLED -DNDCTL_GE_63 -I/builddir/build/BUILD/pmdk-1.6.1/src/common -I/builddir/build/BUILD/pmdk-1.6.1/src/common -fvisibility=hidden -fPIC -DPIC -c -D_GNU_SOURCE -D_REENTRANT -I/builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include -I../nondebug/libvmem/jemalloc/include -o ../nondebug/libvmem/jemalloc/src/atomic.pic.o /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/atomic.c In file included from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/pool.c:2: ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:222:6: error: #error "No LG_QUANTUM definition for architecture; specify via CPPFLAGS" # error "No LG_QUANTUM definition for architecture; specify via CPPFLAGS" ^~~~~ In file included from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c:2: ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:222:6: error: #error "No LG_QUANTUM definition for architecture; specify via CPPFLAGS" # error "No LG_QUANTUM definition for architecture; specify via CPPFLAGS" ^~~~~ In file included from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c:2: ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:222:6: error: #error "No LG_QUANTUM definition for architecture; specify via CPPFLAGS" # error "No LG_QUANTUM definition for architecture; specify via CPPFLAGS" ^~~~~ In file included from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/atomic.c:2: ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:222:6: error: #error "No LG_QUANTUM definition for architecture; specify via CPPFLAGS" # error "No LG_QUANTUM definition for architecture; specify via CPPFLAGS" ^~~~~ In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:311, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c:2: ../nondebug/libvmem/jemalloc/include/jemalloc/internal/size_classes.h:4140:4: error: #error "No size class definitions match configuration" # error "No size class definitions match configuration" ^~~~~ In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:311, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/pool.c:2: ../nondebug/libvmem/jemalloc/include/jemalloc/internal/size_classes.h:4140:4: error: #error "No size class definitions match configuration" # error "No size class definitions match configuration" ^~~~~ In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:311, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/atomic.c:2: ../nondebug/libvmem/jemalloc/include/jemalloc/internal/size_classes.h:4140:4: error: #error "No size class definitions match configuration" # error "No size class definitions match configuration" ^~~~~ In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:311, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c:2: ../nondebug/libvmem/jemalloc/include/jemalloc/internal/size_classes.h:4140:4: error: #error "No size class definitions match configuration" # error "No size class definitions match configuration" ^~~~~ In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:342, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/pool.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/ctl.h:47:28: error: 'NBINS' undeclared here (not in a function) malloc_bin_stats_t bstats[NBINS]; ^~~~~ In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:342, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/ctl.h:47:28: error: 'NBINS' undeclared here (not in a function) malloc_bin_stats_t bstats[NBINS]; ^~~~~ In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:342, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/atomic.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/ctl.h:47:28: error: 'NBINS' undeclared here (not in a function) malloc_bin_stats_t bstats[NBINS]; ^~~~~ In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:342, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/ctl.h:47:28: error: 'NBINS' undeclared here (not in a function) malloc_bin_stats_t bstats[NBINS]; ^~~~~ In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:458, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/pool.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_size2bin_compute': In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:458, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_size2bin_compute': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:538:45: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? size_t shift = (x < LG_SIZE_CLASS_GROUP + LG_QUANTUM) ? 0 : ^~~~~~~~~~ QUANTUM /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:538:45: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:538:45: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? size_t shift = (x < LG_SIZE_CLASS_GROUP + LG_QUANTUM) ? 0 : ^~~~~~~~~~ QUANTUM /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:538:45: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:548:16: error: 'NTBINS' undeclared (first use in this function); did you mean 'NFDBITS'? size_t bin = NTBINS + grp + mod; ^~~~~~ NFDBITS /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:548:16: error: 'NTBINS' undeclared (first use in this function); did you mean 'NFDBITS'? size_t bin = NTBINS + grp + mod; ^~~~~~ NFDBITS In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:458, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/atomic.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_size2bin_compute': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:538:45: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? size_t shift = (x < LG_SIZE_CLASS_GROUP + LG_QUANTUM) ? 0 : ^~~~~~~~~~ QUANTUM /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:538:45: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:548:16: error: 'NTBINS' undeclared (first use in this function); did you mean 'NFDBITS'? size_t bin = NTBINS + grp + mod; ^~~~~~ NFDBITS In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:307, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/pool.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_size2bin_lookup': In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:307, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_size2bin_lookup': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:557:17: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) assert(size <= LOOKUP_MAXCLASS); ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/util.h:46:24: note: in definition of macro 'assert' if (config_debug && !(e)) { \ ^ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:557:17: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) assert(size <= LOOKUP_MAXCLASS); ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/util.h:46:24: note: in definition of macro 'assert' if (config_debug && !(e)) { \ ^ In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:307, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/atomic.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_size2bin_lookup': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:557:17: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) assert(size <= LOOKUP_MAXCLASS); ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/util.h:46:24: note: in definition of macro 'assert' if (config_debug && !(e)) { \ ^ In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:458, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_size2bin': In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:458, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/pool.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_size2bin': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:571:14: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) if (size <= LOOKUP_MAXCLASS) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:571:14: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) if (size <= LOOKUP_MAXCLASS) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_bin2size_compute': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:586:36: error: 'NTBINS' undeclared (first use in this function); did you mean 'NFDBITS'? size_t reduced_binind = binind - NTBINS; ^~~~~~ NFDBITS /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_bin2size_compute': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:586:36: error: 'NTBINS' undeclared (first use in this function); did you mean 'NFDBITS'? size_t reduced_binind = binind - NTBINS; ^~~~~~ NFDBITS In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:458, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/atomic.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_size2bin': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:571:14: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) if (size <= LOOKUP_MAXCLASS) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_bin2size_compute': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:586:36: error: 'NTBINS' undeclared (first use in this function); did you mean 'NFDBITS'? size_t reduced_binind = binind - NTBINS; ^~~~~~ NFDBITS /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:592:33: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? size_t grp_size = ((ZU(1) << (LG_QUANTUM + ^~~~~~~~~~ QUANTUM /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:592:33: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? size_t grp_size = ((ZU(1) << (LG_QUANTUM + ^~~~~~~~~~ QUANTUM /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:592:33: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? size_t grp_size = ((ZU(1) << (LG_QUANTUM + ^~~~~~~~~~ QUANTUM /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_s2u_compute': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_s2u_compute': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:636: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 /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:636: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 /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_s2u_compute': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:636: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 /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_s2u': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:659:14: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) if (size <= LOOKUP_MAXCLASS) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_s2u': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:659:14: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) if (size <= LOOKUP_MAXCLASS) ^~~~~~~~~~~~~~~ In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:458, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_size2bin_compute': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_s2u': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:659:14: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) if (size <= LOOKUP_MAXCLASS) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:538:45: error: 'LG_QUANTUM' undeclared (first use in this function); did you mean 'QUANTUM'? size_t shift = (x < LG_SIZE_CLASS_GROUP + LG_QUANTUM) ? 0 : ^~~~~~~~~~ QUANTUM /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:538:45: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:548:16: error: 'NTBINS' undeclared (first use in this function); did you mean 'NFDBITS'? size_t bin = NTBINS + grp + mod; ^~~~~~ NFDBITS In file included from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c:2: ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h: In function 'je_vmem_je_s2u': In file included from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/pool.c:2: ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h: In function 'je_vmem_je_s2u': ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:496:14: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (size <= SMALL_MAXCLASS) ^~~~~~~~~~~~~~ ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:496:14: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (size <= SMALL_MAXCLASS) ^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/atomic.c:2: ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h: In function 'je_vmem_je_s2u': ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:496:14: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (size <= SMALL_MAXCLASS) ^~~~~~~~~~~~~~ In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:307, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_size2bin_lookup': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:557:17: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) assert(size <= LOOKUP_MAXCLASS); ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/util.h:46:24: note: in definition of macro 'assert' if (config_debug && !(e)) { \ ^ ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h: In function 'je_vmem_je_sa2u': ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h: In function 'je_vmem_je_sa2u': ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:539:16: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (usize <= SMALL_MAXCLASS) ^~~~~~~~~~~~~~ ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:539:16: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (usize <= SMALL_MAXCLASS) ^~~~~~~~~~~~~~ ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h: In function 'je_vmem_je_sa2u': ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:539:16: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (usize <= SMALL_MAXCLASS) ^~~~~~~~~~~~~~ In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:458, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_size2bin': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:571:14: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) if (size <= LOOKUP_MAXCLASS) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_bin2size_compute': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:586:36: error: 'NTBINS' undeclared (first use in this function); did you mean 'NFDBITS'? size_t reduced_binind = binind - NTBINS; ^~~~~~ NFDBITS /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:592: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 ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:307, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/tcache.h: In function 'je_vmem_je_tcache_dalloc_small': In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:307, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/pool.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/tcache.h: In function 'je_vmem_je_tcache_dalloc_small': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/tcache.h:399:31: error: 'SMALL_MAXCLASS' undeclared (first use in this function) assert(tcache_salloc(ptr) <= SMALL_MAXCLASS); ^~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/util.h:46:24: note: in definition of macro 'assert' if (config_debug && !(e)) { \ ^ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/tcache.h:399:31: error: 'SMALL_MAXCLASS' undeclared (first use in this function) assert(tcache_salloc(ptr) <= SMALL_MAXCLASS); ^~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/util.h:46:24: note: in definition of macro 'assert' if (config_debug && !(e)) { \ ^ In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:307, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/atomic.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/tcache.h: In function 'je_vmem_je_tcache_dalloc_small': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/tcache.h:399:31: error: 'SMALL_MAXCLASS' undeclared (first use in this function) assert(tcache_salloc(ptr) <= SMALL_MAXCLASS); ^~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/util.h:46:24: note: in definition of macro 'assert' if (config_debug && !(e)) { \ ^ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/tcache.h: In function 'je_vmem_je_tcache_dalloc_large': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/tcache.h:425:30: error: 'SMALL_MAXCLASS' undeclared (first use in this function) assert(tcache_salloc(ptr) > SMALL_MAXCLASS); ^~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/util.h:46:24: note: in definition of macro 'assert' if (config_debug && !(e)) { \ ^ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/tcache.h: In function 'je_vmem_je_tcache_dalloc_large': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/tcache.h:425:30: error: 'SMALL_MAXCLASS' undeclared (first use in this function) assert(tcache_salloc(ptr) > SMALL_MAXCLASS); ^~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/util.h:46:24: note: in definition of macro 'assert' if (config_debug && !(e)) { \ ^ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/tcache.h: In function 'je_vmem_je_tcache_dalloc_large': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/tcache.h:425:30: error: 'SMALL_MAXCLASS' undeclared (first use in this function) assert(tcache_salloc(ptr) > SMALL_MAXCLASS); ^~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/util.h:46:24: note: in definition of macro 'assert' if (config_debug && !(e)) { \ ^ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_s2u_compute': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:636: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 In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:637, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_arena_malloc': In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:637, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/pool.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_arena_malloc': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:1090:14: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (size <= SMALL_MAXCLASS) { ^~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:1090:14: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (size <= SMALL_MAXCLASS) { ^~~~~~~~~~~~~~ In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:637, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/atomic.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_arena_malloc': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:1090:14: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (size <= SMALL_MAXCLASS) { ^~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_small_s2u': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:659:14: error: 'LOOKUP_MAXCLASS' undeclared (first use in this function) if (size <= LOOKUP_MAXCLASS) ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c:2: ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h: In function 'je_vmem_je_s2u': ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:496:14: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (size <= SMALL_MAXCLASS) ^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c:2: ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h: In function 'je_vmem_je_u2rz': In file included from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/pool.c:2: ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h: In function 'je_vmem_je_u2rz': ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:880:15: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (usize <= SMALL_MAXCLASS) { ^~~~~~~~~~~~~~ ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:880:15: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (usize <= SMALL_MAXCLASS) { ^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/atomic.c:2: ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h: In function 'je_vmem_je_u2rz': ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:880:15: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (usize <= SMALL_MAXCLASS) { ^~~~~~~~~~~~~~ ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h: In function 'je_vmem_je_sa2u': ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:539:16: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (usize <= SMALL_MAXCLASS) ^~~~~~~~~~~~~~ make[3]: *** [../nondebug/libvmem/jemalloc/Makefile:239: ../nondebug/libvmem/jemalloc/src/atomic.pic.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [../nondebug/libvmem/jemalloc/Makefile:239: ../nondebug/libvmem/jemalloc/src/pool.pic.o] Error 1 /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c: In function 'imalloc_prof_sample': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c:962:15: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (usize <= SMALL_MAXCLASS) { ^~~~~~~~~~~~~~ In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:307, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/tcache.h: In function 'je_vmem_je_tcache_dalloc_small': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/tcache.h:399:31: error: 'SMALL_MAXCLASS' undeclared (first use in this function) assert(tcache_salloc(ptr) <= SMALL_MAXCLASS); ^~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/util.h:46:24: note: in definition of macro 'assert' if (config_debug && !(e)) { \ ^ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c: In function 'imemalign_prof_sample': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c:1042:15: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (usize <= SMALL_MAXCLASS) { ^~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/tcache.h: In function 'je_vmem_je_tcache_dalloc_large': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/tcache.h:425:30: error: 'SMALL_MAXCLASS' undeclared (first use in this function) assert(tcache_salloc(ptr) > SMALL_MAXCLASS); ^~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/util.h:46:24: note: in definition of macro 'assert' if (config_debug && !(e)) { \ ^ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c: In function 'icalloc_prof_sample': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c:1169:15: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (usize <= SMALL_MAXCLASS) { ^~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c: In function 'irealloc_prof_sample': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c:1266:15: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (usize <= SMALL_MAXCLASS) { ^~~~~~~~~~~~~~ In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:637, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h: In function 'je_vmem_je_arena_malloc': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/arena.h:1090:14: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (size <= SMALL_MAXCLASS) { ^~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c: In function 'pool_ialloc_prof_sample': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c:2173:15: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (usize <= SMALL_MAXCLASS) { ^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c:2: ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h: In function 'je_vmem_je_u2rz': ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:880:15: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (usize <= SMALL_MAXCLASS) { ^~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c: In function 'pool_irealloc_prof_sample': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c:2304:15: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (usize <= SMALL_MAXCLASS) { ^~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c: In function 'pool_imemalign_prof_sample': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c:2438:15: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (usize <= SMALL_MAXCLASS) { ^~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c: At top level: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c:17:2: error: 'SIZE_CLASSES' undeclared here (not in a function); did you mean 'SIZE_MAX'? SIZE_CLASSES ^~~~~~~~~~~~ SIZE_MAX /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c: In function 'imallocx_prof_sample': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c:2623:15: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (usize <= SMALL_MAXCLASS) { ^~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c: In function 'irallocx_prof_sample': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c:2725:15: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (usize <= SMALL_MAXCLASS) { ^~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c: In function 'ixallocx_prof_sample': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/jemalloc.c:2878:6: error: 'SMALL_MAXCLASS' undeclared (first use in this function) SMALL_MAXCLASS) { ^~~~~~~~~~~~~~ In file included from ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h:307, from /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c:2: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c: In function 'je_vmem_je_arena_quarantine_junk_small': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c:1685:18: error: 'SMALL_MAXCLASS' undeclared (first use in this function) assert(usize <= SMALL_MAXCLASS); ^~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/util.h:46:24: note: in definition of macro 'assert' if (config_debug && !(e)) { \ ^ make[3]: *** [../nondebug/libvmem/jemalloc/Makefile:239: ../nondebug/libvmem/jemalloc/src/jemalloc.pic.o] Error 1 /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c: In function 'je_vmem_je_arena_prof_promoted': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c:1860:17: error: 'SMALL_MAXCLASS' undeclared (first use in this function) assert(size <= SMALL_MAXCLASS); ^~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/include/jemalloc/internal/util.h:46:24: note: in definition of macro 'assert' if (config_debug && !(e)) { \ ^ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c: In function 'je_vmem_je_arena_ralloc_no_move': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c:2250:18: error: 'SMALL_MAXCLASS' undeclared (first use in this function) if (oldsize <= SMALL_MAXCLASS) { ^~~~~~~~~~~~~~ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c: In function 'bin_info_init': /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c:2629:14: error: expected ';' before '}' token SIZE_CLASSES ^ ; /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/src/arena.c:2633:1: } ~ make[3]: *** [../nondebug/libvmem/jemalloc/Makefile:239: ../nondebug/libvmem/jemalloc/src/arena.pic.o] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/pmdk-1.6.1/src/jemalloc' make[2]: Leaving directory '/builddir/build/BUILD/pmdk-1.6.1/src/jemalloc' make[2]: *** [jemalloc.mk:97: jemalloc] Error 2 make[1]: *** [Makefile:187: jemalloc] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/pmdk-1.6.1/src' RPM build errors: make: *** [Makefile:82: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.JuueFQ (%build) Bad exit status from /var/tmp/rpm-tmp.JuueFQ (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/pmdk.spec