# # 2024-11-08T13:32:36.576702 # # 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-08T13:32:37.757736 # # 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-bce4c5.o:(.bss+0x0): multiple definition of `sock_name'; /tmp/ionapp_export-7b5b8b.o:(.bss+0x0): first defined here /usr/bin/ld: /tmp/ionutils-62e08a.o:(.bss+0x0): multiple definition of `sock_name'; /tmp/ionapp_export-7b5b8b.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 CC bench.o CC bench_count.o 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: -lm: '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: -lm: 'linker' input unused [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] /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 make[1]: *** [Makefile:135: /tmp/kci/linux/build/kselftest/bpf/urandom_read] Error 1 make[1]: *** Waiting for unfinished jobs.... 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 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 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/libbpf_probes.o 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/ CC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/sharedobjs/libbpf.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/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/nlattr.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/netlink.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 LINK /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/libbpf.so.0.2.0 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.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 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 make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/cgroup/test_freezer] 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_core] 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 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' 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:126: /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 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] fuse_test.c: 6890: | 6 :r error: = call to undeclared function 'fcntl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]f cntl(fd, F_GET_SEALS); | ^ 68 | 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); | ^ 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); | ^ 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: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: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); | ^ 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: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, | ^ /usr/bin/ld: cannot find -lfuse: No such file or directory 10 errors generated. 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 clang: : error: error: cannot specify -o when generating multiple output filescannot specify -o when generating multiple output files make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/openat2/resolve_test] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/openat2/openat2_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 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: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: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: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) | ^ ~~~~~~ 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_loadparam_test.c(o:b1154j:e10ct:, error: _address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)_ ATOMIC_SEQ_CST) | ^ ~~~~~~ 1154 | while (!atomic_load(&args->percpu_list_ptr)) {} | ^ ~~~~~~~~~~~~~~~~~~~~~~ param_test.c:1259:19: /usr/lib/llvm-17/lib/clang/17/include/stdatomic.herror: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid): 140:29: note: 1259expanded from macro 'atomic_load' | if (ex p140e | c#td_eaf i!n=e aattoommiicc__llooaadd((&olbijsetc_ta). c_[_ccp1u1__aa]t.ohmeiacd_-l>odaadt(ao)b)j e{ct , | _ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~_ ATOM/usr/lib/llvm-17/lib/clang/17/include/stdatomic.hI:C140_:S29E:Q _note: Cexpanded from macro 'atomic_load'S T) | ^ ~~~~~~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) 126510 | error sa generatedt. omic_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 | #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_atparam_test.com:i1332c:_2l:o aerror: d(address argument to atomic operation must be a pointer to _Atomic type ('int *' invalid)o bject, __AT O1332M | I Ca_tSoEmQi_cC_SsTt)o r e| (& ^ ~~~~~~t hread_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(obparam_test.cje:c1235t:,19 :d eerror: saddress argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)i red, __ATO M1235I | C _ SiEfQ _(CeSxTp)e c t| _ ^ ~~~~~~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: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_s10to errorrse generated(. &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: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 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 | itimerfd.cf :(64a:b7s:( enote: luse function 'llabs' insteada psed - 3 6640 | 0 ) i>f 6(0a)b s{( e l| a ^p sed - 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/timerfd] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/timens/timer] 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 clangclang: error: cannot specify -o when generating multiple output files clang: : error: error: cannot specify -o when generating multiple output filescannot specify -o when generating multiple output files clang: clang: error: cannot specify -o when generating multiple output fileserror: cannot specify -o when generating multiple output files clang: error: cannot specify -o when generating multiple output files 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 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 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/single_step_syscall_64] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/ioperm_64] Error 1 clang: error: cannot specify -o when generating multiple output files 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/test_mremap_vdso_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/mov_ss_trap_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/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/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/sigreturn_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/fsgsbase_restore_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_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' 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-f34e1c.o:(.bss+0x0): multiple definition of `sock_name'; /tmp/ionapp_export-4f1df9.o:(.bss+0x0): first defined here /usr/bin/ld: /tmp/ionutils-c274cf.o:(.bss+0x0): multiple definition of `sock_name'; /tmp/ionapp_export-4f1df9.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-bf59e8.o:(.bss+0x0): multiple definition of `sock_name'; /tmp/ionapp_export-6571ea.o:(.bss+0x0): first defined here /usr/bin/ld: /tmp/ionutils-d7d6c8.o:(.bss+0x0): multiple definition of `sock_name'; /tmp/ionapp_export-6571ea.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] 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 EXT-OBJ [test_progs-no_alu32] test_progs.o EXT-OBJ [test_progs-no_alu32] cgroup_helpers.o EXT-OBJ [test_progs-no_alu32] trace_helpers.o EXT-OBJ [test_progs-no_alu32] network_helpers.o EXT-OBJ [test_progs-no_alu32] testing_helpers.o 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] clangclang: 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] : warning: clang: -lcap: 'linker' input unused [-Wunused-command-line-argument]warning: -lrt: 'linker' input unused [-Wunused-command-line-argument] clangclang: : warning: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument]-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] clangclang: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] : 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: -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: 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: -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: 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: -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: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] BINARY test_verifier BINARY test_tag BINARY test_lru_map BINARY test_lpm_map 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 BINARY test_current_pid_tgid_new_ns BINARY test_sock_addr BINARY test_skb_cgroup_id_user MKDIR /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids//libbpf MKDIR /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids//libsubcmd BINARY flow_dissector_load /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:135: /tmp/kci/linux/build/kselftest/bpf/urandom_read] Error 1 make[1]: *** Waiting for unfinished jobs.... BINARY test_flow_dissector HOSTCC /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/fixdep.o test_lpm_map.c:211:15: warning: variable 'n_matches' set but not used [-Wunused-but-set-variable] 211 | size_t i, j, n_matches, n_matches_after_delete, n_nodes, n_lookups; | ^ test_lpm_map.c:211:26: warning: variable 'n_matches_after_delete' set but not used [-Wunused-but-set-variable] 211 | size_t i, j, n_matches, n_matches_after_delete, n_nodes, n_lookups; | ^ /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_verifier_log] Error 1 HOSTLD /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/fixdep-in.o /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:131: /tmp/kci/linux/build/kselftest/bpf/flow_dissector_load] Error 1 LINK /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/fixdep make[1]: *** [Makefile:131: /tmp/kci/linux/build/kselftest/bpf/test_tag] 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_current_pid_tgid_new_ns] Error 1 /usr/bin/ld: cannot find -lcap: No such file or directory 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 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/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 make[1]: *** [Makefile:131: /tmp/kci/linux/build/kselftest/bpf/test_dev_cgroup] Error 1 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]: *** [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_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 /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:131: /tmp/kci/linux/build/kselftest/bpf/test_netcnt] Error 1 make[1]: *** [Makefile:131: /tmp/kci/linux/build/kselftest/bpf/test_sock] 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 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 make[1]: *** [Makefile:131: /tmp/kci/linux/build/kselftest/bpf/test_tcpbpf_user] 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_skb_cgroup_id_user] Error 1 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) 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_flow_dissector] 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_lru_map] 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 2 warnings generated. /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_lpm_map] Error 1 LD /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/libsubcmd/libsubcmd-in.o /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:131: /tmp/kci/linux/build/kselftest/bpf/test_sockmap] Error 1 make[1]: *** [Makefile:131: /tmp/kci/linux/build/kselftest/bpf/test_sock_addr] Error 1 AR /tmp/kci/linux/build/kselftest/bpf/tools/build/resolve_btfids/libsubcmd/libsubcmd.a LINK resolve_btfids make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. /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:438: /tmp/kci/linux/build/kselftest/bpf/test_verifier] Error 1 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/btf.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/libbpf_errno.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/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 clangclang: error: cannot specify -o when generating multiple output files : error: cannot specify -o when generating multiple output files clang: clangerror: : cannot specify -o when generating multiple output fileserror: cannot specify -o when generating multiple output files make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/cgroup/test_memcontrol] Error 1 make[1]: *** Waiting for unfinished jobs.... 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_freezer] Error 1 make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/cgroup/test_core] 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 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.... /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] Error 1 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:126: /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 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); | ^ 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: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: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: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); | ^ 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: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'? 4 errors generated. /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, | ^ /usr/bin/ld: cannot find -lfuse: No such file or directory 10 errors generated. 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' 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 clangclangclang: : error: cannot specify -o when generating multiple output files error: cannot specify -o when generating multiple output files: error: cannot specify -o when generating multiple output files make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/openat2/rename_attack_test] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/openat2/openat2_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_atomiparam_test.cc_:l1154oa:d10(:o berror: jaddress argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)e ct, __ATOMIC_SEQ_CST) | ^ ~~~~~~ 1154 | while (!atomic_load(&args->percpu_list_ptr)) {} | ^ ~~~~~~~~~~~~~~~~~~~~~~ param_test.c/usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29:: 1241note: :3expanded from macro 'atomic_load': error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1241140 | | # daetfoimniec _asttoomriec(_&laoragds(-o>bpjeercctp)u __l_ics1t1__patrt, o(minitcpt_rl_to)a&ldi(sot_bbj)e; c | t ^ ~~~~~~~~~~~~~~~~~~~~~~, _/usr/lib/llvm-17/lib/clang/17/include/stdatomic.h_:A137T:39O:M Inote: Cexpanded from macro 'atomic_store' _SEQ _137C | #SdTe)f i n| e ^ ~~~~~~ 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: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 | #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)) { param_test.c :| 1332 ^ ~~~~~~~~~~~: 2: 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: 1332expanded from macro 'atomic_load' | atomic_sto re140( | &#tdherfeaidn_aer gsa.tstoomp,i c1_)l; o a| ^ ~~~~~~~~~~~~~~~~~d (obj/usr/lib/llvm-17/lib/clang/17/include/stdatomic.he:c137t:)39 _: _note: expanded from macro 'atomic_store'c 11_a t137o | #mdiecfi_nle oaatdomi(co_sbtjoercet(o,b je_c_t, AdTesOiMrIedCparam_test.c)_ :_S1154_E:cQ101_:1C_ Saerror: Ttaddress argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid))o mi c| _ ^ ~~~~~~s tore(object, d e1154s | i rwehdi,l e_ _(A!TaOtMoImCi_cS_ElQo_aCdS(T&)a r g| s ^ ~~~~~~- >percpu_list_ptr)) {} | ^ ~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:140:29: note: expanded from macro 'atomic_load' 140 | #define atparam_test.com:ic1235_:l19oa:d (oerror: baddress argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)je ct) __c11_at om1235i | c_ lo aidf( o(bejxepcte,c t___bAT O!M=IC _aSEtQo_CmSiT)c _ | l ^ ~~~~~~ oad(&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:1226:2: error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1226 | atomic_store(&args->perparam_test.cc:pu1259_:l19i:st _error: ptaddress argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)r , (intptr_t)& li1259st_ | a ) ; i f| ^ ~~~~~~~~~~~~~~~~~~~~~~ (ex/usr/lib/llvm-17/lib/clang/17/include/stdatomic.hp:e137c:t39:_ anote: expanded from macro 'atomic_store' != ato m137i | c#_dleofaidn(e& altiosmitc__stao.rec([obcjpecut,_ ade]s.irheeda)d -_>d_ca1t1a_a)to)m i{c _ s| t ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~or e(objec/usr/lib/llvm-17/lib/clang/17/include/stdatomic.ht:, 140de:s29i:r enote: d, expanded from macro 'atomic_load'_ _ATOMI C140_ | S#EdQe_fCiSnTe) at o| m ^ ~~~~~~i c_load(object)param_test.c _:_1228c:10:1 1error: _address argument to atomic operation must be a pointer to _Atomic type ('int *' invalid)a tomi 1228c | _wlhiolaed ((o!bajteomcict_,l oa_d_(&AaTrOgMsI->Cs_tSoEpQ)_)C S{T ) | ^ ~~~~~~~~~~~ | ^ ~~~~~~/usr/lib/llvm-17/lib/clang/17/include/stdatomic.h :140:29: note: expanded from macro 'atomic_load' 140 | #define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.cparam_test.c:1235::191265: :error: 3address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid): error: address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) 1235 | if (expec t_1265b | != aattomoimc_ilcoa_ds(t&olriest(_&b.acr[gcspu-_b>]p.heeracdp->ud_altai)s)t {_ p | t ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~r ,/usr/lib/llvm-17/lib/clang/17/include/stdatomic.h: 140(:29i: nnote: texpanded from macro 'atomic_load' ptr_ t140) | #&dlefiisnte _aato)m;ic _ l| o ^ ~~~~~~~~~~~~~~~~~~~~~~ad (object) /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h__:c13711:_39at:o minote: cexpanded from macro 'atomic_store'_ load(object, _137_A | T#OdMeICf_iSnEQe_ CaStT10o) errorms i generated c. | _ ^ ~~~~~~s tore(object, desired) __c11_atomic_store(object, desired, __ATOMparam_test.cI:C1241_:S3E:Q _error: Caddress argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid)S T) | ^ ~~~~~~ 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: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); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ param_test.c:1252:/usr/lib/llvm-17/lib/clang/17/include/stdatomic.h14::140 :error: 29address argument to atomic operation must be a pointer to _Atomic type ('intptr_t *' (aka 'long *') invalid) : note: expanded from macro 'atomic_load' 1252 | ex pe140c | t#_ad =e fationmei ca_tloomaid(c&_lload(object) __c11_iastto_mai.cc[_clpuo_aad].(hoeabdj-e>dcatta,) ; _ _| A ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~T OMI/usr/lib/llvm-17/lib/clang/17/include/stdatomic.hC:_140:S29E: Qnote: _expanded from macro 'atomic_load'C ST) 140| | ^ ~~~~~~#d efine 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 | #define atomic_store(object, desired) __c11_atomic_store(object, desired, __ATOMIC_SEQ_CST) | ^ ~~~~~~ param_test.c:1332:2: error: address argument to atomic operation must be a pointer to _Atomic type ('int *' invalid) 1332 | atomic_store(&thread_args.stop, 1); | ^ ~~~~~~~~~~~~~~~~~ /usr/lib/llvm-17/lib/clang/17/include/stdatomic.h:137:39: note: expanded from macro 'atomic_store' 137 | #define atomic_store(object, desired) __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' 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 timer.c:59:7: error: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value] 59 | if (abs(elapsed - 3600) > 60) { | ^ timerfd.c:64:7: error: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value] 64 | if (abs(elapsed - 3600) > 60) { | ^ timer.c:timerfd.c59::647::7 :note: use function 'llabs' insteadnote: use function 'llabs' instead 6459 | | iiff ((aabbss((eellaappsseedd -- 33660000)) >> 6600)) {{ | | ^~~ ^~~ | | llabs 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/timerfd] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/timens/timer] 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: error: clangcannot specify -o when generating multiple output files: 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 files error: 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 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]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/sigreturn_64] Error 1 make[1]: *** Waiting for unfinished jobs.... 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/single_step_syscall_64] Error 1 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]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/fsgsbase_restore_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/sysret_ss_attrs_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/fsgsbase_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/check_initial_reg_state_64] Error 1 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/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/mov_ss_trap_64] Error 1 make[1]: *** [Makefile:77: /tmp/kci/linux/build/kselftest/x86/sysret_rip_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'