Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ubturbo.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-245705-83354/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ubturbo.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ubturbo-1.0.0-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ubturbo.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-245705-83354/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ubturbo.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7lA3nw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ubturbo + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ubturbo-1.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/mkdir -p ubturbo + cd ubturbo + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wZUzEO + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ubturbo + cd /builddir/build/BUILD/ubturbo/plugins/ubdma/src ++ nproc + make -j8 -C /lib/modules/6.6.119-51.4.oc9.aarch64/build M=/builddir/build/BUILD/ubturbo/plugins/ubdma/src modules make: Entering directory '/usr/src/kernels/6.6.119-51.4.oc9.aarch64' warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc (Tencent Compiler 12.3.1.8) 12.3.1 20230912 (OpenCloudOS 12.3.1.8-4) You are using: gcc (Tencent Compiler 12.3.1.8) 12.3.1 20230912 (OpenCloudOS 12.3.1.8-6) CC [M] /builddir/build/BUILD/ubturbo/plugins/ubdma/src/urma.o CC [M] /builddir/build/BUILD/ubturbo/plugins/ubdma/src/ub_dma_main.o CC [M] /builddir/build/BUILD/ubturbo/plugins/ubdma/src/ub_virt_dma.o CC [M] /builddir/build/BUILD/ubturbo/plugins/ubdma/src/segment_manager.o CC [M] /builddir/build/BUILD/ubturbo/plugins/ubdma/src/memory_notify.o CC [M] /builddir/build/BUILD/ubturbo/plugins/ubdma/src/ub_dma_iomem.o LD [M] /builddir/build/BUILD/ubturbo/plugins/ubdma/src/ub_dma.o MODPOST /builddir/build/BUILD/ubturbo/plugins/ubdma/src/Module.symvers CC [M] /builddir/build/BUILD/ubturbo/plugins/ubdma/src/ub_dma.mod.o LD [M] /builddir/build/BUILD/ubturbo/plugins/ubdma/src/ub_dma.ko BTF [M] /builddir/build/BUILD/ubturbo/plugins/ubdma/src/ub_dma.ko Skipping BTF generation for /builddir/build/BUILD/ubturbo/plugins/ubdma/src/ub_dma.ko due to unavailability of vmlinux make: Leaving directory '/usr/src/kernels/6.6.119-51.4.oc9.aarch64' + cd /builddir/build/BUILD + cd /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers ++ nproc + make -j8 -C /lib/modules/6.6.119-51.4.oc9.aarch64/build M=/builddir/build/BUILD/ubturbo/plugins/smap/src/drivers modules make: Entering directory '/usr/src/kernels/6.6.119-51.4.oc9.aarch64' warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc (Tencent Compiler 12.3.1.8) 12.3.1 20230912 (OpenCloudOS 12.3.1.8-4) You are using: gcc (Tencent Compiler 12.3.1.8) 12.3.1 20230912 (OpenCloudOS 12.3.1.8-6) CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/core.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/bus.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_iomem.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_acpi_helper.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_acpi_mem.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/smap_hist_mid.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/hist_ops.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/hist_tracking.o In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_acpi_mem.c:9: /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:22: warning: "MAX" redefined 22 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from ./arch/arm64/include/asm/cpufeature.h:25, from ./arch/arm64/include/asm/ptrace.h:11, from ./arch/arm64/include/asm/irqflags.h:10, from ./include/linux/irqflags.h:17, from ./include/linux/spinlock.h:59, from ./include/linux/mmzone.h:8, from ./include/linux/gfp.h:7, from ./include/linux/mm.h:7, from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:10: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:23: warning: "MIN" redefined 23 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_iomem.c:17: /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:22: warning: "MAX" redefined 22 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_iomem.c:7: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:23: warning: "MIN" redefined 23 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_iomem.h:13, from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/hist_ops.c:24: /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:22: warning: "MAX" redefined 22 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/hist_ops.c:8: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:23: warning: "MIN" redefined 23 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/hist_tracking.c:24: /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:22: warning: "MAX" redefined 22 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/hist_tracking.c:8: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:23: warning: "MIN" redefined 23 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/accessed_bit.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_ioctl.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_pid.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_mmu.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_tracking.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/kvm_pgtable.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_tracking_wrapper.o In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_pid.c:16: /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:22: warning: "MAX" redefined 22 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from ./arch/arm64/include/asm/cpufeature.h:25, from ./arch/arm64/include/asm/ptrace.h:11, from ./arch/arm64/include/asm/irqflags.h:10, from ./include/linux/irqflags.h:17, from ./include/linux/spinlock.h:59, from ./include/linux/wait.h:9, from ./include/linux/wait_bit.h:8, from ./include/linux/fs.h:6, from ./include/linux/proc_fs.h:10, from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_pid.c:7: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:23: warning: "MIN" redefined 23 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_iomem.h:13, from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_acpi_mem.h:10, from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_ioctl.c:15: /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:22: warning: "MAX" redefined 22 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from ./arch/arm64/include/asm/cpufeature.h:25, from ./arch/arm64/include/asm/ptrace.h:11, from ./arch/arm64/include/asm/irqflags.h:10, from ./include/linux/irqflags.h:17, from ./include/linux/spinlock.h:59, from ./include/linux/wait.h:9, from ./include/linux/wait_bit.h:8, from ./include/linux/fs.h:6, from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_ioctl.c:7: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:23: warning: "MIN" redefined 23 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_pid.h:12, from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/accessed_bit.c:34: /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:22: warning: "MAX" redefined 22 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from ./arch/arm64/include/asm/cpufeature.h:25, from ./arch/arm64/include/asm/ptrace.h:11, from ./arch/arm64/include/asm/irqflags.h:10, from ./include/linux/irqflags.h:17, from ./arch/arm64/include/asm/simd.h:10, from ./arch/arm64/include/asm/page.h:19, from ./arch/arm64/include/asm/proc-fns.h:14, from ./arch/arm64/include/asm/pgtable.h:13, from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/accessed_bit.c:7: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:23: warning: "MIN" redefined 23 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_iomem.c:17: /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:22: warning: "MAX" redefined 22 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_iomem.c:7: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:23: warning: "MIN" redefined 23 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/memory_notifier.o In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_mmu.c:16: /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:22: warning: "MAX" redefined 22 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from ./arch/arm64/include/asm/cpufeature.h:25, from ./arch/arm64/include/asm/ptrace.h:11, from ./arch/arm64/include/asm/irqflags.h:10, from ./include/linux/irqflags.h:17, from ./include/linux/spinlock.h:59, from ./include/linux/mmzone.h:8, from ./include/linux/gfp.h:7, from ./include/linux/mm.h:7, from ./include/linux/hugetlb.h:5, from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_mmu.c:7: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:23: warning: "MIN" redefined 23 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_tracking.c:24: /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:22: warning: "MAX" redefined 22 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from ./include/linux/cpumask.h:10, from ./include/linux/smp.h:13, from ./include/linux/percpu.h:7, from ./include/linux/context_tracking_state.h:5, from ./include/linux/hardirq.h:5, from ./include/linux/kvm_host.h:7, from ./arch/arm64/include/asm/kvm_pgtable.h:11, from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_tracking.c:8: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:23: warning: "MIN" redefined 23 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/ub_hist.o LD [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/smap_tracking_core.o In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/memory_notifier.c:13: /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:22: warning: "MAX" redefined 22 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/memory_notifier.c:7: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:23: warning: "MIN" redefined 23 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_mmu.c:16: /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:22: warning: "MAX" redefined 22 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from ./arch/arm64/include/asm/cpufeature.h:25, from ./arch/arm64/include/asm/ptrace.h:11, from ./arch/arm64/include/asm/irqflags.h:10, from ./include/linux/irqflags.h:17, from ./include/linux/spinlock.h:59, from ./include/linux/mmzone.h:8, from ./include/linux/gfp.h:7, from ./include/linux/mm.h:7, from ./include/linux/hugetlb.h:5, from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_mmu.c:7: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:23: warning: "MIN" redefined 23 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_tracking.c:24: /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:22: warning: "MAX" redefined 22 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from ./include/linux/cpumask.h:10, from ./include/linux/smp.h:13, from ./include/linux/percpu.h:7, from ./include/linux/context_tracking_state.h:5, from ./include/linux/hardirq.h:5, from ./include/linux/kvm_host.h:7, from ./arch/arm64/include/asm/kvm_pgtable.h:11, from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_tracking.c:8: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:23: warning: "MIN" redefined 23 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_pid.c:16: /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:22: warning: "MAX" redefined 22 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from ./arch/arm64/include/asm/cpufeature.h:25, from ./arch/arm64/include/asm/ptrace.h:11, from ./arch/arm64/include/asm/irqflags.h:10, from ./include/linux/irqflags.h:17, from ./include/linux/spinlock.h:59, from ./include/linux/wait.h:9, from ./include/linux/wait_bit.h:8, from ./include/linux/fs.h:6, from ./include/linux/proc_fs.h:10, from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_pid.c:7: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:23: warning: "MIN" redefined 23 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/access_pid.h:12, from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/accessed_bit.c:34: /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:22: warning: "MAX" redefined 22 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from ./arch/arm64/include/asm/cpufeature.h:25, from ./arch/arm64/include/asm/ptrace.h:11, from ./arch/arm64/include/asm/irqflags.h:10, from ./include/linux/irqflags.h:17, from ./arch/arm64/include/asm/simd.h:10, from ./arch/arm64/include/asm/page.h:19, from ./arch/arm64/include/asm/proc-fns.h:14, from ./arch/arm64/include/asm/pgtable.h:13, from /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/accessed_bit.c:7: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/check.h:23: warning: "MIN" redefined 23 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | LD [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/smap_access_tracking.o LD [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/smap_histogram_tracking.o MODPOST /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/Module.symvers CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/smap_tracking_core.mod.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/smap_access_tracking.mod.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/smap_histogram_tracking.mod.o LD [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/smap_tracking_core.ko LD [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/smap_access_tracking.ko LD [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/smap_histogram_tracking.ko BTF [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/smap_tracking_core.ko Skipping BTF generation for /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/smap_tracking_core.ko due to unavailability of vmlinux BTF [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/smap_histogram_tracking.ko Skipping BTF generation for /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/smap_histogram_tracking.ko due to unavailability of vmlinux BTF [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/smap_access_tracking.ko Skipping BTF generation for /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/smap_access_tracking.ko due to unavailability of vmlinux make: Leaving directory '/usr/src/kernels/6.6.119-51.4.oc9.aarch64' + cp /builddir/build/BUILD/ubturbo/plugins/smap/src/drivers/Module.symvers /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/depends + cd /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering ++ nproc + make -j8 -C /lib/modules/6.6.119-51.4.oc9.aarch64/build M=/builddir/build/BUILD/ubturbo/plugins/smap/src/tiering modules make: Entering directory '/usr/src/kernels/6.6.119-51.4.oc9.aarch64' warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc (Tencent Compiler 12.3.1.8) 12.3.1 20230912 (OpenCloudOS 12.3.1.8-4) You are using: gcc (Tencent Compiler 12.3.1.8) 12.3.1 20230912 (OpenCloudOS 12.3.1.8-6) CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/rmap.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/ksm.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/smap_migrate_wrapper.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/smap_migrate_pages.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/migrate_task.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/pid_ioctl.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/migrate_back_debugfs.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/work.o In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/smap_msg.h:13, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/work.c:7: /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:13: warning: "MAX" redefined 13 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from ./arch/arm64/include/asm/cpufeature.h:25, from ./arch/arm64/include/asm/hwcap.h:9, from ./arch/arm64/include/asm/arch_timer.h:12, from ./arch/arm64/include/asm/timex.h:8, from ./include/linux/timex.h:67, from ./include/linux/time32.h:13, from ./include/linux/time.h:60, from ./include/linux/ktime.h:24, from ./include/linux/timer.h:6, from ./include/linux/workqueue.h:9, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/smap_msg.h:10: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:14: warning: "MIN" redefined 14 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/smap_msg.h:13, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/migrate_back_debugfs.h:14, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/migrate_task.c:9: /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:13: warning: "MAX" redefined 13 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from ./arch/arm64/include/asm/cpufeature.h:25, from ./arch/arm64/include/asm/ptrace.h:11, from ./arch/arm64/include/asm/irqflags.h:10, from ./include/linux/irqflags.h:17, from ./include/linux/spinlock.h:59, from ./include/linux/mmzone.h:8, from ./include/linux/gfp.h:7, from ./include/linux/slab.h:16, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/migrate_task.c:7: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:14: warning: "MIN" redefined 14 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/work.h:10, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/pid_ioctl.c:13: /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:13: warning: "MAX" redefined 13 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from ./include/linux/cpumask.h:10, from ./include/linux/smp.h:13, from ./include/linux/lockdep.h:14, from ./include/linux/mutex.h:17, from ./include/linux/kernfs.h:11, from ./include/linux/sysfs.h:16, from ./include/linux/kobject.h:20, from ./include/linux/cdev.h:5, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/pid_ioctl.c:7: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:14: warning: "MIN" redefined 14 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/smap_msg.h:13, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/migrate_back_debugfs.h:14, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/migrate_back_debugfs.c:15: /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:13: warning: "MAX" redefined 13 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from ./arch/arm64/include/asm/cpufeature.h:25, from ./arch/arm64/include/asm/ptrace.h:11, from ./arch/arm64/include/asm/irqflags.h:10, from ./include/linux/irqflags.h:17, from ./include/linux/spinlock.h:59, from ./include/linux/wait.h:9, from ./include/linux/wait_bit.h:8, from ./include/linux/fs.h:6, from ./include/linux/debugfs.h:15, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/migrate_back_debugfs.c:12: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:14: warning: "MIN" redefined 14 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/numa.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/acpi_helper.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/acpi_mem.o In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/acpi_mem.h:10, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/smap_migrate_pages.c:19: /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:13: warning: "MAX" redefined 13 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from ./arch/arm64/include/asm/cpufeature.h:25, from ./arch/arm64/include/asm/ptrace.h:11, from ./arch/arm64/include/asm/irqflags.h:10, from ./include/linux/irqflags.h:17, from ./include/linux/spinlock.h:59, from ./include/linux/mmzone.h:8, from ./include/linux/gfp.h:7, from ./include/linux/mm.h:7, from ./include/linux/migrate.h:5, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/smap_migrate_pages.c:7: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:14: warning: "MIN" redefined 14 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/mig_init.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/tracking_manage.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/smap_debugfs.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/dump_info.o In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/smap_msg.h:13, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/numa.c:10: /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:13: warning: "MAX" redefined 13 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from ./arch/arm64/include/asm/cpufeature.h:25, from ./arch/arm64/include/asm/ptrace.h:11, from ./arch/arm64/include/asm/irqflags.h:10, from ./include/linux/irqflags.h:17, from ./include/linux/spinlock.h:59, from ./include/linux/mmzone.h:8, from ./include/linux/gfp.h:7, from ./include/linux/mm.h:7, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/numa.c:7: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:14: warning: "MIN" redefined 14 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/mig_init.c:18: /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:13: warning: "MAX" redefined 13 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/mig_init.c:8: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:14: warning: "MIN" redefined 14 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/iomem.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/ham_migration.o In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/smap_msg.h:13, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/acpi_mem.c:9: /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:13: warning: "MAX" redefined 13 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from ./arch/arm64/include/asm/cpufeature.h:25, from ./arch/arm64/include/asm/ptrace.h:11, from ./arch/arm64/include/asm/irqflags.h:10, from ./include/linux/irqflags.h:17, from ./include/linux/spinlock.h:59, from ./include/linux/mmzone.h:8, from ./include/linux/gfp.h:7, from ./include/linux/mm.h:7, from ./include/linux/hugetlb.h:5, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/acpi_mem.c:8: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:14: warning: "MIN" redefined 14 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/basic.o In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/smap_msg.h:13, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/dump_info.c:12: /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:13: warning: "MAX" redefined 13 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from ./arch/arm64/include/asm/cpufeature.h:25, from ./arch/arm64/include/asm/ptrace.h:11, from ./arch/arm64/include/asm/irqflags.h:10, from ./include/linux/irqflags.h:17, from ./include/linux/spinlock.h:59, from ./include/linux/wait.h:9, from ./include/linux/wait_bit.h:8, from ./include/linux/fs.h:6, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/dump_info.c:7: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:14: warning: "MIN" redefined 14 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/dump_info.h:10, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/tracking_manage.c:25: /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:13: warning: "MAX" redefined 13 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from ./arch/arm64/include/asm/cpufeature.h:25, from ./arch/arm64/include/asm/ptrace.h:11, from ./arch/arm64/include/asm/irqflags.h:10, from ./include/linux/irqflags.h:17, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/delay.h:23, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/tracking_manage.c:7: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:14: warning: "MIN" redefined 14 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/coherence_maintain.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/ham_tasks_mgr.o In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/smap_msg.h:13, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/iomem.c:23: /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:13: warning: "MAX" redefined 13 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/iomem.c:7: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:14: warning: "MIN" redefined 14 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/smap_msg.h:13, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/dump_info.c:12: /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:13: warning: "MAX" redefined 13 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from ./arch/arm64/include/asm/cpufeature.h:25, from ./arch/arm64/include/asm/ptrace.h:11, from ./arch/arm64/include/asm/irqflags.h:10, from ./include/linux/irqflags.h:17, from ./include/linux/spinlock.h:59, from ./include/linux/wait.h:9, from ./include/linux/wait_bit.h:8, from ./include/linux/fs.h:6, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/dump_info.c:7: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:14: warning: "MIN" redefined 14 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/dump_info.h:10, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/tracking_manage.c:25: /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:13: warning: "MAX" redefined 13 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from ./include/linux/kernel.h:28, from ./arch/arm64/include/asm/cpufeature.h:25, from ./arch/arm64/include/asm/ptrace.h:11, from ./arch/arm64/include/asm/irqflags.h:10, from ./include/linux/irqflags.h:17, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/delay.h:23, from /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/tracking_manage.c:7: ./include/linux/minmax.h:315: note: this is the location of the previous definition 315 | #define MAX(a, b) __cmp(max, a, b) | /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/common.h:14: warning: "MIN" redefined 14 | #define MIN(a, b) ((a) <= (b) ? (a) : (b)) | ./include/linux/minmax.h:314: note: this is the location of the previous definition 314 | #define MIN(a, b) __cmp(min, a, b) | LD [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/smap_tiering.o MODPOST /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/Module.symvers CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/smap_tiering.mod.o LD [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/smap_tiering.ko BTF [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/smap_tiering.ko Skipping BTF generation for /builddir/build/BUILD/ubturbo/plugins/smap/src/tiering/smap_tiering.ko due to unavailability of vmlinux make: Leaving directory '/usr/src/kernels/6.6.119-51.4.oc9.aarch64' + cd /builddir/build/BUILD/ubturbo/plugins/smap/src/ucache ++ nproc + make -j8 -C /lib/modules/6.6.119-51.4.oc9.aarch64/build M=/builddir/build/BUILD/ubturbo/plugins/smap/src/ucache modules make: Entering directory '/usr/src/kernels/6.6.119-51.4.oc9.aarch64' warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc (Tencent Compiler 12.3.1.8) 12.3.1 20230912 (OpenCloudOS 12.3.1.8-4) You are using: gcc (Tencent Compiler 12.3.1.8) 12.3.1 20230912 (OpenCloudOS 12.3.1.8-6) CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/ucache/core.o CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/ucache/ucache_migrate.o LD [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/ucache/ucache.o MODPOST /builddir/build/BUILD/ubturbo/plugins/smap/src/ucache/Module.symvers CC [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/ucache/ucache.mod.o LD [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/ucache/ucache.ko BTF [M] /builddir/build/BUILD/ubturbo/plugins/smap/src/ucache/ucache.ko Skipping BTF generation for /builddir/build/BUILD/ubturbo/plugins/smap/src/ucache/ucache.ko due to unavailability of vmlinux make: Leaving directory '/usr/src/kernels/6.6.119-51.4.oc9.aarch64' + rm -f /builddir/build/BUILD/ubturbo/plugins/smap/3rdparty/spdlog/CMakeLists.txt + cat + export 'LDFLAGS=-L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + LDFLAGS='-L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + cd /builddir/build/BUILD/ubturbo/plugins/smap + cmake -DCMAKE_CXX_FLAGS=-DSPDLOG_FMT_EXTERNAL -DCMAKE_BUILD_TYPE=Release -DSPDLOG_BUILD_SHARED=ON -DSPDLOG_BUILD_STATIC=OFF -DCMAKE_PREFIX_PATH=/usr . -- The CXX compiler identification is GNU 12.3.1 -- The C compiler identification is GNU 12.3.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- CMAKE_BUILD_TYPE: Release -- 3rdparty src dir /builddir/build/BUILD/ubturbo/plugins/smap/3rdparty -- 3rdparty bin dir /builddir/build/BUILD/ubturbo/plugins/smap/output/3rdparty -- target install dir /builddir/build/BUILD/ubturbo/plugins/smap/output/smap -- Compiler version is compatible (>= 7.3) -- use c++17 USER_SRC: . Tiering path: -- Configuring done (0.4s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: SPDLOG_BUILD_SHARED SPDLOG_BUILD_STATIC -- Build files have been written to: /builddir/build/BUILD/ubturbo/plugins/smap + sed -i 's/-Wl,-Bstatic -lspdlog -Wl,-Bdynamic/-lspdlog/g' /builddir/build/BUILD/ubturbo/plugins/smap/src/user/CMakeFiles/smap.dir/link.txt ++ nproc + make -j8 install [ 3%] Creating directories for 'spdlog' [ 7%] No download step for 'spdlog' [ 11%] No update step for 'spdlog' [ 14%] No patch step for 'spdlog' [ 18%] Performing configure step for 'spdlog' -- spdlog configure command succeeded. See also /builddir/build/BUILD/ubturbo/plugins/smap/3rdparty/spdlog-prefix/src/spdlog-stamp/spdlog-configure-*.log [ 22%] Performing build step for 'spdlog' -- spdlog build command succeeded. See also /builddir/build/BUILD/ubturbo/plugins/smap/3rdparty/spdlog-prefix/src/spdlog-stamp/spdlog-build-*.log [ 25%] Performing install step for 'spdlog' -- spdlog install command succeeded. See also /builddir/build/BUILD/ubturbo/plugins/smap/3rdparty/spdlog-prefix/src/spdlog-stamp/spdlog-install-*.log [ 29%] Completed 'spdlog' [ 29%] Built target spdlog [ 40%] Building CXX object src/user/user_log/CMakeFiles/user_log.dir/ulog/src/ulog4c.cpp.o [ 40%] Building CXX object src/user/user_log/CMakeFiles/user_log.dir/ulog/src/ulog.cpp.o [ 40%] Building C object src/user/user_log/CMakeFiles/user_log.dir/smap_user_log/smap_user_log.c.o [ 44%] Linking CXX static library libuser_log.a [ 44%] Built target user_log [ 66%] Building C object src/user/CMakeFiles/smap.dir/manage/thread.c.o [ 66%] Building C object src/user/CMakeFiles/smap.dir/manage/access_ioctl.c.o [ 66%] Building C object src/user/CMakeFiles/smap.dir/smap_interface.c.o [ 66%] Building C object src/user/CMakeFiles/smap.dir/manage/oom_migrate.c.o [ 66%] Building C object src/user/CMakeFiles/smap.dir/smap_inner_interface.c.o [ 66%] Building C object src/user/CMakeFiles/smap.dir/manage/manage.c.o [ 70%] Building C object src/user/CMakeFiles/smap.dir/manage/smap_config.c.o [ 74%] Building C object src/user/CMakeFiles/smap.dir/manage/device.c.o /builddir/build/BUILD/ubturbo/plugins/smap/src/user/smap_interface.c: In function 'AddProcessNumaBitMap': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/smap_interface.c:600:27: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 600 | if (nodeBitmap[i] & LOCAL_NUMA_BIT_MAP_MASK == 0) { | ^ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/smap_interface.c: In function 'CheckMigrateBackMsg': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/smap_interface.c:657:28: warning: unused variable 'manager' [-Wunused-variable] 657 | struct ProcessManager *manager = GetProcessManager(); | ^~~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/smap_config.c: In function 'ChangeProcessConfig': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/smap_config.c:601:11: warning: unused variable 'processBase' [-Wunused-variable] 601 | char *processBase; | ^~~~~~~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c: In function 'RemoteNumaInfoInit': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c:92:1: warning: no return statement in function returning non-void [-Wreturn-type] 92 | } | ^ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/smap_config.c:600:11: warning: unused variable 'addr' [-Wunused-variable] 600 | char *addr; | ^~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/smap_config.c: In function 'ParseConfig': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c: In function 'FreeProceccesAttr': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/smap_config.c:659:15: warning: unused variable 'payloadLen' [-Wunused-variable] 659 | uint32_t *payloadLen; | ^~~~~~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/smap_interface.c: In function 'ubturbo_smap_start': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/smap_config.c: In function 'ChangeRunMode': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/smap_interface.c:1028:9: warning: unused variable 'lockFd' [-Wunused-variable] 1028 | int lockFd; | ^~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/smap_config.c:740:29: warning: unused variable 'header' [-Wunused-variable] 740 | struct SmapConfigHeader header; | ^~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/smap_config.c:738:11: warning: unused variable 'numaBase' [-Wunused-variable] 738 | char *numaBase; | ^~~~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/smap_config.c:736:9: warning: unused variable 'ret' [-Wunused-variable] 736 | int ret; | ^~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c:224:9: warning: the comparison will always evaluate as 'true' for the address of 'actcData' will never be NULL [-Waddress] 224 | if (attr->scanAttr.actcData) { | ^~~~ In file included from /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/device.h:17, from /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c:26: /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.h:196:15: note: 'actcData' declared here 196 | ActcData *actcData[MAX_NODES]; // actc数据 | ^~~~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/smap_config.c: In function 'SyncRunMode': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/smap_config.c:837:9: warning: unused variable 'nrLocalNuma' [-Wunused-variable] 837 | int nrLocalNuma = GetNrLocalNuma(); | ^~~~~~~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/oom_migrate.c: In function 'OomGetPaddr': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/oom_migrate.c:23:9: warning: unused variable 'ret' [-Wunused-variable] 23 | int ret; | ^~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/smap_interface.c: In function 'CheckQueryVMFreqMsgValid': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/oom_migrate.c: In function 'GetPaddrsFromPagemap': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/smap_interface.c:1191:28: warning: unused variable 'manager' [-Wunused-variable] 1191 | struct ProcessManager *manager = GetProcessManager(); | ^~~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/oom_migrate.c:64:9: warning: unused variable 'i' [-Wunused-variable] 64 | int i; | ^ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c: In function 'FillActcByBitmap': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c:406:23: warning: unused variable 'paddr' [-Wunused-variable] 406 | uint64_t actcLen, paddr, freqSum = 0; | ^~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c:404:12: warning: unused variable 'i' [-Wunused-variable] 404 | size_t i, nrFreq, nrBit, acidx = 0; | ^ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/smap_interface.c: In function 'AddProcessTracking': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c: In function 'ParseMmapType': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/smap_interface.c:1397:28: warning: unused variable 'pm' [-Wunused-variable] 1397 | struct ProcessManager *pm = GetProcessManager(); | ^~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c:526:9: warning: unused variable 'err' [-Wunused-variable] 526 | int err; | ^~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/smap_interface.c: In function 'CheckMigrateNumaMsg': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/smap_interface.c:1597:28: warning: unused variable 'manager' [-Wunused-variable] 1597 | struct ProcessManager *manager = GetProcessManager(); | ^~~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/smap_interface.c: In function 'CheckSameMigrateNumaMsg': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/smap_interface.c:1656:28: warning: unused variable 'manager' [-Wunused-variable] 1656 | struct ProcessManager *manager = GetProcessManager(); | ^~~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c: In function 'ParseBitmap': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/smap_interface.c: In function 'GetAttrNidInitRatio': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/smap_interface.c:1864:9: warning: unused variable 'curRatio' [-Wunused-variable] 1864 | int curRatio = attr->strategyAttr.initRemoteMemRatio[l1node][nid - nrLocalNuma]; | ^~~~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c:1222:9: warning: unused variable 'nid' [-Wunused-variable] 1222 | int nid; | ^~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c: In function 'CheckAccountAndNrPage': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c:1341:16: warning: unused variable 'ratio' [-Wunused-variable] 1341 | double ratio; | ^~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c: In function 'CalRemotePerLocal': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c:1425:9: warning: unused variable 'i' [-Wunused-variable] 1425 | int i, j; | ^ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c: In function 'CalNrPagesLocalTotalPerPid': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c:1447:12: warning: unused variable 'j' [-Wunused-variable] 1447 | int i, j; | ^ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c:1447:9: warning: unused variable 'i' [-Wunused-variable] 1447 | int i, j; | ^ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c:1446:14: warning: unused variable 'tmpRemoteNrPages' [-Wunused-variable] 1446 | uint32_t tmpRemoteNrPages; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c: In function 'CalNrPagesLocalTotal': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c:1459:9: warning: unused variable 'ret' [-Wunused-variable] 1459 | int ret; | ^~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c: In function 'CalRemoteNumaSizeAllocPerNuma': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c:1603:27: warning: unused variable 'remoteNumaInfo' [-Wunused-variable] 1603 | struct RemoteNumaInfo remoteNumaInfo = g_processManager.remoteNumaInfo; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c: In function 'SetPayloadValue': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c:2221:14: warning: unused variable 'srcMemSize' [-Wunused-variable] 2221 | uint64_t srcMemSize; | ^~~~~~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c: At top level: /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c:1712:13: warning: 'IsInPidArr' defined but not used [-Wunused-function] 1712 | static bool IsInPidArr(pid_t *pidArr, int len, pid_t pid) | ^~~~~~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c:780:13: warning: 'PrintProcessNuma' defined but not used [-Wunused-function] 780 | static void PrintProcessNuma(ProcessAttr *attr) | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c:201:13: warning: 'LinkedListAddSafe' defined but not used [-Wunused-function] 201 | static void LinkedListAddSafe(ProcessAttr **head, ProcessAttr **add, EnvMutex *lock) | ^~~~~~~~~~~~~~~~~ [ 77%] Building C object src/user/CMakeFiles/smap.dir/manage/virt.c.o [ 81%] Building C object src/user/CMakeFiles/smap.dir/strategy/migration.c.o [ 85%] Building C object src/user/CMakeFiles/smap.dir/strategy/period_config.c.o /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/virt.c: In function 'ReadDomainIdByPid': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/virt.c:84:11: warning: unused variable 'tmp' [-Wunused-variable] 84 | char *tmp; | ^~~ [ 88%] Building C object src/user/CMakeFiles/smap.dir/strategy/separate_strategy.c.o /builddir/build/BUILD/ubturbo/plugins/smap/src/user/strategy/migration.c: In function 'AddMigList': [ 92%] Building C object src/user/CMakeFiles/smap.dir/strategy/strategy.c.o /builddir/build/BUILD/ubturbo/plugins/smap/src/user/strategy/migration.c:39:14: warning: unused variable 'oldNum' [-Wunused-variable] 39 | uint64_t oldNum, migrateNum, freePageNum; | ^~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/strategy/migration.c:38:13: warning: unused variable 'j' [-Wunused-variable] 38 | ssize_t j; | ^ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/strategy/migration.c: In function 'InitMigrateMsg': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/strategy/migration.c:214:13: warning: unused variable 'type' [-Wunused-variable] 214 | PidType type = GetPidType(manager); | ^~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/strategy/migration.c: In function 'PrintMigSpeed': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/strategy/migration.c:348:22: warning: variable 'migSpeed' set but not used [-Wunused-but-set-variable] 348 | double timeUsed, migSpeed; | ^~~~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/strategy/migration.c: In function 'ScanMigrateWork': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/strategy/migration.c:646:18: warning: unused variable 'current' [-Wunused-variable] 646 | ProcessAttr *current; | ^~~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/strategy/separate_strategy.c: In function 'InitSeparateParam': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/strategy/separate_strategy.c:40:1: warning: no return statement in function returning non-void [-Wreturn-type] 40 | } | ^ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/strategy/separate_strategy.c: In function 'CalcMigrateNumByFreq': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/strategy/separate_strategy.c:121:14: warning: unused variable 'freqNum' [-Wunused-variable] 121 | uint64_t freqNum; | ^~~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/strategy/separate_strategy.c:119:35: warning: unused variable 'high' [-Wunused-variable] 119 | uint64_t migrateNum, low = 0, high; | ^~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/strategy/separate_strategy.c:119:26: warning: unused variable 'low' [-Wunused-variable] 119 | uint64_t migrateNum, low = 0, high; | ^~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/strategy/separate_strategy.c: In function 'BaseStrategy': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/strategy/separate_strategy.c:205:15: warning: unused variable 'level' [-Wunused-variable] 205 | NodeLevel level; | ^~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/strategy/separate_strategy.c: At top level: /builddir/build/BUILD/ubturbo/plugins/smap/src/user/strategy/separate_strategy.c:353:12: warning: 'BuildMlistAddr' defined but not used [-Wunused-function] 353 | static int BuildMlistAddr(ProcessAttr *process, struct MigList mlist[MAX_NODES][MAX_NODES], | ^~~~~~~~~~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/strategy/separate_strategy.c:313:17: warning: 'CalcMigrateNumByFreq4K' defined but not used [-Wunused-function] 313 | static uint64_t CalcMigrateNumByFreq4K(ProcessAttr *process, int localNid, int remoteNid, const uint64_t numaOffset[], | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/strategy/separate_strategy.c:296:13: warning: 'SortActcData' defined but not used [-Wunused-function] 296 | static void SortActcData(ProcessAttr *process) | ^~~~~~~~~~~~ [ 96%] Building C object src/user/CMakeFiles/smap.dir/advanced-strategy/scene.c.o /builddir/build/BUILD/ubturbo/plugins/smap/src/user/advanced-strategy/scene.c: In function 'ConfigMultiVmRatioInGroups': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/advanced-strategy/scene.c:518:9: warning: unused variable 'i' [-Wunused-variable] 518 | int i, maxL1node = 0, maxL2node = 0; | ^ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/advanced-strategy/scene.c: At top level: /builddir/build/BUILD/ubturbo/plugins/smap/src/user/advanced-strategy/scene.c:146:12: warning: 'StatsL2AvgHotPages' defined but not used [-Wunused-function] 146 | static int StatsL2AvgHotPages(ProcessAttr *process) | ^~~~~~~~~~~~~~~~~~ In function 'ChangePidRemoteMemory', inlined from 'ChangePidRemoteByPid' at /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c:2300:9: /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c:2004:43: warning: 'remoteNidIndex' may be used uninitialized [-Wmaybe-uninitialized] 2004 | attr->migrateParam[remoteNidIndex].memSize -= memSize; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c: In function 'ChangePidRemoteByPid': /builddir/build/BUILD/ubturbo/plugins/smap/src/user/manage/manage.c:1991:13: note: 'remoteNidIndex' was declared here 1991 | int remoteNidIndex; | ^~~~~~~~~~~~~~ [100%] Linking CXX shared library libsmap.so [100%] Built target smap Install the project... -- Install configuration: "Release" -- Installing: /builddir/build/BUILD/ubturbo/plugins/smap/output/smap/lib/libsmap.so -- Installing: /builddir/build/BUILD/ubturbo/plugins/smap/output/smap/include/smap_interface.h + cd /builddir/build/BUILD/ubturbo + bash -x build.sh -c + set -o errtrace + set -o errexit ++ readlink -f build.sh + SCRIPT_DIR=/builddir/build/BUILD/ubturbo/build.sh + trap 'trap_error $LINENO' ERR + trap 'cd $PROJECT_ROOT_DIR; echo "Script exited with status $?"; exit' EXIT + BUILD_DIRS=(['Debug']='dist/debug' ['Release']='dist/release' ['RelWithDebInfo']='relwithdebinfo' ['MinSizeRel']='minsizerel') + declare -A BUILD_DIRS +++ dirname build.sh ++ cd . ++ pwd + PROJECT_ROOT_DIR=/builddir/build/BUILD/ubturbo + output_dir=/builddir/build/BUILD/ubturbo/output + build_target=all + build_type=Release + build_dir=dist + std=17 + generator='Unix Makefiles' + enable_coverage=OFF + enable_test=OFF + skip_run_tests=OFF + force_colored_output=OFF + build_in_ci=false + [[ '' == \t\r\u\e ]] ++ nproc + jobs=8 + [[ false != true ]] + jobs=6 + command -v ninja Ninja is installed. Generator set to: Ninja + generator=Ninja + echo 'Ninja is installed. Generator set to: Ninja' + FAILURE='[\033[1;31mFAILED\033[0;39m]' ++ date '+[%Y-%m-%d %H:%M]' [2026-07-28 16:38]: build.sh -c + echo '[2026-07-28' '16:38]:' build.sh -c ++ date +%s.%N + START_TIME=1785227938.024684724 + cd /builddir/build/BUILD/ubturbo + parse_args -c + trans_params=() + local trans_flag=false + [[ 1 -gt 0 ]] + case "$1" in + enable_clean=ON + shift + [[ 0 -gt 0 ]] + build_cmake + [[ all == \t\e\s\t ]] + [[ all == \u\t ]] + [[ all =~ _ut$ ]] + build_dir=/builddir/build/BUILD/ubturbo/dist/release + '[' -z /builddir/build/BUILD/ubturbo/dist/release ']' + [[ all == \p\a\c\k\a\g\e ]] + [[ ON == \O\N ]] + clean all + target_dirs=() + local target_dirs + case $1 in + target_dirs+=("${build_dir}") + for target_dir in "${target_dirs[@]}" + '[' '!' -d /builddir/build/BUILD/ubturbo/dist/release ']' + echo 'Warning: Directory '\''/builddir/build/BUILD/ubturbo/dist/release'\'' does not exist.' Warning: Directory '/builddir/build/BUILD/ubturbo/dist/release' does not exist. + [[ ! -d /builddir/build/BUILD/ubturbo/dist/release ]] + mkdir -p /builddir/build/BUILD/ubturbo/dist/release + echo 'Directory /builddir/build/BUILD/ubturbo/dist/release has been recreated.' Directory /builddir/build/BUILD/ubturbo/dist/release has been recreated. + '[' '!' -d /builddir/build/BUILD/ubturbo/dist/release ']' + log_info '***** start build_cmake *****' + LOG_FILE=/builddir/build/BUILD/ubturbo/dist/release/build.log + '[' 1 -lt 1 ']' ++ date '+%F %T' + echo '2026-07-28 16:38:58 [INFO] ***** start build_cmake *****' ++ date '+%F %T' 2026-07-28 16:38:58 [INFO] ***** start build_cmake ***** + echo '2026-07-28 16:38:58 [INFO] ***** start build_cmake *****' + log_info 'building target all.' + LOG_FILE=/builddir/build/BUILD/ubturbo/dist/release/build.log + '[' 1 -lt 1 ']' ++ date '+%F %T' + echo '2026-07-28 16:38:58 [INFO] building target all.' ++ date '+%F %T' 2026-07-28 16:38:58 [INFO] building target all. + echo '2026-07-28 16:38:58 [INFO] building target all.' + [[ Ninja == \N\i\n\j\a ]] + force_colored_output=ON + cmake -S . -B /builddir/build/BUILD/ubturbo/dist/release -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=17 -DCMAKE_TOOLCHAIN_FILE= -DCMAKE_INSTALL_PREFIX=/builddir/build/BUILD/ubturbo/dist/release/install -DBUILD_TESTS=OFF -DENABLE_COVERAGE=OFF -DASAN_BUILD= -DLSAN_BUILD= -DTSAN_BUILD= -DUBSAN_BUILD= -DFORCE_COLORED_OUTPUT=ON -- The C compiler identification is GNU 12.3.1 -- The CXX compiler identification is GNU 12.3.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- CMAKE_CXX_STANDARD: c++17 -- current platform: Linux -- CMAKE_BUILD_TYPE: Release -- OS_VERSION = ocos -- Configuring done (0.4s) -- Generating done (0.0s) -- Build files have been written to: /builddir/build/BUILD/ubturbo/dist/release + [[ OFF == \O\N ]] + cmake --build /builddir/build/BUILD/ubturbo/dist/release --target all -j 6 [1/70] Building CXX object src/CMakeFiles/ubturbo_client.dir/ipc/client/turbo_ipc_client.cpp.o [2/70] Building CXX object src/CMakeFiles/ubturbo_client.dir/log/client/ulog.cpp.o [3/70] Building CXX object src/CMakeFiles/ubturbo_client.dir/ipc/client/turbo_ipc_client_inner.cpp.o [4/70] Building CXX object src/CMakeFiles/ubturbo_client.dir/sdk/turbo_ucache_interface.cpp.o [5/70] Building CXX object src/CMakeFiles/ubturbo_client.dir/smap/client/smap_client.cpp.o [6/70] Building CXX object src/CMakeFiles/ubturbo_client.dir/smap/smap_handler_msg.cpp.o [7/70] Building CXX object src/CMakeFiles/ub_turbo_exec.dir/main.cpp.o [8/70] Building CXX object src/CMakeFiles/ubturbo_client.dir/sdk/turbo_rmrs_interface.cpp.o [9/70] Building CXX object src/CMakeFiles/ub_turbo_exec.dir/plugin/turbo_module_plugin.cpp.o [10/70] Building CXX object src/CMakeFiles/ub_turbo_exec.dir/config/turbo_conf.cpp.o [11/70] Building CXX object src/CMakeFiles/ub_turbo_exec.dir/config/turbo_module_conf.cpp.o [12/70] Building CXX object src/CMakeFiles/ub_turbo_exec.dir/plugin/turbo_plugin_manager.cpp.o [13/70] Building CXX object src/CMakeFiles/ub_turbo_exec.dir/utils/turbo_file_util.cpp.o [14/70] Building CXX object src/CMakeFiles/ub_turbo_exec.dir/main/turbo_main.cpp.o [15/70] Building CXX object src/CMakeFiles/ub_turbo_exec.dir/ipc/server/turbo_ipc_server.cpp.o [16/70] Building CXX object src/CMakeFiles/ub_turbo_exec.dir/ipc/server/turbo_ipc_server_inner.cpp.o [17/70] Building CXX object src/CMakeFiles/ub_turbo_exec.dir/ipc/server/turbo_module_ipc.cpp.o [18/70] Building CXX object src/CMakeFiles/ub_turbo_exec.dir/ipc/server/turbo_ipc_handler.cpp.o [19/70] Linking CXX shared library lib/libubturbo_client.so [20/70] Building CXX object src/CMakeFiles/ub_turbo_exec.dir/log/client/ulog.cpp.o [21/70] Building CXX object src/CMakeFiles/ub_turbo_exec.dir/smap/smap_handler_msg.cpp.o [22/70] Building CXX object src/CMakeFiles/ub_turbo_exec.dir/smap/server/turbo_module_smap.cpp.o [23/70] Building CXX object src/log/CMakeFiles/TurboLog.dir/rack_logger_manager.cpp.o [24/70] Building CXX object src/log/CMakeFiles/TurboLog.dir/rack_logger.cpp.o [25/70] Building CXX object src/log/CMakeFiles/TurboLog.dir/rack_logger_ringbuffer.cpp.o In file included from /builddir/build/BUILD/ubturbo/src/log/rack_logger_ringbuffer.cpp:12: /builddir/build/BUILD/ubturbo/src/log/rack_logger_ringbuffer.h: In constructor 'turbo::log::RingBuffer::RingBuffer(uint32_t)': /builddir/build/BUILD/ubturbo/src/log/rack_logger_ringbuffer.h:62:31: warning: 'turbo::log::RingBuffer::wIndex' will be initialized after [-Wreorder] 62 | std::atomic wIndex; // 多生产者 | ^~~~~~ /builddir/build/BUILD/ubturbo/src/log/rack_logger_ringbuffer.h:60:31: warning: 'std::atomic turbo::log::RingBuffer::count' [-Wreorder] 60 | std::atomic count; | ^~~~~ /builddir/build/BUILD/ubturbo/src/log/rack_logger_ringbuffer.cpp:26:1: warning: when initialized here [-Wreorder] 26 | RingBuffer::RingBuffer(uint32_t size) | ^~~~~~~~~~ [26/70] Building CXX object src/ipc/server/CMakeFiles/ubturbo_ipc_server.dir/turbo_ipc_server.cpp.o [27/70] Building CXX object src/ipc/server/CMakeFiles/ubturbo_ipc_server.dir/turbo_ipc_server_inner.cpp.o [28/70] Building CXX object src/log/CMakeFiles/turbo_log.dir/turbo_module_logger.cpp.o [29/70] Building CXX object src/ipc/server/CMakeFiles/ubturbo_ipc_server.dir/turbo_module_ipc.cpp.o [30/70] Building CXX object src/ipc/server/CMakeFiles/ubturbo_ipc_server.dir/turbo_ipc_handler.cpp.o [31/70] Linking CXX static library src/ipc/server/libubturbo_ipc_server.a [32/70] Building CXX object src/log/CMakeFiles/TurboLog.dir/rack_logger_filter.cpp.o [33/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/common/rmrs_config.cpp.o [34/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/common/rmrs_time_util.cpp.o [35/70] Building CXX object src/CMakeFiles/ub_turbo_exec.dir/config/turbo_conf_manager.cpp.o [36/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/export/libvirt/rmrs_libvirt_module.cpp.o [37/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/common/rmrs_json_util.cpp.o /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/rmrs_json_util.cpp: In static member function 'static bool rmrs::JsonUtil::RackMemConvertJsonStr2Vec(const rmrs::JSON_STR&, rmrs::JSON_VEC&)': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/rmrs_json_util.cpp:138:11: warning: unused variable 'allocator' [-Wunused-variable] 138 | auto &allocator = pJson.GetAllocator(); | ^~~~~~~~~ [38/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/export/libvirt_helper/rmrs_libvirt_helper.cpp.o [39/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/callback_manager.cpp.o In file included from /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/intranode_strategy/rmrs_migrate_module.h:30, from /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/intranode_strategy/rmrs_rollback_module.h:8, from /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/callback_manager.cpp:28: /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h: In member function 'std::string rmrs::smap::RemovePayload::ToString() const': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h:82:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 82 | for (size_t i = 0; i < count; ++i) { | ~~^~~~~~~ /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h: In member function 'std::string rmrs::smap::RemoveMsg::ToString() const': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h:102:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 102 | for (size_t i = 0; i < count; ++i) { | ~~^~~~~~~ /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/callback_manager.cpp: In static member function 'static rmrs::RmrsResult rmrs::CallbackManager::MigrateBackRecvHandler(const TurboByteBuffer&, TurboByteBuffer&)': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/callback_manager.cpp:232:14: warning: unused variable 'memSize' [-Wunused-variable] 232 | uint64_t memSize; | ^~~~~~~ [40/70] Building CXX object src/log/CMakeFiles/TurboLog.dir/rack_logger_filesink.cpp.o [41/70] Linking CXX static library src/log/libTurboLog.a [42/70] Linking CXX static library src/log/libturbo_log.a [43/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/export/util/rmrs_string_util.cpp.o [44/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/common/rmrs_file_util.cpp.o [45/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/export/util/rmrs_memory_info.cpp.o [46/70] Linking CXX executable bin/ub_turbo_exec [47/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/message/rmrs_response_info_simpo.cpp.o [48/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/intranode_strategy/rmrs_memfree_module.cpp.o In file included from /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/intranode_strategy/rmrs_migrate_module.h:30, from /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/intranode_strategy/rmrs_memfree_module.h:8, from /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/intranode_strategy/rmrs_memfree_module.cpp:4: /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h: In member function 'std::string rmrs::smap::RemovePayload::ToString() const': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h:82:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 82 | for (size_t i = 0; i < count; ++i) { | ~~^~~~~~~ /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h: In member function 'std::string rmrs::smap::RemoveMsg::ToString() const': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h:102:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 102 | for (size_t i = 0; i < count; ++i) { | ~~^~~~~~~ [49/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/turbo_rmrs_plugin.cpp.o In file included from /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/intranode_strategy/rmrs_migrate_module.h:30, from /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/turbo_rmrs_plugin.cpp:21: /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h: In member function 'std::string rmrs::smap::RemovePayload::ToString() const': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h:82:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 82 | for (size_t i = 0; i < count; ++i) { | ~~^~~~~~~ /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h: In member function 'std::string rmrs::smap::RemoveMsg::ToString() const': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h:102:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 102 | for (size_t i = 0; i < count; ++i) { | ~~^~~~~~~ [50/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/intranode_strategy/rmrs_rollback_module.cpp.o In file included from /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/intranode_strategy/rmrs_migrate_module.h:30, from /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/intranode_strategy/rmrs_rollback_module.h:8, from /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/intranode_strategy/rmrs_rollback_module.cpp:4: /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h: In member function 'std::string rmrs::smap::RemovePayload::ToString() const': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h:82:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 82 | for (size_t i = 0; i < count; ++i) { | ~~^~~~~~~ /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h: In member function 'std::string rmrs::smap::RemoveMsg::ToString() const': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h:102:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 102 | for (size_t i = 0; i < count; ++i) { | ~~^~~~~~~ [51/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/export/os_helper/rmrs_os_helper.cpp.o [52/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/ucache/ucache_driver_interaction.cpp.o [53/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/intranode_strategy/rmrs_migrate_module.cpp.o In file included from /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/intranode_strategy/rmrs_migrate_module.h:30, from /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/intranode_strategy/rmrs_migrate_module.cpp:12: /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h: In member function 'std::string rmrs::smap::RemovePayload::ToString() const': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h:82:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 82 | for (size_t i = 0; i < count; ++i) { | ~~^~~~~~~ /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h: In member function 'std::string rmrs::smap::RemoveMsg::ToString() const': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h:102:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 102 | for (size_t i = 0; i < count; ++i) { | ~~^~~~~~~ [54/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/serialization/rmrs_json_helper.cpp.o [55/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/common/smap/rmrs_smap_module.cpp.o In file included from /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.cpp:11: /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h: In member function 'std::string rmrs::smap::RemovePayload::ToString() const': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h:82:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 82 | for (size_t i = 0; i < count; ++i) { | ~~^~~~~~~ /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h: In member function 'std::string rmrs::smap::RemoveMsg::ToString() const': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h:102:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 102 | for (size_t i = 0; i < count; ++i) { | ~~^~~~~~~ [56/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/serialization/CMakeFiles/rmrs_serialization.dir/__/common/rmrs_config.cpp.o [57/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/serialization/rmrs_serializer.cpp.o [58/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/export/rmrs_resource_export.cpp.o /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/export/rmrs_resource_export.cpp: In static member function 'static rmrs::RmrsResult rmrs::exports::ResourceExport::GetVmInfoImmediately(std::vector&)': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/export/rmrs_resource_export.cpp:180:29: warning: loop variable 'info' creates a copy from type 'const rmrs::VmDomainInfo' [-Wrange-loop-construct] 180 | for (const VmDomainInfo info : vmDomainInfos) { | ^~~~ /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/export/rmrs_resource_export.cpp:180:29: note: use reference type to prevent copying 180 | for (const VmDomainInfo info : vmDomainInfos) { | ^~~~ | & /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/export/rmrs_resource_export.cpp: In static member function 'static rmrs::RmrsResult rmrs::exports::ResourceExport::GetNumaInfoImmediately(std::vector&)': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/export/rmrs_resource_export.cpp:208:25: warning: loop variable 'info' creates a copy from type 'const rmrs::NumaInfo' [-Wrange-loop-construct] 208 | for (const NumaInfo info : numaInfos) { | ^~~~ /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/export/rmrs_resource_export.cpp:208:25: note: use reference type to prevent copying 208 | for (const NumaInfo info : numaInfos) { | ^~~~ | & [59/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/common/smap/rmrs_smap_helper.cpp.o In file included from /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_helper.h:21, from /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_helper.cpp:12: /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h: In member function 'std::string rmrs::smap::RemovePayload::ToString() const': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h:82:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 82 | for (size_t i = 0; i < count; ++i) { | ~~^~~~~~~ /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h: In member function 'std::string rmrs::smap::RemoveMsg::ToString() const': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h:102:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 102 | for (size_t i = 0; i < count; ++i) { | ~~^~~~~~~ [60/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/serialization/CMakeFiles/rmrs_serialization.dir/__/common/rmrs_time_util.cpp.o [61/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/serialization/CMakeFiles/rmrs_serialization.dir/__/common/smap/rmrs_smap_module.cpp.o In file included from /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.cpp:11: /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h: In member function 'std::string rmrs::smap::RemovePayload::ToString() const': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h:82:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 82 | for (size_t i = 0; i < count; ++i) { | ~~^~~~~~~ /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h: In member function 'std::string rmrs::smap::RemoveMsg::ToString() const': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h:102:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 102 | for (size_t i = 0; i < count; ++i) { | ~~^~~~~~~ [62/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/serialization/CMakeFiles/rmrs_serialization.dir/__/common/rmrs_json_util.cpp.o /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/rmrs_json_util.cpp: In static member function 'static bool rmrs::JsonUtil::RackMemConvertJsonStr2Vec(const rmrs::JSON_STR&, rmrs::JSON_VEC&)': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/rmrs_json_util.cpp:138:11: warning: unused variable 'allocator' [-Wunused-variable] 138 | auto &allocator = pJson.GetAllocator(); | ^~~~~~~~~ [63/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/serialization/CMakeFiles/rmrs_serialization.dir/rmrs_json_helper.cpp.o [64/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/serialization/CMakeFiles/rmrs_serialization.dir/rmrs_serializer.cpp.o [65/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/serialization/CMakeFiles/rmrs_serialization.dir/__/common/smap/rmrs_smap_helper.cpp.o In file included from /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_helper.h:21, from /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_helper.cpp:12: /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h: In member function 'std::string rmrs::smap::RemovePayload::ToString() const': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h:82:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 82 | for (size_t i = 0; i < count; ++i) { | ~~^~~~~~~ /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h: In member function 'std::string rmrs::smap::RemoveMsg::ToString() const': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/common/smap/rmrs_smap_module.h:102:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 102 | for (size_t i = 0; i < count; ++i) { | ~~^~~~~~~ [66/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/ucache/bottleneck_detector.cpp.o /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/ucache/bottleneck_detector.cpp: In function 'uint32_t ucache::bottleneck_detector::ExtractContainerCpuStat(std::vector&)': /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/ucache/bottleneck_detector.cpp:585:18: warning: unused variable 'iowait' [-Wunused-variable] 585 | uint64_t iowait{}; | ^~~~~~ /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/ucache/bottleneck_detector.cpp:586:18: warning: unused variable 'total' [-Wunused-variable] 586 | uint64_t total{}; | ^~~~~ /builddir/build/BUILD/ubturbo/plugins/rmrs/src/ubturbo_plugin/ucache/bottleneck_detector.cpp:587:13: warning: unused variable 'cpuId' [-Wunused-variable] 587 | int cpuId = -1; | ^~~~~ [67/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/CMakeFiles/rmrs_ubturbo_plugin.dir/ucache/ucache_migration_executor.cpp.o [68/70] Building CXX object plugins/rmrs/src/ubturbo_plugin/serialization/CMakeFiles/rmrs_serialization.dir/__/common/rmrs_file_util.cpp.o [69/70] Linking CXX static library plugins/rmrs/src/ubturbo_plugin/serialization/librmrs_serialization.a [70/70] Linking CXX shared library lib/librmrs_ubturbo_plugin.so + [[ OFF == \O\N ]] + local ret=0 + '[' 0 -ne 0 ']' ++ date +%s.%N + END_TIME=1785227966.186105237 ++ echo 'scale=3; (1785227966.186105237 - 1785227938.024684724) / 1' ++ bc build.sh: line 366: bc: command not found +++ trap_error 366 +++ echo ================================================================= +++ echo 'Error occurred in script at line: /builddir/build/BUILD/ubturbo/build.sh:366' +++ echo 'Error occurred in command: bc' +++ echo 'Call stack:' +++ for i in "${!FUNCNAME[@]}" +++ [[ 366 != \0 ]] +++ echo ' main at line 366' +++ for i in "${!FUNCNAME[@]}" +++ [[ 0 != \0 ]] +++ echo ================================================================= +++ exit 1 ================================================================= Error occurred in script at line: /builddir/build/BUILD/ubturbo/build.sh:366 Error occurred in command: EXEC_TIME=$(echo "scale=3; ($END_TIME - $START_TIME) / 1" | bc) Call stack: main at line 366 ================================================================= Script exited with status 0 + EXEC_TIME='================================================================= Error occurred in script at line: /builddir/build/BUILD/ubturbo/build.sh:366 Error occurred in command: bc Call stack: main at line 366 =================================================================' ++ trap_error 366 ++ echo ================================================================= ++ echo 'Error occurred in script at line: /builddir/build/BUILD/ubturbo/build.sh:366' ++ echo 'Error occurred in command: EXEC_TIME=$(echo "scale=3; ($END_TIME - $START_TIME) / 1" | bc)' ++ echo 'Call stack:' ++ for i in "${!FUNCNAME[@]}" ++ [[ 366 != \0 ]] ++ echo ' main at line 366' ++ for i in "${!FUNCNAME[@]}" ++ [[ 0 != \0 ]] ++ echo ================================================================= ++ exit 1 + cd /builddir/build/BUILD/ubturbo + echo 'Script exited with status 0' + exit error: Bad exit status from /var/tmp/rpm-tmp.wZUzEO (%build) Bad exit status from /var/tmp/rpm-tmp.wZUzEO (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ubturbo.spec\n', 1)] 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 597, 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 --noclean --target aarch64 --nodeps /builddir/build/SPECS/ubturbo.spec