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-aarch64_cortex-a76_musl/bmx7-r2024061001/src'
make bmx7
make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src'
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c bmx.c -o bmx.o
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_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)
      |        ^~~~~~~~~~
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c node.c -o node.o
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c crypt.c -o crypt.o
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_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;
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c content.c -o content.o
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c msg.c -o msg.o
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c z.c -o z.o
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c iid.c -o iid.o
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c desc.c -o desc.o
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c metrics.c -o metrics.o
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c ogm.c -o ogm.o
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c link.c -o link.o
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c iptools.c -o iptools.o
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c tools.c -o tools.o
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c plugin.c -o plugin.o
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c list.c -o list.o
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c allocate.c -o allocate.o
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c avl.c -o avl.o
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c hna.c -o hna.o
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c control.c -o control.o
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c schedule.c -o schedule.o
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c ip.c -o ip.o
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_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)
      |     ^~~~~~~~~~
aarch64-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      -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c dump.c -o dump.o
aarch64-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-aarch64_cortex-a76_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a76_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a76_musl/usr/lib -liwinfo
make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_evil'
aarch64-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../../ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c evil.c -o evil.o
aarch64-openwrt-linux-musl-gcc -g3 -Wl,-export-dynamic -ldl  -liwinfo -lz -lm -lmbedcrypto -shared -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a76_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a76_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a76_musl/usr/lib -liwinfo evil.o -o bmx7_evil.so 
ln -f -s /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_evil/bmx7_evil.so /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_evil/../bmx7_evil.so
make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_evil'


make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_http_info'
aarch64-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../../ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c http_info.c -o http_info.o
aarch64-openwrt-linux-musl-gcc -g3 -Wl,-export-dynamic -ldl  -liwinfo -lz -lm -lmbedcrypto -shared -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a76_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a76_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a76_musl/usr/lib -liwinfo http_info.o -o bmx7_http_info.so 
ln -f -s /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_http_info/bmx7_http_info.so /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_http_info/../bmx7_http_info.so
make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_http_info'


make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_iwinfo'
aarch64-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../../ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_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 || aarch64-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../../ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_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;
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
aarch64-openwrt-linux-musl-gcc -g3 -Wl,-export-dynamic -ldl  -liwinfo -lz -lm -lmbedcrypto -shared -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a76_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a76_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a76_musl/usr/lib -liwinfo -liwinfo bmx7_iwinfo.o -o bmx7_iwinfo.so 
ln -f -s /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_iwinfo/bmx7_iwinfo.so /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_iwinfo/../bmx7_iwinfo.so
make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_iwinfo'


make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_json'
aarch64-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../../ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_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);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aarch64-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-aarch64_cortex-a76_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a76_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a76_musl/usr/lib -liwinfo -o bmx7_json.so || aarch64-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-aarch64_cortex-a76_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a76_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a76_musl/usr/lib -liwinfo -o bmx7_json.so
ln -f -s /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_json/bmx7_json.so /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_json/../bmx7_json.so
make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_json'


make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_sms'
aarch64-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../../ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_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);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aarch64-openwrt-linux-musl-gcc -g3 -Wl,-export-dynamic -ldl  -liwinfo -lz -lm -lmbedcrypto -shared -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a76_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a76_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a76_musl/usr/lib -liwinfo sms.o -o bmx7_sms.so 
ln -f -s /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_sms/bmx7_sms.so /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_sms/../bmx7_sms.so
make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_sms'


make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_table'
aarch64-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../../ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c table.c -o table.o
aarch64-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../../ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c ../../redist.c -o ../../redist.o
aarch64-openwrt-linux-musl-gcc -g3 -Wl,-export-dynamic -ldl  -liwinfo -lz -lm -lmbedcrypto -shared -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a76_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a76_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a76_musl/usr/lib -liwinfo table.o ../../redist.o -o bmx7_table.so 
ln -f -s /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_table/bmx7_table.so /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_table/../bmx7_table.so
make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_table'


make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_topology'
aarch64-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../../ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c topology.c -o topology.o
aarch64-openwrt-linux-musl-gcc -g3 -Wl,-export-dynamic -ldl  -liwinfo -lz -lm -lmbedcrypto -shared -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a76_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a76_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a76_musl/usr/lib -liwinfo topology.o -o bmx7_topology.so 
ln -f -s /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_topology/bmx7_topology.so /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_topology/../bmx7_topology.so
make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_topology'


make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_tun'
aarch64-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../../ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_musl/usr/include -DCORE_LIMIT=20000 -DTRAFFIC_DUMP -DNO_TRACE_FUNCTION_CALLS -DBMX7_LIB_IWINFO -c tun.c -o tun.o
tun.c: In function 'tun_out_get_free_name':
tun.c:144:83: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=]
  144 |         snprintf(name.str + strlen(name.str), IFNAMSIZ - 1 - strlen(name.str), "%s", tun_name_prefix.str);
      |                                                                                   ^
tun.c:144:9: note: 'snprintf' output between 1 and 16 bytes into a destination of size 15
  144 |         snprintf(name.str + strlen(name.str), IFNAMSIZ - 1 - strlen(name.str), "%s", tun_name_prefix.str);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aarch64-openwrt-linux-musl-gcc -g3 -Wl,-export-dynamic -ldl  -liwinfo -lz -lm -lmbedcrypto -shared -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a76_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a76_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a76_musl/usr/lib -liwinfo tun.o -o bmx7_tun.so 
ln -f -s /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_tun/bmx7_tun.so /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_tun/../bmx7_tun.so
make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_tun'


make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_uci_config'
aarch64-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/ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_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-aarch64_cortex-a76_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);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aarch64-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-aarch64_cortex-a76_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a76_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a76_musl/usr/lib -liwinfo -o bmx7_config.so
ln -f -s /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_uci_config/bmx7_config.so /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_uci_config/../bmx7_config.so
make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib/bmx7_uci_config'


make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src/lib'
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/src'
rstrip.sh: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a76_musl/bmx7-r2024061001/ipkg-aarch64_cortex-a76/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/aarch64_cortex-a76/routing/bmx7-r2024061001-r1.apk: package version is invalid
make[3]: *** [Makefile:185: /builder/shared-workdir/build/sdk/bin/packages/aarch64_cortex-a76/routing/bmx7-r2024061001-r1.apk] Error 99
time: package/feeds/routing/bmx7/compile#25.57#2.54#31.90