========== build_tools - FAILED ====== 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 ====== busy_poller.c:72:59: error: ‘NETDEV_NAPI_THREADED_DISABLE’ undeclared here (not in a function); did you mean ‘NETDEV_NAPI_THREADED_DISABLED’? 72 | static enum netdev_napi_threaded cfg_napi_threaded_poll = NETDEV_NAPI_THREADED_DISABLE; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | NETDEV_NAPI_THREADED_DISABLED make[1]: *** [../lib.mk:222: /home/nipa/net-next/wt-0/build_tools/kselftest/net/busy_poller] Error 1 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 New errors added --- /tmp/tmp.XnkawpQyOt 2025-08-24 15:12:44.701257216 -0700 +++ /tmp/tmp.agDtMilA25 2025-08-24 15:12:46.980243657 -0700 @@ -0,0 +1,5 @@ +busy_poller.c:72:59: error: ‘NETDEV_NAPI_THREADED_DISABLE’ undeclared here (not in a function); did you mean ‘NETDEV_NAPI_THREADED_DISABLED’? + 72 | static enum netdev_napi_threaded cfg_napi_threaded_poll = NETDEV_NAPI_THREADED_DISABLE; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | NETDEV_NAPI_THREADED_DISABLED +make[1]: *** [../lib.mk:222: /home/nipa/net-next/wt-0/build_tools/kselftest/net/busy_poller] Error 1 Per-file breakdown