Applying ./patches/0001-fix-cross-compiling.patch using plaintext: patching file userland/configure configure: WARNING: unrecognized options: --disable-nls configure: loading site script /builder/shared-workdir/build/sdk/include/site/arc checking for arc-openwrt-linux-gcc... arc-openwrt-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether arc-openwrt-linux-gnu-gcc accepts -g... yes checking for arc-openwrt-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... arc-openwrt-linux-gnu-gcc -E checking for grep that handles long lines and -e... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep checking for egrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking linux/net_tstamp.h usability... yes checking linux/net_tstamp.h presence... yes checking for linux/net_tstamp.h... yes checking librdi.h usability... no checking librdi.h presence... no checking for librdi.h... no arc-openwrt-linux-gnu-gcc: error: unrecognized command-line option '-march=native' checking for clock_gettime in -lrt... yes checking for nl_handle_alloc in -lnl... no checking for dlopen, dlsym in -ldl... yes checking for nl_socket_alloc in -lnl-3... (cached) no checking PF_RING AF_XDP support... no configure: creating ./config.status config.status: creating lib/Makefile config.status: creating lib/pfring_config config.status: creating examples/Makefile config.status: creating examples_zc/Makefile config.status: creating examples_ft/Makefile config.status: creating c++/Makefile config.status: creating nbpf/Makefile config.status: creating wireshark/extcap/Makefile config.status: creating lib/config.h configure: WARNING: unrecognized options: --disable-nls make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/linux-archs38_generic/linux-5.10.215' CC [M] /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/linux-archs38_generic/PF_RING-8.0.0/kernel/pf_ring.o /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/linux-archs38_generic/PF_RING-8.0.0/kernel/pf_ring.c: In function 'ring_bind': /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/linux-archs38_generic/PF_RING-8.0.0/kernel/pf_ring.c:5609:19: error: invalid application of 'sizeof' to incomplete type 'char[]' 5609 | char name[sizeof(sa->sa_data)+1]; | ^ /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/linux-archs38_generic/PF_RING-8.0.0/kernel/pf_ring.c:5623:35: error: invalid application of 'sizeof' to incomplete type 'char[]' 5623 | memcpy(name, sa->sa_data, sizeof(sa->sa_data)); | ^ /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/linux-archs38_generic/PF_RING-8.0.0/kernel/pf_ring.c:5609:8: warning: unused variable 'name' [-Wunused-variable] 5609 | char name[sizeof(sa->sa_data)+1]; | ^~~~ /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/linux-archs38_generic/PF_RING-8.0.0/kernel/pf_ring.c: In function 'hash_pkt_cluster': /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/linux-archs38_generic/PF_RING-8.0.0/kernel/pf_ring.c:3937:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 3937 | if(l3_proto == IPPROTO_TCP) | ^ /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/linux-archs38_generic/PF_RING-8.0.0/kernel/pf_ring.c:3944:3: note: here 3944 | case cluster_per_flow_2_tuple: | ^~~~ /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/linux-archs38_generic/PF_RING-8.0.0/kernel/pf_ring.c: In function 'ring_bind': /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/linux-archs38_generic/PF_RING-8.0.0/kernel/pf_ring.c:5631:1: error: control reaches end of non-void function [-Werror=return-type] 5631 | } | ^ cc1: some warnings being treated as errors make[5]: *** [scripts/Makefile.build:286: /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/linux-archs38_generic/PF_RING-8.0.0/kernel/pf_ring.o] Error 1 make[4]: *** [Makefile:1832: /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/linux-archs38_generic/PF_RING-8.0.0/kernel] Error 2 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/linux-archs38_generic/linux-5.10.215' make[3]: *** [Makefile:92: /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/linux-archs38_generic/PF_RING-8.0.0/.built] Error 2 time: package/feeds/packages/libpfring/compile#5.50#2.45#11.04