# # 2023-05-29T01:09:12.747177 # # make KBUILD_BUILD_USER=KernelCI ARCH=riscv HOSTCC=gcc CROSS_COMPILE=riscv64-linux-gnu- CC="ccache riscv64-linux-gnu-gcc" O=/data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10 -C/data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux -j34 -s headers # # # 2023-05-29T01:09:14.475469 # # make KBUILD_BUILD_USER=KernelCI FORMAT=.xz ARCH=riscv HOSTCC=gcc CROSS_COMPILE=riscv64-linux-gnu- CC="ccache riscv64-linux-gnu-gcc" O=/data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10 -C/data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/tools/testing/selftests -j34 -s gen_tar # make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: /tmp/cc5zaIBB.o: in function `.LANCHOR1': /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/tools/testing/selftests/android/ion/ipcsocket.h:8: multiple definition of `sock_name'; /tmp/cc3at3BE.o:/data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/tools/testing/selftests/android/ion/ipcsocket.h:8: first defined here /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccNcCOwE.o:/data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/tools/testing/selftests/android/ion/ipcsocket.h:8: multiple definition of `sock_name'; /tmp/cc3at3BE.o:/data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/tools/testing/selftests/android/ion/ipcsocket.h:8: first defined here collect2: error: ld returned 1 exit status make[2]: *** [: ionapp_export] Error 1 /bin/sh: 1: clang: not found TEST-HDR [test_progs] tests.h MKDIR include MKDIR libbpf MKDIR bpftool MKDIR resolve_btfids Auto-detecting system features: ... libelf: [ OFF ] BINARY urandom_read ... zlib: [ OFF ] ... bpf: [ on ] No libelf found No zlib found make[3]: *** [Makefile:287: elfdep] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:290: zdep] Error 1 make[2]: *** [Makefile:156: all] Error 2 make[1]: *** [Makefile:190: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/bpf/tools/build/libbpf/libbpf.a] Error 2 make[1]: *** Waiting for unfinished jobs.... /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lcap /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lelf /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lz collect2: error: ld returned 1 exit status make[1]: *** [Makefile:135: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/bpf/urandom_read] Error 1 /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lcap-ng collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/capabilities/validate_cap] Error 1 make[1]: *** Waiting for unfinished jobs.... /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lcap-ng collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/capabilities/test_execve] Error 1 /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lcap collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/clone3/clone3_clear_sighand] Error 1 make[1]: *** Waiting for unfinished jobs.... /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lcap collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/clone3/clone3] Error 1 /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lcap collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/clone3/clone3_set_tid] Error 1 /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lcap collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/clone3/clone3_cap_checkpoint_restore] Error 1 close_range_test.c: In function ‘close_range_unshare’: close_range_test.c:117:19: warning: passing argument 1 of ‘sys_clone3’ from incompatible pointer type [-Wincompatible-pointer-types] 117 | pid = sys_clone3(&args, sizeof(args)); | ^~~~~ | | | struct clone_args * In file included from close_range_test.c:16: ../clone3/clone3_selftests.h:49:46: note: expected ‘struct __clone_args *’ but argument is of type ‘struct clone_args *’ 49 | static pid_t sys_clone3(struct __clone_args *args, size_t size) | ~~~~~~~~~~~~~~~~~~~~~^~~~ close_range_test.c: In function ‘close_range_unshare_capped’: close_range_test.c:206:19: warning: passing argument 1 of ‘sys_clone3’ from incompatible pointer type [-Wincompatible-pointer-types] 206 | pid = sys_clone3(&args, sizeof(args)); | ^~~~~ | | | struct clone_args * In file included from close_range_test.c:16: ../clone3/clone3_selftests.h:49:46: note: expected ‘struct __clone_args *’ but argument is of type ‘struct clone_args *’ 49 | static pid_t sys_clone3(struct __clone_args *args, size_t size) | ~~~~~~~~~~~~~~~~~~~~~^~~~ udmabuf.c: In function ‘main’: udmabuf.c:30:10: warning: implicit declaration of function ‘open’; did you mean ‘popen’? [-Wimplicit-function-declaration] 30 | devfd = open("/dev/udmabuf", O_RDWR); | ^~~~ | popen udmabuf.c:42:8: warning: implicit declaration of function ‘fcntl’ [-Wimplicit-function-declaration] 42 | ret = fcntl(memfd, F_ADD_SEALS, F_SEAL_SHRINK); | ^~~~~ /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccoZcwgk.o: in function `.L6': test_fpu.c:(.text+0x106): warning: feenableexcept is not implemented and will always fail /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccoZcwgk.o: in function `.L7': test_fpu.c:(.text+0x13e): warning: fegetexcept is not implemented and will always fail make[1]: *** No targets. Stop. In file included from lib/elf.c:13: include/kvm_util.h:12:10: fatal error: asm/kvm.h: No such file or directory 12 | #include "asm/kvm.h" | ^~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:124: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/kvm/lib/elf.o] Error 1 memfd_test.c: In function ‘mfd_assert_reopen_fd’: memfd_test.c:64:7: warning: implicit declaration of function ‘open’; did you mean ‘popen’? [-Wimplicit-function-declaration] 64 | fd = open(path, O_RDWR); | ^~~~ | popen memfd_test.c: In function ‘mfd_assert_get_seals’: memfd_test.c:90:6: warning: implicit declaration of function ‘fcntl’ [-Wimplicit-function-declaration] 90 | r = fcntl(fd, F_GET_SEALS); | ^~~~~ memfd_test.c: In function ‘mfd_assert_write’: memfd_test.c:397:6: warning: implicit declaration of function ‘fallocate’; did you mean ‘alloca’? [-Wimplicit-function-declaration] 397 | r = fallocate(fd, | ^~~~~~~~~ | alloca fuse_test.c: In function ‘mfd_assert_get_seals’: fuse_test.c:67:6: warning: implicit declaration of function ‘fcntl’ [-Wimplicit-function-declaration] 67 | r = fcntl(fd, F_GET_SEALS); | ^~~~~ fuse_test.c: In function ‘main’: fuse_test.c:261:7: warning: implicit declaration of function ‘open’; did you mean ‘popen’? [-Wimplicit-function-declaration] 261 | fd = open(argv[1], O_RDONLY | O_CLOEXEC); | ^~~~ | popen /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lfuse collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/memfd/fuse_mnt] Error 1 make[1]: *** Waiting for unfinished jobs.... /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lpopt collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/mqueue/mq_open_tests] Error 1 make[1]: *** Waiting for unfinished jobs.... /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lpopt collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/mqueue/mq_perf_tests] Error 1 /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lnuma collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/net/reuseport_bpf_numa] Error 1 /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lmnl collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/netfilter/nf-queue] Error 1 proc-pid-vm.c:214:19: warning: ‘str_vsyscall’ defined but not used [-Wunused-const-variable=] 214 | static const char str_vsyscall[] = | ^~~~~~~~~~~~ proc-pid-vm.c:212:13: warning: ‘g_vsyscall’ defined but not used [-Wunused-variable] 212 | static bool g_vsyscall = false; | ^~~~~~~~~~ cc1: warning: ‘-fsanitize=address’ not supported for this target cc1: warning: ‘-fsanitize=address’ not supported for this target cc1: warning: ‘-fsanitize=address’ not supported for this target cc1: warning: ‘-fsanitize=address’ not supported for this target cc1: warning: ‘-fsanitize=address’ not supported for this target cc1: warning: ‘-fsanitize=address’ not supported for this target /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find libasan_preinit.o: No such file or directory /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lasan /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lubsan collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/openat2/rename_attack_test] Error 1 make[1]: *** Waiting for unfinished jobs.... cc1: warning: ‘-fsanitize=address’ not supported for this target /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find libasan_preinit.o: No such file or directory /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lasan /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lubsan collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/openat2/openat2_test] Error 1 cc1: warning: ‘-fsanitize=address’ not supported for this target cc1: warning: ‘-fsanitize=address’ not supported for this target /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find libasan_preinit.o: No such file or directory /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lasan /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lubsan collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/openat2/resolve_test] Error 1 In file included from rseq.c:33: rseq.h:97:2: error: #error unsupported target 97 | #error unsupported target | ^~~~~ rseq.c: In function ‘rseq_register_current_thread’: rseq.c:87:57: error: ‘RSEQ_SIG’ undeclared (first use in this function); did you mean ‘RSEQ_H’? 87 | rc = sys_rseq(&__rseq_abi, sizeof(struct rseq_abi), 0, RSEQ_SIG); | ^~~~~~~~ | RSEQ_H rseq.c:87:57: note: each undeclared identifier is reported only once for each function it appears in rseq.c: In function ‘rseq_unregister_current_thread’: rseq.c:102:80: error: ‘RSEQ_SIG’ undeclared (first use in this function); did you mean ‘RSEQ_H’? 102 | rc = sys_rseq(&__rseq_abi, sizeof(struct rseq_abi), RSEQ_ABI_FLAG_UNREGISTER, RSEQ_SIG); | ^~~~~~~~ | RSEQ_H make[1]: *** [Makefile:27: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/rseq/librseq.so] Error 1 /bin/sh: 1: llc: not found /bin/sh: 1: clang: not found /bin/sh: 3: llc: not found make[1]: *** [Makefile:28: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/tc-testing/action.o] Error 127 /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lhugetlbfs collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/vm/hmm-tests] Error 1 make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccTPzTOn.o: in function `.LANCHOR1': /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/tools/testing/selftests/android/ion/ipcsocket.h:8: multiple definition of `sock_name'; /tmp/cclUzqnq.o:/data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/tools/testing/selftests/android/ion/ipcsocket.h:8: first defined here /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: /tmp/cclg1hbp.o:/data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/tools/testing/selftests/android/ion/ipcsocket.h:8: multiple definition of `sock_name'; /tmp/cclUzqnq.o:/data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/tools/testing/selftests/android/ion/ipcsocket.h:8: first defined here collect2: error: ld returned 1 exit status make[2]: *** [: ionapp_export] Error 1 make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: /tmp/cccQbwWU.o: in function `.LANCHOR1': /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/tools/testing/selftests/android/ion/ipcsocket.h:8: multiple definition of `sock_name'; /tmp/ccZdwyQS.o:/data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/tools/testing/selftests/android/ion/ipcsocket.h:8: first defined here /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: /tmp/ccRNhLmT.o:/data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/tools/testing/selftests/android/ion/ipcsocket.h:8: multiple definition of `sock_name'; /tmp/ccZdwyQS.o:/data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/tools/testing/selftests/android/ion/ipcsocket.h:8: first defined here collect2: error: ld returned 1 exit status make[2]: *** [: ionapp_export] Error 1 make[1]: *** [../lib.mk:108: install] Error 2 /bin/sh: 1: clang: not found Auto-detecting system features: ... libelf: [ OFF ] ... zlib: [ OFF ] ... bpf: [ on ] No libelf found No zlib found make[3]: *** [Makefile:287: elfdep] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:290: zdep] Error 1 make[2]: *** [Makefile:156: all] Error 2 make[1]: *** [Makefile:190: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/bpf/tools/build/libbpf/libbpf.a] Error 2 /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lcap-ng collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/capabilities/validate_cap] Error 1 make[1]: *** Waiting for unfinished jobs.... /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lcap-ng collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/capabilities/test_execve] Error 1 /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lcap /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lcap collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/clone3/clone3] Error 1 make[1]: *** Waiting for unfinished jobs.... collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/clone3/clone3_clear_sighand] Error 1 /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lcap collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/clone3/clone3_set_tid] Error 1 /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lcap collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/clone3/clone3_cap_checkpoint_restore] Error 1 make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: *** No rule to make target 'install'. Stop. In file included from lib/elf.c:13: include/kvm_util.h:12:10: fatal error: asm/kvm.h: No such file or directory 12 | #include "asm/kvm.h" | ^~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:124: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/kvm/lib/elf.o] Error 1 /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lfuse collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/memfd/fuse_mnt] Error 1 /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lpopt collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/mqueue/mq_open_tests] Error 1 make[1]: *** Waiting for unfinished jobs.... /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lpopt collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/mqueue/mq_perf_tests] Error 1 /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lnuma collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/net/reuseport_bpf_numa] Error 1 /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lmnl collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/netfilter/nf-queue] Error 1 cc1: warning: ‘-fsanitize=address’ not supported for this target cc1: warning: ‘-fsanitize=address’ not supported for this target cc1: warning: ‘-fsanitize=address’ not supported for this target cc1: warning: ‘-fsanitize=address’ not supported for this target cc1: warning: ‘-fsanitize=address’ not supported for this target cc1: warning: ‘-fsanitize=address’ not supported for this target cc1: warning: ‘-fsanitize=address’ not supported for this target /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find libasan_preinit.o: No such file or directory /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lasan /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lubsan collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/openat2/rename_attack_test] Error 1 make[1]: *** Waiting for unfinished jobs.... /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find libasan_preinit.o: No such file or directory /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lasan /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lubsan collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/openat2/openat2_test] Error 1 cc1: warning: ‘-fsanitize=address’ not supported for this target cc1: warning: ‘-fsanitize=address’ not supported for this target /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find libasan_preinit.o: No such file or directory /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lasan /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lubsan collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/openat2/resolve_test] Error 1 In file included from rseq.c:33: rseq.h:97:2: error: #error unsupported target 97 | #error unsupported target | ^~~~~ rseq.c: In function ‘rseq_register_current_thread’: rseq.c:87:57: error: ‘RSEQ_SIG’ undeclared (first use in this function); did you mean ‘RSEQ_H’? 87 | rc = sys_rseq(&__rseq_abi, sizeof(struct rseq_abi), 0, RSEQ_SIG); | ^~~~~~~~ | RSEQ_H rseq.c:87:57: note: each undeclared identifier is reported only once for each function it appears in rseq.c: In function ‘rseq_unregister_current_thread’: rseq.c:102:80: error: ‘RSEQ_SIG’ undeclared (first use in this function); did you mean ‘RSEQ_H’? 102 | rc = sys_rseq(&__rseq_abi, sizeof(struct rseq_abi), RSEQ_ABI_FLAG_UNREGISTER, RSEQ_SIG); | ^~~~~~~~ | RSEQ_H make[1]: *** [Makefile:27: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/rseq/librseq.so] Error 1 /bin/sh: 1: llc: not found /bin/sh: 1: clang: not found /bin/sh: 3: llc: not found make[1]: *** [Makefile:28: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/tc-testing/action.o] Error 127 /usr/lib/gcc-cross/riscv64-linux-gnu/10/../../../../riscv64-linux-gnu/bin/ld: cannot find -lhugetlbfs collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/vm/hmm-tests] Error 1 Emit Tests for android Skipping non-existent dir: arm64 Skipping non-existent dir: bpf Emit Tests for breakpoints Skipping non-existent dir: capabilities Emit Tests for cgroup Skipping non-existent dir: clone3 Emit Tests for core Emit Tests for cpufreq Emit Tests for cpu-hotplug Emit Tests for drivers/dma-buf Emit Tests for efivarfs Emit Tests for exec Emit Tests for filesystems Emit Tests for filesystems/binderfs Emit Tests for filesystems/epoll Emit Tests for firmware Emit Tests for fpu Emit Tests for ftrace Emit Tests for futex Emit Tests for 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 Emit Tests for 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 Skipping non-existent dir: tc-testing Emit Tests for 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 /data/workspace/bot.kernelci.org/bisection/workspace/lava-bisection/linux/build-riscv-gcc-10/kselftest/kselftest_install/kselftest-packages/kselftest.tar.xz