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-249425-83837/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.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-249425-83837/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.UU9YRE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ubturbo-1.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ubturbo-1.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ubturbo-1.0.0 + /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.smjZDz + 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 Using kernel version: 6.6.119-51.5.oc9.aarch64 Using kernel build tree: /lib/modules/6.6.119-51.5.oc9.aarch64/build + 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-1.0.0 + kver=6.6.119-51.5.oc9.aarch64 + echo 'Using kernel version: 6.6.119-51.5.oc9.aarch64' + kbuild=/lib/modules/6.6.119-51.5.oc9.aarch64/build + '[' '!' -f /lib/modules/6.6.119-51.5.oc9.aarch64/build/Makefile ']' + echo 'Using kernel build tree: /lib/modules/6.6.119-51.5.oc9.aarch64/build' + cd /builddir/build/BUILD/ubturbo-1.0.0/plugins/ubdma/src ++ nproc + make -j8 -C /lib/modules/6.6.119-51.5.oc9.aarch64/build M=/builddir/build/BUILD/ubturbo-1.0.0/plugins/ubdma/src modules make: Entering directory '/usr/src/kernels/6.6.119-51.5.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-6) You are using: gcc (Tencent Compiler 12.3.1.8) 12.3.1 20230912 (OpenCloudOS 12.3.1.8-8) CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/ubdma/src/urma.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/ubdma/src/ub_dma_main.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/ubdma/src/ub_virt_dma.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/ubdma/src/segment_manager.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/ubdma/src/memory_notify.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/ubdma/src/ub_dma_iomem.o LD [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/ubdma/src/ub_dma.o MODPOST /builddir/build/BUILD/ubturbo-1.0.0/plugins/ubdma/src/Module.symvers CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/ubdma/src/ub_dma.mod.o LD [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/ubdma/src/ub_dma.ko BTF [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/ubdma/src/ub_dma.ko Skipping BTF generation for /builddir/build/BUILD/ubturbo-1.0.0/plugins/ubdma/src/ub_dma.ko due to unavailability of vmlinux make: Leaving directory '/usr/src/kernels/6.6.119-51.5.oc9.aarch64' + cd /builddir/build/BUILD + cd /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers ++ nproc + make -j8 -C /lib/modules/6.6.119-51.5.oc9.aarch64/build M=/builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers modules make: Entering directory '/usr/src/kernels/6.6.119-51.5.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-6) You are using: gcc (Tencent Compiler 12.3.1.8) 12.3.1 20230912 (OpenCloudOS 12.3.1.8-8) CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/core.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/bus.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/access_iomem.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/access_acpi_helper.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/access_acpi_mem.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/smap_hist_mid.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/hist_ops.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/hist_tracking.o In file included from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/access_acpi_mem.c:9: /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/check.h:22: warning: "MAX" redefined 22 | #define MAX(a, b) ((a) >= (b) ? (a) : (b)) | In file included from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/access_iomem.c:17: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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 ./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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/drivers/access_iomem.h:13, from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/hist_ops.c:24: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/drivers/accessed_bit.o In file included from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/hist_tracking.c:24: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/drivers/access_ioctl.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/access_pid.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/access_mmu.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/access_tracking.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/kvm_pgtable.o In file included from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/access_iomem.c:17: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/drivers/access_tracking_wrapper.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/memory_notifier.o In file included from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/access_pid.h:12, from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/accessed_bit.c:34: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/drivers/access_iomem.h:13, from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/access_acpi_mem.h:10, from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/access_ioctl.c:15: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/drivers/access_mmu.c:16: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/drivers/access_pid.c:16: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/drivers/access_tracking.c:24: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/drivers/memory_notifier.c:13: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/drivers/ub_hist.o LD [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/smap_tracking_core.o In file included from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/access_tracking.c:24: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/drivers/access_mmu.c:16: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/drivers/access_pid.c:16: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/drivers/access_pid.h:12, from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/accessed_bit.c:34: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/drivers/smap_access_tracking.o LD [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/smap_histogram_tracking.o MODPOST /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/Module.symvers CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/smap_tracking_core.mod.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/smap_access_tracking.mod.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/smap_histogram_tracking.mod.o LD [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/smap_tracking_core.ko LD [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/smap_access_tracking.ko BTF [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/smap_tracking_core.ko Skipping BTF generation for /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/smap_tracking_core.ko due to unavailability of vmlinux LD [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/smap_histogram_tracking.ko BTF [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/smap_access_tracking.ko Skipping BTF generation for /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/smap_access_tracking.ko due to unavailability of vmlinux BTF [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/smap_histogram_tracking.ko Skipping BTF generation for /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/smap_histogram_tracking.ko due to unavailability of vmlinux make: Leaving directory '/usr/src/kernels/6.6.119-51.5.oc9.aarch64' + cp /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/drivers/Module.symvers /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/depends + cd /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering ++ nproc + make -j8 -C /lib/modules/6.6.119-51.5.oc9.aarch64/build M=/builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering modules make: Entering directory '/usr/src/kernels/6.6.119-51.5.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-6) You are using: gcc (Tencent Compiler 12.3.1.8) 12.3.1 20230912 (OpenCloudOS 12.3.1.8-8) CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/rmap.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/ksm.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/smap_migrate_wrapper.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/smap_migrate_pages.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/migrate_task.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/pid_ioctl.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/migrate_back_debugfs.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/work.o In file included from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/smap_msg.h:13, from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/migrate_back_debugfs.h:14, from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/migrate_task.c:9: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/tiering/smap_msg.h:13, from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/migrate_back_debugfs.h:14, from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/migrate_back_debugfs.c:15: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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) | In file included from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/work.h:10, from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/pid_ioctl.c:13: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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) | /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/plugins/smap/src/tiering/smap_msg.h:13, from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/work.c:7: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/tiering/numa.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/acpi_helper.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/acpi_mem.o In file included from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/acpi_mem.h:10, from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/smap_migrate_pages.c:19: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/tiering/mig_init.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/tracking_manage.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/smap_debugfs.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/dump_info.o In file included from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/smap_msg.h:13, from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/numa.c:10: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/tiering/mig_init.c:18: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/tiering/iomem.o In file included from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/smap_msg.h:13, from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/acpi_mem.c:9: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/tiering/dump_info.h:10, from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/tracking_manage.c:25: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/tiering/smap_msg.h:13, from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/dump_info.c:12: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/tiering/smap_msg.h:13, from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/dump_info.c:12: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/tiering/smap_msg.h:13, from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/iomem.c:23: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/tiering/dump_info.h:10, from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/tracking_manage.c:25: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/tiering/smap_tiering.o MODPOST /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/Module.symvers CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/smap_tiering.mod.o LD [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/smap_tiering.ko BTF [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/smap_tiering.ko Skipping BTF generation for /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/tiering/smap_tiering.ko due to unavailability of vmlinux make: Leaving directory '/usr/src/kernels/6.6.119-51.5.oc9.aarch64' + cd /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/ucache ++ nproc + make -j8 -C /lib/modules/6.6.119-51.5.oc9.aarch64/build M=/builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/ucache modules make: Entering directory '/usr/src/kernels/6.6.119-51.5.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-6) You are using: gcc (Tencent Compiler 12.3.1.8) 12.3.1 20230912 (OpenCloudOS 12.3.1.8-8) CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/ucache/core.o CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/ucache/ucache_migrate.o LD [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/ucache/ucache.o MODPOST /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/ucache/Module.symvers CC [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/ucache/ucache.mod.o LD [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/ucache/ucache.ko BTF [M] /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/ucache/ucache.ko Skipping BTF generation for /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/ucache/ucache.ko due to unavailability of vmlinux make: Leaving directory '/usr/src/kernels/6.6.119-51.5.oc9.aarch64' + rm -f /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/3rdparty -- 3rdparty bin dir /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/output/3rdparty -- target install dir /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/plugins/smap + sed -i 's/-Wl,-Bstatic -lspdlog -Wl,-Bdynamic/-lspdlog/g' /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/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/ulog.cpp.o [ 40%] Building C object src/user/user_log/CMakeFiles/user_log.dir/smap_user_log/smap_user_log.c.o [ 40%] Building CXX object src/user/user_log/CMakeFiles/user_log.dir/ulog/src/ulog4c.cpp.o [ 44%] Linking CXX static library libuser_log.a [ 44%] Built target user_log [ 62%] Building C object src/user/CMakeFiles/smap.dir/smap_interface.c.o [ 62%] Building C object src/user/CMakeFiles/smap.dir/manage/manage.c.o [ 62%] Building C object src/user/CMakeFiles/smap.dir/manage/access_ioctl.c.o [ 62%] Building C object src/user/CMakeFiles/smap.dir/manage/oom_migrate.c.o [ 62%] Building C object src/user/CMakeFiles/smap.dir/manage/device.c.o [ 66%] Building C object src/user/CMakeFiles/smap.dir/smap_inner_interface.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/thread.c.o /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/smap_interface.c: In function 'AddProcessNumaBitMap': /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/plugins/smap/src/user/smap_interface.c: In function 'CheckMigrateBackMsg': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/smap_interface.c:657:28: warning: unused variable 'manager' [-Wunused-variable] 657 | struct ProcessManager *manager = GetProcessManager(); | ^~~~~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/smap_interface.c: In function 'ubturbo_smap_start': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/smap_interface.c:1028:9: warning: unused variable 'lockFd' [-Wunused-variable] 1028 | int lockFd; | ^~~~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c: In function 'RemoteNumaInfoInit': /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/plugins/smap/src/user/smap_interface.c: In function 'CheckQueryVMFreqMsgValid': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/oom_migrate.c: In function 'OomGetPaddr': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/oom_migrate.c:23:9: warning: unused variable 'ret' [-Wunused-variable] 23 | int ret; | ^~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/smap_interface.c:1191:28: warning: unused variable 'manager' [-Wunused-variable] 1191 | struct ProcessManager *manager = GetProcessManager(); | ^~~~~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c: In function 'FreeProceccesAttr': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/oom_migrate.c: In function 'GetPaddrsFromPagemap': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/oom_migrate.c:64:9: warning: unused variable 'i' [-Wunused-variable] 64 | int i; | ^ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c:220:9: warning: the comparison will always evaluate as 'true' for the address of 'actcData' will never be NULL [-Waddress] 220 | if (attr->scanAttr.actcData) { | ^~~~ In file included from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/device.h:17, from /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c:26: /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.h:196:15: note: 'actcData' declared here 196 | ActcData *actcData[MAX_NODES]; // actc数据 | ^~~~~~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/smap_interface.c: In function 'AddProcessTracking': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/smap_interface.c:1397:28: warning: unused variable 'pm' [-Wunused-variable] 1397 | struct ProcessManager *pm = GetProcessManager(); | ^~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c: In function 'FillActcByBitmap': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c:402:23: warning: unused variable 'paddr' [-Wunused-variable] 402 | uint64_t actcLen, paddr, freqSum = 0; | ^~~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c:400:12: warning: unused variable 'i' [-Wunused-variable] 400 | size_t i, nrFreq, nrBit, acidx = 0; | ^ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c: In function 'ParseMmapType': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c:522:9: warning: unused variable 'err' [-Wunused-variable] 522 | int err; | ^~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/smap_interface.c: In function 'CheckMigrateNumaMsg': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/smap_interface.c:1597:28: warning: unused variable 'manager' [-Wunused-variable] 1597 | struct ProcessManager *manager = GetProcessManager(); | ^~~~~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/smap_interface.c: In function 'CheckSameMigrateNumaMsg': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/smap_interface.c:1656:28: warning: unused variable 'manager' [-Wunused-variable] 1656 | struct ProcessManager *manager = GetProcessManager(); | ^~~~~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/smap_interface.c: In function 'GetAttrNidInitRatio': /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/plugins/smap/src/user/manage/manage.c: In function 'ParseBitmap': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c:1219:9: warning: unused variable 'nid' [-Wunused-variable] 1219 | int nid; | ^~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c: In function 'CheckAccountAndNrPage': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c:1338:16: warning: unused variable 'ratio' [-Wunused-variable] 1338 | double ratio; | ^~~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c: In function 'CalRemotePerLocal': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c:1422:9: warning: unused variable 'i' [-Wunused-variable] 1422 | int i, j; | ^ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c: In function 'CalNrPagesLocalTotalPerPid': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c:1444:12: warning: unused variable 'j' [-Wunused-variable] 1444 | int i, j; | ^ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c:1444:9: warning: unused variable 'i' [-Wunused-variable] 1444 | int i, j; | ^ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c:1443:14: warning: unused variable 'tmpRemoteNrPages' [-Wunused-variable] 1443 | uint32_t tmpRemoteNrPages; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c: In function 'CalNrPagesLocalTotal': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c:1456:9: warning: unused variable 'ret' [-Wunused-variable] 1456 | int ret; | ^~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c: In function 'CalRemoteNumaSizeAllocPerNuma': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c:1600:27: warning: unused variable 'remoteNumaInfo' [-Wunused-variable] 1600 | struct RemoteNumaInfo remoteNumaInfo = g_processManager.remoteNumaInfo; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c: In function 'SetPayloadValue': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c:2218:14: warning: unused variable 'srcMemSize' [-Wunused-variable] 2218 | uint64_t srcMemSize; | ^~~~~~~~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/smap_config.c: In function 'ChangeProcessConfig': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/smap_config.c:601:11: warning: unused variable 'processBase' [-Wunused-variable] 601 | char *processBase; | ^~~~~~~~~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/smap_config.c:600:11: warning: unused variable 'addr' [-Wunused-variable] 600 | char *addr; | ^~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/smap_config.c: In function 'ParseConfig': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/smap_config.c:659:15: warning: unused variable 'payloadLen' [-Wunused-variable] 659 | uint32_t *payloadLen; | ^~~~~~~~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/smap_config.c: In function 'ChangeRunMode': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/smap_config.c:740:29: warning: unused variable 'header' [-Wunused-variable] 740 | struct SmapConfigHeader header; | ^~~~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/smap_config.c:738:11: warning: unused variable 'numaBase' [-Wunused-variable] 738 | char *numaBase; | ^~~~~~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/smap_config.c:736:9: warning: unused variable 'ret' [-Wunused-variable] 736 | int ret; | ^~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/smap_config.c: In function 'SyncRunMode': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/smap_config.c:837:9: warning: unused variable 'nrLocalNuma' [-Wunused-variable] 837 | int nrLocalNuma = GetNrLocalNuma(); | ^~~~~~~~~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c: At top level: /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c:1709:13: warning: 'IsInPidArr' defined but not used [-Wunused-function] 1709 | static bool IsInPidArr(pid_t *pidArr, int len, pid_t pid) | ^~~~~~~~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c:777:13: warning: 'PrintProcessNuma' defined but not used [-Wunused-function] 777 | static void PrintProcessNuma(ProcessAttr *attr) | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c:197:13: warning: 'LinkedListAddSafe' defined but not used [-Wunused-function] 197 | 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 [ 88%] Building C object src/user/CMakeFiles/smap.dir/strategy/separate_strategy.c.o /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/virt.c: In function 'ReadDomainIdByPid': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/virt.c:84:11: warning: unused variable 'tmp' [-Wunused-variable] 84 | char *tmp; | ^~~ [ 92%] Building C object src/user/CMakeFiles/smap.dir/strategy/strategy.c.o /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/strategy/migration.c: In function 'AddMigList': /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/plugins/smap/src/user/strategy/migration.c:38:13: warning: unused variable 'j' [-Wunused-variable] 38 | ssize_t j; | ^ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/strategy/migration.c: In function 'InitMigrateMsg': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/strategy/migration.c:214:13: warning: unused variable 'type' [-Wunused-variable] 214 | PidType type = GetPidType(manager); | ^~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/strategy/separate_strategy.c: In function 'InitSeparateParam': /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/plugins/smap/src/user/strategy/migration.c: In function 'PrintMigSpeed': /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/plugins/smap/src/user/strategy/separate_strategy.c: In function 'CalcMigrateNumByFreq': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/strategy/separate_strategy.c:121:14: warning: unused variable 'freqNum' [-Wunused-variable] 121 | uint64_t freqNum; | ^~~~~~~ /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/user/strategy/separate_strategy.c: In function 'BaseStrategy': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/strategy/separate_strategy.c:205:15: warning: unused variable 'level' [-Wunused-variable] 205 | NodeLevel level; | ^~~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/strategy/migration.c: In function 'ScanMigrateWork': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/strategy/migration.c:646:18: warning: unused variable 'current' [-Wunused-variable] 646 | ProcessAttr *current; | ^~~~~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/strategy/separate_strategy.c: At top level: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/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-1.0.0/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-1.0.0/plugins/smap/src/user/advanced-strategy/scene.c: In function 'ConfigMultiVmRatioInGroups': /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/plugins/smap/src/user/advanced-strategy/scene.c: At top level: /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/plugins/smap/src/user/manage/manage.c:2297:9: /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c:2001:43: warning: 'remoteNidIndex' may be used uninitialized [-Wmaybe-uninitialized] 2001 | attr->migrateParam[remoteNidIndex].memSize -= memSize; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c: In function 'ChangePidRemoteByPid': /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/src/user/manage/manage.c:1988:13: note: 'remoteNidIndex' was declared here 1988 | int remoteNidIndex; | ^~~~~~~~~~~~~~ [100%] Linking CXX shared library libsmap.so [100%] Built target smap Install the project... -- Install configuration: "Release" -- Installing: /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/output/smap/lib/libsmap.so -- Installing: /builddir/build/BUILD/ubturbo-1.0.0/plugins/smap/output/smap/include/smap_interface.h + cd /builddir/build/BUILD/ubturbo-1.0.0 + bash -x build.sh -c + set -o errtrace + set -o errexit ++ readlink -f build.sh + SCRIPT_DIR=/builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0 + output_dir=/builddir/build/BUILD/ubturbo-1.0.0/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 Ninja is installed. Generator set to: Ninja + [[ false != true ]] + jobs=6 + command -v 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-09-15 14:59]: build.sh -c + echo '[2026-09-15' '14:59]:' build.sh -c ++ date +%s.%N + START_TIME=1789455592.863242953 + cd /builddir/build/BUILD/ubturbo-1.0.0 + 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$ ]] Warning: Directory '/builddir/build/BUILD/ubturbo-1.0.0/dist/release' does not exist. + build_dir=/builddir/build/BUILD/ubturbo-1.0.0/dist/release + '[' -z /builddir/build/BUILD/ubturbo-1.0.0/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-1.0.0/dist/release ']' + echo 'Warning: Directory '\''/builddir/build/BUILD/ubturbo-1.0.0/dist/release'\'' does not exist.' + [[ ! -d /builddir/build/BUILD/ubturbo-1.0.0/dist/release ]] + mkdir -p /builddir/build/BUILD/ubturbo-1.0.0/dist/release Directory /builddir/build/BUILD/ubturbo-1.0.0/dist/release has been recreated. + echo 'Directory /builddir/build/BUILD/ubturbo-1.0.0/dist/release has been recreated.' + '[' '!' -d /builddir/build/BUILD/ubturbo-1.0.0/dist/release ']' + log_info '***** start build_cmake *****' + LOG_FILE=/builddir/build/BUILD/ubturbo-1.0.0/dist/release/build.log + '[' 1 -lt 1 ']' ++ date '+%F %T' + echo '2026-09-15 14:59:52 [INFO] ***** start build_cmake *****' ++ date '+%F %T' 2026-09-15 14:59:52 [INFO] ***** start build_cmake ***** + echo '2026-09-15 14:59:52 [INFO] ***** start build_cmake *****' + log_info 'building target all.' + LOG_FILE=/builddir/build/BUILD/ubturbo-1.0.0/dist/release/build.log + '[' 1 -lt 1 ']' ++ date '+%F %T' + echo '2026-09-15 14:59:52 [INFO] building target all.' ++ date '+%F %T' + echo '2026-09-15 14:59:52 [INFO] building target all.' 2026-09-15 14:59:52 [INFO] building target all. + [[ Ninja == \N\i\n\j\a ]] + force_colored_output=ON + cmake -S . -B /builddir/build/BUILD/ubturbo-1.0.0/dist/release -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=17 -DCMAKE_TOOLCHAIN_FILE= -DCMAKE_INSTALL_PREFIX=/builddir/build/BUILD/ubturbo-1.0.0/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 CMake Error at CMakeLists.txt:145 (file): file failed to open for reading (No such file or directory): /etc/openEuler-release -- OS_VERSION = oesp -- Configuring incomplete, errors occurred! ++ trap_error 318 ================================================================= Error occurred in script at line: /builddir/build/BUILD/ubturbo-1.0.0/build.sh:318 Error occurred in command: cmake -S . -B "${build_dir}" -G "${generator}" "${trans_params[@]}" -DCMAKE_BUILD_TYPE=${build_type} -DCMAKE_CXX_STANDARD="${std}" -DCMAKE_TOOLCHAIN_FILE="${toolchain_file}" -DCMAKE_INSTALL_PREFIX=${build_dir}/install -DBUILD_TESTS=${enable_test} -DENABLE_COVERAGE=${enable_coverage} -DASAN_BUILD=${enable_asan} -DLSAN_BUILD=${enable_lsan} -DTSAN_BUILD=${enable_tsan} -DUBSAN_BUILD=${enable_ubsan} -DFORCE_COLORED_OUTPUT=${force_colored_output} Call stack: build_cmake at line 318 main at line 363 ++ echo ================================================================= ++ echo 'Error occurred in script at line: /builddir/build/BUILD/ubturbo-1.0.0/build.sh:318' ++ echo 'Error occurred in command: cmake -S . -B "${build_dir}" -G "${generator}" "${trans_params[@]}" -DCMAKE_BUILD_TYPE=${build_type} -DCMAKE_CXX_STANDARD="${std}" -DCMAKE_TOOLCHAIN_FILE="${toolchain_file}" -DCMAKE_INSTALL_PREFIX=${build_dir}/install -DBUILD_TESTS=${enable_test} -DENABLE_COVERAGE=${enable_coverage} -DASAN_BUILD=${enable_asan} -DLSAN_BUILD=${enable_lsan} -DTSAN_BUILD=${enable_tsan} -DUBSAN_BUILD=${enable_ubsan} -DFORCE_COLORED_OUTPUT=${force_colored_output}' ++ echo 'Call stack:' ++ for i in "${!FUNCNAME[@]}" ++ [[ 318 != \0 ]] ++ echo ' build_cmake at line 318' ++ for i in "${!FUNCNAME[@]}" ++ [[ 363 != \0 ]] ++ echo ' main at line 363' ++ for i in "${!FUNCNAME[@]}" ++ [[ 0 != \0 ]] ++ echo ================================================================= ++ exit 1 + cd /builddir/build/BUILD/ubturbo-1.0.0 + echo 'Script exited with status 0' + exit ================================================================= Script exited with status 0 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.smjZDz (%build) Bad exit status from /var/tmp/rpm-tmp.smjZDz (%build) 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