====== Cleaning ====== ../../../scripts/Makefile.include:4: *** O=build_tools/ does not exist. Stop. ====== Baseline building the tree ====== Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h' 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/bpf.h' differs from latest version at 'include/uapi/linux/bpf.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 ====== Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h' 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/bpf.h' differs from latest version at 'include/uapi/linux/bpf.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 with the patch ====== Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h' Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h' differs from latest version at 'include/uapi/linux/if_xdp.h' In file included from libbpf_errno.c:15: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] cc1: all warnings being treated as errors make[4]: *** [/home/nipa/bpf-next/wt-0/tools/build/Makefile.build:106: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/build/libbpf/staticobjs/libbpf_errno.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from strset.c:9: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/strset.o] Error 1 In file included from libbpf_errno.c:15: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] cc1: all warnings being treated as errors make[4]: *** [/home/nipa/bpf-next/wt-0/tools/build/Makefile.build:106: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/build/libbpf/sharedobjs/libbpf_errno.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from btf_iter.c:13: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/btf_iter.o] Error 1 In file included from zip.c:16: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/zip.o] Error 1 In file included from bpf_prog_linfo.c:9: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] cc1: all warnings being treated as errors make[4]: *** [/home/nipa/bpf-next/wt-0/tools/build/Makefile.build:106: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/build/libbpf/sharedobjs/bpf_prog_linfo.o] Error 1 In file included from bpf_prog_linfo.c:9: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/bpf_prog_linfo.o] Error 1 In file included from strset.c:9: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/strset.o] Error 1 In file included from btf_iter.c:13: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/btf_iter.o] Error 1 In file included from btf_relocate.c:32: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/btf_relocate.o] Error 1 In file included from ringbuf.c:22: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/ringbuf.o] Error 1 In file included from zip.c:16: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/zip.o] Error 1 In file included from ringbuf.c:22: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/ringbuf.o] Error 1 In file included from btf_relocate.c:32: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/btf_relocate.o] Error 1 In file included from relo_core.c:68: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/relo_core.o] Error 1 In file included from gen_loader.c:12: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/gen_loader.o] Error 1 In file included from relo_core.c:68: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/relo_core.o] Error 1 In file included from gen_loader.c:12: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/gen_loader.o] Error 1 In file included from linker.c:21: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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 In file included from linker.c:21: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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[3]: *** [Makefile:148: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/build/libbpf/sharedobjs/libbpf-in.o] Error 2 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:157: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/build/libbpf/staticobjs/libbpf-in.o] Error 2 make[2]: *** [Makefile:140: all] Error 2 make[1]: *** [Makefile:133: /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/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h' Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h' differs from latest version at 'include/uapi/linux/if_xdp.h' In file included from libbpf_errno.c:15: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] cc1: all warnings being treated as errors make[4]: *** [/home/nipa/bpf-next/wt-0/tools/build/Makefile.build:106: /home/nipa/bpf-next/wt-0/build_tools/kselftest/net/tools/build/libbpf/staticobjs/libbpf_errno.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from bpf_prog_linfo.c:9: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] cc1: all warnings being treated as errors make[4]: *** [/home/nipa/bpf-next/wt-0/tools/build/Makefile.build:106: /home/nipa/bpf-next/wt-0/build_tools/kselftest/net/tools/build/libbpf/staticobjs/bpf_prog_linfo.o] Error 1 In file included from libbpf_errno.c:15: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] cc1: all warnings being treated as errors make[4]: *** [/home/nipa/bpf-next/wt-0/tools/build/Makefile.build:106: /home/nipa/bpf-next/wt-0/build_tools/kselftest/net/tools/build/libbpf/sharedobjs/libbpf_errno.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from btf_iter.c:13: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/btf_iter.o] Error 1 In file included from bpf_prog_linfo.c:9: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] cc1: all warnings being treated as errors make[4]: *** [/home/nipa/bpf-next/wt-0/tools/build/Makefile.build:106: /home/nipa/bpf-next/wt-0/build_tools/kselftest/net/tools/build/libbpf/sharedobjs/bpf_prog_linfo.o] Error 1 In file included from strset.c:9: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/strset.o] Error 1 In file included from btf_iter.c:13: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/btf_iter.o] Error 1 In file included from zip.c:16: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/zip.o] Error 1 In file included from btf_relocate.c:32: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/btf_relocate.o] Error 1 In file included from strset.c:9: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/strset.o] Error 1 In file included from zip.c:16: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/zip.o] Error 1 In file included from ringbuf.c:22: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/ringbuf.o] Error 1 In file included from ringbuf.c:22: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/ringbuf.o] Error 1 In file included from relo_core.c:68: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/relo_core.o] Error 1 In file included from btf_relocate.c:32: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/btf_relocate.o] Error 1 In file included from gen_loader.c:12: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/gen_loader.o] Error 1 In file included from relo_core.c:68: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/relo_core.o] Error 1 In file included from gen_loader.c:12: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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/gen_loader.o] Error 1 In file included from linker.c:21: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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 In file included from linker.c:21: libbpf_internal.h: In function ‘bpf_func_info_bswap’: libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] 522 | i->insn_off = bswap_32(i->insn_off); | ^~~~~~~~ libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] 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[3]: *** [Makefile:157: /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:148: /home/nipa/bpf-next/wt-0/build_tools/kselftest/net/tools/build/libbpf/sharedobjs/libbpf-in.o] Error 2 make[2]: *** [Makefile:140: 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 New errors added --- /tmp/tmp.lUB6jENEgU 2024-09-16 02:05:12.165249396 -0700 +++ /tmp/tmp.ohNObid4Jj 2024-09-16 02:05:17.467356260 -0700 @@ -2,0 +3,167 @@ +In file included from libbpf_errno.c:15: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +cc1: all warnings being treated as errors +make[4]: *** [/home/nipa/bpf-next/wt-0/tools/build/Makefile.build:106: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/build/libbpf/staticobjs/libbpf_errno.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... +In file included from strset.c:9: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/strset.o] Error 1 +In file included from libbpf_errno.c:15: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +cc1: all warnings being treated as errors +make[4]: *** [/home/nipa/bpf-next/wt-0/tools/build/Makefile.build:106: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/build/libbpf/sharedobjs/libbpf_errno.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... +In file included from btf_iter.c:13: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/btf_iter.o] Error 1 +In file included from zip.c:16: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/zip.o] Error 1 +In file included from bpf_prog_linfo.c:9: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +cc1: all warnings being treated as errors +make[4]: *** [/home/nipa/bpf-next/wt-0/tools/build/Makefile.build:106: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/build/libbpf/sharedobjs/bpf_prog_linfo.o] Error 1 +In file included from bpf_prog_linfo.c:9: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/bpf_prog_linfo.o] Error 1 +In file included from strset.c:9: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/strset.o] Error 1 +In file included from btf_iter.c:13: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/btf_iter.o] Error 1 +In file included from btf_relocate.c:32: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/btf_relocate.o] Error 1 +In file included from ringbuf.c:22: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/ringbuf.o] Error 1 +In file included from zip.c:16: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/zip.o] Error 1 +In file included from ringbuf.c:22: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/ringbuf.o] Error 1 +In file included from btf_relocate.c:32: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/btf_relocate.o] Error 1 +In file included from relo_core.c:68: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/relo_core.o] Error 1 +In file included from gen_loader.c:12: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/gen_loader.o] Error 1 +In file included from relo_core.c:68: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/relo_core.o] Error 1 +In file included from gen_loader.c:12: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/gen_loader.o] Error 1 +In file included from linker.c:21: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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 +In file included from linker.c:21: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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[3]: *** [Makefile:148: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/build/libbpf/sharedobjs/libbpf-in.o] Error 2 +make[3]: *** Waiting for unfinished jobs.... +make[3]: *** [Makefile:157: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/build/libbpf/staticobjs/libbpf-in.o] Error 2 +make[2]: *** [Makefile:140: all] Error 2 +make[1]: *** [Makefile:133: /home/nipa/bpf-next/wt-0/build_tools/kselftest/hid/tools/build/libbpf/libbpf.a] Error 2 @@ -4,0 +172,167 @@ +In file included from libbpf_errno.c:15: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +cc1: all warnings being treated as errors +make[4]: *** [/home/nipa/bpf-next/wt-0/tools/build/Makefile.build:106: /home/nipa/bpf-next/wt-0/build_tools/kselftest/net/tools/build/libbpf/staticobjs/libbpf_errno.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... +In file included from bpf_prog_linfo.c:9: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +cc1: all warnings being treated as errors +make[4]: *** [/home/nipa/bpf-next/wt-0/tools/build/Makefile.build:106: /home/nipa/bpf-next/wt-0/build_tools/kselftest/net/tools/build/libbpf/staticobjs/bpf_prog_linfo.o] Error 1 +In file included from libbpf_errno.c:15: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +cc1: all warnings being treated as errors +make[4]: *** [/home/nipa/bpf-next/wt-0/tools/build/Makefile.build:106: /home/nipa/bpf-next/wt-0/build_tools/kselftest/net/tools/build/libbpf/sharedobjs/libbpf_errno.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... +In file included from btf_iter.c:13: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/btf_iter.o] Error 1 +In file included from bpf_prog_linfo.c:9: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +cc1: all warnings being treated as errors +make[4]: *** [/home/nipa/bpf-next/wt-0/tools/build/Makefile.build:106: /home/nipa/bpf-next/wt-0/build_tools/kselftest/net/tools/build/libbpf/sharedobjs/bpf_prog_linfo.o] Error 1 +In file included from strset.c:9: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/strset.o] Error 1 +In file included from btf_iter.c:13: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/btf_iter.o] Error 1 +In file included from zip.c:16: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/zip.o] Error 1 +In file included from btf_relocate.c:32: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/btf_relocate.o] Error 1 +In file included from strset.c:9: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/strset.o] Error 1 +In file included from zip.c:16: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/zip.o] Error 1 +In file included from ringbuf.c:22: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/ringbuf.o] Error 1 +In file included from ringbuf.c:22: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/ringbuf.o] Error 1 +In file included from relo_core.c:68: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/relo_core.o] Error 1 +In file included from btf_relocate.c:32: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/btf_relocate.o] Error 1 +In file included from gen_loader.c:12: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/gen_loader.o] Error 1 +In file included from relo_core.c:68: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/relo_core.o] Error 1 +In file included from gen_loader.c:12: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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/gen_loader.o] Error 1 +In file included from linker.c:21: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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 +In file included from linker.c:21: +libbpf_internal.h: In function ‘bpf_func_info_bswap’: +libbpf_internal.h:522:23: error: implicit declaration of function ‘bswap_32’ [-Werror=implicit-function-declaration] + 522 | i->insn_off = bswap_32(i->insn_off); + | ^~~~~~~~ +libbpf_internal.h:522:23: error: nested extern declaration of ‘bswap_32’ [-Werror=nested-externs] +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[3]: *** [Makefile:157: /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:148: /home/nipa/bpf-next/wt-0/build_tools/kselftest/net/tools/build/libbpf/sharedobjs/libbpf-in.o] Error 2 +make[2]: *** [Makefile:140: 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