Applying /builder/shared-workdir/build/sdk/feeds/routing/bmx7/patches/020-siocgstamp.patch using plaintext: patching file src/schedule.c Hunk #1 succeeded at 376 (offset 1 line). Hunk #2 succeeded at 404 (offset 1 line). Hunk #3 succeeded at 456 (offset 1 line). make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src' make bmx7 make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src' loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c bmx.c -o bmx.o bmx.c: In function 'get_status_handl': bmx.c:700:9: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 700 | strncpy(status_name, name, sizeof(status_name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c key.c -o key.o key.c: In function 'kSetOutAction_listed': key.c:250:15: warning: unused variable 'TODO_fix_catching_this_when_applying_trusts_or_limits' [-Wunused-variable] 250 | IDM_T TODO_fix_catching_this_when_applying_trusts_or_limits; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ key.c: In function 'keyNode_delCredits_': key.c:863:15: warning: unused variable 'TODO_FIX_THIS' [-Wunused-variable] 863 | IDM_T TODO_FIX_THIS; | ^~~~~~~~~~~~~ key.c: At top level: key.c:180:8: warning: 'kCol_FALSE' defined but not used [-Wunused-function] 180 | int8_t kCol_FALSE(struct key_node *kn) | ^~~~~~~~~~ loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c node.c -o node.o loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c crypt.c -o crypt.o loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c sec.c -o sec.o sec.c: In function 'process_dsc_tlv_dhmLinkKey': sec.c:918:15: warning: unused variable 'TODO_Tolerate_unknown_dhm_link_keys_like_process_dsc_tlv_rsaPubKey' [-Wunused-variable] 918 | IDM_T TODO_Tolerate_unknown_dhm_link_keys_like_process_dsc_tlv_rsaPubKey; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c content.c -o content.o loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c msg.c -o msg.o loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c z.c -o z.o loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c iid.c -o iid.o loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c desc.c -o desc.o loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c metrics.c -o metrics.o loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c ogm.c -o ogm.o loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c link.c -o link.o loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c iptools.c -o iptools.o iptools.c: In function 'interface_get_lowest': iptools.c:366:17: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 366 | strncpy(lowentry, globbuf.gl_pathv[0], 1 + strlen(globbuf.gl_pathv[0])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iptools.c:366:60: note: length computed here 366 | strncpy(lowentry, globbuf.gl_pathv[0], 1 + strlen(globbuf.gl_pathv[0])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c tools.c -o tools.o loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c plugin.c -o plugin.o In file included from plugin.c:25: plugin.c: In function 'get_plugin_data': plugin.c:205:62: warning: array subscript 2 is above array bounds of 'int32_t[2]' {aka 'int[2]'} [-Warray-bounds=] 205 | assertion(-501285, (registry < plugin_data_registries[data_type])); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ bmx.h:500:88: note: in definition of macro 'assertion' 500 | #define assertion( code , condition ) do { if ( code <= -600000 || code > -500000 || !(condition) ) { cleanup_all( code ); } }while(0) | ^~~~~~~~~ plugin.c:45:9: note: while referencing 'plugin_data_registries' 45 | int32_t plugin_data_registries[PLUGIN_DATA_SIZE]; | ^~~~~~~~~~~~~~~~~~~~~~ loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c list.c -o list.o loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c allocate.c -o allocate.o loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c avl.c -o avl.o loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c hna.c -o hna.o loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c control.c -o control.o loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c schedule.c -o schedule.o loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c ip.c -o ip.o ip.c: In function 'kernel_tun_add': ip.c:1303:9: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 1303 | strncpy(p.name, name, IFNAMSIZ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c prof.c -o prof.o prof.c:88:5: warning: 'prof_check' defined but not used [-Wunused-function] 88 | int prof_check(struct prof_ctx *p, int childs) | ^~~~~~~~~~ loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c dump.c -o dump.o loongarch64-openwrt-linux-musl-gcc bmx.o key.o node.o crypt.o sec.o content.o msg.o z.o iid.o desc.o metrics.o ogm.o link.o iptools.o tools.o plugin.o list.o allocate.o avl.o hna.o control.o schedule.o ip.o prof.o dump.o -o bmx7 -g3 -Wl,-export-dynamic -ldl -liwinfo -lz -lm -lmbedcrypto -g3 -Wl,-export-dynamic -ldl -liwinfo -lz -lm -lmbedcrypto -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/lib -liwinfo make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src' # further make targets: help, libs, build_all, strip[_libs|_all], install[_libs|_all], clean[_libs|_all] make -C lib all CORE_CFLAGS='-pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 ' make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib' for d in ./bmx7_evil ./bmx7_http_info ./bmx7_iwinfo ./bmx7_json ./bmx7_sms ./bmx7_table ./bmx7_topology ./bmx7_tun ./bmx7_uci_config; do make CORE_CFLAGS='-pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 ' -C $d all || echo compiling $d failed; echo;echo; done make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_evil' loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -fpic -I../../ -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c evil.c -o evil.o loongarch64-openwrt-linux-musl-gcc -g3 -Wl,-export-dynamic -ldl -liwinfo -lz -lm -lmbedcrypto -shared -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/lib -liwinfo evil.o -o bmx7_evil.so ln -f -s /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_evil/bmx7_evil.so /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_evil/../bmx7_evil.so make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_evil' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_http_info' loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -fpic -I../../ -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c http_info.c -o http_info.o loongarch64-openwrt-linux-musl-gcc -g3 -Wl,-export-dynamic -ldl -liwinfo -lz -lm -lmbedcrypto -shared -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/lib -liwinfo http_info.o -o bmx7_http_info.so ln -f -s /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_http_info/bmx7_http_info.so /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_http_info/../bmx7_http_info.so make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_http_info' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_iwinfo' loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -fpic -I../../ -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -DHAVE_IWINFO_THR -c bmx7_iwinfo.c -o bmx7_iwinfo.o || loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -fpic -I../../ -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c bmx7_iwinfo.c -o bmx7_iwinfo.o bmx7_iwinfo.c: In function 'get_link_rate': bmx7_iwinfo.c:81:15: warning: unused variable 'TODO_use_nl_tiny_lib_instead' [-Wunused-variable] 81 | IDM_T TODO_use_nl_tiny_lib_instead; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ loongarch64-openwrt-linux-musl-gcc -g3 -Wl,-export-dynamic -ldl -liwinfo -lz -lm -lmbedcrypto -shared -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/lib -liwinfo -liwinfo bmx7_iwinfo.o -o bmx7_iwinfo.so ln -f -s /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_iwinfo/bmx7_iwinfo.so /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_iwinfo/../bmx7_iwinfo.so make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_iwinfo' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_json' loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -fpic -I../../ -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c json.c -o json.o json.c: In function 'opt_json_update_interval': json.c:704:43: warning: '%s' directive writing 11 bytes into a region of size between 0 and 299 [-Wformat-overflow=] 704 | sprintf(tmp_orig_dir, "%s/%s", tmp_json_dir, DEF_JSON_ORIG_SUBDIR); | ^~ json.c:704:17: note: 'sprintf' output between 13 and 312 bytes into a destination of size 300 704 | sprintf(tmp_orig_dir, "%s/%s", tmp_json_dir, DEF_JSON_ORIG_SUBDIR); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ json.c:705:43: warning: '%s' directive writing 12 bytes into a region of size between 0 and 299 [-Wformat-overflow=] 705 | sprintf(tmp_desc_dir, "%s/%s", tmp_json_dir, DEF_JSON_DESC_SUBDIR); | ^~ json.c:705:17: note: 'sprintf' output between 14 and 313 bytes into a destination of size 300 705 | sprintf(tmp_desc_dir, "%s/%s", tmp_json_dir, DEF_JSON_DESC_SUBDIR); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ json.c:706:46: warning: '%s' directive writing 7 bytes into a region of size between 0 and 299 [-Wformat-overflow=] 706 | sprintf(tmp_netjson_dir, "%s/%s", tmp_json_dir, DEF_JSON_NETJSON_SUBDIR); | ^~ json.c:706:17: note: 'sprintf' output between 9 and 308 bytes into a destination of size 300 706 | sprintf(tmp_netjson_dir, "%s/%s", tmp_json_dir, DEF_JSON_NETJSON_SUBDIR); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loongarch64-openwrt-linux-musl-gcc -shared json.o -g3 -Wl,-export-dynamic -ldl -liwinfo -lz -lm -lmbedcrypto -ljson-c -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/lib -liwinfo -o bmx7_json.so || loongarch64-openwrt-linux-musl-gcc -shared json.o -g3 -Wl,-export-dynamic -ldl -liwinfo -lz -lm -lmbedcrypto -ljson -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/lib -liwinfo -o bmx7_json.so ln -f -s /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_json/bmx7_json.so /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_json/../bmx7_json.so make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_json' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_sms' loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -fpic -I../../ -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c sms.c -o sms.o sms.c: In function 'opt_sms': sms.c:317:45: warning: '%s' directive writing 7 bytes into a region of size between 0 and 299 [-Wformat-overflow=] 317 | sprintf(tmp_sms_rx_dir, "%s/%s", tmp_sms_dir, DEF_SMS_RX_SUBDIR); | ^~ sms.c:317:17: note: 'sprintf' output between 9 and 308 bytes into a destination of size 300 317 | sprintf(tmp_sms_rx_dir, "%s/%s", tmp_sms_dir, DEF_SMS_RX_SUBDIR); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sms.c:318:45: warning: '%s' directive writing 7 bytes into a region of size between 0 and 299 [-Wformat-overflow=] 318 | sprintf(tmp_sms_tx_dir, "%s/%s", tmp_sms_dir, DEF_SMS_TX_SUBDIR); | ^~ sms.c:318:17: note: 'sprintf' output between 9 and 308 bytes into a destination of size 300 318 | sprintf(tmp_sms_tx_dir, "%s/%s", tmp_sms_dir, DEF_SMS_TX_SUBDIR); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loongarch64-openwrt-linux-musl-gcc -g3 -Wl,-export-dynamic -ldl -liwinfo -lz -lm -lmbedcrypto -shared -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/lib -liwinfo sms.o -o bmx7_sms.so ln -f -s /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_sms/bmx7_sms.so /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_sms/../bmx7_sms.so make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_sms' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_table' loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -fpic -I../../ -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c table.c -o table.o loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -fpic -I../../ -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c ../../redist.c -o ../../redist.o loongarch64-openwrt-linux-musl-gcc -g3 -Wl,-export-dynamic -ldl -liwinfo -lz -lm -lmbedcrypto -shared -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/lib -liwinfo table.o ../../redist.o -o bmx7_table.so ln -f -s /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_table/bmx7_table.so /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_table/../bmx7_table.so make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_table' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_topology' loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -fpic -I../../ -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c topology.c -o topology.o loongarch64-openwrt-linux-musl-gcc -g3 -Wl,-export-dynamic -ldl -liwinfo -lz -lm -lmbedcrypto -shared -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/lib -liwinfo topology.o -o bmx7_topology.so ln -f -s /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_topology/bmx7_topology.so /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_topology/../bmx7_topology.so make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_topology' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_tun' loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -fpic -I../../ -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c tun.c -o tun.o loongarch64-openwrt-linux-musl-gcc -g3 -Wl,-export-dynamic -ldl -liwinfo -lz -lm -lmbedcrypto -shared -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/lib -liwinfo tun.o -o bmx7_tun.so ln -f -s /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_tun/bmx7_tun.so /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_tun/../bmx7_tun.so make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_tun' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_uci_config' loongarch64-openwrt-linux-musl-gcc -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -pedantic -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-address-of-packed-member -Os -g3 -std=gnu99 -DGIT_REV=\"\" -DAVL_5XLINKED -DDEBUG_MALLOC -DCORE_LIMIT=20000 -fpic -I../../ -I/usr/local/include/uci/ -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001=bmx7-r2024061001 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c uci_config.c -o uci_config.o uci_config.c: In function 'opt_conf_file': uci_config.c:761:41: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 761 | sprintf(tmp_path, "%s/%s", conf_path, bmx_conf_name); | ^ uci_config.c:761:17: note: 'sprintf' output 2 or more bytes (assuming 301) into a destination of size 300 761 | sprintf(tmp_path, "%s/%s", conf_path, bmx_conf_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loongarch64-openwrt-linux-musl-gcc -shared uci_config.o -g3 -Wl,-export-dynamic -ldl -liwinfo -lz -lm -lmbedcrypto -luci -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_musl/usr/lib -liwinfo -o bmx7_config.so ln -f -s /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_uci_config/bmx7_config.so /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_uci_config/../bmx7_config.so make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib/bmx7_uci_config' make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src/lib' make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/src' rstrip.sh: /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/bmx7-r2024061001/ipkg-loongarch64_generic/bmx7/usr/sbin/bmx7: executable ERROR: info field 'version' has invalid value: package version is invalid ERROR: failed to create package: /builder/shared-workdir/build/sdk/bin/packages/loongarch64_generic/routing/bmx7-r2024061001-r1.apk: package version is invalid make[3]: *** [Makefile:185: /builder/shared-workdir/build/sdk/bin/packages/loongarch64_generic/routing/bmx7-r2024061001-r1.apk] Error 99 time: package/feeds/routing/bmx7/compile#14.63#4.51#27.61