# # 2024-11-15T11:35:00.987982 # # 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-15T11:35:02.524763 # # 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/android' make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/android' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. ccache clang -I. -I../../../../../drivers/staging/android/uapi/ -I../../../../../usr/include/ -Wall -O2 -g ionapp_export.c ipcsocket.c ionutils.c -o ionapp_export /usr/bin/ld: /tmp/ipcsocket-045e77.o:(.bss+0x0): multiple definition of `sock_name'; /tmp/ionapp_export-54c1bb.o:(.bss+0x0): first defined here /usr/bin/ld: /tmp/ionutils-0b2300.o:(.bss+0x0): multiple definition of `sock_name'; /tmp/ionapp_export-54c1bb.o:(.bss+0x0): first defined here clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [: ionapp_export] Error 1 make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/android/ion' make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/android' 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. make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/arm64/mte' make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/arm64' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/bpf' MKDIR include MKDIR libbpf MKDIR bpftool TEST-HDR [test_maps] tests.h MKDIR resolve_btfids TEST-HDR [test_progs] tests.h BINARY urandom_read MKDIR no_alu32 /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) GEN /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/bpf_helper_defs.h HOSTCC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/fixdep.o INSTALL headers HOSTLD /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/fixdep-in.o LINK /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/fixdep make[1]: *** [Makefile:135: /tmp/kci/linux/build/kselftest/bpf/urandom_read] Error 1 make[1]: *** Waiting for unfinished jobs.... GEN /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/libbpf.pc MKDIR /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/staticobjs/ Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h' MKDIR /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/staticobjs/ MKDIR /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/staticobjs/ MKDIR /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/staticobjs/ CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/staticobjs/libbpf_errno.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/staticobjs/libbpf.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/staticobjs/bpf.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/staticobjs/str_error.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/staticobjs/nlattr.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/staticobjs/btf.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/staticobjs/netlink.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/staticobjs/bpf_prog_linfo.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/staticobjs/libbpf_probes.o Warning: Kernel ABI header at 'tools/include/uapi/linux/netlink.h' differs from latest version at 'include/uapi/linux/netlink.h' CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/staticobjs/xsk.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/staticobjs/hashmap.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/staticobjs/btf_dump.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/staticobjs/ringbuf.o Warning: Kernel ABI header at 'tools/include/uapi/linux/if_link.h' differs from latest version at 'include/uapi/linux/if_link.h' MKDIR /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/sharedobjs/ MKDIR /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/sharedobjs/ MKDIR /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/sharedobjs/ MKDIR /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/sharedobjs/ MKDIR /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/sharedobjs/ CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/sharedobjs/libbpf.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/sharedobjs/str_error.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/sharedobjs/bpf.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/sharedobjs/btf.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/sharedobjs/nlattr.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/sharedobjs/netlink.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/sharedobjs/libbpf_errno.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/sharedobjs/bpf_prog_linfo.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/sharedobjs/libbpf_probes.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/sharedobjs/xsk.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/sharedobjs/hashmap.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/sharedobjs/btf_dump.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/sharedobjs/ringbuf.o LD /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/sharedobjs/libbpf-in.o LD /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/staticobjs/libbpf-in.o LINK /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/libbpf.so.0.2.0 LINK /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/libbpf.a make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/bpf' 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:150: /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:150: /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:150: /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 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]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/cgroup/test_core] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/cgroup/test_memcontrol] Error 1 make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/cgroup/test_freezer] Error 1 make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/cgroup/test_kmem] 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 -I../../../../usr/include/ clone3.c -lcap -o /tmp/kci/linux/build/kselftest/clone3/clone3 ccache clang -g -I../../../../usr/include/ clone3_clear_sighand.c -lcap -o /tmp/kci/linux/build/kselftest/clone3/clone3_clear_sighand ccache clang -g -I../../../../usr/include/ clone3_set_tid.c -lcap -o /tmp/kci/linux/build/kselftest/clone3/clone3_set_tid ccache clang -g -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 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 make[1]: *** [../lib.mk:150: /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 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:150: /tmp/kci/linux/build/kselftest/clone3/clone3_set_tid] Error 1 make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/clone3/clone3] 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:150: /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 close_range_test.c:117:19: warning: incompatible pointer types passing 'struct clone_args *' to parameter of type 'struct __clone_args *' [-Wincompatible-pointer-types] 117 | pid = sys_clone3(&args, sizeof(args)); | ^~~~~ ./../clone3/clone3_selftests.h:49:46: note: passing argument to parameter 'args' here 49 | static pid_t sys_clone3(struct __clone_args *args, size_t size) | ^ close_range_test.c:206:19: warning: incompatible pointer types passing 'struct clone_args *' to parameter of type 'struct __clone_args *' [-Wincompatible-pointer-types] 206 | pid = sys_clone3(&args, sizeof(args)); | ^~~~~ ./../clone3/clone3_selftests.h:49:46: note: passing argument to parameter 'args' here 49 | static pid_t sys_clone3(struct __clone_args *args, size_t size) | ^ 2 warnings generated. 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' make[1]: Nothing to be done for 'all'. 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 udmabuf.c:30:10: error: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 30 | devfd = open("/dev/udmabuf", O_RDWR); | ^ udmabuf.c:42:8: error: call to undeclared function 'fcntl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 42 | ret = fcntl(memfd, F_ADD_SEALS, F_SEAL_SHRINK); | ^ 2 errors generated. make[1]: *** [../../lib.mk:150: /tmp/kci/linux/build/kselftest/drivers/dma-buf/udmabuf] Error 1 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../../ 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../../ 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../../ 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../../ 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../../ 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../../ 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../../ futex_wait_private_mapped_file.c -lpthread -lrt -o /tmp/kci/linux/build/kselftest/futex/functional/futex_wait_private_mapped_file 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/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:11: include/aarch64/processor.h:55:63: warning: declaration of 'struct kvm_vcpu_init' will not be visible outside of this function [-Wvisibility] 55 | void aarch64_vcpu_setup(struct kvm_vm *vm, int vcpuid, struct kvm_vcpu_init *init); | ^ include/aarch64/processor.h:57:17: warning: declaration of 'struct kvm_vcpu_init' will not be visible outside of this function [-Wvisibility] 57 | struct kvm_vcpu_init *init, void *guest_code); | ^ lib/kvm_util.c:226:3: error: call to undeclared function 'kvm_get_cpu_address_width'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 226 | kvm_get_cpu_address_width(&vm->pa_bits, &vm->va_bits); | ^ 2 warnings and 1 error generated. make[1]: *** [Makefile:124: /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/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/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/OVERWRITE_ALLOCATION.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_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 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 fuse_test.c:68:6: error: call to undeclared function 'fcntl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | r = fcntl(fd, F_GET_SEALS); | ^ memfd_test.c:64:7: error: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | fd = open(path, O_RDWR); | ^ fuse_test.c:95:6: error: call to undeclared function 'fcntl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | r = fcntl(fd, F_ADD_SEALS, seals); | ^ fuse_test.c:108:6: error: call to undeclared function 'fcntl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | r = fcntl(fd, F_GET_SEALS); | ^ memfd_test.c:90:6: error: call to undeclared function 'fcntl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | r = fcntl(fd, F_GET_SEALS); | ^ memfd_test.c:116:6: error: call to undeclared function 'fcntl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | r = fcntl(fd, F_ADD_SEALS, seals); | ^ memfd_test.c:128:6: error: call to undeclared function 'fcntl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | r = fcntl(fd, F_GET_SEALS); | ^ fuse_test.c:262:7: error: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 262 | fd = open(argv[1], O_RDONLY | O_CLOEXEC); | ^ memfd_test.c:213:6: error: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 213 | r = open(buf, flags, mode); | ^ memfd_test.c:228:6: error: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 228 | r = open(buf, flags, mode); | ^ 4 errors generated. memfd_test.c:397:6: error: call to undeclared function 'fallocate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 397 | r = fallocate(fd, | ^ memfd_test.c:397:6: note: did you mean 'alloca'? /usr/include/alloca.h:32:14: note: 'alloca' declared here 32 | extern void *alloca (size_t __size) __THROW; | ^ memfd_test.c:462:6: error: call to undeclared function 'fallocate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 462 | r = fallocate(fd, | ^ memfd_test.c:519:6: error: call to undeclared function 'fallocate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 519 | r = fallocate(fd, | ^ memfd_test.c:541:6: error: call to undeclared function 'fallocate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 541 | r = fallocate(fd, | ^ 10 errors generated. /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:150: /tmp/kci/linux/build/kselftest/memfd/fuse_mnt] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/memfd/fuse_test] Error 1 make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/memfd/memfd_test] 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' 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/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:150: /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:150: /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/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:150: /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/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 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:150: /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:150: /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-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 clangclang: error: 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 make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/openat2/openat2_test] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/openat2/resolve_test] Error 1 make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/openat2/rename_attack_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/openat2' 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:1154:10: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1154 | 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:1226:2: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1226 | 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:1228:10: error: address argument to atomic operation must be a pointer to _Atomic type ('int *' invalid) 1228 | 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:1235:19: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1235 | 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:1241:3: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1241 | 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 atoparam_test.cmi:c1154_:s10t:o rerror: eaddress argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) (object, desired) __ c1154 | 1 1w_haitloe m(!iact_omsitco_rleoa(do(b&ajrges-c>pte,rc pdu_elsisitr_petdr),) {}_ _ | A ^ ~~~~~~~~~~~~~~~~~~~~~~T OMIC_SE/usr/lib/llvm-17/lib/clang/17/include/stdatomic.hQ:_140C:29S:T note: )expanded from macro 'atomic_load' | ^ ~~~~~~ 140 | #define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1252:14: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1252 | 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:1259:19: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1259 | 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:1265:3: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1265 | 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 :1226:2: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 137 | #de f1226i | naet omaitco_mstiocr_es(t&aorrgse-(>poebrjcepcut_,l idsets_ptir, r(iendtp)t r_t)&list__a)_;c 1 | 1 ^ ~~~~~~~~~~~~~~~~~~~~~~_ ato/usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:m137i:c39_:s tnote: oexpanded from macro 'atomic_store' re(ob j137e | c#tde,f idnees aitroemdi,c _s_t_orAe(ToObMjeIcCt,_ dSeEsiQr_edC)S _T_)c 11 _| a ^ ~~~~~~t omic_store(object, desired, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1228:10: error: address argument to atomic operation must be a pointer to _Atomic type ('int *' invalid) 1228 | 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)param_test.c :__1273c1:1_14at:o micerror: _address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)lo ad(object , 1273_ | _A T OeMxICp_SeEQc_tCS_T)b =| ^ ~~~~~~ atomic_load(&list_b.c[cpu_b].head->data); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29:param_test.c :1235note: :expanded from macro 'atomic_load'19 : error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 140 | 1235 | # d eiffi (neex paetcto_mbi c!=_ laotoamdi(c_olbojaedc(&tl)i s_t__cb.1c1[_cpau_tbo]m.ihcea_dl->odaatad))(o b{ j e| c ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ t, /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h_:_140A:T29:O Mnote: expanded from macro 'atomic_load' IC_SE Q140_ | C#SdTeparam_test.c)f :i 1154| n:e ^ ~~~~~~10 :a terror: omaddress argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)i c_load(object) __c11_atomic_l o1154a | d (wohbijleec t(,! a_t_oAmTiOcM_IlCo_aSdE(Q&_aCrSgTs)- > p| e ^ ~~~~~~r cpu_list_ptr)) {} | ^ ~~~~~~~~~~~~~~~~~~~~~~ /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): 1241_:_c31:1 _error: aaddress argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)t omic_l o1241a | d ( oabtjoemcitc,_ s_t_oArTeO(M&IaCr_gSsE-Q>p_eCrScTp)u _ l| i ^ ~~~~~~s t_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:1252:14: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1252 | 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:1259:19: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1259 | 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:1332:2: error: address argument to atomic operation must be a pointer to _Atomic type ('int *' invalid) 1332 | atomic_store(&thread_args.stoparam_test.cp:,1265: 13:) error: ;address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) | ^ ~~~~~~~~~~~~~~~~~ 1265 | at/usr/lib/llvm-17/lib/clang/17/include/stdatomic.hom:ic137_:s39t:or enote: (expanded from macro 'atomic_store'& args->percp u137_l | i#std_eptfri,n (ein tapttor_mt)i&cli_sstt_oar)e; ( | o ^ ~~~~~~~~~~~~~~~~~~~~~~b jec/usr/lib/llvm-17/lib/clang/17/include/stdatomic.ht:,137: 39:d note: eexpanded from macro 'atomic_store's ired) 137 | #_d_efci1ne1 a_taomtioc_mstiocr_e(sotbjoecrte, (deosbirjede) ct_,_ c1d1e_satioremdic,_ s_t_orAeT(OoMbIjCec_t,SE Qde_sCiSrTe)d , | _ ^ ~~~~~~_ ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1226:2: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1226 | atomic_store(&args->percpu_list_ptr, (intptr_t)&list_a); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:137:39:param_test.c note: :expanded from macro 'atomic_store'1273 :14: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 137 | #def i1273n | e aetxopmeicct__sbt o=r ea(toobmjiecc_tl,o adde(s&ilriesdt)_ b_._cc[1c1p_ua_tbo]m.ihce_asdt-o>rdea(toab)j;e c t| , ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ desir/usr/lib/llvm-17/lib/clang/17/include/stdatomic.he:140d:,29 :_ _note: Aexpanded from macro 'atomic_load'T OMIC_S E140Q | _#CdSeTf)i n e| ^ ~~~~~~a tomic_load(object) __c11_atomic_load(objparam_test.ce:c1228t:,10 :_ _error: Aaddress argument to atomic operation must be a pointer to _Atomic type ('int *' invalid)T OMIC_S E1228Q | _ CwShTi)l e | ( ^ ~~~~~~! 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:1235:19: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1235 | 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:1241:3: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1241 | 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(obparam_test.cje:c1332t,: 2d:e serror: iaddress argument to atomic operation must be a pointer to _Atomic type ('int *' invalid)r ed, __AT O1332M | IC _aStEoQm_iCcS_Ts)t o r| e ^ ~~~~~~( &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, deparam_test.cs:i1252r:e14d:, error: _address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)_ ATOMIC_ S1252E | Q _ CeSxTp)e ct _| 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:1259:19: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1259 | 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:1265:3: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1265 | 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:1273:14: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1273 | 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: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 | #d10e errorfsi generatedn. e 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:40: /tmp/kci/linux/build/kselftest/rseq/param_test_compare_twice] Error 1 make[1]: *** [Makefile:32: /tmp/kci/linux/build/kselftest/rseq/param_test] 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/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/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) { | ^ timer.c:59:7: note: use function 'llabs' instead 59 | if (abs(elapsed - 3600) > 60) { | ^~~ | llabs 1 error generated. 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. 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:150: /tmp/kci/linux/build/kselftest/timens/timer] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/timens/timerfd] Error 1 make[1]: *** [../lib.mk:150: /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/vm' ccache clang -Wall -I ../../../../usr/include -no-pie compaction_test.c -lrt -o /tmp/kci/linux/build/kselftest/vm/compaction_test ccache clang -Wall -I ../../../../usr/include -no-pie gup_benchmark.c -lrt -o /tmp/kci/linux/build/kselftest/vm/gup_benchmark ccache clang -Wall -I ../../../../usr/include -no-pie hmm-tests.c -lrt -lhugetlbfs -lpthread -o /tmp/kci/linux/build/kselftest/vm/hmm-tests /usr/bin/ld: cannot find -lhugetlbfs: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/vm/hmm-tests] 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_vdso_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 test_vdso.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/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 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: : : error: error: cannot specify -o when generating multiple output filescannot specify -o when generating multiple output fileserror: : 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: 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 clangclang: error: cannot specify -o when generating multiple output files: error: cannot specify -o when generating multiple output files clangclang: : error: cannot specify -o when generating multiple output filesclangerror: : 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 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/iopl_64] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/single_step_syscall_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/syscall_nt_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/check_initial_reg_state_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/test_mremap_vdso_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/sysret_ss_attrs_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/sigreturn_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/sysret_rip_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/fsgsbase_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/mov_ss_trap_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/test_vdso_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/syscall_numbering_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/syscall_arg_fault_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/ioperm_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/fsgsbase_restore_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/test_vsyscall_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/android' make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/android' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. ccache clang -I. -I../../../../../drivers/staging/android/uapi/ -I../../../../../usr/include/ -Wall -O2 -g ionapp_export.c ipcsocket.c ionutils.c -o ionapp_export /usr/bin/ld: /tmp/ipcsocket-e3d17d.o:(.bss+0x0): multiple definition of `sock_name'; /tmp/ionapp_export-e6e67a.o:(.bss+0x0): first defined here /usr/bin/ld: /tmp/ionutils-237b9d.o:(.bss+0x0): multiple definition of `sock_name'; /tmp/ionapp_export-e6e67a.o:(.bss+0x0): first defined here clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [: ionapp_export] Error 1 make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/android/ion' mkdir -p /tmp/kci/linux/build/kselftest/kselftest_install/android install -t /tmp/kci/linux/build/kselftest/kselftest_install/android run.sh make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/android' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. ccache clang -I. -I../../../../../drivers/staging/android/uapi/ -I../../../../../usr/include/ -Wall -O2 -g ionapp_export.c ipcsocket.c ionutils.c -o ionapp_export /usr/bin/ld: /tmp/ipcsocket-d6fb06.o:(.bss+0x0): multiple definition of `sock_name'; /tmp/ionapp_export-b2bdbc.o:(.bss+0x0): first defined here /usr/bin/ld: /tmp/ionutils-05e7a5.o:(.bss+0x0): multiple definition of `sock_name'; /tmp/ionapp_export-b2bdbc.o:(.bss+0x0): first defined here clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [: ionapp_export] Error 1 make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/android/ion' make[1]: *** [../lib.mk:108: install] Error 2 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/android' 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. 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. rsync -a run_tags_test.sh /tmp/kci/linux/build/kselftest/kselftest_install/arm64/ rsync -a /tmp/kci/linux/build/kselftest/arm64/tags/tags_test /tmp/kci/linux/build/kselftest/kselftest_install/arm64/ 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 'install'. 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. make[2]: Nothing to be done for 'install'. make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/arm64/mte' make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/arm64' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/bpf' CC test_stub.o EXT-OBJ [test_maps] test_maps.o clang: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] MKDIR /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids//libbpf MKDIR /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids//libsubcmd HOSTCC /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/fixdep.o HOSTLD /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/fixdep-in.o LINK /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/fixdep EXT-OBJ [test_progs] test_progs.o EXT-OBJ [test_progs] cgroup_helpers.o EXT-OBJ [test_progs] trace_helpers.o EXT-OBJ [test_progs] network_helpers.o EXT-OBJ [test_progs] testing_helpers.o BINARY urandom_read BINARY test_verifier_log BINARY test_dev_cgroup BINARY test_tcpbpf_user BINARY test_sock BINARY test_sockmap BINARY get_cgroup_id_user BINARY test_socket_cookie BINARY test_cgroup_storage BINARY test_netcnt BINARY test_tcpnotify_user BINARY test_sysctl clang: warning: -lcap: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lelf: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lz: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lrt: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] clang: warning: -lcap: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lelf: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lz: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lrt: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] clang: warning: -lcap: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lelf: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lz: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lrt: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] clang: warning: -lcap: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lelf: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lz: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lrt: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] clang: clangwarning: : warning: -lcap: 'linker' input unused [-Wunused-command-line-argument] -lcap: 'linker' input unused [-Wunused-command-line-argument] clangclang: : warning: warning: -lelf: 'linker' input unused [-Wunused-command-line-argument]-lelf: 'linker' input unused [-Wunused-command-line-argument] clangclang: : warning: warning: -lz: 'linker' input unused [-Wunused-command-line-argument]-lz: 'linker' input unused [-Wunused-command-line-argument] clangclang: : warning: warning: -lrt: 'linker' input unused [-Wunused-command-line-argument]-lrt: 'linker' input unused [-Wunused-command-line-argument] clangclang: : warning: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument]-lpthread: 'linker' input unused [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] CC /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/main.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/rbtree.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/zalloc.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/string.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/ctype.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/str_error_r.o /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) CC /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/libsubcmd/exec-cmd.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/libsubcmd/help.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/libsubcmd/pager.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/libsubcmd/parse-options.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/libsubcmd/run-command.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/libsubcmd/sigchain.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/libsubcmd/subcmd-config.o /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) LD /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/resolve_btfids-in.o /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 /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]: *** [Makefile:135: /tmp/kci/linux/build/kselftest/bpf/urandom_read] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:130: /tmp/kci/linux/build/kselftest/bpf/test_verifier_log] Error 1 make[1]: *** [Makefile:130: /tmp/kci/linux/build/kselftest/bpf/test_dev_cgroup] Error 1 make[1]: *** [Makefile:131: /tmp/kci/linux/build/kselftest/bpf/test_tcpbpf_user] Error 1 make[1]: *** [Makefile:131: /tmp/kci/linux/build/kselftest/bpf/test_cgroup_storage] 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) /usr/bin/ld: cannot find -lcap: No such file or directory clang: /usr/bin/ld: cannot find -lcap: No such file or directory 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]: *** [Makefile:131: /tmp/kci/linux/build/kselftest/bpf/test_netcnt] Error 1 make[1]: *** [Makefile:131: /tmp/kci/linux/build/kselftest/bpf/get_cgroup_id_user] Error 1 /usr/bin/ld: cannot find -lcap: No such file or directory make[1]: *** [Makefile:131: /tmp/kci/linux/build/kselftest/bpf/test_socket_cookie] Error 1 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [Makefile:131: /tmp/kci/linux/build/kselftest/bpf/test_sock] 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]: *** [Makefile:131: /tmp/kci/linux/build/kselftest/bpf/test_tcpnotify_user] Error 1 LD /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/libsubcmd/libsubcmd-in.o AR /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/libsubcmd/libsubcmd.a LINK resolve_btfids /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:131: /tmp/kci/linux/build/kselftest/bpf/test_sysctl] 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]: *** [Makefile:131: /tmp/kci/linux/build/kselftest/bpf/test_sockmap] Error 1 make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/btf.o make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/btf_dumper.o make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/cfg.o make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/cgroup.o make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/common.o make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/feature.o make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/gen.o make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/iter.o make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/json_writer.o make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/link.o make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/main.o make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/map.o make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/map_perf_ring.o make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/net.o make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. net.c:160:37: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] 160 | for (nh = (struct nlmsghdr *)buf; NLMSG_OK(nh, len); | ^~~~~~~~~~~~~~~~~ /tmp/kci/linux/tools/include/uapi/linux/netlink.h:99:24: note: expanded from macro 'NLMSG_OK' 99 | (nlh)->nlmsg_len <= (len)) | ~~~~~~~~~~~~~~~~ ^ ~~~ 1 warning generated. CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/netlink_dumper.o make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/perf.o make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/struct_ops.o make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. GEN /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool//libbpf/bpf_helper_defs.h MKDIR /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool//libbpf/staticobjs/ MKDIR /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool//libbpf/staticobjs/ MKDIR /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool//libbpf/staticobjs/ MKDIR /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool//libbpf/staticobjs/ MKDIR /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool//libbpf/staticobjs/ CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool//libbpf/staticobjs/libbpf.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool//libbpf/staticobjs/bpf.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool//libbpf/staticobjs/nlattr.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool//libbpf/staticobjs/str_error.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool//libbpf/staticobjs/btf.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool//libbpf/staticobjs/netlink.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool//libbpf/staticobjs/libbpf_errno.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool//libbpf/staticobjs/bpf_prog_linfo.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool//libbpf/staticobjs/libbpf_probes.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool//libbpf/staticobjs/xsk.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool//libbpf/staticobjs/hashmap.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool//libbpf/staticobjs/btf_dump.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool//libbpf/staticobjs/ringbuf.o CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/tracelog.o make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/xlated_dumper.o make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. LD /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool//libbpf/staticobjs/libbpf-in.o LINK /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool//libbpf/libbpf.a CC /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/disasm.o make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. LINK /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/bpftool-bootstrap GEN /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/vmlinux.h Error: failed to load BTF from /tmp/kci/linux/build/vmlinux: No such file or directory make[2]: *** [Makefile:139: /tmp/kci/linux/build/kselftest/bpf/tools/build/bpftool/vmlinux.h] Error 2 make[1]: *** [Makefile:178: /tmp/kci/linux/build/kselftest/bpf/tools/sbin/bpftool] Error 2 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/bpf' 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:150: /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:150: /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:150: /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 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]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/cgroup/test_core] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/cgroup/test_freezer] Error 1 make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/cgroup/test_kmem] Error 1 make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/cgroup/test_memcontrol] 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 -I../../../../usr/include/ clone3.c -lcap -o /tmp/kci/linux/build/kselftest/clone3/clone3 ccache clang -g -I../../../../usr/include/ clone3_clear_sighand.c -lcap -o /tmp/kci/linux/build/kselftest/clone3/clone3_clear_sighand ccache clang -g -I../../../../usr/include/ clone3_set_tid.c -lcap -o /tmp/kci/linux/build/kselftest/clone3/clone3_set_tid ccache clang -g -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:150: /tmp/kci/linux/build/kselftest/clone3/clone3_clear_sighand] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/clone3/clone3] 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:150: /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:150: /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/ 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/ 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/ 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 udmabuf.c:30:10: error: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 30 | devfd = open("/dev/udmabuf", O_RDWR); | ^ udmabuf.c:42:8: error: call to undeclared function 'fcntl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 42 | ret = fcntl(memfd, F_ADD_SEALS, F_SEAL_SHRINK); | ^ 2 errors generated. make[1]: *** [../../lib.mk:150: /tmp/kci/linux/build/kselftest/drivers/dma-buf/udmabuf] Error 1 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/ 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/ 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/ 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/ 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/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/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/ 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:11: include/aarch64/processor.h:55:63: warning: declaration of 'struct kvm_vcpu_init' will not be visible outside of this function [-Wvisibility] 55 | void aarch64_vcpu_setup(struct kvm_vm *vm, int vcpuid, struct kvm_vcpu_init *init); | ^ include/aarch64/processor.h:57:17: warning: declaration of 'struct kvm_vcpu_init' will not be visible outside of this function [-Wvisibility] 57 | struct kvm_vcpu_init *init, void *guest_code); | ^ lib/kvm_util.c:226:3: error: call to undeclared function 'kvm_get_cpu_address_width'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 226 | kvm_get_cpu_address_width(&vm->pa_bits, &vm->va_bits); | ^ 2 warnings and 1 error generated. make[1]: *** [Makefile:124: /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/lib' rsync -a printf.sh bitmap.sh prime_numbers.sh strscpy.sh /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/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/livepatch' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/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/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/OVERWRITE_ALLOCATION.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_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/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/ 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 fuse_test.c:68:6: error: call to undeclared function 'fcntl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | r = fcntl(fd, F_GET_SEALS); | ^ fuse_test.c:95:6: error: call to undeclared function 'fcntl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | r = fcntl(fd, F_ADD_SEALS, seals); | ^ fuse_test.c:108:6: error: call to undeclared function 'fcntl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | r = fcntl(fd, F_GET_SEALS); | ^ fuse_test.c:262:7: error: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 262 | fd = open(argv[1], O_RDONLY | O_CLOEXEC); | ^ 4 errors generated. memfd_test.c:64:7: error: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | fd = open(path, O_RDWR); | ^ memfd_test.c:90:6: error: call to undeclared function 'fcntl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | r = fcntl(fd, F_GET_SEALS); | ^ memfd_test.c:116:6: error: call to undeclared function 'fcntl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | r = fcntl(fd, F_ADD_SEALS, seals); | ^ memfd_test.c:128:6: error: call to undeclared function 'fcntl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | r = fcntl(fd, F_GET_SEALS); | ^ memfd_test.c:213:6: error: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 213 | r = open(buf, flags, mode); | ^ memfd_test.c:228:6: error: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 228 | r = open(buf, flags, mode); | ^ /usr/bin/ld: cannot find -lfuse: No such file or directory memfd_test.c:397:6: error: call to undeclared function 'fallocate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 397 | r = fallocate(fd, | ^ memfd_test.c:397:6: note: did you mean 'alloca'? /usr/include/alloca.h:32:14: note: 'alloca' declared here 32 | extern void *alloca (size_t __size) __THROW; | ^ memfd_test.c:462:6: error: call to undeclared function 'fallocate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 462 | r = fallocate(fd, | ^ memfd_test.c:519:6: error: call to undeclared function 'fallocate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 519 | r = fallocate(fd, | ^ memfd_test.c:541:6: error: call to undeclared function 'fallocate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 541 | r = fallocate(fd, | ^ clang: error: linker command failed with exit code 1 (use -v to see invocation) 10 errors generated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/memfd/fuse_mnt] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/memfd/fuse_test] Error 1 make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/memfd/memfd_test] 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/ 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/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/mount' 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:150: /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:150: /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/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:150: /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/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_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/ 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 /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/ 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:150: /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/ 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/ 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:150: /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-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/ 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/ 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: 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:150: /tmp/kci/linux/build/kselftest/openat2/openat2_test] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/openat2/rename_attack_test] Error 1 make[1]: *** [../lib.mk:150: /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/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:1154:10: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1154 | 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:1226:2: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1226 | 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:1228:10: error: address argument to atomic operation must be a pointer to _Atomic type ('int *' invalid) 1228 | 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:1235:19: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1235 | 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:1241:3: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1241 | 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:1252:14: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1252 | 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:1259:19: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1259 | 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:1154:10: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1154 | while (!atomic_load(&args->percpu_list_ptr)) {} | ^ ~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.hparam_test.c::1401265::293:: note: error: expanded from macro 'atomic_load'address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 140 | #d1265e | f i naet oamtiocm_isct_olroea(d&(aorbgjesc-t>)p e__rcc11p_aut_omliic_slota_dp(otbrje,c t,( i_n_AtTOpMItC_rS_EQt_)C&STl)i s | t ^ ~~~~~~ _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:1273:14: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1273 | 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:1226:2: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1226 | 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:1228:10: error: address argument to atomic operation must be a pointer to _Atomic type ('int *' invalid) 1228 | while (!atomic_load(&aparam_test.crg:s-1332>:st2op:) ) error: { address argument to atomic operation must be a pointer to _Atomic type ('int *' invalid)| ^ ~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 1332 | a t140o | m#diecf_isnteo arteo(m&itch_rleoaadd_(aobrjgesc.ts)t o_p_,c 111)_a;t o m| i ^ ~~~~~~~~~~~~~~~~~c _load(/usr/lib/llvm-17/lib/clang/17/include/stdatomic.hob:j137ec:t39, :__ Anote: TOexpanded from macro 'atomic_store'M IC_SEQ_CST) | 137 ^ ~~~~~~ | #define atomic_store(object, desired) __c11_atomiparam_test.cc:_1235:st19o: rerror: eaddress argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)( obje 1235c | t ,i f d(eesxipercte_bd ,!= _a_toAmTiOc_MlIoCa_dS(E&Ql_iCsStT_)b . c| [ ^ ~~~~~~c pu_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:1241:3: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1241 | 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:1154:10: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1154 | param_test.c: 1252w:h14i: lerror: eaddress argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) (!at o1252 | m i ce_xlpoeacdt(_&aa r=g sa-t>opmeircc_pluo_aldi(s&tl_ipsttr_)a). c{[}c p u| _ ^ ~~~~~~~~~~~~~~~~~~~~~~a ].head->data/usr/lib/llvm-17/lib/clang/17/include/stdatomic.h):;140 : 29| : note: expanded from macro 'atomic_load' ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | #/usr/lib/llvm-17/lib/clang/17/include/stdatomic.hd:140e:29f:i nnote: expanded from macro 'atomic_load'e atom 140i | c#d_elfine atomic_loaod(adob(jeocbtj)e c__tc1)1 __a_tcom1ic1__laoatdo(moibcje_clt,o a_d_(AoTObMjIC_eScEtQ_,C S_T)_ A| T ^ ~~~~~~O MIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1259:19: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1259 | 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:1265:3: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1265 | 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:1273:14: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1273 | 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:1226:2: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1226 | 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 | #defineparam_test.c a:t1332o:m2i:c _error: saddress argument to atomic operation must be a pointer to _Atomic type ('int *' invalid)t ore(obje c1332t | , adteosmiirce_ds)t o_r_ec(&1th1re_ada_tarogsm.iscto_ps,t 1o);r e | ( ^ ~~~~~~~~~~~~~~~~~ ob/usr/lib/llvm-17/lib/clang/17/include/stdatomic.hj:137e:c39t: ,note: expanded from macro 'atomic_store' desir e137d | #,d ef_i_nAeT OaMtIoCm_iScE_Qs_tCoSrTe)( o b| j ^ ~~~~~~ ect, desired) __c11_atomic_store(objectparam_test.c,: 1228d:e10s:i rerror: edaddress argument to atomic operation must be a pointer to _Atomic type ('int *' invalid), __ATOM I1228C | _ SEwQh_iClSeT )( ! a| t ^ ~~~~~~o mic_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:1235:19: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1235 | 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:1241:3: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1241 | 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 10at erroromsi generatedc. _store(object, desired) __c11_atomic_store(object, desired, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1252:14: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1252 | 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:1259:19: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1259 | 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:1265:3: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1265 | 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:1273:14: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1273 | 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. make[1]: *** [Makefile:32: /tmp/kci/linux/build/kselftest/rseq/param_test] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:36: /tmp/kci/linux/build/kselftest/rseq/param_test_benchmark] 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/ 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/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/seccomp' 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/ 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/ 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/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/sync' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/sysctl' rsync -a sysctl.sh /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/ 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 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: 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: note: use function 'llabs' instead 64 | if (abs(elapsed - 3600) > 60) { | ^~~ | llabs timer.c:59:7: note: use function 'llabs' instead 59 | 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:150: /tmp/kci/linux/build/kselftest/timens/timer] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/timens/timerfd] Error 1 make[1]: *** [../lib.mk:150: /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/ 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/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/user' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/vm' ccache clang -Wall -I ../../../../usr/include -no-pie hmm-tests.c -lrt -lhugetlbfs -lpthread -o /tmp/kci/linux/build/kselftest/vm/hmm-tests /usr/bin/ld: cannot find -lhugetlbfs: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/vm/hmm-tests] 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_vdso_64 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_64 test_vdso.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/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 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: 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 error: cannot specify -o when generating multiple output files 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 clangclang: : error: 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: error: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/ioperm_64] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/single_step_syscall_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/check_initial_reg_state_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/test_mremap_vdso_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/sigreturn_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/syscall_arg_fault_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/mov_ss_trap_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/sysret_rip_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/syscall_nt_64] Error 1 clang: error: cannot specify -o when generating multiple output files make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/test_vsyscall_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/iopl_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/fsgsbase_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/test_vdso_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/sysret_ss_attrs_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/fsgsbase_restore_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/syscall_numbering_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/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/zram' for TARGET in android arm64 bpf breakpoints capabilities cgroup clone3 core cpufreq cpu-hotplug damon drivers/dma-buf efivarfs exec filesystems filesystems/binderfs filesystems/epoll firmware fpu ftrace futex intel_pstate ipc ir kcmp kexec kvm lib livepatch lkdtm membarrier memfd memory-hotplug mincore mount mqueue net net/forwarding net/mptcp netfilter nsfs pidfd pid_namespace powerpc proc pstore ptrace openat2 rseq rtc seccomp sigaltstack size sparc64 splice static_keys sync sysctl tc-testing timens timers tmpfs tpm2 user 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; Emit Tests for android Emit Tests for arm64 make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. clang: error: cannot specify -o when generating multiple output files make[2]: *** [Makefile:28: testcases/fake_sigreturn_bad_magic] Error 1 make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. 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]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. Skipping non-existent dir: bpf 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 Skipping non-existent dir: 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 intel_pstate Emit Tests for ipc Emit Tests for ir Emit Tests for kcmp Skipping non-existent dir: kexec Skipping non-existent dir: kvm 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 Skipping non-existent dir: mqueue Emit Tests for net 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 Skipping non-existent dir: rseq Emit Tests for rtc Emit Tests for seccomp 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 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 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'