12 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:24: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/landlock/base_test] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/landlock' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/lib' rsync -a printf.sh bitmap.sh prime_numbers.sh scanf.sh strscpy.sh /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/lib/ rsync -a config /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/lib/ make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/lib' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/livepatch' rsync -a test-livepatch.sh test-callbacks.sh test-shadow-vars.sh test-state.sh test-ftrace.sh /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/livepatch/ rsync -a functions.sh /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/livepatch/ rsync -a settings /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/livepatch/ rsync -a config settings /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/livepatch/ make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/livepatch' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/lkdtm' rsync -a stack-entropy.sh /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/lkdtm/ rsync -a tests.txt /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/lkdtm/ rsync -a /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/PANIC.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/BUG.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/WARNING.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/WARNING_MESSAGE.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/EXCEPTION.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/LOOP.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/EXHAUST_STACK.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/CORRUPT_STACK.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/CORRUPT_STACK_STRONG.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/ARRAY_BOUNDS.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/CORRUPT_LIST_ADD.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/CORRUPT_LIST_DEL.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/STACK_GUARD_PAGE_LEADING.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/STACK_GUARD_PAGE_TRAILING.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/REPORT_STACK_CANARY.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/UNSET_SMEP.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/DOUBLE_FAULT.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/CORRUPT_PAC.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/UNALIGNED_LOAD_STORE_WRITE.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/SLAB_LINEAR_OVERFLOW.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/VMALLOC_LINEAR_OVERFLOW.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/WRITE_AFTER_FREE.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/READ_AFTER_FREE.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/WRITE_BUDDY_AFTER_FREE.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/READ_BUDDY_AFTER_FREE.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/SLAB_INIT_ON_ALLOC.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/BUDDY_INIT_ON_ALLOC.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/SLAB_FREE_DOUBLE.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/SLAB_FREE_CROSS.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/SLAB_FREE_PAGE.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/SOFTLOCKUP.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/HARDLOCKUP.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/SPINLOCKUP.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/HUNG_TASK.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/EXEC_DATA.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/EXEC_STACK.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/EXEC_KMALLOC.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/EXEC_VMALLOC.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/EXEC_RODATA.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/EXEC_USERSPACE.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/EXEC_NULL.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/ACCESS_USERSPACE.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/ACCESS_NULL.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/WRITE_RO.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/WRITE_RO_AFTER_INIT.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/WRITE_KERN.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/REFCOUNT_INC_OVERFLOW.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/REFCOUNT_ADD_OVERFLOW.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/REFCOUNT_INC_NOT_ZERO_OVERFLOW.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/REFCOUNT_ADD_NOT_ZERO_OVERFLOW.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/REFCOUNT_DEC_ZERO.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/REFCOUNT_DEC_NEGATIVE.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/REFCOUNT_DEC_AND_TEST_NEGATIVE.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/REFCOUNT_SUB_AND_TEST_NEGATIVE.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/REFCOUNT_INC_ZERO.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/REFCOUNT_ADD_ZERO.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/REFCOUNT_INC_SATURATED.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/REFCOUNT_DEC_SATURATED.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/REFCOUNT_ADD_SATURATED.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/REFCOUNT_INC_NOT_ZERO_SATURATED.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/REFCOUNT_ADD_NOT_ZERO_SATURATED.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/REFCOUNT_DEC_AND_TEST_SATURATED.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/REFCOUNT_SUB_AND_TEST_SATURATED.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/REFCOUNT_TIMING.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/ATOMIC_TIMING.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/USERCOPY_HEAP_SIZE_TO.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/USERCOPY_HEAP_SIZE_FROM.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/USERCOPY_HEAP_WHITELIST_TO.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/USERCOPY_HEAP_WHITELIST_FROM.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/USERCOPY_STACK_FRAME_TO.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/USERCOPY_STACK_FRAME_FROM.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/USERCOPY_STACK_BEYOND.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/USERCOPY_KERNEL.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/STACKLEAK_ERASING.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/CFI_FORWARD_PROTO.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/FORTIFIED_STRSCPY.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/FORTIFIED_OBJECT.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/FORTIFIED_SUBOBJECT.sh /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/lkdtm/PPC_SLB_MULTIHIT.sh /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/lkdtm/ rsync -a config /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/lkdtm/ make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/lkdtm' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/membarrier' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -g -I../../../../usr/include/ membarrier_test_single_thread.c -lpthread -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/membarrier/membarrier_test_single_thread membarrier_test_single_thread.c:8:10: fatal error: pthread.h: No such file or directory 8 | #include | ^~~~~~~~~~~ compilation terminated. make[2]: *** [../lib.mk:146: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/membarrier/membarrier_test_single_thread] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/membarrier' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/memfd' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ -I../../../../usr/include/ memfd_test.c common.c -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/memfd/memfd_test memfd_test.c: In function 'mfd_assert_get_seals': memfd_test.c:90:16: error: 'F_GET_SEALS' undeclared (first use in this function) 90 | r = fcntl(fd, F_GET_SEALS); | ^~~~~~~~~~~ memfd_test.c:90:16: note: each undeclared identifier is reported only once for each function it appears in memfd_test.c: In function 'mfd_assert_add_seals': memfd_test.c:116:16: error: 'F_ADD_SEALS' undeclared (first use in this function) 116 | r = fcntl(fd, F_ADD_SEALS, seals); | ^~~~~~~~~~~ memfd_test.c: In function 'mfd_fail_add_seals': memfd_test.c:128:16: error: 'F_GET_SEALS' undeclared (first use in this function) 128 | r = fcntl(fd, F_GET_SEALS); | ^~~~~~~~~~~ memfd_test.c:134:16: error: 'F_ADD_SEALS' undeclared (first use in this function) 134 | r = fcntl(fd, F_ADD_SEALS, seals); | ^~~~~~~~~~~ memfd_test.c: In function 'test_basic': memfd_test.c:703:27: error: 'F_SEAL_SHRINK' undeclared (first use in this function) 703 | mfd_assert_add_seals(fd, F_SEAL_SHRINK | | ^~~~~~~~~~~~~ memfd_test.c:704:6: error: 'F_SEAL_WRITE' undeclared (first use in this function) 704 | F_SEAL_WRITE); | ^~~~~~~~~~~~ memfd_test.c:715:27: error: 'F_SEAL_GROW' undeclared (first use in this function) 715 | mfd_assert_add_seals(fd, F_SEAL_GROW | F_SEAL_SEAL); | ^~~~~~~~~~~ memfd_test.c:715:41: error: 'F_SEAL_SEAL' undeclared (first use in this function) 715 | mfd_assert_add_seals(fd, F_SEAL_GROW | F_SEAL_SEAL); | ^~~~~~~~~~~ memfd_test.c: In function 'test_seal_write': memfd_test.c:753:27: error: 'F_SEAL_WRITE' undeclared (first use in this function) 753 | mfd_assert_add_seals(fd, F_SEAL_WRITE); | ^~~~~~~~~~~~ memfd_test.c: In function 'test_seal_future_write': memfd_test.c:784:27: error: 'F_SEAL_FUTURE_WRITE' undeclared (first use in this function) 784 | mfd_assert_add_seals(fd, F_SEAL_FUTURE_WRITE); | ^~~~~~~~~~~~~~~~~~~ memfd_test.c: In function 'test_seal_shrink': memfd_test.c:819:27: error: 'F_SEAL_SHRINK' undeclared (first use in this function) 819 | mfd_assert_add_seals(fd, F_SEAL_SHRINK); | ^~~~~~~~~~~~~ memfd_test.c: In function 'test_seal_grow': memfd_test.c:845:27: error: 'F_SEAL_GROW' undeclared (first use in this function) 845 | mfd_assert_add_seals(fd, F_SEAL_GROW); | ^~~~~~~~~~~ memfd_test.c: In function 'test_seal_resize': memfd_test.c:871:27: error: 'F_SEAL_SHRINK' undeclared (first use in this function) 871 | mfd_assert_add_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); | ^~~~~~~~~~~~~ memfd_test.c:871:43: error: 'F_SEAL_GROW' undeclared (first use in this function) 871 | mfd_assert_add_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); | ^~~~~~~~~~~ memfd_test.c: In function 'test_share_dup': memfd_test.c:901:27: error: 'F_SEAL_WRITE' undeclared (first use in this function) 901 | mfd_assert_add_seals(fd, F_SEAL_WRITE); | ^~~~~~~~~~~~ memfd_test.c:905:28: error: 'F_SEAL_SHRINK' undeclared (first use in this function) 905 | mfd_assert_add_seals(fd2, F_SEAL_SHRINK); | ^~~~~~~~~~~~~ memfd_test.c:909:27: error: 'F_SEAL_SEAL' undeclared (first use in this function) 909 | mfd_assert_add_seals(fd, F_SEAL_SEAL); | ^~~~~~~~~~~ memfd_test.c:913:25: error: 'F_SEAL_GROW' undeclared (first use in this function) 913 | mfd_fail_add_seals(fd, F_SEAL_GROW); | ^~~~~~~~~~~ memfd_test.c: In function 'test_share_mmap': memfd_test.c:942:25: error: 'F_SEAL_WRITE' undeclared (first use in this function) 942 | mfd_fail_add_seals(fd, F_SEAL_WRITE); | ^~~~~~~~~~~~ memfd_test.c:944:27: error: 'F_SEAL_SHRINK' undeclared (first use in this function) 944 | mfd_assert_add_seals(fd, F_SEAL_SHRINK); | ^~~~~~~~~~~~~ memfd_test.c: In function 'test_share_open': memfd_test.c:975:27: error: 'F_SEAL_WRITE' undeclared (first use in this function) 975 | mfd_assert_add_seals(fd, F_SEAL_WRITE); | ^~~~~~~~~~~~ memfd_test.c:979:28: error: 'F_SEAL_SHRINK' undeclared (first use in this function) 979 | mfd_assert_add_seals(fd2, F_SEAL_SHRINK); | ^~~~~~~~~~~~~ memfd_test.c:986:25: error: 'F_SEAL_SEAL' undeclared (first use in this function) 986 | mfd_fail_add_seals(fd, F_SEAL_SEAL); | ^~~~~~~~~~~ memfd_test.c: In function 'test_share_fork': memfd_test.c:1018:27: error: 'F_SEAL_SEAL' undeclared (first use in this function) 1018 | mfd_assert_add_seals(fd, F_SEAL_SEAL); | ^~~~~~~~~~~ memfd_test.c:1021:25: error: 'F_SEAL_WRITE' undeclared (first use in this function) 1021 | mfd_fail_add_seals(fd, F_SEAL_WRITE); | ^~~~~~~~~~~~ make[2]: *** [../lib.mk:146: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/memfd/memfd_test] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/memfd' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/memory-hotplug' rsync -a mem-on-off-test.sh /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/memory-hotplug/ rsync -a config /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/memory-hotplug/ make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/memory-hotplug' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/mincore' rsync -a /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/mincore/mincore_selftest /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/mincore/ make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/mincore' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/mount' rsync -a run_unprivileged_remount.sh run_nosymfollow.sh /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/mount/ rsync -a /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/mount/unprivileged-remount-test /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/mount/nosymfollow-test /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/mount/ rsync -a config /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/mount/ make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/mount' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/mount_setattr' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -g -I../../../../usr/include/ -Wall -O2 -pthread mount_setattr_test.c -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/mount_setattr/mount_setattr_test In file included from /nvmedata/autobuild/instance-17/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sched.h:22, from mount_setattr_test.c:3: /nvmedata/autobuild/instance-17/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/features.h:218:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp] 218 | # warning requested reentrant code, but thread support was disabled | ^~~~~~~ mount_setattr_test.c:6:10: fatal error: pthread.h: No such file or directory 6 | #include | ^~~~~~~~~~~ compilation terminated. make[2]: *** [../lib.mk:146: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/mount_setattr/mount_setattr_test] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/mount_setattr' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/move_mount_set_group' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -g -I../../../../usr/include/ -Wall -O2 move_mount_set_group_test.c -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/move_mount_set_group/move_mount_set_group_test move_mount_set_group_test.c: In function 'move_mount_set_group_supported': move_mount_set_group_test.c:221:16: error: 'SYS_move_mount' undeclared (first use in this function); did you mean 'SYS_mount'? 221 | ret = syscall(SYS_move_mount, AT_FDCWD, SET_GROUP_FROM, | ^~~~~~~~~~~~~~ | SYS_mount move_mount_set_group_test.c:221:16: note: each undeclared identifier is reported only once for each function it appears in In file included from move_mount_set_group_test.c:18: move_mount_set_group_test.c: In function 'move_mount_set_group_complex_sharing_copying': move_mount_set_group_test.c:366:20: error: 'SYS_move_mount' undeclared (first use in this function); did you mean 'SYS_mount'? 366 | ASSERT_EQ(syscall(SYS_move_mount, ca_from.mntfd, "", | ^~~~~~~~~~~~~~ ../kselftest_harness.h:697:13: note: in definition of macro '__EXPECT' 697 | __typeof__(_expected) __exp = (_expected); \ | ^~~~~~~~~ move_mount_set_group_test.c:366:2: note: in expansion of macro 'ASSERT_EQ' 366 | ASSERT_EQ(syscall(SYS_move_mount, ca_from.mntfd, "", | ^~~~~~~~~ make[2]: *** [../lib.mk:146: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/move_mount_set_group/move_mount_set_group_test] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/move_mount_set_group' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/mqueue' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -O2 mq_open_tests.c -lrt -lpthread -lpopt -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/mqueue/mq_open_tests /nvmedata/autobuild/instance-17/output-1/host/lib/gcc/x86_64-buildroot-linux-uclibc/10.4.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: cannot find -lpthread collect2: error: ld returned 1 exit status make[2]: *** [../lib.mk:146: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/mqueue/mq_open_tests] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/mqueue' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/nci' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -Wl,-no-as-needed -Wall -lpthread nci_dev.c -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/nci/nci_dev nci_dev.c:14:10: fatal error: pthread.h: No such file or directory 14 | #include | ^~~~~~~~~~~ compilation terminated. make[2]: *** [../lib.mk:146: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/nci/nci_dev] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/nci' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/net' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ reuseport_bpf_numa.c -lnuma -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/net/reuseport_bpf_numa reuseport_bpf_numa.c:24:10: fatal error: numa.h: No such file or directory 24 | #include | ^~~~~~~~ compilation terminated. make[2]: *** [../lib.mk:146: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/net/reuseport_bpf_numa] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/net' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/net/af_unix' rsync -a /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/net/af_unix/test_unix_oob /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/net/af_unix/ make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/net/af_unix' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/net/forwarding' rsync -a bridge_igmp.sh bridge_port_isolation.sh bridge_sticky_fdb.sh bridge_vlan_aware.sh bridge_vlan_unaware.sh ethtool.sh gre_inner_v4_multipath.sh gre_inner_v6_multipath.sh gre_multipath.sh ip6_forward_instats_vrf.sh ip6gre_inner_v4_multipath.sh ip6gre_inner_v6_multipath.sh ipip_flat_gre_key.sh ipip_flat_gre_keys.sh ipip_flat_gre.sh ipip_hier_gre_key.sh ipip_hier_gre_keys.sh ipip_hier_gre.sh loopback.sh mirror_gre_bound.sh mirror_gre_bridge_1d.sh mirror_gre_bridge_1d_vlan.sh mirror_gre_bridge_1q_lag.sh mirror_gre_bridge_1q.sh mirror_gre_changes.sh mirror_gre_flower.sh mirror_gre_lag_lacp.sh mirror_gre_neigh.sh mirror_gre_nh.sh mirror_gre.sh mirror_gre_vlan_bridge_1q.sh mirror_gre_vlan.sh mirror_vlan.sh router_bridge.sh router_bridge_vlan.sh router_broadcast.sh router_mpath_nh.sh router_multicast.sh router_multipath.sh router.sh router_vid_1.sh sch_ets.sh sch_tbf_ets.sh sch_tbf_prio.sh sch_tbf_root.sh tc_actions.sh tc_chains.sh tc_flower_router.sh tc_flower.sh tc_mpls_l2vpn.sh tc_shblocks.sh tc_vlan_modify.sh vxlan_asymmetric.sh vxlan_bridge_1d_port_8472.sh vxlan_bridge_1d.sh vxlan_bridge_1q_port_8472.sh vxlan_bridge_1q.sh vxlan_symmetric.sh /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/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 /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/net/forwarding/ rsync -a config /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/net/forwarding/ make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/net/forwarding' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/net/mptcp' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../../usr/include mptcp_connect.c -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/net/mptcp/mptcp_connect mptcp_connect.c: In function 'set_transparent': mptcp_connect.c:223:42: error: 'IPV6_TRANSPARENT' undeclared (first use in this function); did you mean 'IP_TRANSPARENT'? 223 | if (-1 == setsockopt(fd, IPPROTO_IPV6, IPV6_TRANSPARENT, &one, sizeof(one))) | ^~~~~~~~~~~~~~~~ | IP_TRANSPARENT mptcp_connect.c:223:42: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [../../lib.mk:146: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/net/mptcp/mptcp_connect] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/net/mptcp' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/netfilter' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc nf-queue.c -lmnl -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/netfilter/nf-queue nf-queue.c:13:10: fatal error: libmnl/libmnl.h: No such file or directory 13 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [../lib.mk:146: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/netfilter/nf-queue] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/netfilter' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/nsfs' rsync -a /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/nsfs/owner /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/nsfs/pidns /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/nsfs/ rsync -a config /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/nsfs/ make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/nsfs' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/pidfd' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -g -I../../../../usr/include/ -pthread pidfd_test.c -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/pidfd/pidfd_test In file included from /nvmedata/autobuild/instance-17/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/errno.h:28, from pidfd_test.c:4: /nvmedata/autobuild/instance-17/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/features.h:218:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp] 218 | # warning requested reentrant code, but thread support was disabled | ^~~~~~~ pidfd_test.c:7:10: fatal error: pthread.h: No such file or directory 7 | #include | ^~~~~~~~~~~ compilation terminated. make[2]: *** [../lib.mk:146: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/pidfd/pidfd_test] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/pidfd' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/pid_namespace' rsync -a /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/pid_namespace/regression_enomem /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/pid_namespace/ rsync -a config /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/pid_namespace/ make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/pid_namespace' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/powerpc' make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/powerpc' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/proc' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -Wall -O2 -Wno-unused-function -D_GNU_SOURCE -pthread fd-001-lookup.c -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/proc/fd-001-lookup In file included from /nvmedata/autobuild/instance-17/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/assert.h:31, from fd-001-lookup.c:19: /nvmedata/autobuild/instance-17/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/features.h:218:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp] 218 | # warning requested reentrant code, but thread support was disabled | ^~~~~~~ /nvmedata/autobuild/instance-17/output-1/host/lib/gcc/x86_64-buildroot-linux-uclibc/10.4.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: cannot find -lpthread collect2: error: ld returned 1 exit status make[2]: *** [../lib.mk:146: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/proc/fd-001-lookup] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/proc' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/pstore' rsync -a pstore_tests pstore_post_reboot_tests /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/pstore/ rsync -a common_tests pstore_crash_test /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/pstore/ rsync -a config /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/pstore/ make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/pstore' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/ptrace' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -std=c99 -pthread -iquote../../../../include/uapi -Wall get_syscall_info.c -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/ptrace/get_syscall_info In file included from /nvmedata/autobuild/instance-17/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/errno.h:28, from ../kselftest_harness.h:57, from get_syscall_info.c:10: /nvmedata/autobuild/instance-17/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/features.h:218:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp] 218 | # warning requested reentrant code, but thread support was disabled | ^~~~~~~ /nvmedata/autobuild/instance-17/output-1/host/lib/gcc/x86_64-buildroot-linux-uclibc/10.4.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: cannot find -lpthread collect2: error: ld returned 1 exit status make[2]: *** [../lib.mk:146: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/ptrace/get_syscall_info] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/ptrace' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/openat2' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -Wall -O2 -g -fsanitize=address -fsanitize=undefined openat2_test.c helpers.c helpers.h -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/openat2/openat2_test /nvmedata/autobuild/instance-17/output-1/host/lib/gcc/x86_64-buildroot-linux-uclibc/10.4.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: cannot find libasan_preinit.o: No such file or directory /nvmedata/autobuild/instance-17/output-1/host/lib/gcc/x86_64-buildroot-linux-uclibc/10.4.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: cannot find -lasan /nvmedata/autobuild/instance-17/output-1/host/lib/gcc/x86_64-buildroot-linux-uclibc/10.4.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: cannot find -lubsan collect2: error: ld returned 1 exit status make[2]: *** [../lib.mk:146: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/openat2/openat2_test] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/openat2' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/rlimits' rsync -a /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/rlimits/rlimits-per-userns /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/rlimits/ rsync -a config /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/rlimits/ make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/rlimits' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/rseq' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -O2 -Wall -g -I./ -I../../../../usr/include/ -L/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/rseq -Wl,-rpath=./ -shared -fPIC rseq.c -lpthread -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/rseq/librseq.so In file included from rseq.c:31: rseq.h:13:10: fatal error: pthread.h: No such file or directory 13 | #include | ^~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:27: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/rseq/librseq.so] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/rseq' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/rtc' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -O3 -Wl,-no-as-needed -Wall rtctest.c -lrt -lpthread -lm -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/rtc/rtctest /nvmedata/autobuild/instance-17/output-1/host/lib/gcc/x86_64-buildroot-linux-uclibc/10.4.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: cannot find -lpthread collect2: error: ld returned 1 exit status make[2]: *** [../lib.mk:146: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/rtc/rtctest] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/rtc' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/seccomp' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -Wl,-no-as-needed -Wall -isystem ../../../../usr/include/ -lpthread seccomp_bpf.c -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/seccomp/seccomp_bpf seccomp_bpf.c:31:10: fatal error: pthread.h: No such file or directory 31 | #include | ^~~~~~~~~~~ compilation terminated. make[2]: *** [../lib.mk:146: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/seccomp/seccomp_bpf] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/seccomp' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/sgx' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -Wall -Werror -g -I../../../../tools/include -fPIC -z noexecstack -c main.c -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/sgx/main.o main.c:19:10: fatal error: sys/auxv.h: No such file or directory 19 | #include | ^~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:33: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/sgx/main.o] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/sgx' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/sigaltstack' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -Wall sas.c -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/sigaltstack/sas sas.c:20:10: fatal error: sys/auxv.h: No such file or directory 20 | #include | ^~~~~~~~~~~~ compilation terminated. make[2]: *** [../lib.mk:146: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/sigaltstack/sas] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/sigaltstack' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/size' rsync -a /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/size/get_size /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/size/ make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/size' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/sparc64' make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/sparc64' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/splice' rsync -a default_file_splice_read.sh short_splice_read.sh /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/splice/ rsync -a /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/splice/default_file_splice_read /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/splice/splice_read /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/splice/ rsync -a config settings /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/splice/ make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/splice' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/static_keys' rsync -a test_static_keys.sh /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/static_keys/ rsync -a config /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/static_keys/ make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/static_keys' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/sync' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -c sync_stress_parallelism.c -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/sync/sync_stress_parallelism.o sync_stress_parallelism.c:28:10: fatal error: pthread.h: No such file or directory 28 | #include | ^~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:36: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/sync/sync_stress_parallelism.o] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/sync' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/syscall_user_dispatch' rsync -a /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/syscall_user_dispatch/sud_test /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/syscall_user_dispatch/sud_benchmark /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/syscall_user_dispatch/ rsync -a config /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/syscall_user_dispatch/ make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/syscall_user_dispatch' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/sysctl' rsync -a sysctl.sh /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/sysctl/ rsync -a config /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/sysctl/ make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/sysctl' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/tc-testing' rsync -a ./tdc.sh /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/tc-testing/ rsync -a tdc*.py Tdc*.py plugins plugin-lib tc-tests /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/tc-testing/ rsync -a /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/tc-testing/action.o /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/tc-testing/ rsync -a config /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/tc-testing/ make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/tc-testing' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/timens' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -Wall -Werror -pthread timens.c -lrt -ldl -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/timens/timens In file included from /nvmedata/autobuild/instance-17/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/errno.h:28, from timens.c:3: /nvmedata/autobuild/instance-17/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/features.h:218:5: error: #warning requested reentrant code, but thread support was disabled [-Werror=cpp] 218 | # warning requested reentrant code, but thread support was disabled | ^~~~~~~ cc1: all warnings being treated as errors make[2]: *** [../lib.mk:146: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/timens/timens] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/timens' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/timers' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -O3 -Wl,-no-as-needed -Wall posix_timers.c -lrt -lpthread -lm -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/timers/posix_timers posix_timers.c:15:10: fatal error: pthread.h: No such file or directory 15 | #include | ^~~~~~~~~~~ compilation terminated. make[2]: *** [../lib.mk:146: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/timers/posix_timers] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/timers' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/tmpfs' rsync -a /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/tmpfs/bug-link-o-tmpfile /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/tmpfs/ make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/tmpfs' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/tpm2' rsync -a test_smoke.sh test_space.sh /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/tpm2/ rsync -a tpm2.py tpm2_tests.py /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/tpm2/ make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/tpm2' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/user' rsync -a test_user_copy.sh /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/user/ rsync -a config /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/user/ make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/user' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/vDSO' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -std=gnu99 vdso_test_gettimeofday.c parse_vdso.c -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/vDSO/vdso_test_gettimeofday vdso_test_gettimeofday.c:16:10: fatal error: sys/auxv.h: No such file or directory 16 | #include | ^~~~~~~~~~~~ compilation terminated. make[2]: *** [../lib.mk:146: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/vDSO/vdso_test_gettimeofday] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/vDSO' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/vm' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -Wall -I ../../../../usr/include -no-pie compaction_test.c -lrt -lpthread -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/vm/compaction_test /nvmedata/autobuild/instance-17/output-1/host/lib/gcc/x86_64-buildroot-linux-uclibc/10.4.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: cannot find -lpthread collect2: error: ld returned 1 exit status make[2]: *** [../lib.mk:146: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/vm/compaction_test] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/vm' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/x86' /nvmedata/autobuild/instance-17/output-1/host/bin/x86_64-buildroot-linux-uclibc-gcc -m64 -o /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/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 In file included from /nvmedata/autobuild/instance-17/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/time.h:22, from single_step_syscall.c:15: /nvmedata/autobuild/instance-17/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/features.h:218:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp] 218 | # warning requested reentrant code, but thread support was disabled | ^~~~~~~ /nvmedata/autobuild/instance-17/output-1/host/lib/gcc/x86_64-buildroot-linux-uclibc/10.4.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: cannot find -lpthread collect2: error: ld returned 1 exit status make[2]: *** [Makefile:78: /nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/kselftest/x86/single_step_syscall_64] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/x86' make[2]: Entering directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/zram' rsync -a zram.sh /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/zram/ rsync -a zram01.sh zram02.sh zram_lib.sh /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/zram/ rsync -a config /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/zram/ make[2]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests/zram' for TARGET in alsa arm64 breakpoints capabilities cgroup clone3 core cpufreq cpu-hotplug damon drivers/dma-buf efivarfs exec filesystems filesystems/binderfs filesystems/epoll firmware fpu ftrace futex gpio intel_pstate ipc ir kcmp kexec kvm landlock lib livepatch lkdtm membarrier memfd memory-hotplug mincore mount mount_setattr move_mount_set_group mqueue nci net net/af_unix net/forwarding net/mptcp netfilter nsfs pidfd pid_namespace powerpc proc pstore ptrace openat2 rlimits rseq rtc seccomp sgx sigaltstack size sparc64 splice static_keys sync syscall_user_dispatch sysctl tc-testing timens timers tmpfs tpm2 user vDSO vm x86 zram; do \ BUILD_TARGET=$BUILD/$TARGET; \ [ ! -d /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/$TARGET ] && echo "Skipping non-existent dir: $TARGET" && continue; \ echo -n "Emit Tests for $TARGET\n"; \ /usr/bin/make -s --no-print-directory OUTPUT=$BUILD_TARGET COLLECTION=$TARGET \ -C $TARGET emit_tests >> /nvmedata/autobuild/instance-17/output-1/target/usr/lib/kselftests/kselftest-list.txt; \ done; Skipping non-existent dir: alsa Skipping non-existent dir: arm64 Emit Tests for 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 Skipping non-existent dir: filesystems/binderfs Skipping non-existent dir: filesystems/epoll Emit Tests for firmware Skipping non-existent dir: fpu Emit Tests for ftrace Emit Tests for futex Emit Tests for gpio Emit Tests for intel_pstate Skipping non-existent dir: ipc Skipping non-existent dir: ir Emit Tests for kcmp Emit Tests for kexec Skipping non-existent dir: kvm Skipping non-existent dir: landlock Emit Tests for lib Emit Tests for livepatch Emit Tests for lkdtm Skipping non-existent dir: membarrier Skipping non-existent dir: memfd Emit Tests for memory-hotplug Emit Tests for mincore Emit Tests for mount Skipping non-existent dir: mount_setattr Skipping non-existent dir: move_mount_set_group Skipping non-existent dir: mqueue Skipping non-existent dir: nci Emit Tests for net Emit Tests for net/af_unix Emit Tests for net/forwarding Skipping non-existent dir: net/mptcp Skipping non-existent dir: netfilter Emit Tests for nsfs Skipping non-existent dir: pidfd Emit Tests for pid_namespace Skipping non-existent dir: powerpc Skipping non-existent dir: proc Emit Tests for pstore Skipping non-existent dir: ptrace Skipping non-existent dir: openat2 Emit Tests for rlimits Skipping non-existent dir: rseq Skipping non-existent dir: rtc Skipping non-existent dir: seccomp Skipping non-existent dir: sgx Skipping non-existent dir: sigaltstack Emit Tests for size Skipping non-existent dir: sparc64 Emit Tests for splice Emit Tests for static_keys Skipping non-existent dir: sync Emit Tests for syscall_user_dispatch Emit Tests for sysctl Emit Tests for tc-testing Skipping non-existent dir: timens Skipping non-existent dir: timers Emit Tests for tmpfs Emit Tests for tpm2 Emit Tests for user Skipping non-existent dir: vDSO Skipping non-existent dir: vm Skipping non-existent dir: x86 Emit Tests for zram make[1]: Leaving directory '/nvmedata/autobuild/instance-17/output-1/build/linux-5.17.15/tools/testing/selftests' ERROR: architecture for "/usr/lib/kselftests/tc-testing/action.o" is "Linux BPF", should be "Advanced Micro Devices X86-64" make: *** [package/pkg-generic.mk:406: /nvmedata/autobuild/instance-17/output-1/build/linux-tools/.stamp_installed] Error 1 make: Leaving directory '/nvmedata/autobuild/instance-17/buildroot'