The Meson build system Version: 1.6.1 Source dir: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/dtc-1.7.1 Build dir: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/dtc-1.7.1/openwrt-build Build type: cross build Project name: dtc Project version: 1.7.1 C compiler for the host machine: arm-openwrt-linux-muslgnueabi-gcc (gcc 14.3.0 "arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 14.3.0 r31598-6de96914e5) 14.3.0") C linker for the host machine: arm-openwrt-linux-muslgnueabi-gcc ld.bfd 2.44 C compiler for the build machine: /builder/shared-workdir/build/sdk/staging_dir/host/bin/gcc (gcc 10.2.1 "gcc (Debian 10.2.1-6) 10.2.1 20210110") C linker for the build machine: /builder/shared-workdir/build/sdk/staging_dir/host/bin/gcc ld.bfd 2.35.2 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: arm Host machine cpu: generic Target machine cpu family: arm Target machine cpu: generic Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wcast-qual: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wredundant-decls: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wsuggest-attribute=format: YES Compiler for C supports arguments -Wwrite-strings: YES Dependency yaml-0.1 skipped: feature yaml disabled Dependency valgrind skipped: feature valgrind disabled Program /builder/shared-workdir/build/sdk/staging_dir/host/bin/python3 found: NO (disabled by: python ) Program swig skipped: feature python disabled Compiler for C supports link arguments -Wl,--version-script=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/dtc-1.7.1/libfdt/version.lds: YES Compiler for C supports link arguments -Wl,--no-undefined: YES Found pkg-config: YES (/builder/shared-workdir/build/sdk/staging_dir/host/bin/pkg-config) 2.5.1 Program flex found: YES (/builder/shared-workdir/build/sdk/staging_dir/host/bin/flex) Program bison found: YES (/builder/shared-workdir/build/sdk/staging_dir/host/bin/bison) Check usable header "fnmatch.h" : YES Build targets in project: 9 dtc 1.7.1 User defined options Cross files : /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/dtc-1.7.1/openwrt-cross.txt Native files : /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/dtc-1.7.1/openwrt-native.txt buildtype : plain default_library: both python : disabled static-build : false tests : false tools : true valgrind : disabled yaml : disabled Found ninja-1.13.1 at /builder/shared-workdir/build/sdk/staging_dir/host/bin/ninja ninja: Entering directory `/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/dtc-1.7.1/openwrt-build' ninja: warning: Ignoring jobserver: Pipe-based protocol is not supported! [--jobserver-auth=3,4] [1/45] Generating 'convert-dtsv0.p/convert-dtsv0-lexer.l.lex.c' [2/45] Generating 'dtc.p/dtc-lexer.l.lex.c' [3/45] Compiling C object libfdt/libfdt.so.1.7.1.p/fdt_empty_tree.c.o FAILED: [code=1] libfdt/libfdt.so.1.7.1.p/fdt_empty_tree.c.o arm-openwrt-linux-muslgnueabi-gcc -Ilibfdt/libfdt.so.1.7.1.p -Ilibfdt -I../libfdt -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow -Wsuggest-attribute=format -Wwrite-strings -DFDT_ASSUME_MASK=0 -DNO_YAML -DNO_VALGRIND -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/dtc-1.7.1=dtc-1.7.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fPIC -MD -MQ libfdt/libfdt.so.1.7.1.p/fdt_empty_tree.c.o -MF libfdt/libfdt.so.1.7.1.p/fdt_empty_tree.c.o.d -o libfdt/libfdt.so.1.7.1.p/fdt_empty_tree.c.o -c ../libfdt/fdt_empty_tree.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/stdlib.h:27, from ../libfdt/libfdt_env.h:13, from ../libfdt/fdt_empty_tree.c:6: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ cc1: all warnings being treated as errors [4/45] Compiling C object libfdt/libfdt.so.1.7.1.p/fdt_addresses.c.o FAILED: [code=1] libfdt/libfdt.so.1.7.1.p/fdt_addresses.c.o arm-openwrt-linux-muslgnueabi-gcc -Ilibfdt/libfdt.so.1.7.1.p -Ilibfdt -I../libfdt -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow -Wsuggest-attribute=format -Wwrite-strings -DFDT_ASSUME_MASK=0 -DNO_YAML -DNO_VALGRIND -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/dtc-1.7.1=dtc-1.7.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fPIC -MD -MQ libfdt/libfdt.so.1.7.1.p/fdt_addresses.c.o -MF libfdt/libfdt.so.1.7.1.p/fdt_addresses.c.o.d -o libfdt/libfdt.so.1.7.1.p/fdt_addresses.c.o -c ../libfdt/fdt_addresses.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/stdlib.h:27, from ../libfdt/libfdt_env.h:13, from ../libfdt/fdt_addresses.c:7: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ cc1: all warnings being treated as errors [5/45] Compiling C object libfdt/libfdt.so.1.7.1.p/fdt_check.c.o FAILED: [code=1] libfdt/libfdt.so.1.7.1.p/fdt_check.c.o arm-openwrt-linux-muslgnueabi-gcc -Ilibfdt/libfdt.so.1.7.1.p -Ilibfdt -I../libfdt -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow -Wsuggest-attribute=format -Wwrite-strings -DFDT_ASSUME_MASK=0 -DNO_YAML -DNO_VALGRIND -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/dtc-1.7.1=dtc-1.7.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fPIC -MD -MQ libfdt/libfdt.so.1.7.1.p/fdt_check.c.o -MF libfdt/libfdt.so.1.7.1.p/fdt_check.c.o.d -o libfdt/libfdt.so.1.7.1.p/fdt_check.c.o -c ../libfdt/fdt_check.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/stdlib.h:27, from ../libfdt/libfdt_env.h:13, from ../libfdt/fdt_check.c:6: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ cc1: all warnings being treated as errors [6/45] Compiling C object libfdt/libfdt.so.1.7.1.p/fdt_strerror.c.o FAILED: [code=1] libfdt/libfdt.so.1.7.1.p/fdt_strerror.c.o arm-openwrt-linux-muslgnueabi-gcc -Ilibfdt/libfdt.so.1.7.1.p -Ilibfdt -I../libfdt -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow -Wsuggest-attribute=format -Wwrite-strings -DFDT_ASSUME_MASK=0 -DNO_YAML -DNO_VALGRIND -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/dtc-1.7.1=dtc-1.7.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fPIC -MD -MQ libfdt/libfdt.so.1.7.1.p/fdt_strerror.c.o -MF libfdt/libfdt.so.1.7.1.p/fdt_strerror.c.o.d -o libfdt/libfdt.so.1.7.1.p/fdt_strerror.c.o -c ../libfdt/fdt_strerror.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/stdlib.h:27, from ../libfdt/libfdt_env.h:13, from ../libfdt/fdt_strerror.c:7: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ cc1: all warnings being treated as errors [7/45] Compiling C object libfdt/libfdt.so.1.7.1.p/fdt_wip.c.o FAILED: [code=1] libfdt/libfdt.so.1.7.1.p/fdt_wip.c.o arm-openwrt-linux-muslgnueabi-gcc -Ilibfdt/libfdt.so.1.7.1.p -Ilibfdt -I../libfdt -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow -Wsuggest-attribute=format -Wwrite-strings -DFDT_ASSUME_MASK=0 -DNO_YAML -DNO_VALGRIND -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/dtc-1.7.1=dtc-1.7.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fPIC -MD -MQ libfdt/libfdt.so.1.7.1.p/fdt_wip.c.o -MF libfdt/libfdt.so.1.7.1.p/fdt_wip.c.o.d -o libfdt/libfdt.so.1.7.1.p/fdt_wip.c.o -c ../libfdt/fdt_wip.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/stdlib.h:27, from ../libfdt/libfdt_env.h:13, from ../libfdt/fdt_wip.c:6: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ cc1: all warnings being treated as errors [8/45] Generating version_gen.h with a custom command fatal: not a git repository (or any of the parent directories): .git [9/45] Compiling C object libfdt/libfdt.so.1.7.1.p/fdt.c.o FAILED: [code=1] libfdt/libfdt.so.1.7.1.p/fdt.c.o arm-openwrt-linux-muslgnueabi-gcc -Ilibfdt/libfdt.so.1.7.1.p -Ilibfdt -I../libfdt -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow -Wsuggest-attribute=format -Wwrite-strings -DFDT_ASSUME_MASK=0 -DNO_YAML -DNO_VALGRIND -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/dtc-1.7.1=dtc-1.7.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fPIC -MD -MQ libfdt/libfdt.so.1.7.1.p/fdt.c.o -MF libfdt/libfdt.so.1.7.1.p/fdt.c.o.d -o libfdt/libfdt.so.1.7.1.p/fdt.c.o -c ../libfdt/fdt.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/stdlib.h:27, from ../libfdt/libfdt_env.h:13, from ../libfdt/fdt.c:6: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ cc1: all warnings being treated as errors [10/45] Generating from 'dtc-parser.y' [11/45] Compiling C object libfdt/libfdt.so.1.7.1.p/fdt_sw.c.o FAILED: [code=1] libfdt/libfdt.so.1.7.1.p/fdt_sw.c.o arm-openwrt-linux-muslgnueabi-gcc -Ilibfdt/libfdt.so.1.7.1.p -Ilibfdt -I../libfdt -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow -Wsuggest-attribute=format -Wwrite-strings -DFDT_ASSUME_MASK=0 -DNO_YAML -DNO_VALGRIND -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/dtc-1.7.1=dtc-1.7.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fPIC -MD -MQ libfdt/libfdt.so.1.7.1.p/fdt_sw.c.o -MF libfdt/libfdt.so.1.7.1.p/fdt_sw.c.o.d -o libfdt/libfdt.so.1.7.1.p/fdt_sw.c.o -c ../libfdt/fdt_sw.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/stdlib.h:27, from ../libfdt/libfdt_env.h:13, from ../libfdt/fdt_sw.c:6: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ cc1: all warnings being treated as errors [12/45] Compiling C object libfdt/libfdt.so.1.7.1.p/fdt_overlay.c.o FAILED: [code=1] libfdt/libfdt.so.1.7.1.p/fdt_overlay.c.o arm-openwrt-linux-muslgnueabi-gcc -Ilibfdt/libfdt.so.1.7.1.p -Ilibfdt -I../libfdt -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow -Wsuggest-attribute=format -Wwrite-strings -DFDT_ASSUME_MASK=0 -DNO_YAML -DNO_VALGRIND -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/dtc-1.7.1=dtc-1.7.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fPIC -MD -MQ libfdt/libfdt.so.1.7.1.p/fdt_overlay.c.o -MF libfdt/libfdt.so.1.7.1.p/fdt_overlay.c.o.d -o libfdt/libfdt.so.1.7.1.p/fdt_overlay.c.o -c ../libfdt/fdt_overlay.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/stdlib.h:27, from ../libfdt/libfdt_env.h:13, from ../libfdt/fdt_overlay.c:7: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ cc1: all warnings being treated as errors [13/45] Compiling C object libfdt/libfdt.so.1.7.1.p/fdt_rw.c.o FAILED: [code=1] libfdt/libfdt.so.1.7.1.p/fdt_rw.c.o arm-openwrt-linux-muslgnueabi-gcc -Ilibfdt/libfdt.so.1.7.1.p -Ilibfdt -I../libfdt -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow -Wsuggest-attribute=format -Wwrite-strings -DFDT_ASSUME_MASK=0 -DNO_YAML -DNO_VALGRIND -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/dtc-1.7.1=dtc-1.7.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fPIC -MD -MQ libfdt/libfdt.so.1.7.1.p/fdt_rw.c.o -MF libfdt/libfdt.so.1.7.1.p/fdt_rw.c.o.d -o libfdt/libfdt.so.1.7.1.p/fdt_rw.c.o -c ../libfdt/fdt_rw.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/stdlib.h:27, from ../libfdt/libfdt_env.h:13, from ../libfdt/fdt_rw.c:6: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ cc1: all warnings being treated as errors [14/45] Compiling C object libfdt/libfdt.so.1.7.1.p/fdt_ro.c.o FAILED: [code=1] libfdt/libfdt.so.1.7.1.p/fdt_ro.c.o arm-openwrt-linux-muslgnueabi-gcc -Ilibfdt/libfdt.so.1.7.1.p -Ilibfdt -I../libfdt -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow -Wsuggest-attribute=format -Wwrite-strings -DFDT_ASSUME_MASK=0 -DNO_YAML -DNO_VALGRIND -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/dtc-1.7.1=dtc-1.7.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fPIC -MD -MQ libfdt/libfdt.so.1.7.1.p/fdt_ro.c.o -MF libfdt/libfdt.so.1.7.1.p/fdt_ro.c.o.d -o libfdt/libfdt.so.1.7.1.p/fdt_ro.c.o -c ../libfdt/fdt_ro.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/stdlib.h:27, from ../libfdt/libfdt_env.h:13, from ../libfdt/fdt_ro.c:6: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:62:12: note: in expansion of macro '__fh_overlap' 62 | if __fh_overlap(__od, __n, __os, __n) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:190:13: note: in expansion of macro '__fh_overlap' 190 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:31: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:144:45: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 144 | ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:18: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/fortify-headers.h:145:59: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] 145 | || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ | ^ /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-14.3.0_musl_eabi/include/fortify/string.h:254:13: note: in expansion of macro '__fh_overlap' 254 | if (__fh_overlap(__d, __n, __s, __n)) | ^~~~~~~~~~~~ cc1: all warnings being treated as errors ninja: build stopped: subcommand failed. make[3]: *** [Makefile:108: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/dtc-1.7.1/.built] Error 1 time: package/feeds/base/dtc/compile#5.59#0.95#12.17