====== Cleaning ====== ../../../scripts/Makefile.include:4: *** O=build_tools/ does not exist. Stop. make[1]: *** nsfs: No such file or directory. Stop. ====== Baseline building the tree ====== In file included from iommufd_utils.h:11, from iommufd.c:12: In function ‘_test_cmd_get_hw_info’, inlined from ‘iommufd_ioas_get_hw_info’ at iommufd.c:794:3, inlined from ‘wrapper_iommufd_ioas_get_hw_info’ at iommufd.c:754:1: iommufd_utils.h:817:37: warning: array subscript ‘struct iommu_test_hw_info[0]’ is partly outside array bounds of ‘struct iommu_test_hw_info_buffer_smaller[1]’ [-Warray-bounds=] 817 | assert(!info->flags); | ~~~~^~~~~~~ iommufd.c: In function ‘wrapper_iommufd_ioas_get_hw_info’: iommufd.c:763:11: note: object ‘buffer_smaller’ of size 4 763 | } buffer_smaller; | ^~~~~~~~~~~~~~ In file included from /home/nipa/net-next/wt-0/tools/include/nolibc/nolibc.h:95, from /home/nipa/net-next/wt-0/tools/include/nolibc/stdio.h:8, from nolibc-test.c:12: /home/nipa/net-next/wt-0/tools/include/nolibc/std.h:19:10: fatal error: linux/types.h: No such file or directory 19 | #include | ^~~~~~~~~~~~~~~ compilation terminated. In file included from /home/nipa/net-next/wt-0/tools/include/nolibc/nolibc.h:95, from /home/nipa/net-next/wt-0/tools/include/nolibc/errno.h:8, from nolibc-test-linkage.c:5: /home/nipa/net-next/wt-0/tools/include/nolibc/std.h:19:10: fatal error: linux/types.h: No such file or directory 19 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:222: /home/nipa/net-next/wt-0/build_tools/kselftest/nolibc/nolibc-test] Error 1 make[1]: *** nsfs: No such file or directory. Stop. In file included from main.c:21: ../kselftest_harness.h:754:9: error: ‘is_signed_type’ redefined [-Werror] 754 | #define is_signed_type(var) (!!(((__typeof__(var))(-1)) < (__typeof__(var))1)) | ^~~~~~~~~~~~~~ In file included from /home/nipa/net-next/wt-0/tools/testing/selftests/../../../tools/include/linux/bits.h:34, from ../../../../arch/x86/include/asm/sgx.h:10, from defines.h:19, from main.c:20: /home/nipa/net-next/wt-0/tools/testing/selftests/../../../tools/include/linux/overflow.h:31:9: note: this is the location of the previous definition 31 | #define is_signed_type(type) (((type)(-1)) < (type)1) | ^~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[1]: *** [Makefile:36: /home/nipa/net-next/wt-0/build_tools/kselftest/sgx/main.o] Error 1 ====== Building the tree before the patch ====== In file included from /home/nipa/net-next/wt-0/tools/include/nolibc/nolibc.h:95, from /home/nipa/net-next/wt-0/tools/include/nolibc/stdio.h:8, from nolibc-test.c:12: /home/nipa/net-next/wt-0/tools/include/nolibc/std.h:19:10: fatal error: linux/types.h: No such file or directory 19 | #include | ^~~~~~~~~~~~~~~ compilation terminated. In file included from /home/nipa/net-next/wt-0/tools/include/nolibc/nolibc.h:95, from /home/nipa/net-next/wt-0/tools/include/nolibc/errno.h:8, from nolibc-test-linkage.c:5: /home/nipa/net-next/wt-0/tools/include/nolibc/std.h:19:10: fatal error: linux/types.h: No such file or directory 19 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:222: /home/nipa/net-next/wt-0/build_tools/kselftest/nolibc/nolibc-test] Error 1 make[1]: *** nsfs: No such file or directory. Stop. In file included from main.c:21: ../kselftest_harness.h:754:9: error: ‘is_signed_type’ redefined [-Werror] 754 | #define is_signed_type(var) (!!(((__typeof__(var))(-1)) < (__typeof__(var))1)) | ^~~~~~~~~~~~~~ In file included from /home/nipa/net-next/wt-0/tools/testing/selftests/../../../tools/include/linux/bits.h:34, from ../../../../arch/x86/include/asm/sgx.h:10, from defines.h:19, from main.c:20: /home/nipa/net-next/wt-0/tools/testing/selftests/../../../tools/include/linux/overflow.h:31:9: note: this is the location of the previous definition 31 | #define is_signed_type(type) (((type)(-1)) < (type)1) | ^~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[1]: *** [Makefile:36: /home/nipa/net-next/wt-0/build_tools/kselftest/sgx/main.o] Error 1 ====== Checking if tree is clean ====== ?? arch/x86/Makefile.orig ?? arch/x86/Makefile.rej ====== Building the tree with the patch ====== In file included from /home/nipa/net-next/wt-0/tools/include/nolibc/nolibc.h:95, from /home/nipa/net-next/wt-0/tools/include/nolibc/stdio.h:8, from nolibc-test.c:12: /home/nipa/net-next/wt-0/tools/include/nolibc/std.h:19:10: fatal error: linux/types.h: No such file or directory 19 | #include | ^~~~~~~~~~~~~~~ compilation terminated. In file included from /home/nipa/net-next/wt-0/tools/include/nolibc/nolibc.h:95, from /home/nipa/net-next/wt-0/tools/include/nolibc/errno.h:8, from nolibc-test-linkage.c:5: /home/nipa/net-next/wt-0/tools/include/nolibc/std.h:19:10: fatal error: linux/types.h: No such file or directory 19 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:222: /home/nipa/net-next/wt-0/build_tools/kselftest/nolibc/nolibc-test] Error 1 make[1]: *** nsfs: No such file or directory. Stop. In file included from main.c:21: ../kselftest_harness.h:754:9: error: ‘is_signed_type’ redefined [-Werror] 754 | #define is_signed_type(var) (!!(((__typeof__(var))(-1)) < (__typeof__(var))1)) | ^~~~~~~~~~~~~~ In file included from /home/nipa/net-next/wt-0/tools/testing/selftests/../../../tools/include/linux/bits.h:34, from ../../../../arch/x86/include/asm/sgx.h:10, from defines.h:19, from main.c:20: /home/nipa/net-next/wt-0/tools/testing/selftests/../../../tools/include/linux/overflow.h:31:9: note: this is the location of the previous definition 31 | #define is_signed_type(type) (((type)(-1)) < (type)1) | ^~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[1]: *** [Makefile:36: /home/nipa/net-next/wt-0/build_tools/kselftest/sgx/main.o] Error 1 ====== Checking if tree is clean ====== ?? arch/x86/Makefile.orig ?? arch/x86/Makefile.rej