====== Cleaning ====== ../../../scripts/Makefile.include:4: *** O=build_tools/ does not exist. Stop. ====== Baseline building the tree ====== make[1]: Circular /home/nipa/bpf-next/wt-0/build_tools/kselftest/alsa/global-timer <- /home/nipa/bpf-next/wt-0/build_tools/kselftest/alsa/global-timer dependency dropped. Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h' differs from latest version at 'include/uapi/linux/if_xdp.h' Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h' differs from latest version at 'include/uapi/linux/if_xdp.h' ====== Building the tree before the patch ====== make[1]: Circular /home/nipa/bpf-next/wt-0/build_tools/kselftest/alsa/global-timer <- /home/nipa/bpf-next/wt-0/build_tools/kselftest/alsa/global-timer dependency dropped. Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h' differs from latest version at 'include/uapi/linux/if_xdp.h' Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h' differs from latest version at 'include/uapi/linux/if_xdp.h' ====== Checking if tree is clean ====== ====== Building the tree with the patch ====== make[1]: Circular /home/nipa/bpf-next/wt-0/build_tools/kselftest/alsa/global-timer <- /home/nipa/bpf-next/wt-0/build_tools/kselftest/alsa/global-timer dependency dropped. Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h' differs from latest version at 'include/uapi/linux/if_xdp.h' linker.c:2733:5: error: no previous prototype for ‘linker_finalize_common’ [-Werror=missing-prototypes] 2733 | int linker_finalize_common(struct bpf_linker *linker) | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [/home/nipa/bpf-next/wt-0/tools/build/Makefile.build:105: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/build/libbpf/staticobjs/linker.o] Error 1 make[4]: *** Waiting for unfinished jobs.... linker.c:2733:5: error: no previous prototype for ‘linker_finalize_common’ [-Werror=missing-prototypes] 2733 | int linker_finalize_common(struct bpf_linker *linker) | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [/home/nipa/bpf-next/wt-0/tools/build/Makefile.build:105: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/build/libbpf/sharedobjs/linker.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:165: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/build/libbpf/staticobjs/libbpf-in.o] Error 2 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:155: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/build/libbpf/sharedobjs/libbpf-in.o] Error 2 make[2]: *** [Makefile:143: all] Error 2 make[1]: *** [Makefile:136: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/build/libbpf/libbpf.a] Error 2 Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h' differs from latest version at 'include/uapi/linux/if_xdp.h' linker.c:2733:5: error: no previous prototype for ‘linker_finalize_common’ [-Werror=missing-prototypes] 2733 | int linker_finalize_common(struct bpf_linker *linker) | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [/home/nipa/bpf-next/wt-0/tools/build/Makefile.build:105: /home/nipa/bpf-next/wt-0/build_tools/kselftest/net/tools/build/libbpf/staticobjs/linker.o] Error 1 make[4]: *** Waiting for unfinished jobs.... linker.c:2733:5: error: no previous prototype for ‘linker_finalize_common’ [-Werror=missing-prototypes] 2733 | int linker_finalize_common(struct bpf_linker *linker) | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [/home/nipa/bpf-next/wt-0/tools/build/Makefile.build:105: /home/nipa/bpf-next/wt-0/build_tools/kselftest/net/tools/build/libbpf/sharedobjs/linker.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:165: /home/nipa/bpf-next/wt-0/build_tools/kselftest/net/tools/build/libbpf/staticobjs/libbpf-in.o] Error 2 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:155: /home/nipa/bpf-next/wt-0/build_tools/kselftest/net/tools/build/libbpf/sharedobjs/libbpf-in.o] Error 2 make[2]: *** [Makefile:143: all] Error 2 make[1]: *** [bpf.mk:49: /home/nipa/bpf-next/wt-0/build_tools/kselftest/net/tools/build/libbpf/libbpf.a] Error 2 ====== Checking if tree is clean ====== New errors added --- /tmp/tmp.j9nVtMCiJe 2024-11-20 09:07:33.244704690 -0800 +++ /tmp/tmp.5HOW6sy54G 2024-11-20 09:07:38.760660079 -0800 @@ -2,0 +3,17 @@ +linker.c:2733:5: error: no previous prototype for ‘linker_finalize_common’ [-Werror=missing-prototypes] + 2733 | int linker_finalize_common(struct bpf_linker *linker) + | ^~~~~~~~~~~~~~~~~~~~~~ +cc1: all warnings being treated as errors +make[4]: *** [/home/nipa/bpf-next/wt-0/tools/build/Makefile.build:105: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/build/libbpf/staticobjs/linker.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... +linker.c:2733:5: error: no previous prototype for ‘linker_finalize_common’ [-Werror=missing-prototypes] + 2733 | int linker_finalize_common(struct bpf_linker *linker) + | ^~~~~~~~~~~~~~~~~~~~~~ +cc1: all warnings being treated as errors +make[4]: *** [/home/nipa/bpf-next/wt-0/tools/build/Makefile.build:105: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/build/libbpf/sharedobjs/linker.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... +make[3]: *** [Makefile:165: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/build/libbpf/staticobjs/libbpf-in.o] Error 2 +make[3]: *** Waiting for unfinished jobs.... +make[3]: *** [Makefile:155: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/build/libbpf/sharedobjs/libbpf-in.o] Error 2 +make[2]: *** [Makefile:143: all] Error 2 +make[1]: *** [Makefile:136: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/build/libbpf/libbpf.a] Error 2 @@ -3,0 +21,17 @@ +linker.c:2733:5: error: no previous prototype for ‘linker_finalize_common’ [-Werror=missing-prototypes] + 2733 | int linker_finalize_common(struct bpf_linker *linker) + | ^~~~~~~~~~~~~~~~~~~~~~ +cc1: all warnings being treated as errors +make[4]: *** [/home/nipa/bpf-next/wt-0/tools/build/Makefile.build:105: /home/nipa/bpf-next/wt-0/build_tools/kselftest/net/tools/build/libbpf/staticobjs/linker.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... +linker.c:2733:5: error: no previous prototype for ‘linker_finalize_common’ [-Werror=missing-prototypes] + 2733 | int linker_finalize_common(struct bpf_linker *linker) + | ^~~~~~~~~~~~~~~~~~~~~~ +cc1: all warnings being treated as errors +make[4]: *** [/home/nipa/bpf-next/wt-0/tools/build/Makefile.build:105: /home/nipa/bpf-next/wt-0/build_tools/kselftest/net/tools/build/libbpf/sharedobjs/linker.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... +make[3]: *** [Makefile:165: /home/nipa/bpf-next/wt-0/build_tools/kselftest/net/tools/build/libbpf/staticobjs/libbpf-in.o] Error 2 +make[3]: *** Waiting for unfinished jobs.... +make[3]: *** [Makefile:155: /home/nipa/bpf-next/wt-0/build_tools/kselftest/net/tools/build/libbpf/sharedobjs/libbpf-in.o] Error 2 +make[2]: *** [Makefile:143: all] Error 2 +make[1]: *** [bpf.mk:49: /home/nipa/bpf-next/wt-0/build_tools/kselftest/net/tools/build/libbpf/libbpf.a] Error 2 Per-file breakdown