# # 2024-11-12T17:00:54.302784 # # make KBUILD_BUILD_USER=KernelCI ARCH=arm64 LLVM=1 CROSS_COMPILE=aarch64-linux-gnu- CROSS_COMPILE_COMPAT=arm-linux-gnueabihf- CC="ccache clang" O=/tmp/kci/linux/build -C/tmp/kci/linux -j34 headers # make: Entering directory '/tmp/kci/linux' make[1]: Entering directory '/tmp/kci/linux/build' make[1]: Leaving directory '/tmp/kci/linux/build' make: Leaving directory '/tmp/kci/linux' # # 2024-11-12T17:00:54.519048 # # make KBUILD_BUILD_USER=KernelCI FORMAT=.xz ARCH=arm64 LLVM=1 CROSS_COMPILE=aarch64-linux-gnu- CROSS_COMPILE_COMPAT=arm-linux-gnueabihf- CC="ccache clang" O=/tmp/kci/linux/build -C/tmp/kci/linux/tools/testing/selftests -j34 gen_tar # make: Entering directory '/tmp/kci/linux/tools/testing/selftests' make --no-builtin-rules INSTALL_HDR_PATH=$BUILD/usr \ ARCH=arm64 -C ../../.. headers_install make[1]: Entering directory '/tmp/kci/linux' make[2]: Entering directory '/tmp/kci/linux/build' INSTALL /tmp/kci/linux/build/kselftest/usr/include make[2]: Leaving directory '/tmp/kci/linux/build' make[1]: Leaving directory '/tmp/kci/linux' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/arm64' make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/arm64' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. ccache clang -Wall -O2 -g -I/tmp/kci/linux/tools/testing/selftests/ -I/tmp/kci/linux/usr/include -I../../../../../usr/include/ tags_test.c -o /tmp/kci/linux/build/kselftest/arm64/tags/tags_test make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/arm64/tags' make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/arm64' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. ccache clang -Wall -O2 -g -I/tmp/kci/linux/tools/testing/selftests/ -I/tmp/kci/linux/usr/include -D_GNU_SOURCE -std=gnu99 -I. test_signals.c test_signals_utils.c testcases/testcases.c signals.S testcases/fake_sigreturn_bad_magic.c test_signals.h test_signals_utils.h testcases/testcases.h -o testcases/fake_sigreturn_bad_magic clang: error: cannot specify -o when generating multiple output files make[2]: *** [Makefile:28: testcases/fake_sigreturn_bad_magic] Error 1 make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/arm64/signal' make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/arm64' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/arm64/pauth' make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/arm64' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. ccache clang -Wall -O2 -g -I/tmp/kci/linux/tools/testing/selftests/ -I/tmp/kci/linux/usr/include -I../../../../../usr/include/ -c -o sve-ptrace.o sve-ptrace.c In file included from sve-ptrace.c:17: /usr/include/x86_64-linux-gnu/asm/sigcontext.h:40:8: error: redefinition of '_fpx_sw_bytes' 40 | struct _fpx_sw_bytes { | ^ /usr/include/x86_64-linux-gnu/bits/sigcontext.h:31:8: note: previous definition is here 31 | struct _fpx_sw_bytes | ^ In file included from sve-ptrace.c:17: /usr/include/x86_64-linux-gnu/asm/sigcontext.h:85:8: error: redefinition of '_fpreg' 85 | struct _fpreg { | ^ /usr/include/x86_64-linux-gnu/bits/sigcontext.h:40:8: note: previous definition is here 40 | struct _fpreg | ^ In file included from sve-ptrace.c:17: /usr/include/x86_64-linux-gnu/asm/sigcontext.h:91:8: error: redefinition of '_fpxreg' 91 | struct _fpxreg { | ^ /usr/include/x86_64-linux-gnu/bits/sigcontext.h:46:8: note: previous definition is here 46 | struct _fpxreg | ^ In file included from sve-ptrace.c:17: /usr/include/x86_64-linux-gnu/asm/sigcontext.h:98:8: error: redefinition of '_xmmreg' 98 | struct _xmmreg { | ^ /usr/include/x86_64-linux-gnu/bits/sigcontext.h:53:8: note: previous definition is here 53 | struct _xmmreg | ^ In file included from sve-ptrace.c:17: /usr/include/x86_64-linux-gnu/asm/sigcontext.h:180:8: error: redefinition of '_ymmh_state' 180 | struct _ymmh_state { | ^ /usr/include/x86_64-linux-gnu/bits/sigcontext.h:184:8: note: previous definition is here 184 | struct _ymmh_state | ^ In file included from sve-ptrace.c:17: /usr/include/x86_64-linux-gnu/asm/sigcontext.h:192:8: error: redefinition of '_xstate' 192 | struct _xstate { | ^ /usr/include/x86_64-linux-gnu/bits/sigcontext.h:189:8: note: previous definition is here 189 | struct _xstate | ^ In file included from sve-ptrace.c:17: /usr/include/x86_64-linux-gnu/asm/sigcontext.h:317:8: error: redefinition of 'sigcontext' 317 | struct sigcontext { | ^ /usr/include/x86_64-linux-gnu/bits/sigcontext.h:139:8: note: previous definition is here 139 | struct sigcontext | ^ sve-ptrace.c:73:21: error: invalid application of 'sizeof' to an incomplete type 'struct user_sve_header' 73 | size_t sz = sizeof *sve; | ^~~~ sve-ptrace.c:69:15: note: forward declaration of 'struct user_sve_header' 69 | static struct user_sve_header *get_sve(pid_t pid, void **buf, size_t *size) | ^ sve-ptrace.c:94:10: error: incomplete definition of type 'struct user_sve_header' 94 | if (sve->size <= sz) | ~~~^ sve-ptrace.c:69:15: note: forward declaration of 'struct user_sve_header' 69 | static struct user_sve_header *get_sve(pid_t pid, void **buf, size_t *size) | ^ sve-ptrace.c:97:11: error: incomplete definition of type 'struct user_sve_header' 97 | sz = sve->size; | ~~~^ sve-ptrace.c:69:15: note: forward declaration of 'struct user_sve_header' 69 | static struct user_sve_header *get_sve(pid_t pid, void **buf, size_t *size) | ^ sve-ptrace.c:111:19: error: incomplete definition of type 'struct user_sve_header' 111 | iov.iov_len = sve->size; | ~~~^ sve-ptrace.c:69:15: note: forward declaration of 'struct user_sve_header' 69 | static struct user_sve_header *get_sve(pid_t pid, void **buf, size_t *size) | ^ sve-ptrace.c:121:10: error: incomplete definition of type 'struct user_sve_header' 121 | if ((sve->flags & SVE_PT_REGS_MASK) != SVE_PT_REGS_SVE) | ~~~^ sve-ptrace.c:69:15: note: forward declaration of 'struct user_sve_header' 69 | static struct user_sve_header *get_sve(pid_t pid, void **buf, size_t *size) | ^ sve-ptrace.c:121:20: error: use of undeclared identifier 'SVE_PT_REGS_MASK' 121 | if ((sve->flags & SVE_PT_REGS_MASK) != SVE_PT_REGS_SVE) | ^ sve-ptrace.c:121:41: error: use of undeclared identifier 'SVE_PT_REGS_SVE' 121 | if ((sve->flags & SVE_PT_REGS_MASK) != SVE_PT_REGS_SVE) | ^ sve-ptrace.c:124:17: error: incomplete definition of type 'struct user_sve_header' 124 | if (vlmax > sve->vl) | ~~~^ sve-ptrace.c:69:15: note: forward declaration of 'struct user_sve_header' 69 | static struct user_sve_header *get_sve(pid_t pid, void **buf, size_t *size) | ^ sve-ptrace.c:125:14: error: incomplete definition of type 'struct user_sve_header' 125 | vlmax = sve->vl; | ~~~^ sve-ptrace.c:69:15: note: forward declaration of 'struct user_sve_header' 69 | static struct user_sve_header *get_sve(pid_t pid, void **buf, size_t *size) | ^ sve-ptrace.c:127:7: error: call to undeclared function 'sve_vq_from_vl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 127 | vq = sve_vq_from_vl(sve->vl); | ^ sve-ptrace.c:127:25: error: incomplete definition of type 'struct user_sve_header' 127 | vq = sve_vq_from_vl(sve->vl); | ~~~^ sve-ptrace.c:69:15: note: forward declaration of 'struct user_sve_header' 69 | static struct user_sve_header *get_sve(pid_t pid, void **buf, size_t *size) | ^ sve-ptrace.c:130:28: error: call to undeclared function 'SVE_PT_SVE_ZREG_OFFSET'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | dump((const char *)sve + SVE_PT_SVE_ZREG_OFFSET(vq, i), | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[2]: *** [: sve-ptrace.o] Error 1 make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/arm64/fp' make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/arm64' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. Makefile:27: compiler "ccache clang" does not support the ARMv8.5 MTE extension. Makefile:28: test program "mte" will not be created. make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/arm64/mte' make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/arm64' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. ccache clang -mbranch-protection=standard -DBTI=1 -ffreestanding -Wall -Wextra -Wall -O2 -g -I/tmp/kci/linux/tools/testing/selftests/ -I/tmp/kci/linux/usr/include -c -o test-bti.o test.c clang: error: unsupported option '-mbranch-protection=' for target 'x86_64-pc-linux-gnu' make[2]: *** [Makefile:22: test-bti.o] Error 1 make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/arm64/bti' make[1]: *** [Makefile:35: all] Error 2 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/arm64' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/breakpoints' ccache clang step_after_suspend_test.c -o /tmp/kci/linux/build/kselftest/breakpoints/step_after_suspend_test ccache clang breakpoint_test_arm64.c -o /tmp/kci/linux/build/kselftest/breakpoints/breakpoint_test_arm64 In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:74:3: error: expected identifier 74 | PTRACE_GETREGS = 12, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:68:35: note: expanded from macro 'PTRACE_GETREGS' 68 | #define PTRACE_GETREGS 12 | ^ In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:78:3: error: expected identifier 78 | PTRACE_SETREGS = 13, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:69:35: note: expanded from macro 'PTRACE_SETREGS' 69 | #define PTRACE_SETREGS 13 | ^ In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:82:3: error: expected identifier 82 | PTRACE_GETFPREGS = 14, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:70:35: note: expanded from macro 'PTRACE_GETFPREGS' 70 | #define PTRACE_GETFPREGS 14 | ^ In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:86:3: error: expected identifier 86 | PTRACE_SETFPREGS = 15, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:71:35: note: expanded from macro 'PTRACE_SETFPREGS' 71 | #define PTRACE_SETFPREGS 15 | ^ In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:98:3: error: expected identifier 98 | PTRACE_GETFPXREGS = 18, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:72:35: note: expanded from macro 'PTRACE_GETFPXREGS' 72 | #define PTRACE_GETFPXREGS 18 | ^ In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:102:3: error: expected identifier 102 | PTRACE_SETFPXREGS = 19, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:73:35: note: expanded from macro 'PTRACE_SETFPXREGS' 73 | #define PTRACE_SETFPXREGS 19 | ^ In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:110:3: error: expected identifier 110 | PTRACE_GET_THREAD_AREA = 25, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:78:35: note: expanded from macro 'PTRACE_GET_THREAD_AREA' 78 | #define PTRACE_GET_THREAD_AREA 25 | ^ In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:114:3: error: expected identifier 114 | PTRACE_SET_THREAD_AREA = 26, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:79:35: note: expanded from macro 'PTRACE_SET_THREAD_AREA' 79 | #define PTRACE_SET_THREAD_AREA 26 | ^ In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:119:3: error: expected identifier 119 | PTRACE_ARCH_PRCTL = 30, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:82:30: note: expanded from macro 'PTRACE_ARCH_PRCTL' 82 | # define PTRACE_ARCH_PRCTL 30 | ^ In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:124:3: error: expected identifier 124 | PTRACE_SYSEMU = 31, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:85:26: note: expanded from macro 'PTRACE_SYSEMU' 85 | #define PTRACE_SYSEMU 31 | ^ In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:128:3: error: expected identifier 128 | PTRACE_SYSEMU_SINGLESTEP = 32, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:86:35: note: expanded from macro 'PTRACE_SYSEMU_SINGLESTEP' 86 | #define PTRACE_SYSEMU_SINGLESTEP 32 | ^ In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:132:3: error: expected identifier 132 | PTRACE_SINGLEBLOCK = 33, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:88:28: note: expanded from macro 'PTRACE_SINGLEBLOCK' 88 | #define PTRACE_SINGLEBLOCK 33 /* resume execution until next branch */ | ^ breakpoint_test_arm64.c:89:28: error: variable has incomplete type 'struct user_hwdebug_state' 89 | struct user_hwdebug_state dreg_state; | ^ breakpoint_test_arm64.c:89:9: note: forward declaration of 'struct user_hwdebug_state' 89 | struct user_hwdebug_state dreg_state; | ^ breakpoint_test_arm64.c:96:16: error: offsetof of incomplete type 'struct user_hwdebug_state' 96 | iov.iov_len = offsetof(struct user_hwdebug_state, dbg_regs) + | ^ ~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stddef.h:116:24: note: expanded from macro 'offsetof' 116 | #define offsetof(t, d) __builtin_offsetof(t, d) | ^ ~ breakpoint_test_arm64.c:89:9: note: forward declaration of 'struct user_hwdebug_state' 89 | struct user_hwdebug_state dreg_state; | ^ 14 errors generated. make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/breakpoints/breakpoint_test_arm64] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/breakpoints' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/capabilities' ccache clang -O2 -g -std=gnu99 -Wall test_execve.c -lcap-ng -lrt -ldl -o /tmp/kci/linux/build/kselftest/capabilities/test_execve ccache clang -O2 -g -std=gnu99 -Wall validate_cap.c -lcap-ng -lrt -ldl -o /tmp/kci/linux/build/kselftest/capabilities/validate_cap test_execve.c:121:13: warning: variable 'have_outer_privilege' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 121 | } else if (unshare(CLONE_NEWUSER | CLONE_NEWNS) == 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test_execve.c:136:9: note: uninitialized use occurs here 136 | return have_outer_privilege; | ^~~~~~~~~~~~~~~~~~~~ test_execve.c:121:9: note: remove the 'if' if its condition is always true 121 | } else if (unshare(CLONE_NEWUSER | CLONE_NEWNS) == 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 122 | ksft_print_msg("[NOTE]\tUsing a user namespace for tests\n"); 123 | maybe_write_file("/proc/self/setgroups", "deny"); 124 | write_file("/proc/self/uid_map", "%d %d 1", inner_uid, outer_uid); 125 | write_file("/proc/self/gid_map", "0 %d 1", outer_gid); 126 | 127 | have_outer_privilege = false; 128 | } else { | ~~~~~~ 129 | ksft_exit_skip("must be root or be able to create a userns\n"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 130 | } | ~ test_execve.c:94:27: note: initialize the variable 'have_outer_privilege' to silence this warning 94 | bool have_outer_privilege; | ^ | = false /usr/bin/ld: cannot find -lcap-ng: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/capabilities/validate_cap] Error 1 make[1]: *** Waiting for unfinished jobs.... 1 warning generated. /usr/bin/ld: cannot find -lcap-ng: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/capabilities/test_execve] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/capabilities' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/cgroup' ccache clang -Wall -pthread test_memcontrol.c cgroup_util.c ../clone3/clone3_selftests.h -o /tmp/kci/linux/build/kselftest/cgroup/test_memcontrol ccache clang -Wall -pthread test_kmem.c cgroup_util.c ../clone3/clone3_selftests.h -o /tmp/kci/linux/build/kselftest/cgroup/test_kmem ccache clang -Wall -pthread test_core.c cgroup_util.c ../clone3/clone3_selftests.h -o /tmp/kci/linux/build/kselftest/cgroup/test_core ccache clang -Wall -pthread test_freezer.c cgroup_util.c ../clone3/clone3_selftests.h -o /tmp/kci/linux/build/kselftest/cgroup/test_freezer ccache clang -Wall -pthread test_kill.c cgroup_util.c ../clone3/clone3_selftests.h ../pidfd/pidfd.h -o /tmp/kci/linux/build/kselftest/cgroup/test_kill clangclang: : error: cannot specify -o when generating multiple output fileserror: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/cgroup/test_memcontrol] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/cgroup/test_kmem] Error 1 make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/cgroup/test_freezer] Error 1 make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/cgroup/test_core] Error 1 make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/cgroup/test_kill] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/cgroup' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/clone3' ccache clang -g -std=gnu99 -I../../../../usr/include/ clone3.c -lcap -o /tmp/kci/linux/build/kselftest/clone3/clone3 ccache clang -g -std=gnu99 -I../../../../usr/include/ clone3_clear_sighand.c -lcap -o /tmp/kci/linux/build/kselftest/clone3/clone3_clear_sighand ccache clang -g -std=gnu99 -I../../../../usr/include/ clone3_set_tid.c -lcap -o /tmp/kci/linux/build/kselftest/clone3/clone3_set_tid ccache clang -g -std=gnu99 -I../../../../usr/include/ clone3_cap_checkpoint_restore.c -lcap -o /tmp/kci/linux/build/kselftest/clone3/clone3_cap_checkpoint_restore /usr/bin/ld: cannot find -lcap: No such file or directory /usr/bin/ld: cannot find -lcap: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) clang: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/ld: cannot find -lcap: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/ld: cannot find -lcap: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/clone3/clone3_clear_sighand] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/clone3/clone3] Error 1 make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/clone3/clone3_set_tid] Error 1 make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/clone3/clone3_cap_checkpoint_restore] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/clone3' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/core' ccache clang -g -I../../../../usr/include/ close_range_test.c -o /tmp/kci/linux/build/kselftest/core/close_range_test make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/core' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/cpufreq' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/cpufreq' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/cpu-hotplug' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/cpu-hotplug' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/damon' ccache clang huge_count_read_write.c -o /tmp/kci/linux/build/kselftest/damon/huge_count_read_write make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/damon' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/drivers/dma-buf' ccache clang -I../../../../../usr/include/ udmabuf.c -o /tmp/kci/linux/build/kselftest/drivers/dma-buf/udmabuf make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/drivers/dma-buf' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/efivarfs' ccache clang -Wall open-unlink.c -o /tmp/kci/linux/build/kselftest/efivarfs/open-unlink ccache clang -Wall create-read.c -o /tmp/kci/linux/build/kselftest/efivarfs/create-read make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/efivarfs' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/exec' ccache clang -Wall -Wno-nonnull -D_GNU_SOURCE execveat.c -o /tmp/kci/linux/build/kselftest/exec/execveat ccache clang -Wall -Wno-nonnull -D_GNU_SOURCE -Wl,-z,max-page-size=0x1000 -pie -static load_address.c -o /tmp/kci/linux/build/kselftest/exec/load_address_4096 ccache clang -Wall -Wno-nonnull -D_GNU_SOURCE -Wl,-z,max-page-size=0x200000 -pie -static load_address.c -o /tmp/kci/linux/build/kselftest/exec/load_address_2097152 ccache clang -Wall -Wno-nonnull -D_GNU_SOURCE -Wl,-z,max-page-size=0x1000000 -pie -static load_address.c -o /tmp/kci/linux/build/kselftest/exec/load_address_16777216 ccache clang -Wall -Wno-nonnull -D_GNU_SOURCE non-regular.c -o /tmp/kci/linux/build/kselftest/exec/non-regular ccache clang -Wall -Wno-nonnull -D_GNU_SOURCE recursion-depth.c -o /tmp/kci/linux/build/kselftest/exec/recursion-depth echo '#!/bin/sh' > /tmp/kci/linux/build/kselftest/exec/script mkdir -p /tmp/kci/linux/build/kselftest/exec/subdir echo 'exit $*' >> /tmp/kci/linux/build/kselftest/exec/script chmod +x /tmp/kci/linux/build/kselftest/exec/script clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument] cd /tmp/kci/linux/build/kselftest/exec && ln -s -f execveat execveat.symlink cp /tmp/kci/linux/build/kselftest/exec/execveat /tmp/kci/linux/build/kselftest/exec/execveat.denatured chmod -x /tmp/kci/linux/build/kselftest/exec/execveat.denatured make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/exec' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/filesystems' ccache clang -I../../../../usr/include/ devpts_pts.c -o /tmp/kci/linux/build/kselftest/filesystems/devpts_pts ccache clang -I../../../../usr/include/ dnotify_test.c -o /tmp/kci/linux/build/kselftest/filesystems/dnotify_test make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/filesystems' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/filesystems/binderfs' ccache clang -I../../../../../usr/include/ -pthread binderfs_test.c -o /tmp/kci/linux/build/kselftest/filesystems/binderfs/binderfs_test make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/filesystems/binderfs' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/filesystems/epoll' ccache clang -I../../../../../usr/include/ epoll_wakeup_test.c -lpthread -o /tmp/kci/linux/build/kselftest/filesystems/epoll/epoll_wakeup_test make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/filesystems/epoll' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/firmware' ccache clang -Wall -O2 fw_namespace.c -o /tmp/kci/linux/build/kselftest/firmware/fw_namespace make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/firmware' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/fpu' ccache clang test_fpu.c -lm -o /tmp/kci/linux/build/kselftest/fpu/test_fpu make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/fpu' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/ftrace' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/ftrace' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/futex' make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/futex/functional' ccache clang -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ -I../../../../../usr/include/ -I/kselftest/usr/include futex_wait_timeout.c -lpthread -lrt -o /tmp/kci/linux/build/kselftest/futex/functional/futex_wait_timeout ccache clang -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ -I../../../../../usr/include/ -I/kselftest/usr/include futex_wait_wouldblock.c -lpthread -lrt -o /tmp/kci/linux/build/kselftest/futex/functional/futex_wait_wouldblock ccache clang -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ -I../../../../../usr/include/ -I/kselftest/usr/include futex_requeue_pi.c -lpthread -lrt -o /tmp/kci/linux/build/kselftest/futex/functional/futex_requeue_pi ccache clang -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ -I../../../../../usr/include/ -I/kselftest/usr/include futex_requeue_pi_signal_restart.c -lpthread -lrt -o /tmp/kci/linux/build/kselftest/futex/functional/futex_requeue_pi_signal_restart ccache clang -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ -I../../../../../usr/include/ -I/kselftest/usr/include futex_requeue_pi_mismatched_ops.c -lpthread -lrt -o /tmp/kci/linux/build/kselftest/futex/functional/futex_requeue_pi_mismatched_ops ccache clang -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ -I../../../../../usr/include/ -I/kselftest/usr/include futex_wait_uninitialized_heap.c -lpthread -lrt -o /tmp/kci/linux/build/kselftest/futex/functional/futex_wait_uninitialized_heap ccache clang -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ -I../../../../../usr/include/ -I/kselftest/usr/include futex_wait_private_mapped_file.c -lpthread -lrt -o /tmp/kci/linux/build/kselftest/futex/functional/futex_wait_private_mapped_file ccache clang -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ -I../../../../../usr/include/ -I/kselftest/usr/include futex_wait.c -lpthread -lrt -o /tmp/kci/linux/build/kselftest/futex/functional/futex_wait ccache clang -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ -I../../../../../usr/include/ -I/kselftest/usr/include futex_requeue.c -lpthread -lrt -o /tmp/kci/linux/build/kselftest/futex/functional/futex_requeue make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/futex/functional' make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/futex' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/gpio' ccache clang -I../../../../usr/include gpio-mockup-cdev.c -o /tmp/kci/linux/build/kselftest/gpio/gpio-mockup-cdev make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/gpio' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/intel_pstate' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/intel_pstate' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/ipc' ccache clang -I../../../../usr/include/ msgque.c -o /tmp/kci/linux/build/kselftest/ipc/msgque make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/ipc' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/ir' ccache clang -Wall -O2 -I../../../include/uapi ir_loopback.c -o /tmp/kci/linux/build/kselftest/ir/ir_loopback make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/ir' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/kcmp' ccache clang -I../../../../usr/include/ kcmp_test.c -o /tmp/kci/linux/build/kselftest/kcmp/kcmp_test make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/kcmp' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/kexec' make[1]: *** No targets. Stop. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/kexec' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/kvm' ccache clang -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 -fno-stack-protector -fno-PIE -I../../../../tools/include -I../../../../tools/arch/arm64/include -I../../../../usr/include/ -Iinclude -Ilib -Iinclude/aarch64 -I.. -c lib/assert.c -o /tmp/kci/linux/build/kselftest/kvm/lib/assert.o ccache clang -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 -fno-stack-protector -fno-PIE -I../../../../tools/include -I../../../../tools/arch/arm64/include -I../../../../usr/include/ -Iinclude -Ilib -Iinclude/aarch64 -I.. -c lib/elf.c -o /tmp/kci/linux/build/kselftest/kvm/lib/elf.o ccache clang -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 -fno-stack-protector -fno-PIE -I../../../../tools/include -I../../../../tools/arch/arm64/include -I../../../../usr/include/ -Iinclude -Ilib -Iinclude/aarch64 -I.. -c lib/io.c -o /tmp/kci/linux/build/kselftest/kvm/lib/io.o ccache clang -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 -fno-stack-protector -fno-PIE -I../../../../tools/include -I../../../../tools/arch/arm64/include -I../../../../usr/include/ -Iinclude -Ilib -Iinclude/aarch64 -I.. -c lib/kvm_util.c -o /tmp/kci/linux/build/kselftest/kvm/lib/kvm_util.o In file included from lib/kvm_util.c:12: include/aarch64/processor.h:62:63: warning: declaration of 'struct kvm_vcpu_init' will not be visible outside of this function [-Wvisibility] 62 | void aarch64_vcpu_setup(struct kvm_vm *vm, int vcpuid, struct kvm_vcpu_init *init); | ^ include/aarch64/processor.h:64:17: warning: declaration of 'struct kvm_vcpu_init' will not be visible outside of this function [-Wvisibility] 64 | struct kvm_vcpu_init *init, void *guest_code); | ^ lib/kvm_util.c:267:3: error: call to undeclared function 'kvm_get_cpu_address_width'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 267 | kvm_get_cpu_address_width(&vm->pa_bits, &vm->va_bits); | ^ 2 warnings and 1 error generated. make[1]: *** [Makefile:153: /tmp/kci/linux/build/kselftest/kvm/lib/kvm_util.o] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/kvm' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/landlock' ccache clang -Wall -O2 base_test.c -o /tmp/kci/linux/build/kselftest/landlock/base_test -lcap -I../../../../usr/include /usr/bin/ld: cannot find -lcap: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [Makefile:24: /tmp/kci/linux/build/kselftest/landlock/base_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/landlock' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/lib' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/livepatch' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/livepatch' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/lkdtm' install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/PANIC.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/BUG.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/WARNING.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/WARNING_MESSAGE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/EXCEPTION.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/LOOP.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/EXHAUST_STACK.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/CORRUPT_STACK.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/CORRUPT_STACK_STRONG.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/ARRAY_BOUNDS.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/CORRUPT_LIST_ADD.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/CORRUPT_LIST_DEL.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/STACK_GUARD_PAGE_LEADING.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/STACK_GUARD_PAGE_TRAILING.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/UNSET_SMEP.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/DOUBLE_FAULT.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/CORRUPT_PAC.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/UNALIGNED_LOAD_STORE_WRITE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/SLAB_LINEAR_OVERFLOW.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/VMALLOC_LINEAR_OVERFLOW.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/WRITE_AFTER_FREE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/READ_AFTER_FREE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/WRITE_BUDDY_AFTER_FREE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/READ_BUDDY_AFTER_FREE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/SLAB_INIT_ON_ALLOC.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/BUDDY_INIT_ON_ALLOC.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/SLAB_FREE_DOUBLE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/SLAB_FREE_CROSS.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/SLAB_FREE_PAGE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/SOFTLOCKUP.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/HARDLOCKUP.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/SPINLOCKUP.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/HUNG_TASK.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_DATA.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_STACK.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_KMALLOC.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_VMALLOC.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_RODATA.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_USERSPACE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_NULL.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/ACCESS_USERSPACE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/ACCESS_NULL.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/WRITE_RO.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/WRITE_RO_AFTER_INIT.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/WRITE_KERN.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_INC_OVERFLOW.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_ADD_OVERFLOW.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_INC_NOT_ZERO_OVERFLOW.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_ADD_NOT_ZERO_OVERFLOW.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_DEC_ZERO.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_DEC_NEGATIVE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_DEC_AND_TEST_NEGATIVE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_SUB_AND_TEST_NEGATIVE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_INC_ZERO.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_ADD_ZERO.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_INC_SATURATED.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_DEC_SATURATED.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_ADD_SATURATED.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_INC_NOT_ZERO_SATURATED.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_ADD_NOT_ZERO_SATURATED.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_DEC_AND_TEST_SATURATED.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_SUB_AND_TEST_SATURATED.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_TIMING.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/ATOMIC_TIMING.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_HEAP_SIZE_TO.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_HEAP_SIZE_FROM.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_HEAP_WHITELIST_TO.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_HEAP_WHITELIST_FROM.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_STACK_FRAME_TO.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_STACK_FRAME_FROM.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_STACK_BEYOND.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_KERNEL.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/STACKLEAK_ERASING.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/CFI_FORWARD_PROTO.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/FORTIFIED_STRSCPY.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/FORTIFIED_OBJECT.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/FORTIFIED_SUBOBJECT.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/PPC_SLB_MULTIHIT.sh make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/lkdtm' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/membarrier' ccache clang -g -I../../../../usr/include/ membarrier_test_single_thread.c -lpthread -o /tmp/kci/linux/build/kselftest/membarrier/membarrier_test_single_thread ccache clang -g -I../../../../usr/include/ membarrier_test_multi_thread.c -lpthread -o /tmp/kci/linux/build/kselftest/membarrier/membarrier_test_multi_thread make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/membarrier' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/memfd' ccache clang -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ -I../../../../usr/include/ memfd_test.c common.c -o /tmp/kci/linux/build/kselftest/memfd/memfd_test ccache clang -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ -I../../../../usr/include/ fuse_test.c common.c -o /tmp/kci/linux/build/kselftest/memfd/fuse_test ccache clang -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ -I../../../../usr/include/ fuse_mnt.c -lfuse -pthread -o /tmp/kci/linux/build/kselftest/memfd/fuse_mnt /usr/bin/ld: cannot find -lfuse: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/memfd/fuse_mnt] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/memfd' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/memory-hotplug' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/memory-hotplug' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/mincore' ccache clang -Wall mincore_selftest.c -o /tmp/kci/linux/build/kselftest/mincore/mincore_selftest make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/mincore' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/mount' ccache clang -Wall -O2 unprivileged-remount-test.c -o /tmp/kci/linux/build/kselftest/mount/unprivileged-remount-test ccache clang -Wall -O2 nosymfollow-test.c -o /tmp/kci/linux/build/kselftest/mount/nosymfollow-test make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/mount' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/mount_setattr' ccache clang -g -I../../../../usr/include/ -Wall -O2 -pthread mount_setattr_test.c -o /tmp/kci/linux/build/kselftest/mount_setattr/mount_setattr_test make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/mount_setattr' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/move_mount_set_group' ccache clang -g -I../../../../usr/include/ -Wall -O2 move_mount_set_group_test.c -o /tmp/kci/linux/build/kselftest/move_mount_set_group/move_mount_set_group_test make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/move_mount_set_group' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/mqueue' ccache clang -O2 mq_open_tests.c -lrt -lpthread -lpopt -o /tmp/kci/linux/build/kselftest/mqueue/mq_open_tests ccache clang -O2 mq_perf_tests.c -lrt -lpthread -lpopt -o /tmp/kci/linux/build/kselftest/mqueue/mq_perf_tests mq_perf_tests.c:336:41: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 336 | mq_receive(queue, buff, sizeof(buff), &priority); | ^~~~~~~~~ /usr/include/mqueue.h:67:21: note: passing argument to parameter '__msg_prio' here 67 | unsigned int *__msg_prio) __nonnull ((2)); | ^ mq_perf_tests.c:462:3: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 462 | do_send_recv(); | ^~~~~~~~~~~~~~ mq_perf_tests.c:355:41: note: expanded from macro 'do_send_recv' 355 | if (mq_receive(queue, buff, MSG_SIZE, &prio_in) != MSG_SIZE) \ | ^~~~~~~~ /usr/include/mqueue.h:67:21: note: passing argument to parameter '__msg_prio' here 67 | unsigned int *__msg_prio) __nonnull ((2)); | ^ mq_perf_tests.c:498:4: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 498 | do_send_recv(); | ^~~~~~~~~~~~~~ mq_perf_tests.c:355:41: note: expanded from macro 'do_send_recv' 355 | if (mq_receive(queue, buff, MSG_SIZE, &prio_in) != MSG_SIZE) \ | ^~~~~~~~ /usr/include/mqueue.h:67:21: note: passing argument to parameter '__msg_prio' here 67 | unsigned int *__msg_prio) __nonnull ((2)); | ^ mq_perf_tests.c:515:3: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 515 | drain_queue(); | ^~~~~~~~~~~~~ mq_perf_tests.c:341:43: note: expanded from macro 'drain_queue' 341 | while (mq_receive(queue, buff, MSG_SIZE, &prio_in) == MSG_SIZE) | ^~~~~~~~ /usr/include/mqueue.h:67:21: note: passing argument to parameter '__msg_prio' here 67 | unsigned int *__msg_prio) __nonnull ((2)); | ^ /usr/bin/ld: cannot find -lpopt: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/mqueue/mq_open_tests] Error 1 make[1]: *** Waiting for unfinished jobs.... 4 warnings generated. /usr/bin/ld: cannot find -lpopt: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/mqueue/mq_perf_tests] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/mqueue' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/nci' ccache clang -Wl,-no-as-needed -Wall -lpthread nci_dev.c -o /tmp/kci/linux/build/kselftest/nci/nci_dev make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/nci' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/net' ccache clang -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ reuseport_bpf.c -o /tmp/kci/linux/build/kselftest/net/reuseport_bpf ccache clang -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ reuseport_bpf_cpu.c -o /tmp/kci/linux/build/kselftest/net/reuseport_bpf_cpu ccache clang -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ reuseport_bpf_numa.c -lnuma -o /tmp/kci/linux/build/kselftest/net/reuseport_bpf_numa /usr/bin/ld: cannot find -lnuma: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/net/reuseport_bpf_numa] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/net' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/net/af_unix' ccache clang test_unix_oob.c -o /tmp/kci/linux/build/kselftest/net/af_unix/test_unix_oob make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/net/af_unix' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/net/forwarding' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/net/forwarding' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/net/mptcp' ccache clang -Wall -Wl,--no-as-needed -O2 -g -I../../../../../usr/include mptcp_connect.c -o /tmp/kci/linux/build/kselftest/net/mptcp/mptcp_connect mptcp_connect.c:894:6: warning: variable 'foo' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 894 | if (fd > 0) { | ^~~~~~ mptcp_connect.c:902:8: note: uninitialized use occurs here 902 | srand(foo); | ^~~ mptcp_connect.c:894:2: note: remove the 'if' if its condition is always true 894 | if (fd > 0) { | ^~~~~~~~~~~ mptcp_connect.c:892:18: note: initialize the variable 'foo' to silence this warning 892 | unsigned int foo; | ^ | = 0 1 warning generated. ccache clang -Wall -Wl,--no-as-needed -O2 -g -I../../../../../usr/include pm_nl_ctl.c -o /tmp/kci/linux/build/kselftest/net/mptcp/pm_nl_ctl make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/net/mptcp' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/netfilter' ccache clang nf-queue.c -lmnl -o /tmp/kci/linux/build/kselftest/netfilter/nf-queue /usr/bin/ld: cannot find -lmnl: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/netfilter/nf-queue] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/netfilter' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/nsfs' ccache clang -Wall -Werror owner.c -o /tmp/kci/linux/build/kselftest/nsfs/owner ccache clang -Wall -Werror pidns.c -o /tmp/kci/linux/build/kselftest/nsfs/pidns make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/nsfs' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/pidfd' ccache clang -g -I../../../../usr/include/ -pthread pidfd_test.c -o /tmp/kci/linux/build/kselftest/pidfd/pidfd_test ccache clang -g -I../../../../usr/include/ -pthread pidfd_fdinfo_test.c -o /tmp/kci/linux/build/kselftest/pidfd/pidfd_fdinfo_test ccache clang -g -I../../../../usr/include/ -pthread pidfd_open_test.c -o /tmp/kci/linux/build/kselftest/pidfd/pidfd_open_test ccache clang -g -I../../../../usr/include/ -pthread pidfd_poll_test.c -o /tmp/kci/linux/build/kselftest/pidfd/pidfd_poll_test ccache clang -g -I../../../../usr/include/ -pthread pidfd_wait.c -o /tmp/kci/linux/build/kselftest/pidfd/pidfd_wait ccache clang -g -I../../../../usr/include/ -pthread pidfd_getfd_test.c -o /tmp/kci/linux/build/kselftest/pidfd/pidfd_getfd_test ccache clang -g -I../../../../usr/include/ -pthread pidfd_setns_test.c -o /tmp/kci/linux/build/kselftest/pidfd/pidfd_setns_test make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/pidfd' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/pid_namespace' ccache clang -g -I../../../../usr/include/ regression_enomem.c ../pidfd/pidfd.h -o /tmp/kci/linux/build/kselftest/pid_namespace/regression_enomem clang: error: cannot specify -o when generating multiple output files make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/pid_namespace/regression_enomem] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/pid_namespace' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/powerpc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/powerpc' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/proc' ccache clang -Wall -O2 -Wno-unused-function -D_GNU_SOURCE fd-001-lookup.c -o /tmp/kci/linux/build/kselftest/proc/fd-001-lookup ccache clang -Wall -O2 -Wno-unused-function -D_GNU_SOURCE fd-002-posix-eq.c -o /tmp/kci/linux/build/kselftest/proc/fd-002-posix-eq ccache clang -Wall -O2 -Wno-unused-function -D_GNU_SOURCE fd-003-kthread.c -o /tmp/kci/linux/build/kselftest/proc/fd-003-kthread ccache clang -Wall -O2 -Wno-unused-function -D_GNU_SOURCE proc-loadavg-001.c -o /tmp/kci/linux/build/kselftest/proc/proc-loadavg-001 ccache clang -Wall -O2 -Wno-unused-function -D_GNU_SOURCE proc-pid-vm.c -o /tmp/kci/linux/build/kselftest/proc/proc-pid-vm ccache clang -Wall -O2 -Wno-unused-function -D_GNU_SOURCE proc-self-map-files-001.c -o /tmp/kci/linux/build/kselftest/proc/proc-self-map-files-001 ccache clang -Wall -O2 -Wno-unused-function -D_GNU_SOURCE proc-self-map-files-002.c -o /tmp/kci/linux/build/kselftest/proc/proc-self-map-files-002 ccache clang -Wall -O2 -Wno-unused-function -D_GNU_SOURCE proc-self-syscall.c -o /tmp/kci/linux/build/kselftest/proc/proc-self-syscall ccache clang -Wall -O2 -Wno-unused-function -D_GNU_SOURCE proc-self-wchan.c -o /tmp/kci/linux/build/kselftest/proc/proc-self-wchan ccache clang -Wall -O2 -Wno-unused-function -D_GNU_SOURCE proc-subset-pid.c -o /tmp/kci/linux/build/kselftest/proc/proc-subset-pid ccache clang -Wall -O2 -Wno-unused-function -D_GNU_SOURCE proc-uptime-001.c -o /tmp/kci/linux/build/kselftest/proc/proc-uptime-001 ccache clang -Wall -O2 -Wno-unused-function -D_GNU_SOURCE proc-uptime-002.c -o /tmp/kci/linux/build/kselftest/proc/proc-uptime-002 ccache clang -Wall -O2 -Wno-unused-function -D_GNU_SOURCE read.c -o /tmp/kci/linux/build/kselftest/proc/read ccache clang -Wall -O2 -Wno-unused-function -D_GNU_SOURCE self.c -o /tmp/kci/linux/build/kselftest/proc/self ccache clang -Wall -O2 -Wno-unused-function -D_GNU_SOURCE setns-dcache.c -o /tmp/kci/linux/build/kselftest/proc/setns-dcache ccache clang -Wall -O2 -Wno-unused-function -D_GNU_SOURCE setns-sysvipc.c -o /tmp/kci/linux/build/kselftest/proc/setns-sysvipc ccache clang -Wall -O2 -Wno-unused-function -D_GNU_SOURCE thread-self.c -o /tmp/kci/linux/build/kselftest/proc/thread-self ccache clang -Wall -O2 -Wno-unused-function -D_GNU_SOURCE proc-multiple-procfs.c -o /tmp/kci/linux/build/kselftest/proc/proc-multiple-procfs ccache clang -Wall -O2 -Wno-unused-function -D_GNU_SOURCE proc-fsconfig-hidepid.c -o /tmp/kci/linux/build/kselftest/proc/proc-fsconfig-hidepid make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/proc' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/pstore' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/pstore' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/ptrace' ccache clang -std=c99 -pthread -iquote../../../../include/uapi -Wall get_syscall_info.c -o /tmp/kci/linux/build/kselftest/ptrace/get_syscall_info ccache clang -std=c99 -pthread -iquote../../../../include/uapi -Wall peeksiginfo.c -o /tmp/kci/linux/build/kselftest/ptrace/peeksiginfo ccache clang -std=c99 -pthread -iquote../../../../include/uapi -Wall vmaccess.c -o /tmp/kci/linux/build/kselftest/ptrace/vmaccess make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/ptrace' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/openat2' ccache clang -Wall -O2 -g -fsanitize=address -fsanitize=undefined openat2_test.c helpers.c helpers.h -o /tmp/kci/linux/build/kselftest/openat2/openat2_test ccache clang -Wall -O2 -g -fsanitize=address -fsanitize=undefined resolve_test.c helpers.c helpers.h -o /tmp/kci/linux/build/kselftest/openat2/resolve_test ccache clang -Wall -O2 -g -fsanitize=address -fsanitize=undefined rename_attack_test.c helpers.c helpers.h -o /tmp/kci/linux/build/kselftest/openat2/rename_attack_test clang: error: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output filesclang : error: cannot specify -o when generating multiple output files make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/openat2/resolve_test] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/openat2/rename_attack_test] Error 1 make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/openat2/openat2_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/openat2' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/resctrl' ccache clang -g -Wall -O2 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE resctrl_tests.c cache.c cat_test.c cmt_test.c fill_buf.c mba_test.c mbm_test.c resctrl_val.c resctrlfs.c -o /tmp/kci/linux/build/kselftest/resctrl/resctrl_tests cache.c:304:19: warning: taking the absolute value of unsigned type 'unsigned long' has no effect [-Wabsolute-value] 304 | avg_diff = (long)abs(cache_span - avg_llc_val); | ^ cache.c:304:19: note: remove the call to 'abs' since unsigned values cannot be negative 304 | avg_diff = (long)abs(cache_span - avg_llc_val); | ^~~ cache.c:308:16: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 308 | (cmt ? (abs(avg_diff) > max_diff) : true); | ^ cache.c:308:16: note: use function 'labs' instead 308 | (cmt ? (abs(avg_diff) > max_diff) : true); | ^~~ | labs 2 warnings generated. mba_test.c:85:21: warning: taking the absolute value of unsigned type 'unsigned long' has no effect [-Wabsolute-value] 85 | avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc; | ^ mba_test.c:85:21: note: remove the call to 'labs' since unsigned values cannot be negative 85 | avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc; | ^~~~ 1 warning generated. mbm_test.c:36:20: warning: taking the absolute value of unsigned type 'unsigned long' has no effect [-Wabsolute-value] 36 | avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc; | ^ mbm_test.c:36:20: note: remove the call to 'labs' since unsigned values cannot be negative 36 | avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc; | ^~~~ 1 warning generated. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/resctrl' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/rlimits' ccache clang -Wall -O2 -g rlimits-per-userns.c -o /tmp/kci/linux/build/kselftest/rlimits/rlimits-per-userns make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/rlimits' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/rseq' ccache clang -O2 -Wall -g -I./ -I../../../../usr/include/ -L/tmp/kci/linux/build/kselftest/rseq -Wl,-rpath=./ -no-integrated-as -I../../../../tools/include -shared -fPIC rseq.c -lpthread -ldl -o /tmp/kci/linux/build/kselftest/rseq/librseq.so ccache clang -O2 -Wall -g -I./ -I../../../../usr/include/ -L/tmp/kci/linux/build/kselftest/rseq -Wl,-rpath=./ -no-integrated-as -I../../../../tools/include basic_test.c -lpthread -ldl -lrseq -o /tmp/kci/linux/build/kselftest/rseq/basic_test ccache clang -O2 -Wall -g -I./ -I../../../../usr/include/ -L/tmp/kci/linux/build/kselftest/rseq -Wl,-rpath=./ -no-integrated-as -I../../../../tools/include basic_percpu_ops_test.c -lpthread -ldl -lrseq -o /tmp/kci/linux/build/kselftest/rseq/basic_percpu_ops_test ccache clang -O2 -Wall -g -I./ -I../../../../usr/include/ -L/tmp/kci/linux/build/kselftest/rseq -Wl,-rpath=./ -no-integrated-as -I../../../../tools/include param_test.c -lpthread -ldl -lrseq -o /tmp/kci/linux/build/kselftest/rseq/param_test ccache clang -O2 -Wall -g -I./ -I../../../../usr/include/ -L/tmp/kci/linux/build/kselftest/rseq -Wl,-rpath=./ -no-integrated-as -I../../../../tools/include -DBENCHMARK param_test.c -lpthread -ldl -lrseq -o /tmp/kci/linux/build/kselftest/rseq/param_test_benchmark ccache clang -O2 -Wall -g -I./ -I../../../../usr/include/ -L/tmp/kci/linux/build/kselftest/rseq -Wl,-rpath=./ -no-integrated-as -I../../../../tools/include -DRSEQ_COMPARE_TWICE param_test.c -lpthread -ldl -lrseq -o /tmp/kci/linux/build/kselftest/rseq/param_test_compare_twice param_test.c:1156:10: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1156 | while (!atomic_load(&args->percpu_list_ptr)) {} | ^ ~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1228:2: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1228 | atomic_store(&args->percpu_list_ptr, (intptr_t)&list_a); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:137:39: note: expanded from macro 'atomic_store' 137 | #define atomic_store(object, desired) __c11_atomic_store(object, desired, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1230:10: error: address argument to atomic operation must be a pointer to _Atomic type ('int *' invalid) 1230 | while (!atomic_load(&args->stop)) { | ^ ~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1237:19: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1237 | if (expect_b != atomic_load(&list_b.c[cpu_b].head->data)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1243:3: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1243 | atomic_store(&args-param_test.c>:p1156e:r10c:p uerror: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)_ list_ptr, (intptr_t )1156& | l iwhsitl_e b()!;at o m| i ^ ~~~~~~~~~~~~~~~~~~~~~~c_ load(&ar/usr/lib/llvm-17/lib/clang/17/include/stdatomic.hgs:->137p:er39c:p u_note: liexpanded from macro 'atomic_store's t_ptr)) {} | 137 ^ ~~~~~~~~~~~~~~~~~~~~~~ | #define/usr/lib/llvm-17/lib/clang/17/include/stdatomic.h :a140t:o29:m inote: expanded from macro 'atomic_load'c _sto r140e | (#doebfijneec ta,t omdiec_sliorade(odb)j ec_t_) c_1_c11_atomic_st1o_raet(oombicj_elocatd,( odbjeescti, r_e_dA,T O_M_ATOIMC_ISCEQ__SCESQT)_ C S| ^ ~~~~~~T ) | ^ ~~~~~~ param_test.c:1254:14: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1254 | expect_a = atomic_load(&list_a.c[cpu_a].head->data); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1261:19: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1261 | if (expect_a != atomic_load(&list_a.c[cpu_a].head->data)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.cparam_test.c:1156:10: error: :address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)1267 :3: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1156 | w h1267il | e ( !aattomoimc_ilcoa_ds(&taorrgse-(>p&earcrpgus_-li>spte_prtrc)p)u _{l} i s| t ^ ~~~~~~~~~~~~~~~~~~~~~~_ ptr, (in/usr/lib/llvm-17/lib/clang/17/include/stdatomic.ht:140p:t29r:_ note: texpanded from macro 'atomic_load' )&lis t140 | _#ad)ef;i ne| a ^ ~~~~~~~~~~~~~~~~~~~~~~t omic_lo/usr/lib/llvm-17/lib/clang/17/include/stdatomic.ha:d137(o:b39param_test.cj::e1228c t:)note: 2expanded from macro 'atomic_store':_ _error: caddress argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)1 1_atom i c1371228_ | l | o# aaddteo(mfoibcij_ne atomics_etscottro,e (r&_e_aA(TrogObMsIjC-e>_cpSeEtQr_,cC SpTdu)_ el is| si ^ ~~~~~~t _rpetdr), (_in_tcpt1r1__t)a&tloimisct__sato)r;e ( o| b ^ ~~~~~~~~~~~~~~~~~~~~~~j ect, /usr/lib/llvm-17/lib/clang/17/include/stdatomic.hd:e137s:ir39:e dnote: ,expanded from macro 'atomic_store' __ATOMIC_SE Q137_ | C#SdTe)f i n| e ^ ~~~~~~ atomic_store(object, desired) __c11_atomic_store(object, desired, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1230:10: error: address argument to atomic operation must be a pointer to _Atomic type ('int *' invalid) 1230 | while (!atomic_load(&args->stop)) { | ^ ~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atparam_test.co:mi1275c:_14lo:ad (error: oaddress argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)bj ect) __c11_ a1275to | mi c _leoxapde(cobtje_cbt , =__ AaTOtMoImCi_ScE_Ql_oCaSdT() & | l ^ ~~~~~~i st_b.c[cpu_b].head->data); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(oparam_test.cb:j1237e:19c:t error: )address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) __c11_ a1237t | o mifi c(e_xlpoeacdt_(bo b!j=e ct, __ATOaMtIoCm_iSc_ElQo_aCd(S&Tl)i s t_| b ^ ~~~~~~. c[cpu_b].head->data)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1243:3: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1243 | atomic_store(&args->percpu_list_ptr, (intptr_t)&list_b); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:137:39: note: expanded from macro 'atomic_store' 137 | #define atomic_store(object, desired) __c11_atomic_store(object, desired, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1228:2: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1228 | atomic_store(&args->percpu_list_ptr, (intptr_t)&list_a); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:137:39: note: expanded from macro 'atomic_store'param_test.c :1254:14: error: 137address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) | #define 1254a | t o meixcp_esctto_rae (=o bajetcotm,i cd_elsoiarde(d&)l i_st__ca1.1c_[actpoum_iac]_.shteoarde-(>odbajteac)t;, d| e ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~s ired/usr/lib/llvm-17/lib/clang/17/include/stdatomic.h,: 140_:_29A:T Onote: Mexpanded from macro 'atomic_load'I C_SE Q140_ | C#SdTe)f i n| e ^ ~~~~~~ atomic_load(object) __c11_atparam_test.co:m1230i:c10_:l oerror: aaddress argument to atomic operation must be a pointer to _Atomic type ('int *' invalid)d (objec t1230, | _w_hAiTlOeMI C(_!SaEtQo_mCiScT_)l o a| d ^ ~~~~~~( &args->stop)) { | ^ ~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(objectparam_test.c): 1261_:_19c:1 1error: _address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)a tomic_loa d1261(o | b j eicft ,( e_x_pAeTctO_MaI C!_=S EaQt_oCmSiTc)_ l o| a ^ ~~~~~~d (&list_a.c[cpu_a].head->data)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atparam_test.co:m1237i:c19_:l oerror: aaddress argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)d (objec t1237) | _ _icf1 1(_eaxtpoemcitc__bl o!a=d (aotbojmeicct_,l o_a_dA(T&OlMiIsCt__SbE.Qc_[CcSpTu)_ b ]| . ^ ~~~~~~h ead->data)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atparam_test.co:mi1332c_:l2oa:d (error: oaddress argument to atomic operation must be a pointer to _Atomic type ('int *' invalid)b jectparam_test.c): _1267_:c31: 1 _1332aerror: t | oaddress argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)m i ca_tloo ma1267di | (c o bajteocmti,c __s_tAo_rTesO(t&MaoIrCrg_esS(E-Q&>_thpCeSrrTe)c a pdu__alirstg_| s ^ ~~~~~~p. tsr,t o(pi,n tp1t)r;_t ) &l| i ^ ~~~~~~~~~~~~~~~~~s t_a); | ^ ~~~~~~~~~~~~~~~~~~~~~~/usr/lib/llvm-17/lib/clang/17/include/stdatomic.h :137/usr/lib/llvm-17/lib/clang/17/include/stdatomic.h::39137::39 :note: note: expanded from macro 'atomic_store'expanded from macro 'atomic_store' 137 | #d ef137i | ne# param_test.cda:te1243ofmii:n3ce:_ saerror: ttoaddress argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)o rmei(co_b s1243j | t e ocatr,te o(dmeosibicj_reesdct)to ,_r_ ecd(1e1&_saairrtgesod-m)i> pc_e__rsctc1po1u_r_alei(tosbotj_mpeitccrt_,, s d(etisoinrtrepetd(,ro_ bt_j_)eA&TcOltMi,IsC t_d_SebEsQ)_i;rC Se T| d ^ ~~~~~~~~~~~~~~~~~~~~~~) , /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h| :_137 ^ ~~~~~~:_ 39A: Tnote: Oexpanded from macro 'atomic_store'M IC_S E137Q | #_dCSefTi)n e a| t ^ ~~~~~~o mic_store(object, desired) __c11_atomic_store(object, desired, __ATOMIC_SEQ_CSparam_test.cT): 1275 :| 14 ^ ~~~~~~: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1275 | expect_b = atomic_load(&list_b.c[cpu_b].head->data); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(objectparam_test.c) :_1254_:c1141:_ aerror: taddress argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)o mic_lo a1254d | ( o bejxepcetc,t __a_ A=T OaMtIoCm_iScE_Ql_oCaSdT()& l| i ^ ~~~~~~s t_a.c[cpu_a].head->data); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1261:19: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1261 | if (expect_a != atomic_load(&list_a.c[cpu_a].head->data)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1267:3: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1267 | atomic_store(&args->percpu_list_ptr, (intptr_t)&list_a); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:137:39: note: expanded from macro 'atomic_store' 137 | #define atomic_store(object, desired) __c11_atomic_store(object, desired, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1332:2: error: address argument to atomic operation must be a pointer to _Atomic type ('int *' invalid) 1332 | atomic_store(&thread_args.stop, 1); | ^ ~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:137:39: note: expanded from macro 'atomic_store' 137 | #define atomic_store(object, desired) __c11param_test.c_a:to1275m:i14c:_ serror: taddress argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)o re(object ,1275 | d e seixrpeedc,t __b_ A=T OaMtIoCm_iScE_Ql_oCaSdT()& l i| s ^ ~~~~~~t _b.c[cpu_b].head->data); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1332:2: error: address argument to atomic operation must be a pointer to _Atomic type ('int *' invalid) 1332 | atomic_store(&thread_args.stop, 1); | ^ ~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:137:39: note: expanded from macro 'atomic_store' 137 | #define atomic_store(object, desired) __c11_atomic_store(object, desired, __ATOMIC_SEQ_CST) | ^ ~~~~~~ 10 errors generated. 10 errors generated. 10 errors generated. make[1]: *** [Makefile:36: /tmp/kci/linux/build/kselftest/rseq/param_test_benchmark] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:32: /tmp/kci/linux/build/kselftest/rseq/param_test] Error 1 make[1]: *** [Makefile:40: /tmp/kci/linux/build/kselftest/rseq/param_test_compare_twice] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/rseq' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/rtc' ccache clang -O3 -Wl,-no-as-needed -Wall rtctest.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/rtc/rtctest ccache clang -O3 -Wl,-no-as-needed -Wall setdate.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/rtc/setdate make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/rtc' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/seccomp' ccache clang -Wl,-no-as-needed -Wall -isystem ../../../../usr/include/ -lpthread seccomp_bpf.c -o /tmp/kci/linux/build/kselftest/seccomp/seccomp_bpf ccache clang -Wl,-no-as-needed -Wall -isystem ../../../../usr/include/ -lpthread seccomp_benchmark.c -o /tmp/kci/linux/build/kselftest/seccomp/seccomp_benchmark make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/seccomp' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/sgx' ccache clang -Wall -Werror -g -I../../../../tools/include -fPIC -z noexecstack -c main.c -o /tmp/kci/linux/build/kselftest/sgx/main.o ccache clang -Wall -Werror -g -I../../../../tools/include -fPIC -z noexecstack -c load.c -o /tmp/kci/linux/build/kselftest/sgx/load.o ccache clang -Wall -Werror -g -I../../../../tools/include -fPIC -z noexecstack -c sigstruct.c -o /tmp/kci/linux/build/kselftest/sgx/sigstruct.o ccache clang -Wall -Werror -g -I../../../../tools/include -fPIC -z noexecstack -c call.S -o /tmp/kci/linux/build/kselftest/sgx/call.o ccache clang -Wall -Werror -g -I../../../../tools/include -fPIC -z noexecstack -c sign_key.S -o /tmp/kci/linux/build/kselftest/sgx/sign_key.o ccache clang -Wall -Werror -static -nostdlib -nostartfiles -fPIC -fno-stack-protector -mrdrnd -I../../../../tools/include -T test_encl.lds test_encl.c test_encl_bootstrap.S -o /tmp/kci/linux/build/kselftest/sgx/test_encl.elf clangclang: clang: clangerror: : error: error: -z noexecstack: 'linker' input unused [-Werror,-Wunused-command-line-argument]-z noexecstack: 'linker' input unused [-Werror,-Wunused-command-line-argument]-z noexecstack: 'linker' input unused [-Werror,-Wunused-command-line-argument] : error: -z noexecstack: 'linker' input unused [-Werror,-Wunused-command-line-argument] clang: error: -z noexecstack: 'linker' input unused [-Werror,-Wunused-command-line-argument] make[1]: *** [Makefile:33: /tmp/kci/linux/build/kselftest/sgx/main.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:39: /tmp/kci/linux/build/kselftest/sgx/sigstruct.o] Error 1 make[1]: *** [Makefile:42: /tmp/kci/linux/build/kselftest/sgx/call.o] Error 1 make[1]: *** [Makefile:45: /tmp/kci/linux/build/kselftest/sgx/sign_key.o] Error 1 make[1]: *** [Makefile:36: /tmp/kci/linux/build/kselftest/sgx/load.o] Error 1 /usr/bin/ld: warning: /tmp/test_encl_bootstrap-8723ae.o: missing .note.GNU-stack section implies executable stack /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /usr/bin/ld: warning: .note.gnu.build-id section discarded, --build-id ignored make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/sgx' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/sigaltstack' ccache clang -Wall sas.c -o /tmp/kci/linux/build/kselftest/sigaltstack/sas make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/sigaltstack' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/size' ccache clang -static -ffreestanding -nostartfiles -s get_size.c -o /tmp/kci/linux/build/kselftest/size/get_size make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/size' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/sparc64' make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/sparc64' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/splice' ccache clang default_file_splice_read.c -o /tmp/kci/linux/build/kselftest/splice/default_file_splice_read ccache clang splice_read.c -o /tmp/kci/linux/build/kselftest/splice/splice_read make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/splice' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/static_keys' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/static_keys' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/sync' ccache clang -c sync_alloc.c -o /tmp/kci/linux/build/kselftest/sync/sync_alloc.o ccache clang -c sync_fence.c -o /tmp/kci/linux/build/kselftest/sync/sync_fence.o ccache clang -c sync_merge.c -o /tmp/kci/linux/build/kselftest/sync/sync_merge.o ccache clang -c sync_wait.c -o /tmp/kci/linux/build/kselftest/sync/sync_wait.o ccache clang -c sync_stress_parallelism.c -o /tmp/kci/linux/build/kselftest/sync/sync_stress_parallelism.o ccache clang -c sync_stress_consumer.c -o /tmp/kci/linux/build/kselftest/sync/sync_stress_consumer.o ccache clang -c sync_stress_merge.c -o /tmp/kci/linux/build/kselftest/sync/sync_stress_merge.o ccache clang -c sync_test.c -o /tmp/kci/linux/build/kselftest/sync/sync_test.o -O2 -g -std=gnu89 -pthread -Wall -Wextra -I../../../../usr/include/ ccache clang -c sync.c -o /tmp/kci/linux/build/kselftest/sync/sync.o -O2 -g -std=gnu89 -pthread -Wall -Wextra -I../../../../usr/include/ ccache clang -o /tmp/kci/linux/build/kselftest/sync/sync_test /tmp/kci/linux/build/kselftest/sync/sync_test.o /tmp/kci/linux/build/kselftest/sync/sync.o /tmp/kci/linux/build/kselftest/sync/sync_alloc.o /tmp/kci/linux/build/kselftest/sync/sync_fence.o /tmp/kci/linux/build/kselftest/sync/sync_merge.o /tmp/kci/linux/build/kselftest/sync/sync_wait.o /tmp/kci/linux/build/kselftest/sync/sync_stress_parallelism.o /tmp/kci/linux/build/kselftest/sync/sync_stress_consumer.o /tmp/kci/linux/build/kselftest/sync/sync_stress_merge.o -O2 -g -std=gnu89 -pthread -Wall -Wextra -I../../../../usr/include/ -pthread make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/sync' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/syscall_user_dispatch' ccache clang -Wall -I../../../../usr/include/ sud_test.c -o /tmp/kci/linux/build/kselftest/syscall_user_dispatch/sud_test ccache clang -Wall -I../../../../usr/include/ sud_benchmark.c -o /tmp/kci/linux/build/kselftest/syscall_user_dispatch/sud_benchmark make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/syscall_user_dispatch' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/sysctl' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/sysctl' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/tc-testing' clang -I. -I/include/uapi -idirafter /usr/lib/llvm-17/lib/clang/17/include -idirafter /usr/local/include -idirafter /usr/include/x86_64-linux-gnu -idirafter /usr/include -Wno-compare-distinct-pointer-types \ -O2 -target bpf -emit-llvm -c action.c -o - | \ llc -march=bpf -mcpu=probe -filetype=obj -o /tmp/kci/linux/build/kselftest/tc-testing/action.o make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/tc-testing' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/timens' ccache clang -Wall -Werror -pthread timens.c -lrt -ldl -o /tmp/kci/linux/build/kselftest/timens/timens ccache clang -Wall -Werror -pthread timerfd.c -lrt -ldl -o /tmp/kci/linux/build/kselftest/timens/timerfd ccache clang -Wall -Werror -pthread timer.c -lrt -ldl -o /tmp/kci/linux/build/kselftest/timens/timer ccache clang -Wall -Werror -pthread clock_nanosleep.c -lrt -ldl -o /tmp/kci/linux/build/kselftest/timens/clock_nanosleep ccache clang -Wall -Werror -pthread procfs.c -lrt -ldl -o /tmp/kci/linux/build/kselftest/timens/procfs ccache clang -Wall -Werror -pthread exec.c -lrt -ldl -o /tmp/kci/linux/build/kselftest/timens/exec ccache clang -Wall -Werror -pthread futex.c -lrt -ldl -o /tmp/kci/linux/build/kselftest/timens/futex ccache clang -Wall -Werror -pthread gettime_perf.c -lrt -ldl -o /tmp/kci/linux/build/kselftest/timens/gettime_perf timer.c:59:7: error: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value] 59 | if (abs(elapsed - 3600) > 60) { | ^ timerfd.c:64:7: error: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value] 64 | if (abs(elapsed - 3600) > 60) { | ^ timer.c:59:7: note: use function 'llabs' instead 59 | if (abs(elapsed - 3600) > 60) { | ^~~ | llabs timerfd.c:64:7: note: use function 'llabs' instead 64 | if (abs(elapsed - 3600) > 60) { | ^~~ | llabs 1 error generated. 1 error generated. exec.c:33:8: error: absolute value function 'abs' given an argument of type '__time_t' (aka 'long') but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value] 33 | if (abs(tst.tv_sec - now.tv_sec) > 5) | ^ exec.c:33:8: note: use function 'labs' instead 33 | if (abs(tst.tv_sec - now.tv_sec) > 5) | ^~~ | labs exec.c:53:7: error: absolute value function 'abs' given an argument of type '__time_t' (aka 'long') but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value] 53 | if (abs(tst.tv_sec - now.tv_sec) > 5) | ^ exec.c:53:7: note: use function 'labs' instead 53 | if (abs(tst.tv_sec - now.tv_sec) > 5) | ^~~ | labs exec.c:73:8: error: absolute value function 'abs' given an argument of type '__time_t' (aka 'long') but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value] 73 | if (abs(tst.tv_sec - now.tv_sec - OFFSET) > 5) | ^ exec.c:73:8: note: use function 'labs' instead 73 | if (abs(tst.tv_sec - now.tv_sec - OFFSET) > 5) | ^~~ | labs 3 errors generated. make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/timens/timer] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/timens/timerfd] Error 1 make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/timens/exec] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/timens' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/timers' ccache clang -O3 -Wl,-no-as-needed -Wall posix_timers.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/posix_timers ccache clang -O3 -Wl,-no-as-needed -Wall nanosleep.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/nanosleep ccache clang -O3 -Wl,-no-as-needed -Wall nsleep-lat.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/nsleep-lat ccache clang -O3 -Wl,-no-as-needed -Wall set-timer-lat.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/set-timer-lat ccache clang -O3 -Wl,-no-as-needed -Wall mqueue-lat.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/mqueue-lat ccache clang -O3 -Wl,-no-as-needed -Wall inconsistency-check.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/inconsistency-check ccache clang -O3 -Wl,-no-as-needed -Wall raw_skew.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/raw_skew ccache clang -O3 -Wl,-no-as-needed -Wall threadtest.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/threadtest ccache clang -O3 -Wl,-no-as-needed -Wall rtcpie.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/rtcpie ccache clang -O3 -Wl,-no-as-needed -Wall alarmtimer-suspend.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/alarmtimer-suspend ccache clang -O3 -Wl,-no-as-needed -Wall valid-adjtimex.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/valid-adjtimex ccache clang -O3 -Wl,-no-as-needed -Wall adjtick.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/adjtick ccache clang -O3 -Wl,-no-as-needed -Wall change_skew.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/change_skew ccache clang -O3 -Wl,-no-as-needed -Wall skew_consistency.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/skew_consistency ccache clang -O3 -Wl,-no-as-needed -Wall clocksource-switch.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/clocksource-switch ccache clang -O3 -Wl,-no-as-needed -Wall freq-step.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/freq-step ccache clang -O3 -Wl,-no-as-needed -Wall leap-a-day.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/leap-a-day ccache clang -O3 -Wl,-no-as-needed -Wall leapcrash.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/leapcrash ccache clang -O3 -Wl,-no-as-needed -Wall set-tai.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/set-tai ccache clang -O3 -Wl,-no-as-needed -Wall set-2038.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/set-2038 ccache clang -O3 -Wl,-no-as-needed -Wall set-tz.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/set-tz rtcpie.c:32:21: warning: variable 'irqcount' set but not used [-Wunused-but-set-variable] 32 | int i, fd, retval, irqcount = 0; | ^ 1 warning generated. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/timers' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/tmpfs' ccache clang -Wall -O2 -D_GNU_SOURCE bug-link-o-tmpfile.c -o /tmp/kci/linux/build/kselftest/tmpfs/bug-link-o-tmpfile make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/tmpfs' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/tpm2' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/tpm2' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/user' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/user' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/vDSO' ccache clang -std=gnu99 vdso_test_gettimeofday.c parse_vdso.c -o /tmp/kci/linux/build/kselftest/vDSO/vdso_test_gettimeofday ccache clang -std=gnu99 vdso_test_getcpu.c parse_vdso.c -o /tmp/kci/linux/build/kselftest/vDSO/vdso_test_getcpu ccache clang -std=gnu99 vdso_test_abi.c parse_vdso.c -o /tmp/kci/linux/build/kselftest/vDSO/vdso_test_abi ccache clang -std=gnu99 vdso_test_clock_getres.c -o /tmp/kci/linux/build/kselftest/vDSO/vdso_test_clock_getres ccache clang -std=gnu99 \ vdso_test_correctness.c \ -o /tmp/kci/linux/build/kselftest/vDSO/vdso_test_correctness \ -ldl make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/vDSO' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/vm' /bin/sh ./check_config.sh ccache clang ccache clang -Wall -I ../../../../usr/include -no-pie compaction_test.c -lrt -lpthread -o /tmp/kci/linux/build/kselftest/vm/compaction_test ccache clang -Wall -I ../../../../usr/include -no-pie gup_test.c -lrt -lpthread -o /tmp/kci/linux/build/kselftest/vm/gup_test ccache clang -Wall -I ../../../../usr/include -no-pie hmm-tests.c -lrt -lpthread -o /tmp/kci/linux/build/kselftest/vm/hmm-tests ccache clang -Wall -I ../../../../usr/include -no-pie hugepage-mmap.c -lrt -lpthread -o /tmp/kci/linux/build/kselftest/vm/hugepage-mmap ccache clang -Wall -I ../../../../usr/include -no-pie hugepage-shm.c -lrt -lpthread -o /tmp/kci/linux/build/kselftest/vm/hugepage-shm ccache clang -Wall -I ../../../../usr/include -no-pie khugepaged.c -lrt -lpthread -o /tmp/kci/linux/build/kselftest/vm/khugepaged ccache clang -Wall -I ../../../../usr/include -no-pie madv_populate.c -lrt -lpthread -o /tmp/kci/linux/build/kselftest/vm/madv_populate ccache clang -Wall -I ../../../../usr/include -no-pie map_fixed_noreplace.c -lrt -lpthread -o /tmp/kci/linux/build/kselftest/vm/map_fixed_noreplace ccache clang -Wall -I ../../../../usr/include -no-pie map_hugetlb.c -lrt -lpthread -o /tmp/kci/linux/build/kselftest/vm/map_hugetlb ccache clang -Wall -I ../../../../usr/include -no-pie map_populate.c -lrt -lpthread -o /tmp/kci/linux/build/kselftest/vm/map_populate ccache clang -Wall -I ../../../../usr/include -no-pie memfd_secret.c -lrt -lpthread -lcap -o /tmp/kci/linux/build/kselftest/vm/memfd_secret /usr/bin/ld: cannot find -lcap: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/vm/memfd_secret] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/vm' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/x86' ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/single_step_syscall_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 single_step_syscall.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/sysret_ss_attrs_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 sysret_ss_attrs.c helpers.h thunks.S -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/syscall_nt_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 syscall_nt.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/test_mremap_vdso_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 test_mremap_vdso.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/check_initial_reg_state_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -Wl,-ereal_start -static -DCAN_BUILD_64 check_initial_reg_state.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/sigreturn_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 sigreturn.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/iopl_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 iopl.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/ioperm_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 ioperm.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/test_vsyscall_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 test_vsyscall.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/mov_ss_trap_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 mov_ss_trap.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/syscall_arg_fault_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 syscall_arg_fault.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/fsgsbase_restore_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 fsgsbase_restore.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/sigaltstack_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 sigaltstack.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/fsgsbase_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 fsgsbase.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/sysret_rip_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 sysret_rip.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/syscall_numbering_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 syscall_numbering.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/corrupt_xstate_header_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 corrupt_xstate_header.c helpers.h -lrt -ldl Warning: you seem to have a broken 32-bit build environment. This will reduce test coverage of 64-bit kernels. If you are using a Debian-like distribution, try: apt-get install gcc-multilib libc6-i386 libc6-dev-i386 If you are using a Fedora-like distribution, try: yum install glibc-devel.*i686 clangclangclangclang: : : clangerror: : cannot specify -o when generating multiple output fileserror: error: cannot specify -o when generating multiple output fileserror: cannot specify -o when generating multiple output files : cannot specify -o when generating multiple output files error: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files clang: clang: error: error: cannot specify -o when generating multiple output filescannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/ioperm_64] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/syscall_arg_fault_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/sigreturn_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/syscall_nt_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/test_vsyscall_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/fsgsbase_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/sysret_rip_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/sysret_ss_attrs_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/check_initial_reg_state_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/sigaltstack_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/syscall_numbering_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/iopl_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/mov_ss_trap_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/fsgsbase_restore_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/single_step_syscall_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/test_mremap_vdso_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/corrupt_xstate_header_64] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/x86' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/zram' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/zram' mkdir -p /tmp/kci/linux/build/kselftest/kselftest_install/kselftest install -m 744 kselftest/module.sh /tmp/kci/linux/build/kselftest/kselftest_install/kselftest/ install -m 744 kselftest/runner.sh /tmp/kci/linux/build/kselftest/kselftest_install/kselftest/ install -m 744 kselftest/prefix.pl /tmp/kci/linux/build/kselftest/kselftest_install/kselftest/ install -m 744 run_kselftest.sh /tmp/kci/linux/build/kselftest/kselftest_install/ rm -f /tmp/kci/linux/build/kselftest/kselftest_install/kselftest-list.txt make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/arm64' make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/arm64' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/arm64/tags' make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/arm64' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. ccache clang -Wall -O2 -g -I/tmp/kci/linux/tools/testing/selftests/ -I/tmp/kci/linux/usr/include -D_GNU_SOURCE -std=gnu99 -I. test_signals.c test_signals_utils.c testcases/testcases.c signals.S testcases/fake_sigreturn_bad_magic.c test_signals.h test_signals_utils.h testcases/testcases.h -o testcases/fake_sigreturn_bad_magic clang: error: cannot specify -o when generating multiple output files make[2]: *** [Makefile:28: testcases/fake_sigreturn_bad_magic] Error 1 make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/arm64/signal' make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/arm64' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/arm64/pauth' make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/arm64' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. ccache clang -Wall -O2 -g -I/tmp/kci/linux/tools/testing/selftests/ -I/tmp/kci/linux/usr/include -I../../../../../usr/include/ -c -o sve-ptrace.o sve-ptrace.c In file included from sve-ptrace.c:17: /usr/include/x86_64-linux-gnu/asm/sigcontext.h:40:8: error: redefinition of '_fpx_sw_bytes' 40 | struct _fpx_sw_bytes { | ^ /usr/include/x86_64-linux-gnu/bits/sigcontext.h:31:8: note: previous definition is here 31 | struct _fpx_sw_bytes | ^ In file included from sve-ptrace.c:17: /usr/include/x86_64-linux-gnu/asm/sigcontext.h:85:8: error: redefinition of '_fpreg' 85 | struct _fpreg { | ^ /usr/include/x86_64-linux-gnu/bits/sigcontext.h:40:8: note: previous definition is here 40 | struct _fpreg | ^ In file included from sve-ptrace.c:17: /usr/include/x86_64-linux-gnu/asm/sigcontext.h:91:8: error: redefinition of '_fpxreg' 91 | struct _fpxreg { | ^ /usr/include/x86_64-linux-gnu/bits/sigcontext.h:46:8: note: previous definition is here 46 | struct _fpxreg | ^ In file included from sve-ptrace.c:17: /usr/include/x86_64-linux-gnu/asm/sigcontext.h:98:8: error: redefinition of '_xmmreg' 98 | struct _xmmreg { | ^ /usr/include/x86_64-linux-gnu/bits/sigcontext.h:53:8: note: previous definition is here 53 | struct _xmmreg | ^ In file included from sve-ptrace.c:17: /usr/include/x86_64-linux-gnu/asm/sigcontext.h:180:8: error: redefinition of '_ymmh_state' 180 | struct _ymmh_state { | ^ /usr/include/x86_64-linux-gnu/bits/sigcontext.h:184:8: note: previous definition is here 184 | struct _ymmh_state | ^ In file included from sve-ptrace.c:17: /usr/include/x86_64-linux-gnu/asm/sigcontext.h:192:8: error: redefinition of '_xstate' 192 | struct _xstate { | ^ /usr/include/x86_64-linux-gnu/bits/sigcontext.h:189:8: note: previous definition is here 189 | struct _xstate | ^ In file included from sve-ptrace.c:17: /usr/include/x86_64-linux-gnu/asm/sigcontext.h:317:8: error: redefinition of 'sigcontext' 317 | struct sigcontext { | ^ /usr/include/x86_64-linux-gnu/bits/sigcontext.h:139:8: note: previous definition is here 139 | struct sigcontext | ^ sve-ptrace.c:73:21: error: invalid application of 'sizeof' to an incomplete type 'struct user_sve_header' 73 | size_t sz = sizeof *sve; | ^~~~ sve-ptrace.c:69:15: note: forward declaration of 'struct user_sve_header' 69 | static struct user_sve_header *get_sve(pid_t pid, void **buf, size_t *size) | ^ sve-ptrace.c:94:10: error: incomplete definition of type 'struct user_sve_header' 94 | if (sve->size <= sz) | ~~~^ sve-ptrace.c:69:15: note: forward declaration of 'struct user_sve_header' 69 | static struct user_sve_header *get_sve(pid_t pid, void **buf, size_t *size) | ^ sve-ptrace.c:97:11: error: incomplete definition of type 'struct user_sve_header' 97 | sz = sve->size; | ~~~^ sve-ptrace.c:69:15: note: forward declaration of 'struct user_sve_header' 69 | static struct user_sve_header *get_sve(pid_t pid, void **buf, size_t *size) | ^ sve-ptrace.c:111:19: error: incomplete definition of type 'struct user_sve_header' 111 | iov.iov_len = sve->size; | ~~~^ sve-ptrace.c:69:15: note: forward declaration of 'struct user_sve_header' 69 | static struct user_sve_header *get_sve(pid_t pid, void **buf, size_t *size) | ^ sve-ptrace.c:121:10: error: incomplete definition of type 'struct user_sve_header' 121 | if ((sve->flags & SVE_PT_REGS_MASK) != SVE_PT_REGS_SVE) | ~~~^ sve-ptrace.c:69:15: note: forward declaration of 'struct user_sve_header' 69 | static struct user_sve_header *get_sve(pid_t pid, void **buf, size_t *size) | ^ sve-ptrace.c:121:20: error: use of undeclared identifier 'SVE_PT_REGS_MASK' 121 | if ((sve->flags & SVE_PT_REGS_MASK) != SVE_PT_REGS_SVE) | ^ sve-ptrace.c:121:41: error: use of undeclared identifier 'SVE_PT_REGS_SVE' 121 | if ((sve->flags & SVE_PT_REGS_MASK) != SVE_PT_REGS_SVE) | ^ sve-ptrace.c:124:17: error: incomplete definition of type 'struct user_sve_header' 124 | if (vlmax > sve->vl) | ~~~^ sve-ptrace.c:69:15: note: forward declaration of 'struct user_sve_header' 69 | static struct user_sve_header *get_sve(pid_t pid, void **buf, size_t *size) | ^ sve-ptrace.c:125:14: error: incomplete definition of type 'struct user_sve_header' 125 | vlmax = sve->vl; | ~~~^ sve-ptrace.c:69:15: note: forward declaration of 'struct user_sve_header' 69 | static struct user_sve_header *get_sve(pid_t pid, void **buf, size_t *size) | ^ sve-ptrace.c:127:7: error: call to undeclared function 'sve_vq_from_vl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 127 | vq = sve_vq_from_vl(sve->vl); | ^ sve-ptrace.c:127:25: error: incomplete definition of type 'struct user_sve_header' 127 | vq = sve_vq_from_vl(sve->vl); | ~~~^ sve-ptrace.c:69:15: note: forward declaration of 'struct user_sve_header' 69 | static struct user_sve_header *get_sve(pid_t pid, void **buf, size_t *size) | ^ sve-ptrace.c:130:28: error: call to undeclared function 'SVE_PT_SVE_ZREG_OFFSET'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | dump((const char *)sve + SVE_PT_SVE_ZREG_OFFSET(vq, i), | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[2]: *** [: sve-ptrace.o] Error 1 make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/arm64/fp' make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/arm64' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. Makefile:27: compiler "ccache clang" does not support the ARMv8.5 MTE extension. Makefile:28: test program "mte" will not be created. make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/arm64/mte' make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/arm64' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. ccache clang -mbranch-protection=standard -DBTI=1 -ffreestanding -Wall -Wextra -Wall -O2 -g -I/tmp/kci/linux/tools/testing/selftests/ -I/tmp/kci/linux/usr/include -c -o test-bti.o test.c clang: error: unsupported option '-mbranch-protection=' for target 'x86_64-pc-linux-gnu' make[2]: *** [Makefile:22: test-bti.o] Error 1 make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/arm64/bti' make[1]: *** [Makefile:35: all] Error 2 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/arm64' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/breakpoints' ccache clang breakpoint_test_arm64.c -o /tmp/kci/linux/build/kselftest/breakpoints/breakpoint_test_arm64 In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:74:3: error: expected identifier 74 | PTRACE_GETREGS = 12, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:68:35: note: expanded from macro 'PTRACE_GETREGS' 68 | #define PTRACE_GETREGS 12 | ^ In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:78:3: error: expected identifier 78 | PTRACE_SETREGS = 13, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:69:35: note: expanded from macro 'PTRACE_SETREGS' 69 | #define PTRACE_SETREGS 13 | ^ In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:82:3: error: expected identifier 82 | PTRACE_GETFPREGS = 14, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:70:35: note: expanded from macro 'PTRACE_GETFPREGS' 70 | #define PTRACE_GETFPREGS 14 | ^ In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:86:3: error: expected identifier 86 | PTRACE_SETFPREGS = 15, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:71:35: note: expanded from macro 'PTRACE_SETFPREGS' 71 | #define PTRACE_SETFPREGS 15 | ^ In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:98:3: error: expected identifier 98 | PTRACE_GETFPXREGS = 18, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:72:35: note: expanded from macro 'PTRACE_GETFPXREGS' 72 | #define PTRACE_GETFPXREGS 18 | ^ In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:102:3: error: expected identifier 102 | PTRACE_SETFPXREGS = 19, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:73:35: note: expanded from macro 'PTRACE_SETFPXREGS' 73 | #define PTRACE_SETFPXREGS 19 | ^ In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:110:3: error: expected identifier 110 | PTRACE_GET_THREAD_AREA = 25, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:78:35: note: expanded from macro 'PTRACE_GET_THREAD_AREA' 78 | #define PTRACE_GET_THREAD_AREA 25 | ^ In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:114:3: error: expected identifier 114 | PTRACE_SET_THREAD_AREA = 26, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:79:35: note: expanded from macro 'PTRACE_SET_THREAD_AREA' 79 | #define PTRACE_SET_THREAD_AREA 26 | ^ In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:119:3: error: expected identifier 119 | PTRACE_ARCH_PRCTL = 30, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:82:30: note: expanded from macro 'PTRACE_ARCH_PRCTL' 82 | # define PTRACE_ARCH_PRCTL 30 | ^ In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:124:3: error: expected identifier 124 | PTRACE_SYSEMU = 31, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:85:26: note: expanded from macro 'PTRACE_SYSEMU' 85 | #define PTRACE_SYSEMU 31 | ^ In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:128:3: error: expected identifier 128 | PTRACE_SYSEMU_SINGLESTEP = 32, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:86:35: note: expanded from macro 'PTRACE_SYSEMU_SINGLESTEP' 86 | #define PTRACE_SYSEMU_SINGLESTEP 32 | ^ In file included from breakpoint_test_arm64.c:16: /usr/include/x86_64-linux-gnu/sys/ptrace.h:132:3: error: expected identifier 132 | PTRACE_SINGLEBLOCK = 33, | ^ /usr/include/x86_64-linux-gnu/asm/ptrace-abi.h:88:28: note: expanded from macro 'PTRACE_SINGLEBLOCK' 88 | #define PTRACE_SINGLEBLOCK 33 /* resume execution until next branch */ | ^ breakpoint_test_arm64.c:89:28: error: variable has incomplete type 'struct user_hwdebug_state' 89 | struct user_hwdebug_state dreg_state; | ^ breakpoint_test_arm64.c:89:9: note: forward declaration of 'struct user_hwdebug_state' 89 | struct user_hwdebug_state dreg_state; | ^ breakpoint_test_arm64.c:96:16: error: offsetof of incomplete type 'struct user_hwdebug_state' 96 | iov.iov_len = offsetof(struct user_hwdebug_state, dbg_regs) + | ^ ~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stddef.h:116:24: note: expanded from macro 'offsetof' 116 | #define offsetof(t, d) __builtin_offsetof(t, d) | ^ ~ breakpoint_test_arm64.c:89:9: note: forward declaration of 'struct user_hwdebug_state' 89 | struct user_hwdebug_state dreg_state; | ^ 14 errors generated. make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/breakpoints/breakpoint_test_arm64] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/breakpoints' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/capabilities' ccache clang -O2 -g -std=gnu99 -Wall test_execve.c -lcap-ng -lrt -ldl -o /tmp/kci/linux/build/kselftest/capabilities/test_execve ccache clang -O2 -g -std=gnu99 -Wall validate_cap.c -lcap-ng -lrt -ldl -o /tmp/kci/linux/build/kselftest/capabilities/validate_cap test_execve.c:121:13: warning: variable 'have_outer_privilege' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 121 | } else if (unshare(CLONE_NEWUSER | CLONE_NEWNS) == 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test_execve.c:136:9: note: uninitialized use occurs here 136 | return have_outer_privilege; | ^~~~~~~~~~~~~~~~~~~~ test_execve.c:121:9: note: remove the 'if' if its condition is always true 121 | } else if (unshare(CLONE_NEWUSER | CLONE_NEWNS) == 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 122 | ksft_print_msg("[NOTE]\tUsing a user namespace for tests\n"); 123 | maybe_write_file("/proc/self/setgroups", "deny"); 124 | write_file("/proc/self/uid_map", "%d %d 1", inner_uid, outer_uid); 125 | write_file("/proc/self/gid_map", "0 %d 1", outer_gid); 126 | 127 | have_outer_privilege = false; 128 | } else { | ~~~~~~ 129 | ksft_exit_skip("must be root or be able to create a userns\n"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 130 | } | ~ test_execve.c:94:27: note: initialize the variable 'have_outer_privilege' to silence this warning 94 | bool have_outer_privilege; | ^ | = false /usr/bin/ld: cannot find -lcap-ng: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/capabilities/validate_cap] Error 1 make[1]: *** Waiting for unfinished jobs.... 1 warning generated. /usr/bin/ld: cannot find -lcap-ng: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/capabilities/test_execve] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/capabilities' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/cgroup' ccache clang -Wall -pthread test_memcontrol.c cgroup_util.c ../clone3/clone3_selftests.h -o /tmp/kci/linux/build/kselftest/cgroup/test_memcontrol ccache clang -Wall -pthread test_kmem.c cgroup_util.c ../clone3/clone3_selftests.h -o /tmp/kci/linux/build/kselftest/cgroup/test_kmem ccache clang -Wall -pthread test_core.c cgroup_util.c ../clone3/clone3_selftests.h -o /tmp/kci/linux/build/kselftest/cgroup/test_core ccache clang -Wall -pthread test_freezer.c cgroup_util.c ../clone3/clone3_selftests.h -o /tmp/kci/linux/build/kselftest/cgroup/test_freezer ccache clang -Wall -pthread test_kill.c cgroup_util.c ../clone3/clone3_selftests.h ../pidfd/pidfd.h -o /tmp/kci/linux/build/kselftest/cgroup/test_kill clangclangclang: : error: error: cannot specify -o when generating multiple output filescannot specify -o when generating multiple output files : error: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/cgroup/test_memcontrol] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/cgroup/test_kmem] Error 1 make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/cgroup/test_freezer] Error 1 make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/cgroup/test_core] Error 1 make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/cgroup/test_kill] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/cgroup' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/clone3' ccache clang -g -std=gnu99 -I../../../../usr/include/ clone3.c -lcap -o /tmp/kci/linux/build/kselftest/clone3/clone3 ccache clang -g -std=gnu99 -I../../../../usr/include/ clone3_clear_sighand.c -lcap -o /tmp/kci/linux/build/kselftest/clone3/clone3_clear_sighand ccache clang -g -std=gnu99 -I../../../../usr/include/ clone3_set_tid.c -lcap -o /tmp/kci/linux/build/kselftest/clone3/clone3_set_tid ccache clang -g -std=gnu99 -I../../../../usr/include/ clone3_cap_checkpoint_restore.c -lcap -o /tmp/kci/linux/build/kselftest/clone3/clone3_cap_checkpoint_restore /usr/bin/ld: cannot find -lcap: No such file or directory /usr/bin/ld: cannot find -lcap: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/clone3/clone3_clear_sighand] Error 1 make[1]: *** Waiting for unfinished jobs.... /usr/bin/ld: cannot find -lcap: No such file or directory make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/clone3/clone3] Error 1 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/clone3/clone3_set_tid] Error 1 /usr/bin/ld: cannot find -lcap: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/clone3/clone3_cap_checkpoint_restore] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/clone3' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/core' rsync -a /tmp/kci/linux/build/kselftest/core/close_range_test /tmp/kci/linux/build/kselftest/kselftest_install/core/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/core' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/cpufreq' rsync -a main.sh /tmp/kci/linux/build/kselftest/kselftest_install/cpufreq/ rsync -a cpu.sh cpufreq.sh governor.sh module.sh special-tests.sh /tmp/kci/linux/build/kselftest/kselftest_install/cpufreq/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/cpufreq/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/cpufreq' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/cpu-hotplug' rsync -a cpu-on-off-test.sh /tmp/kci/linux/build/kselftest/kselftest_install/cpu-hotplug/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/cpu-hotplug/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/cpu-hotplug' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/damon' rsync -a debugfs_attrs.sh /tmp/kci/linux/build/kselftest/kselftest_install/damon/ rsync -a _chk_dependency.sh /tmp/kci/linux/build/kselftest/kselftest_install/damon/ rsync -a /tmp/kci/linux/build/kselftest/damon/huge_count_read_write /tmp/kci/linux/build/kselftest/kselftest_install/damon/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/damon' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/drivers/dma-buf' rsync -a /tmp/kci/linux/build/kselftest/drivers/dma-buf/udmabuf /tmp/kci/linux/build/kselftest/kselftest_install/drivers/dma-buf/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/drivers/dma-buf/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/drivers/dma-buf' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/efivarfs' rsync -a efivarfs.sh /tmp/kci/linux/build/kselftest/kselftest_install/efivarfs/ rsync -a /tmp/kci/linux/build/kselftest/efivarfs/open-unlink /tmp/kci/linux/build/kselftest/efivarfs/create-read /tmp/kci/linux/build/kselftest/kselftest_install/efivarfs/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/efivarfs/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/efivarfs' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/exec' rsync -a binfmt_script /tmp/kci/linux/build/kselftest/kselftest_install/exec/ rsync -a Makefile /tmp/kci/linux/build/kselftest/kselftest_install/exec/ rsync -a /tmp/kci/linux/build/kselftest/exec/execveat /tmp/kci/linux/build/kselftest/exec/load_address_4096 /tmp/kci/linux/build/kselftest/exec/load_address_2097152 /tmp/kci/linux/build/kselftest/exec/load_address_16777216 /tmp/kci/linux/build/kselftest/exec/non-regular /tmp/kci/linux/build/kselftest/exec/recursion-depth /tmp/kci/linux/build/kselftest/kselftest_install/exec/ rsync -a /tmp/kci/linux/build/kselftest/exec/execveat.symlink /tmp/kci/linux/build/kselftest/exec/execveat.denatured /tmp/kci/linux/build/kselftest/exec/script /tmp/kci/linux/build/kselftest/exec/subdir /tmp/kci/linux/build/kselftest/kselftest_install/exec/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/exec' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/filesystems' rsync -a /tmp/kci/linux/build/kselftest/filesystems/devpts_pts /tmp/kci/linux/build/kselftest/kselftest_install/filesystems/ rsync -a /tmp/kci/linux/build/kselftest/filesystems/dnotify_test /tmp/kci/linux/build/kselftest/kselftest_install/filesystems/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/filesystems' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/filesystems/binderfs' rsync -a /tmp/kci/linux/build/kselftest/filesystems/binderfs/binderfs_test /tmp/kci/linux/build/kselftest/kselftest_install/filesystems/binderfs/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/filesystems/binderfs/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/filesystems/binderfs' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/filesystems/epoll' rsync -a /tmp/kci/linux/build/kselftest/filesystems/epoll/epoll_wakeup_test /tmp/kci/linux/build/kselftest/kselftest_install/filesystems/epoll/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/filesystems/epoll' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/firmware' rsync -a fw_run_tests.sh /tmp/kci/linux/build/kselftest/kselftest_install/firmware/ rsync -a fw_fallback.sh fw_filesystem.sh fw_lib.sh /tmp/kci/linux/build/kselftest/kselftest_install/firmware/ rsync -a /tmp/kci/linux/build/kselftest/firmware/fw_namespace /tmp/kci/linux/build/kselftest/kselftest_install/firmware/ rsync -a config settings /tmp/kci/linux/build/kselftest/kselftest_install/firmware/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/firmware' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/fpu' rsync -a run_test_fpu.sh /tmp/kci/linux/build/kselftest/kselftest_install/fpu/ rsync -a /tmp/kci/linux/build/kselftest/fpu/test_fpu /tmp/kci/linux/build/kselftest/kselftest_install/fpu/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/fpu' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/ftrace' rsync -a ftracetest /tmp/kci/linux/build/kselftest/kselftest_install/ftrace/ rsync -a test.d settings /tmp/kci/linux/build/kselftest/kselftest_install/ftrace/ rsync -a config settings /tmp/kci/linux/build/kselftest/kselftest_install/ftrace/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/ftrace' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/futex' make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/futex/functional' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/futex/functional' mkdir -p /tmp/kci/linux/build/kselftest/kselftest_install/futex install -t /tmp/kci/linux/build/kselftest/kselftest_install/futex run.sh make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/futex' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. rsync -a run.sh /tmp/kci/linux/build/kselftest/kselftest_install/futex/functional/ rsync -a /tmp/kci/linux/build/kselftest/futex/functional/futex_wait_timeout /tmp/kci/linux/build/kselftest/futex/functional/futex_wait_wouldblock /tmp/kci/linux/build/kselftest/futex/functional/futex_requeue_pi /tmp/kci/linux/build/kselftest/futex/functional/futex_requeue_pi_signal_restart /tmp/kci/linux/build/kselftest/futex/functional/futex_requeue_pi_mismatched_ops /tmp/kci/linux/build/kselftest/futex/functional/futex_wait_uninitialized_heap /tmp/kci/linux/build/kselftest/futex/functional/futex_wait_private_mapped_file /tmp/kci/linux/build/kselftest/futex/functional/futex_wait /tmp/kci/linux/build/kselftest/futex/functional/futex_requeue /tmp/kci/linux/build/kselftest/kselftest_install/futex/functional/ make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/futex/functional' make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/futex' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/gpio' rsync -a gpio-mockup.sh /tmp/kci/linux/build/kselftest/kselftest_install/gpio/ rsync -a gpio-mockup-sysfs.sh /tmp/kci/linux/build/kselftest/kselftest_install/gpio/ rsync -a /tmp/kci/linux/build/kselftest/gpio/gpio-mockup-cdev /tmp/kci/linux/build/kselftest/kselftest_install/gpio/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/gpio/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/gpio' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/intel_pstate' rsync -a run.sh /tmp/kci/linux/build/kselftest/kselftest_install/intel_pstate/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/intel_pstate' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/ipc' rsync -a /tmp/kci/linux/build/kselftest/ipc/msgque /tmp/kci/linux/build/kselftest/kselftest_install/ipc/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/ipc/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/ipc' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/ir' rsync -a ir_loopback.sh /tmp/kci/linux/build/kselftest/kselftest_install/ir/ rsync -a /tmp/kci/linux/build/kselftest/ir/ir_loopback /tmp/kci/linux/build/kselftest/kselftest_install/ir/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/ir' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/kcmp' rsync -a /tmp/kci/linux/build/kselftest/kcmp/kcmp_test /tmp/kci/linux/build/kselftest/kselftest_install/kcmp/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/kcmp' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/kexec' make[1]: *** No rule to make target 'install'. Stop. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/kexec' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/kvm' ccache clang -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 -fno-stack-protector -fno-PIE -I../../../../tools/include -I../../../../tools/arch/arm64/include -I../../../../usr/include/ -Iinclude -Ilib -Iinclude/aarch64 -I.. -c lib/kvm_util.c -o /tmp/kci/linux/build/kselftest/kvm/lib/kvm_util.o In file included from lib/kvm_util.c:12: include/aarch64/processor.h:62:63: warning: declaration of 'struct kvm_vcpu_init' will not be visible outside of this function [-Wvisibility] 62 | void aarch64_vcpu_setup(struct kvm_vm *vm, int vcpuid, struct kvm_vcpu_init *init); | ^ include/aarch64/processor.h:64:17: warning: declaration of 'struct kvm_vcpu_init' will not be visible outside of this function [-Wvisibility] 64 | struct kvm_vcpu_init *init, void *guest_code); | ^ lib/kvm_util.c:267:3: error: call to undeclared function 'kvm_get_cpu_address_width'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 267 | kvm_get_cpu_address_width(&vm->pa_bits, &vm->va_bits); | ^ 2 warnings and 1 error generated. make[1]: *** [Makefile:153: /tmp/kci/linux/build/kselftest/kvm/lib/kvm_util.o] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/kvm' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/landlock' ccache clang -Wall -O2 base_test.c -o /tmp/kci/linux/build/kselftest/landlock/base_test -lcap -I../../../../usr/include /usr/bin/ld: cannot find -lcap: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [Makefile:24: /tmp/kci/linux/build/kselftest/landlock/base_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/landlock' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/lib' rsync -a printf.sh bitmap.sh prime_numbers.sh scanf.sh strscpy.sh /tmp/kci/linux/build/kselftest/kselftest_install/lib/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/lib/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/lib' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/livepatch' rsync -a test-livepatch.sh test-callbacks.sh test-shadow-vars.sh test-state.sh test-ftrace.sh /tmp/kci/linux/build/kselftest/kselftest_install/livepatch/ rsync -a functions.sh /tmp/kci/linux/build/kselftest/kselftest_install/livepatch/ rsync -a settings /tmp/kci/linux/build/kselftest/kselftest_install/livepatch/ rsync -a config settings /tmp/kci/linux/build/kselftest/kselftest_install/livepatch/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/livepatch' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/lkdtm' rsync -a stack-entropy.sh /tmp/kci/linux/build/kselftest/kselftest_install/lkdtm/ rsync -a tests.txt /tmp/kci/linux/build/kselftest/kselftest_install/lkdtm/ rsync -a /tmp/kci/linux/build/kselftest/lkdtm/PANIC.sh /tmp/kci/linux/build/kselftest/lkdtm/BUG.sh /tmp/kci/linux/build/kselftest/lkdtm/WARNING.sh /tmp/kci/linux/build/kselftest/lkdtm/WARNING_MESSAGE.sh /tmp/kci/linux/build/kselftest/lkdtm/EXCEPTION.sh /tmp/kci/linux/build/kselftest/lkdtm/LOOP.sh /tmp/kci/linux/build/kselftest/lkdtm/EXHAUST_STACK.sh /tmp/kci/linux/build/kselftest/lkdtm/CORRUPT_STACK.sh /tmp/kci/linux/build/kselftest/lkdtm/CORRUPT_STACK_STRONG.sh /tmp/kci/linux/build/kselftest/lkdtm/ARRAY_BOUNDS.sh /tmp/kci/linux/build/kselftest/lkdtm/CORRUPT_LIST_ADD.sh /tmp/kci/linux/build/kselftest/lkdtm/CORRUPT_LIST_DEL.sh /tmp/kci/linux/build/kselftest/lkdtm/STACK_GUARD_PAGE_LEADING.sh /tmp/kci/linux/build/kselftest/lkdtm/STACK_GUARD_PAGE_TRAILING.sh /tmp/kci/linux/build/kselftest/lkdtm/UNSET_SMEP.sh /tmp/kci/linux/build/kselftest/lkdtm/DOUBLE_FAULT.sh /tmp/kci/linux/build/kselftest/lkdtm/CORRUPT_PAC.sh /tmp/kci/linux/build/kselftest/lkdtm/UNALIGNED_LOAD_STORE_WRITE.sh /tmp/kci/linux/build/kselftest/lkdtm/SLAB_LINEAR_OVERFLOW.sh /tmp/kci/linux/build/kselftest/lkdtm/VMALLOC_LINEAR_OVERFLOW.sh /tmp/kci/linux/build/kselftest/lkdtm/WRITE_AFTER_FREE.sh /tmp/kci/linux/build/kselftest/lkdtm/READ_AFTER_FREE.sh /tmp/kci/linux/build/kselftest/lkdtm/WRITE_BUDDY_AFTER_FREE.sh /tmp/kci/linux/build/kselftest/lkdtm/READ_BUDDY_AFTER_FREE.sh /tmp/kci/linux/build/kselftest/lkdtm/SLAB_INIT_ON_ALLOC.sh /tmp/kci/linux/build/kselftest/lkdtm/BUDDY_INIT_ON_ALLOC.sh /tmp/kci/linux/build/kselftest/lkdtm/SLAB_FREE_DOUBLE.sh /tmp/kci/linux/build/kselftest/lkdtm/SLAB_FREE_CROSS.sh /tmp/kci/linux/build/kselftest/lkdtm/SLAB_FREE_PAGE.sh /tmp/kci/linux/build/kselftest/lkdtm/SOFTLOCKUP.sh /tmp/kci/linux/build/kselftest/lkdtm/HARDLOCKUP.sh /tmp/kci/linux/build/kselftest/lkdtm/SPINLOCKUP.sh /tmp/kci/linux/build/kselftest/lkdtm/HUNG_TASK.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_DATA.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_STACK.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_KMALLOC.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_VMALLOC.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_RODATA.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_USERSPACE.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_NULL.sh /tmp/kci/linux/build/kselftest/lkdtm/ACCESS_USERSPACE.sh /tmp/kci/linux/build/kselftest/lkdtm/ACCESS_NULL.sh /tmp/kci/linux/build/kselftest/lkdtm/WRITE_RO.sh /tmp/kci/linux/build/kselftest/lkdtm/WRITE_RO_AFTER_INIT.sh /tmp/kci/linux/build/kselftest/lkdtm/WRITE_KERN.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_INC_OVERFLOW.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_ADD_OVERFLOW.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_INC_NOT_ZERO_OVERFLOW.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_ADD_NOT_ZERO_OVERFLOW.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_DEC_ZERO.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_DEC_NEGATIVE.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_DEC_AND_TEST_NEGATIVE.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_SUB_AND_TEST_NEGATIVE.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_INC_ZERO.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_ADD_ZERO.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_INC_SATURATED.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_DEC_SATURATED.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_ADD_SATURATED.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_INC_NOT_ZERO_SATURATED.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_ADD_NOT_ZERO_SATURATED.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_DEC_AND_TEST_SATURATED.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_SUB_AND_TEST_SATURATED.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_TIMING.sh /tmp/kci/linux/build/kselftest/lkdtm/ATOMIC_TIMING.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_HEAP_SIZE_TO.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_HEAP_SIZE_FROM.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_HEAP_WHITELIST_TO.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_HEAP_WHITELIST_FROM.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_STACK_FRAME_TO.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_STACK_FRAME_FROM.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_STACK_BEYOND.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_KERNEL.sh /tmp/kci/linux/build/kselftest/lkdtm/STACKLEAK_ERASING.sh /tmp/kci/linux/build/kselftest/lkdtm/CFI_FORWARD_PROTO.sh /tmp/kci/linux/build/kselftest/lkdtm/FORTIFIED_STRSCPY.sh /tmp/kci/linux/build/kselftest/lkdtm/FORTIFIED_OBJECT.sh /tmp/kci/linux/build/kselftest/lkdtm/FORTIFIED_SUBOBJECT.sh /tmp/kci/linux/build/kselftest/lkdtm/PPC_SLB_MULTIHIT.sh /tmp/kci/linux/build/kselftest/kselftest_install/lkdtm/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/lkdtm/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/lkdtm' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/membarrier' rsync -a /tmp/kci/linux/build/kselftest/membarrier/membarrier_test_single_thread /tmp/kci/linux/build/kselftest/membarrier/membarrier_test_multi_thread /tmp/kci/linux/build/kselftest/kselftest_install/membarrier/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/membarrier' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/memfd' ccache clang -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ -I../../../../usr/include/ fuse_mnt.c -lfuse -pthread -o /tmp/kci/linux/build/kselftest/memfd/fuse_mnt /usr/bin/ld: cannot find -lfuse: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/memfd/fuse_mnt] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/memfd' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/memory-hotplug' rsync -a mem-on-off-test.sh /tmp/kci/linux/build/kselftest/kselftest_install/memory-hotplug/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/memory-hotplug/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/memory-hotplug' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/mincore' rsync -a /tmp/kci/linux/build/kselftest/mincore/mincore_selftest /tmp/kci/linux/build/kselftest/kselftest_install/mincore/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/mincore' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/mount' rsync -a run_unprivileged_remount.sh run_nosymfollow.sh /tmp/kci/linux/build/kselftest/kselftest_install/mount/ rsync -a /tmp/kci/linux/build/kselftest/mount/unprivileged-remount-test /tmp/kci/linux/build/kselftest/mount/nosymfollow-test /tmp/kci/linux/build/kselftest/kselftest_install/mount/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/mount/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/mount' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/mount_setattr' rsync -a /tmp/kci/linux/build/kselftest/mount_setattr/mount_setattr_test /tmp/kci/linux/build/kselftest/kselftest_install/mount_setattr/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/mount_setattr/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/mount_setattr' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/move_mount_set_group' rsync -a /tmp/kci/linux/build/kselftest/move_mount_set_group/move_mount_set_group_test /tmp/kci/linux/build/kselftest/kselftest_install/move_mount_set_group/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/move_mount_set_group/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/move_mount_set_group' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/mqueue' ccache clang -O2 mq_open_tests.c -lrt -lpthread -lpopt -o /tmp/kci/linux/build/kselftest/mqueue/mq_open_tests ccache clang -O2 mq_perf_tests.c -lrt -lpthread -lpopt -o /tmp/kci/linux/build/kselftest/mqueue/mq_perf_tests mq_perf_tests.c:336:41: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 336 | mq_receive(queue, buff, sizeof(buff), &priority); | ^~~~~~~~~ /usr/include/mqueue.h:67:21: note: passing argument to parameter '__msg_prio' here 67 | unsigned int *__msg_prio) __nonnull ((2)); | ^ mq_perf_tests.c:462:3: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 462 | do_send_recv(); | ^~~~~~~~~~~~~~ mq_perf_tests.c:355:41: note: expanded from macro 'do_send_recv' 355 | if (mq_receive(queue, buff, MSG_SIZE, &prio_in) != MSG_SIZE) \ | ^~~~~~~~ /usr/include/mqueue.h:67:21: note: passing argument to parameter '__msg_prio' here 67 | unsigned int *__msg_prio) __nonnull ((2)); | ^ mq_perf_tests.c:498:4: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 498 | do_send_recv(); | ^~~~~~~~~~~~~~ mq_perf_tests.c:355:41: note: expanded from macro 'do_send_recv' 355 | if (mq_receive(queue, buff, MSG_SIZE, &prio_in) != MSG_SIZE) \ | ^~~~~~~~ /usr/include/mqueue.h:67:21: note: passing argument to parameter '__msg_prio' here 67 | unsigned int *__msg_prio) __nonnull ((2)); | ^ mq_perf_tests.c:515:3: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 515 | drain_queue(); | ^~~~~~~~~~~~~ mq_perf_tests.c:341:43: note: expanded from macro 'drain_queue' 341 | while (mq_receive(queue, buff, MSG_SIZE, &prio_in) == MSG_SIZE) | ^~~~~~~~ /usr/include/mqueue.h:67:21: note: passing argument to parameter '__msg_prio' here 67 | unsigned int *__msg_prio) __nonnull ((2)); | ^ /usr/bin/ld: cannot find -lpopt: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/mqueue/mq_open_tests] Error 1 make[1]: *** Waiting for unfinished jobs.... 4 warnings generated. /usr/bin/ld: cannot find -lpopt: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/mqueue/mq_perf_tests] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/mqueue' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/nci' rsync -a /tmp/kci/linux/build/kselftest/nci/nci_dev /tmp/kci/linux/build/kselftest/kselftest_install/nci/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/nci/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/nci' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/net' ccache clang -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ reuseport_bpf_numa.c -lnuma -o /tmp/kci/linux/build/kselftest/net/reuseport_bpf_numa /usr/bin/ld: cannot find -lnuma: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/net/reuseport_bpf_numa] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/net' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/net/af_unix' rsync -a /tmp/kci/linux/build/kselftest/net/af_unix/test_unix_oob /tmp/kci/linux/build/kselftest/kselftest_install/net/af_unix/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/net/af_unix' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/net/forwarding' rsync -a bridge_igmp.sh bridge_port_isolation.sh bridge_sticky_fdb.sh bridge_vlan_aware.sh bridge_vlan_unaware.sh ethtool.sh gre_inner_v4_multipath.sh gre_inner_v6_multipath.sh gre_multipath.sh ip6_forward_instats_vrf.sh ip6gre_inner_v4_multipath.sh ip6gre_inner_v6_multipath.sh ipip_flat_gre_key.sh ipip_flat_gre_keys.sh ipip_flat_gre.sh ipip_hier_gre_key.sh ipip_hier_gre_keys.sh ipip_hier_gre.sh loopback.sh mirror_gre_bound.sh mirror_gre_bridge_1d.sh mirror_gre_bridge_1d_vlan.sh mirror_gre_bridge_1q_lag.sh mirror_gre_bridge_1q.sh mirror_gre_changes.sh mirror_gre_flower.sh mirror_gre_lag_lacp.sh mirror_gre_neigh.sh mirror_gre_nh.sh mirror_gre.sh mirror_gre_vlan_bridge_1q.sh mirror_gre_vlan.sh mirror_vlan.sh router_bridge.sh router_bridge_vlan.sh router_broadcast.sh router_mpath_nh.sh router_multicast.sh router_multipath.sh router.sh router_vid_1.sh sch_ets.sh sch_tbf_ets.sh sch_tbf_prio.sh sch_tbf_root.sh tc_actions.sh tc_chains.sh tc_flower_router.sh tc_flower.sh tc_mpls_l2vpn.sh tc_shblocks.sh tc_vlan_modify.sh vxlan_asymmetric.sh vxlan_bridge_1d_port_8472.sh vxlan_bridge_1d.sh vxlan_bridge_1q_port_8472.sh vxlan_bridge_1q.sh vxlan_symmetric.sh /tmp/kci/linux/build/kselftest/kselftest_install/net/forwarding/ rsync -a devlink_lib.sh ethtool_lib.sh fib_offload_lib.sh forwarding.config.sample ipip_lib.sh lib.sh mirror_gre_lib.sh mirror_gre_topo_lib.sh mirror_lib.sh mirror_topo_lib.sh sch_ets_core.sh sch_ets_tests.sh sch_tbf_core.sh sch_tbf_etsprio.sh tc_common.sh /tmp/kci/linux/build/kselftest/kselftest_install/net/forwarding/ rsync -a config settings /tmp/kci/linux/build/kselftest/kselftest_install/net/forwarding/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/net/forwarding' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/net/mptcp' rsync -a mptcp_connect.sh pm_netlink.sh mptcp_join.sh diag.sh simult_flows.sh mptcp_sockopt.sh /tmp/kci/linux/build/kselftest/kselftest_install/net/mptcp/ rsync -a mptcp_lib.sh settings /tmp/kci/linux/build/kselftest/kselftest_install/net/mptcp/ rsync -a /tmp/kci/linux/build/kselftest/net/mptcp/mptcp_connect /tmp/kci/linux/build/kselftest/net/mptcp/pm_nl_ctl /tmp/kci/linux/build/kselftest/kselftest_install/net/mptcp/ rsync -a config settings /tmp/kci/linux/build/kselftest/kselftest_install/net/mptcp/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/net/mptcp' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/netfilter' ccache clang nf-queue.c -lmnl -o /tmp/kci/linux/build/kselftest/netfilter/nf-queue /usr/bin/ld: cannot find -lmnl: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/netfilter/nf-queue] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/netfilter' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/nsfs' rsync -a /tmp/kci/linux/build/kselftest/nsfs/owner /tmp/kci/linux/build/kselftest/nsfs/pidns /tmp/kci/linux/build/kselftest/kselftest_install/nsfs/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/nsfs/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/nsfs' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/pidfd' rsync -a /tmp/kci/linux/build/kselftest/pidfd/pidfd_test /tmp/kci/linux/build/kselftest/pidfd/pidfd_fdinfo_test /tmp/kci/linux/build/kselftest/pidfd/pidfd_open_test /tmp/kci/linux/build/kselftest/pidfd/pidfd_poll_test /tmp/kci/linux/build/kselftest/pidfd/pidfd_wait /tmp/kci/linux/build/kselftest/pidfd/pidfd_getfd_test /tmp/kci/linux/build/kselftest/pidfd/pidfd_setns_test /tmp/kci/linux/build/kselftest/kselftest_install/pidfd/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/pidfd/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/pidfd' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/pid_namespace' ccache clang -g -I../../../../usr/include/ regression_enomem.c ../pidfd/pidfd.h -o /tmp/kci/linux/build/kselftest/pid_namespace/regression_enomem clang: error: cannot specify -o when generating multiple output files make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/pid_namespace/regression_enomem] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/pid_namespace' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/powerpc' make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/powerpc' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/proc' rsync -a /tmp/kci/linux/build/kselftest/proc/fd-001-lookup /tmp/kci/linux/build/kselftest/proc/fd-002-posix-eq /tmp/kci/linux/build/kselftest/proc/fd-003-kthread /tmp/kci/linux/build/kselftest/proc/proc-loadavg-001 /tmp/kci/linux/build/kselftest/proc/proc-pid-vm /tmp/kci/linux/build/kselftest/proc/proc-self-map-files-001 /tmp/kci/linux/build/kselftest/proc/proc-self-map-files-002 /tmp/kci/linux/build/kselftest/proc/proc-self-syscall /tmp/kci/linux/build/kselftest/proc/proc-self-wchan /tmp/kci/linux/build/kselftest/proc/proc-subset-pid /tmp/kci/linux/build/kselftest/proc/proc-uptime-001 /tmp/kci/linux/build/kselftest/proc/proc-uptime-002 /tmp/kci/linux/build/kselftest/proc/read /tmp/kci/linux/build/kselftest/proc/self /tmp/kci/linux/build/kselftest/proc/setns-dcache /tmp/kci/linux/build/kselftest/proc/setns-sysvipc /tmp/kci/linux/build/kselftest/proc/thread-self /tmp/kci/linux/build/kselftest/proc/proc-multiple-procfs /tmp/kci/linux/build/kselftest/proc/proc-fsconfig-hidepid /tmp/kci/linux/build/kselftest/kselftest_install/proc/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/proc/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/proc' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/pstore' rsync -a pstore_tests pstore_post_reboot_tests /tmp/kci/linux/build/kselftest/kselftest_install/pstore/ rsync -a common_tests pstore_crash_test /tmp/kci/linux/build/kselftest/kselftest_install/pstore/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/pstore/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/pstore' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/ptrace' rsync -a /tmp/kci/linux/build/kselftest/ptrace/get_syscall_info /tmp/kci/linux/build/kselftest/ptrace/peeksiginfo /tmp/kci/linux/build/kselftest/ptrace/vmaccess /tmp/kci/linux/build/kselftest/kselftest_install/ptrace/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/ptrace' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/openat2' ccache clang -Wall -O2 -g -fsanitize=address -fsanitize=undefined openat2_test.c helpers.c helpers.h -o /tmp/kci/linux/build/kselftest/openat2/openat2_test ccache clang -Wall -O2 -g -fsanitize=address -fsanitize=undefined resolve_test.c helpers.c helpers.h -o /tmp/kci/linux/build/kselftest/openat2/resolve_test ccache clang -Wall -O2 -g -fsanitize=address -fsanitize=undefined rename_attack_test.c helpers.c helpers.h -o /tmp/kci/linux/build/kselftest/openat2/rename_attack_test clang: clang: error: error: cannot specify -o when generating multiple output filescannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/openat2/openat2_test] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/openat2/rename_attack_test] Error 1 make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/openat2/resolve_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/openat2' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/resctrl' rsync -a /tmp/kci/linux/build/kselftest/resctrl/resctrl_tests /tmp/kci/linux/build/kselftest/kselftest_install/resctrl/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/resctrl/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/resctrl' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/rlimits' rsync -a /tmp/kci/linux/build/kselftest/rlimits/rlimits-per-userns /tmp/kci/linux/build/kselftest/kselftest_install/rlimits/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/rlimits/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/rlimits' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/rseq' ccache clang -O2 -Wall -g -I./ -I../../../../usr/include/ -L/tmp/kci/linux/build/kselftest/rseq -Wl,-rpath=./ -no-integrated-as -I../../../../tools/include param_test.c -lpthread -ldl -lrseq -o /tmp/kci/linux/build/kselftest/rseq/param_test ccache clang -O2 -Wall -g -I./ -I../../../../usr/include/ -L/tmp/kci/linux/build/kselftest/rseq -Wl,-rpath=./ -no-integrated-as -I../../../../tools/include -DBENCHMARK param_test.c -lpthread -ldl -lrseq -o /tmp/kci/linux/build/kselftest/rseq/param_test_benchmark ccache clang -O2 -Wall -g -I./ -I../../../../usr/include/ -L/tmp/kci/linux/build/kselftest/rseq -Wl,-rpath=./ -no-integrated-as -I../../../../tools/include -DRSEQ_COMPARE_TWICE param_test.c -lpthread -ldl -lrseq -o /tmp/kci/linux/build/kselftest/rseq/param_test_compare_twice param_test.c:1156:10: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1156 | while (!atomic_load(&args->percpu_list_ptr)) {} | ^ ~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1228:2: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1228 | atomic_store(&args->percpu_list_ptr, (intptr_t)&list_a); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:137:39: note: expanded from macro 'atomic_store' 137 | #define atomic_store(object, desired) __c11_atomic_store(object, desired, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1230:10: error: address argument to atomic operation must be a pointer to _Atomic type ('int *' invalid) 1230 | while (!atomic_load(&args->stop)) { | ^ ~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1237:19: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1237 | if (expect_b != atomic_load(&list_b.c[cpu_b].head->data)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1243:3: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1243 | atomic_store(&args->percpu_list_ptr, (intptr_t)&list_b); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:137:39: note: expanded from macro 'atomic_store' 137 | #define atomic_store(object, desired) __c11_atomic_store(object, desired, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1254:14: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1254 | expect_a = atomic_load(&list_a.c[cpu_a].head->data); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1261:19: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1261 | if (expect_a != atomic_load(&list_a.c[cpu_a].head->data)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(object) __c11param_test.c_a:t1156o:10m:i cerror: _address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)l oad(object, __AT O1156M | I Cw_hSiElQe _(C!aStTo)mi c _| lo ^ ~~~~~~a d(&args->percpu_list_ptr)) {} | ^ ~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1267:3: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1267 | atomic_store(&args->percpu_list_ptr, (intptr_t)&list_a); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:137:39: note: expanded from macro 'atomic_store' 137 | #define atomic_store(object, desired) __c11_atomic_store(object, desired, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1275:14: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1275 | expect_b = atomic_load(&list_b.c[cpu_b].head->data); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1228:2: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1228 | atomic_store(&args->percpu_list_ptr, param_test.c(i:n1156t:p10t:r _error: taddress argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)) &list_a); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:137: 391156: | note: wexpanded from macro 'atomic_store'h ile (!at o137m | i#cd_elfoiande( &aatrogmsi-c>_psetrocrpeu(_olbijsetc_tp,t rd)e)s i{r}e d )| ^ ~~~~~~~~~~~~~~~~~~~~~~_ _c11_atom/usr/lib/llvm-17/lib/clang/17/include/stdatomic.hi:c140_:s29t:o rnote: eexpanded from macro 'atomic_load'( object, 140d | e#sdierfeid,n e_ _aAtToOmiMcI_Cl_oSaEdQ(_oCbSjTe)c t )| ^ ~~~~~~_ _c11_atomic_load(object, __Aparam_test.cT:O1230M:I10C:_ Serror: EQaddress argument to atomic operation must be a pointer to _Atomic type ('int *' invalid)_ CST) | ^ ~~~~~~ 1230 | while (!atomic_load(&args->stop)) { | ^ ~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(object) __c11_atomparam_test.cic:_1332l:o2a:d (error: oaddress argument to atomic operation must be a pointer to _Atomic type ('int *' invalid)b ject, __AT OM1332I | C_ SEaQ_tCoSTm)i c| ^ ~~~~~~_ store(&thread_args.stop, 1); | ^ ~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:137:39: note: expanded from macro 'atomic_store' param_test.c:1237:19: error: 137address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) | #defi ne1237 | a tifo m(eixpcec_ts_bt !o=r eat(omoibc_jloeacd(t&,li std_ebs.icr[cepdu_)b ]_._heca1d1-_>adtaotmai)c)_ s{t o r| e ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~( obje/usr/lib/llvm-17/lib/clang/17/include/stdatomic.hc:t140,: 29d:e snote: iexpanded from macro 'atomic_load'r ed, _140_ | A#TdOeMfIiCn_eS EaQt_oCmSiTc)_ lo a| d ^ ~~~~~~(o bject) __c11_atomic_load(object, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1243:3: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1243 | atomic_store(&args->percpu_list_ptr, (intptr_t)&list_b); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:137:39: note: expanded from macro 'atomic_store' 137 | #define atomic_store(object, desired) __c11_atomic_store(object, desired, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1254:14: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1254 | expectparam_test.c_a: 1228=: 2a:t oerror: miaddress argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)c _load(&list _1228a | . ca[tcopmui_ca_]s.thoeraed(-&>adragtsa-)>;p e r| c ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~pu _lis/usr/lib/llvm-17/lib/clang/17/include/stdatomic.ht:_140p:t29r:, note: (expanded from macro 'atomic_load'i ntpt r140_ | t#)d&elfiisnte_ aa)t;o m i| c ^ ~~~~~~~~~~~~~~~~~~~~~~_ load/usr/lib/llvm-17/lib/clang/17/include/stdatomic.h(:o137b:j39ec:t )note: expanded from macro 'atomic_store'_ _c11_ato m137i | c#_dleofaidn(eo bajteocmti,c __s_tAoTrOeM(IoCb_jSeEcQt_,C SdTe)s ir e| d ^ ~~~~~~) __c11_atomic_store(object, desired, __ATOMIC_SEQ_CSparam_test.cT): 1261 :| 19 ^ ~~~~~~: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1261 | if (expect_a param_test.c!=: 1230a:t10o:m ierror: caddress argument to atomic operation must be a pointer to _Atomic type ('int *' invalid)_ load(& l1230i | s tw_hai.lce[ c(p!ua_tao]m.ihce_aldo-a>dd(&aatrag)s)- >{s t o| p ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~) ) { /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h :| ^ ~~~~~~~~~~~140 :29: /usr/lib/llvm-17/lib/clang/17/include/stdatomic.hnote: :expanded from macro 'atomic_load'140 :29: note: expanded from macro 'atomic_load' 140 | #defi n140e | #adteofmiicn_el oaatdo(miocb_jleocatd)( o_b_jce1c1_ta)t o_m_icc1_1l_oaatdo(moibjce_clto,a d_(_AoTbOjMeIcCt_,S E_Q__ACTSOTM)I C _| S ^ ~~~~~~E Q_CST) | ^ ~~~~~~ param_test.cparam_test.c:1237:19: :error: 1267address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid): 3: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1237 | i f1267 | ( e xapteocmti_cb_ s!t=o raet(o&maircg_sl-o>apde(r&clist_b.cp[cup_ul_ibs]t._hpetard,- >(diatnat)p)t r{_ t )| & ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~l ist_/usr/lib/llvm-17/lib/clang/17/include/stdatomic.ha:)140;: 29 :| ^ ~~~~~~~~~~~~~~~~~~~~~~note: expanded from macro 'atomic_load' /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h: 137140: | 39#:d enote: fexpanded from macro 'atomic_store'i ne ato mi137c | _#ldoeafdi(noeb jaetcotm)i c___stco1r1e_(aotbojmiecc_tl,o adde(soibrjeedc) t_,_ c_1_1A_TOaMtIoCm_iScE_Qs_tCoSrTe)( o b| j ^ ~~~~~~e ct, desired, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1243:3: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1243 | atomic_store(&args->percpu_lparam_test.cis:t1275_:p14t:r ,error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)( intptr_t) &1275l | i s te_xbp)e;c t _| b ^ ~~~~~~~~~~~~~~~~~~~~~~ = ato/usr/lib/llvm-17/lib/clang/17/include/stdatomic.hm:i137c:_39l:o anote: dexpanded from macro 'atomic_store'( &list_b. c137[ | c#pdue_fbi]n.eh eaatdo-m>idca_tsat)o;r e (| o ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~b ject/usr/lib/llvm-17/lib/clang/17/include/stdatomic.h,: 140d:e29s:i rnote: eexpanded from macro 'atomic_load'd ) __c1 1140_ | a#tdoemfiicn_es taotroem(iocb_jleocatd,( odbejseicrte)d ,_ __c_1A1T_OaMtIoCm_iScE_Ql_oCaSdT()o b j| e ^ ~~~~~~c t, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1254:14: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1254 | expect_a = atomic_load(&list_a.c[cpu_a].head->data); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1261:19: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1261 | if (expect_a != atomic_load(&list_a.c[cpu_a].head->data)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1267:3: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1267 | atomic_store(&args->percpu_list_ptr, (intptr_t)&list_a); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:137:39: note: expanded from macro 'atomic_store' 137 | #define atomic_store(oparam_test.cbj:e1332c:t2,: derror: eaddress argument to atomic operation must be a pointer to _Atomic type ('int *' invalid)s ire 1332 | adt)o m_i_cc_1s1t_oarteo(m&itch_rsetaodr_ea(rogbsj.esctto,p ,d e1s)ir;e d ,| ^ ~~~~~~~~~~~~~~~~~_ _ATO/usr/lib/llvm-17/lib/clang/17/include/stdatomic.hM:I137C:_39S:E Qnote: _expanded from macro 'atomic_store'C ST) | ^ ~~~~~~ 137 | #define atomic_store(object, desired) __c11_atomic_store(object, desired, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1275:14: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1275 | expect_b = atomic_load(&list_b.c[cpu_b].head->data); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST) | ^ ~~~~~~ 10 errors generated. param_test.c:1332:2: error: address argument to atomic operation must be a pointer to _Atomic type ('int *' invalid) 1332 | atomic_store(&thread_args.stop, 1); | ^ ~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:137:39: note: expanded from macro 'atomic_store' 137 | #define atomic_store(object, desired) __c11_atomic_store(object, desired, __ATOMIC_SEQ_CST) | ^ ~~~~~~ 10 errors generated. 10 errors generated. make[1]: *** [Makefile:36: /tmp/kci/linux/build/kselftest/rseq/param_test_benchmark] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:32: /tmp/kci/linux/build/kselftest/rseq/param_test] Error 1 make[1]: *** [Makefile:40: /tmp/kci/linux/build/kselftest/rseq/param_test_compare_twice] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/rseq' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/rtc' rsync -a settings /tmp/kci/linux/build/kselftest/kselftest_install/rtc/ rsync -a /tmp/kci/linux/build/kselftest/rtc/rtctest /tmp/kci/linux/build/kselftest/kselftest_install/rtc/ rsync -a /tmp/kci/linux/build/kselftest/rtc/setdate /tmp/kci/linux/build/kselftest/kselftest_install/rtc/ rsync -a settings /tmp/kci/linux/build/kselftest/kselftest_install/rtc/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/rtc' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/seccomp' rsync -a /tmp/kci/linux/build/kselftest/seccomp/seccomp_bpf /tmp/kci/linux/build/kselftest/seccomp/seccomp_benchmark /tmp/kci/linux/build/kselftest/kselftest_install/seccomp/ rsync -a config settings /tmp/kci/linux/build/kselftest/kselftest_install/seccomp/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/seccomp' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/sgx' ccache clang -Wall -Werror -g -I../../../../tools/include -fPIC -z noexecstack -c main.c -o /tmp/kci/linux/build/kselftest/sgx/main.o ccache clang -Wall -Werror -g -I../../../../tools/include -fPIC -z noexecstack -c load.c -o /tmp/kci/linux/build/kselftest/sgx/load.o ccache clang -Wall -Werror -g -I../../../../tools/include -fPIC -z noexecstack -c sigstruct.c -o /tmp/kci/linux/build/kselftest/sgx/sigstruct.o ccache clang -Wall -Werror -g -I../../../../tools/include -fPIC -z noexecstack -c call.S -o /tmp/kci/linux/build/kselftest/sgx/call.o ccache clang -Wall -Werror -g -I../../../../tools/include -fPIC -z noexecstack -c sign_key.S -o /tmp/kci/linux/build/kselftest/sgx/sign_key.o clangclang: error: -z noexecstack: 'linker' input unused [-Werror,-Wunused-command-line-argument] : error: -z noexecstack: 'linker' input unused [-Werror,-Wunused-command-line-argument] clangclang: : error: error: -z noexecstack: 'linker' input unused [-Werror,-Wunused-command-line-argument] -z noexecstack: 'linker' input unused [-Werror,-Wunused-command-line-argument] clang: error: -z noexecstack: 'linker' input unused [-Werror,-Wunused-command-line-argument] make[1]: *** [Makefile:45: /tmp/kci/linux/build/kselftest/sgx/sign_key.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:33: /tmp/kci/linux/build/kselftest/sgx/main.o] Error 1 make[1]: *** [Makefile:36: /tmp/kci/linux/build/kselftest/sgx/load.o] Error 1 make[1]: *** [Makefile:39: /tmp/kci/linux/build/kselftest/sgx/sigstruct.o] Error 1 make[1]: *** [Makefile:42: /tmp/kci/linux/build/kselftest/sgx/call.o] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/sgx' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/sigaltstack' rsync -a /tmp/kci/linux/build/kselftest/sigaltstack/sas /tmp/kci/linux/build/kselftest/kselftest_install/sigaltstack/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/sigaltstack' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/size' rsync -a /tmp/kci/linux/build/kselftest/size/get_size /tmp/kci/linux/build/kselftest/kselftest_install/size/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/size' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/sparc64' make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/sparc64' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/splice' rsync -a default_file_splice_read.sh short_splice_read.sh /tmp/kci/linux/build/kselftest/kselftest_install/splice/ rsync -a /tmp/kci/linux/build/kselftest/splice/default_file_splice_read /tmp/kci/linux/build/kselftest/splice/splice_read /tmp/kci/linux/build/kselftest/kselftest_install/splice/ rsync -a config settings /tmp/kci/linux/build/kselftest/kselftest_install/splice/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/splice' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/static_keys' rsync -a test_static_keys.sh /tmp/kci/linux/build/kselftest/kselftest_install/static_keys/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/static_keys/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/static_keys' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/sync' rsync -a /tmp/kci/linux/build/kselftest/sync/sync_test /tmp/kci/linux/build/kselftest/kselftest_install/sync/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/sync/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/sync' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/syscall_user_dispatch' rsync -a /tmp/kci/linux/build/kselftest/syscall_user_dispatch/sud_test /tmp/kci/linux/build/kselftest/syscall_user_dispatch/sud_benchmark /tmp/kci/linux/build/kselftest/kselftest_install/syscall_user_dispatch/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/syscall_user_dispatch/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/syscall_user_dispatch' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/sysctl' rsync -a sysctl.sh /tmp/kci/linux/build/kselftest/kselftest_install/sysctl/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/sysctl/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/sysctl' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/tc-testing' rsync -a ./tdc.sh /tmp/kci/linux/build/kselftest/kselftest_install/tc-testing/ rsync -a tdc*.py Tdc*.py plugins plugin-lib tc-tests /tmp/kci/linux/build/kselftest/kselftest_install/tc-testing/ rsync -a /tmp/kci/linux/build/kselftest/tc-testing/action.o /tmp/kci/linux/build/kselftest/kselftest_install/tc-testing/ rsync -a config settings /tmp/kci/linux/build/kselftest/kselftest_install/tc-testing/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/tc-testing' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/timens' ccache clang -Wall -Werror -pthread timerfd.c -lrt -ldl -o /tmp/kci/linux/build/kselftest/timens/timerfd ccache clang -Wall -Werror -pthread timer.c -lrt -ldl -o /tmp/kci/linux/build/kselftest/timens/timer ccache clang -Wall -Werror -pthread exec.c -lrt -ldl -o /tmp/kci/linux/build/kselftest/timens/exec timer.c:59:7: error: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value] 59 | if (abs(elapsed - 3600) > 60) { | ^ timer.c:59:7: note: use function 'llabs' instead 59 | if (abs(elapsed - 3600) > 60) { | ^~~ | llabs timerfd.c:64:7: error: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value] 64 | if (abs(elapsed - 3600) > 60) { | ^ timerfd.c:64:7: note: use function 'llabs' instead 64 | if (abs(elapsed - 3600) > 60) { | ^~~ | llabs 1 error generated. 1 error generated. exec.c:33:8: error: absolute value function 'abs' given an argument of type '__time_t' (aka 'long') but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value] 33 | if (abs(tst.tv_sec - now.tv_sec) > 5) | ^ exec.c:33:8: note: use function 'labs' instead 33 | if (abs(tst.tv_sec - now.tv_sec) > 5) | ^~~ | labs exec.c:53:7: error: absolute value function 'abs' given an argument of type '__time_t' (aka 'long') but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value] 53 | if (abs(tst.tv_sec - now.tv_sec) > 5) | ^ exec.c:53:7: note: use function 'labs' instead 53 | if (abs(tst.tv_sec - now.tv_sec) > 5) | ^~~ | labs exec.c:73:8: error: absolute value function 'abs' given an argument of type '__time_t' (aka 'long') but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value] 73 | if (abs(tst.tv_sec - now.tv_sec - OFFSET) > 5) | ^ exec.c:73:8: note: use function 'labs' instead 73 | if (abs(tst.tv_sec - now.tv_sec - OFFSET) > 5) | ^~~ | labs 3 errors generated. make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/timens/timer] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/timens/timerfd] Error 1 make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/timens/exec] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/timens' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/timers' rsync -a settings /tmp/kci/linux/build/kselftest/kselftest_install/timers/ rsync -a /tmp/kci/linux/build/kselftest/timers/posix_timers /tmp/kci/linux/build/kselftest/timers/nanosleep /tmp/kci/linux/build/kselftest/timers/nsleep-lat /tmp/kci/linux/build/kselftest/timers/set-timer-lat /tmp/kci/linux/build/kselftest/timers/mqueue-lat /tmp/kci/linux/build/kselftest/timers/inconsistency-check /tmp/kci/linux/build/kselftest/timers/raw_skew /tmp/kci/linux/build/kselftest/timers/threadtest /tmp/kci/linux/build/kselftest/timers/rtcpie /tmp/kci/linux/build/kselftest/kselftest_install/timers/ rsync -a /tmp/kci/linux/build/kselftest/timers/alarmtimer-suspend /tmp/kci/linux/build/kselftest/timers/valid-adjtimex /tmp/kci/linux/build/kselftest/timers/adjtick /tmp/kci/linux/build/kselftest/timers/change_skew /tmp/kci/linux/build/kselftest/timers/skew_consistency /tmp/kci/linux/build/kselftest/timers/clocksource-switch /tmp/kci/linux/build/kselftest/timers/freq-step /tmp/kci/linux/build/kselftest/timers/leap-a-day /tmp/kci/linux/build/kselftest/timers/leapcrash /tmp/kci/linux/build/kselftest/timers/set-tai /tmp/kci/linux/build/kselftest/timers/set-2038 /tmp/kci/linux/build/kselftest/timers/set-tz /tmp/kci/linux/build/kselftest/kselftest_install/timers/ rsync -a settings /tmp/kci/linux/build/kselftest/kselftest_install/timers/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/timers' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/tmpfs' rsync -a /tmp/kci/linux/build/kselftest/tmpfs/bug-link-o-tmpfile /tmp/kci/linux/build/kselftest/kselftest_install/tmpfs/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/tmpfs' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/tpm2' rsync -a test_smoke.sh test_space.sh /tmp/kci/linux/build/kselftest/kselftest_install/tpm2/ rsync -a tpm2.py tpm2_tests.py /tmp/kci/linux/build/kselftest/kselftest_install/tpm2/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/tpm2' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/user' rsync -a test_user_copy.sh /tmp/kci/linux/build/kselftest/kselftest_install/user/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/user/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/user' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/vDSO' rsync -a /tmp/kci/linux/build/kselftest/vDSO/vdso_test_gettimeofday /tmp/kci/linux/build/kselftest/vDSO/vdso_test_getcpu /tmp/kci/linux/build/kselftest/vDSO/vdso_test_abi /tmp/kci/linux/build/kselftest/vDSO/vdso_test_clock_getres /tmp/kci/linux/build/kselftest/vDSO/vdso_test_correctness /tmp/kci/linux/build/kselftest/kselftest_install/vDSO/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/vDSO' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/vm' ccache clang -Wall -I ../../../../usr/include -no-pie memfd_secret.c -lrt -lpthread -lcap -o /tmp/kci/linux/build/kselftest/vm/memfd_secret /usr/bin/ld: cannot find -lcap: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../lib.mk:151: /tmp/kci/linux/build/kselftest/vm/memfd_secret] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/vm' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/x86' ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/single_step_syscall_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 single_step_syscall.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/sysret_ss_attrs_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 sysret_ss_attrs.c helpers.h thunks.S -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/syscall_nt_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 syscall_nt.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/test_mremap_vdso_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 test_mremap_vdso.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/check_initial_reg_state_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -Wl,-ereal_start -static -DCAN_BUILD_64 check_initial_reg_state.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/sigreturn_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 sigreturn.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/iopl_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 iopl.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/ioperm_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 ioperm.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/test_vsyscall_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 test_vsyscall.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/mov_ss_trap_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 mov_ss_trap.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/syscall_arg_fault_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 syscall_arg_fault.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/fsgsbase_restore_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 fsgsbase_restore.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/sigaltstack_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 sigaltstack.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/fsgsbase_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 fsgsbase.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/sysret_rip_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 sysret_rip.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/syscall_numbering_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 syscall_numbering.c helpers.h -lrt -ldl ccache clang -m64 -o /tmp/kci/linux/build/kselftest/x86/corrupt_xstate_header_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 corrupt_xstate_header.c helpers.h -lrt -ldl Warning: you seem to have a broken 32-bit build environment. This will reduce test coverage of 64-bit kernels. If you are using a Debian-like distribution, try: apt-get install gcc-multilib libc6-i386 libc6-dev-i386 If you are using a Fedora-like distribution, try: yum install glibc-devel.*i686 clangclang: : error: cannot specify -o when generating multiple output files error: cannot specify -o when generating multiple output files clang: clang: error: cannot specify -o when generating multiple output fileserror: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files clangclangclang: : error: cannot specify -o when generating multiple output files error: clangcannot specify -o when generating multiple output files: error: : cannot specify -o when generating multiple output fileserror: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/check_initial_reg_state_64] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/mov_ss_trap_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/syscall_nt_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/sigreturn_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/fsgsbase_restore_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/syscall_arg_fault_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/fsgsbase_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/iopl_64] Error 1 clang: error: cannot specify -o when generating multiple output files make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/test_mremap_vdso_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/sysret_ss_attrs_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/test_vsyscall_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/syscall_numbering_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/ioperm_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/sysret_rip_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/single_step_syscall_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/sigaltstack_64] Error 1 make[1]: *** [Makefile:78: /tmp/kci/linux/build/kselftest/x86/corrupt_xstate_header_64] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/x86' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/zram' rsync -a zram.sh /tmp/kci/linux/build/kselftest/kselftest_install/zram/ rsync -a zram01.sh zram02.sh zram_lib.sh /tmp/kci/linux/build/kselftest/kselftest_install/zram/ rsync -a config /tmp/kci/linux/build/kselftest/kselftest_install/zram/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/zram' for TARGET in arm64 breakpoints capabilities cgroup clone3 core cpufreq cpu-hotplug damon drivers/dma-buf efivarfs exec filesystems filesystems/binderfs filesystems/epoll firmware fpu ftrace futex gpio intel_pstate ipc ir kcmp kexec kvm landlock lib livepatch lkdtm membarrier memfd memory-hotplug mincore mount mount_setattr move_mount_set_group mqueue nci net net/af_unix net/forwarding net/mptcp netfilter nsfs pidfd pid_namespace powerpc proc pstore ptrace openat2 resctrl rlimits rseq rtc seccomp sgx sigaltstack size sparc64 splice static_keys sync syscall_user_dispatch sysctl tc-testing timens timers tmpfs tpm2 user vDSO vm x86 zram; do \ BUILD_TARGET=$BUILD/$TARGET; \ [ ! -d /tmp/kci/linux/build/kselftest/kselftest_install/$TARGET ] && echo "Skipping non-existent dir: $TARGET" && continue; \ echo -n "Emit Tests for $TARGET\n"; \ make -s --no-print-directory OUTPUT=$BUILD_TARGET COLLECTION=$TARGET \ -C $TARGET emit_tests >> /tmp/kci/linux/build/kselftest/kselftest_install/kselftest-list.txt; \ done; Skipping non-existent dir: arm64 Skipping non-existent dir: breakpoints Skipping non-existent dir: capabilities Skipping non-existent dir: cgroup Skipping non-existent dir: clone3 Emit Tests for core Emit Tests for cpufreq Emit Tests for cpu-hotplug Emit Tests for damon Emit Tests for drivers/dma-buf Emit Tests for efivarfs Emit Tests for exec Emit Tests for filesystems Emit Tests for filesystems/binderfs Emit Tests for filesystems/epoll Emit Tests for firmware Emit Tests for fpu Emit Tests for ftrace Emit Tests for futex Emit Tests for gpio Emit Tests for intel_pstate Emit Tests for ipc Emit Tests for ir Emit Tests for kcmp Skipping non-existent dir: kexec Skipping non-existent dir: kvm Skipping non-existent dir: landlock Emit Tests for lib Emit Tests for livepatch Emit Tests for lkdtm Emit Tests for membarrier Skipping non-existent dir: memfd Emit Tests for memory-hotplug Emit Tests for mincore Emit Tests for mount Emit Tests for mount_setattr Emit Tests for move_mount_set_group Skipping non-existent dir: mqueue Emit Tests for nci Emit Tests for net Emit Tests for net/af_unix Emit Tests for net/forwarding Emit Tests for net/mptcp Skipping non-existent dir: netfilter Emit Tests for nsfs Emit Tests for pidfd Skipping non-existent dir: pid_namespace Skipping non-existent dir: powerpc Emit Tests for proc Emit Tests for pstore Emit Tests for ptrace Skipping non-existent dir: openat2 Emit Tests for resctrl Emit Tests for rlimits Skipping non-existent dir: rseq Emit Tests for rtc Emit Tests for seccomp Skipping non-existent dir: sgx Emit Tests for sigaltstack Emit Tests for size Skipping non-existent dir: sparc64 Emit Tests for splice Emit Tests for static_keys Emit Tests for sync Emit Tests for syscall_user_dispatch Emit Tests for sysctl Emit Tests for tc-testing Skipping non-existent dir: timens Emit Tests for timers Emit Tests for tmpfs Emit Tests for tpm2 Emit Tests for user Emit Tests for vDSO Skipping non-existent dir: vm Skipping non-existent dir: x86 Emit Tests for zram Created /tmp/kci/linux/build/kselftest/kselftest_install/kselftest-packages/kselftest.tar.xz make: Leaving directory '/tmp/kci/linux/tools/testing/selftests'