Applying /builder/shared-workdir/build/sdk/feeds/video/libs/seatd/patches/001-evdev-cast-ioctl-request-to-int.patch using plaintext: patching file common/evdev.c The Meson build system Version: 1.6.1 Source dir: /builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1 Build dir: /builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1/openwrt-build Build type: cross build Project name: seatd Project version: 0.9.1 C compiler for the host machine: mips64-openwrt-linux-musl-gcc (gcc 14.3.0 "mips64-openwrt-linux-musl-gcc (OpenWrt GCC 14.3.0 r31594-93f86627c4) 14.3.0") C linker for the host machine: mips64-openwrt-linux-musl-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: mips64 Host machine cpu: generic Target machine cpu family: mips64 Target machine cpu: generic Compiler for C supports arguments -Wundef: YES Compiler for C supports arguments -Wunused: YES Compiler for C supports arguments -Wlogical-op: YES Compiler for C supports arguments -Wmissing-include-dirs: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wimplicit-fallthrough: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wno-unknown-warning-option: NO Compiler for C supports arguments -Wno-unused-command-line-argument: NO Compiler for C supports arguments -Wvla: YES Compiler for C supports link arguments -Wl,--exclude-libs=ALL: YES Library rt found: YES Found pkg-config: YES (/builder/shared-workdir/build/sdk/staging_dir/host/bin/pkg-config) 2.5.1 Dependency scdoc skipped: feature man-pages disabled Build targets in project: 8 seatd 0.9.1 libseat-seatd : YES libseat-builtin: NO libseat-systemd: NO libseat-elogind: NO server : YES man-pages : NO User defined options Cross files : /builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1/openwrt-cross.txt Native files : /builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1/openwrt-native.txt buildtype : plain default_library: both defaultpath : /tmp/run/seatd.sock examples : disabled libseat-builtin: disabled libseat-logind : disabled libseat-seatd : enabled man-pages : disabled server : enabled 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-mips64_mips64r2_64_musl/seatd-0.9.1/openwrt-build' ninja: warning: Ignoring jobserver: Pipe-based protocol is not supported! [--jobserver-auth=3,4] [1/35] Compiling C object libseat-private.a.p/common_linked_list.c.o [2/35] Compiling C object seatd.p/common_linked_list.c.o [3/35] Compiling C object libseat-private.a.p/common_log.c.o FAILED: [code=1] libseat-private.a.p/common_log.c.o mips64-openwrt-linux-musl-gcc -Ilibseat-private.a.p -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE -D_NETBSD_SOURCE '-DSEATD_VERSION="0.9.1"' '-DSEATD_DEFAULTPATH="/tmp/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL '-DREL_SRC_DIR="../"' -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1=seatd-0.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fPIC -DLIBSEAT=1 -DSEATD_ENABLED=1 -MD -MQ libseat-private.a.p/common_log.c.o -MF libseat-private.a.p/common_log.c.o.d -o libseat-private.a.p/common_log.c.o -c ../common/log.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:26, from ../common/log.c:4: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsnprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:155:49: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 155 | #if __has_builtin(__builtin___vsnprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:175:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 175 | #if __has_builtin(__builtin___vsprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vfprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:203:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 203 | #if __has_builtin(__builtin___vfprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:217:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 217 | #if __has_builtin(__builtin___vprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../common/log.c:5: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h: In function 'qsort': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:95:16: error: ISO C forbids 'return' with expression, in function returning void [-Werror=pedantic] 95 | return __orig_qsort(base, nmemb, size, compar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/stdlib.h:58:6: note: declared here 58 | void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~ cc1: all warnings being treated as errors [4/35] Compiling C object seatd.p/common_log.c.o FAILED: [code=1] seatd.p/common_log.c.o mips64-openwrt-linux-musl-gcc -Iseatd.p -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE -D_NETBSD_SOURCE '-DSEATD_VERSION="0.9.1"' '-DSEATD_DEFAULTPATH="/tmp/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL '-DREL_SRC_DIR="../"' -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1=seatd-0.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -MD -MQ seatd.p/common_log.c.o -MF seatd.p/common_log.c.o.d -o seatd.p/common_log.c.o -c ../common/log.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:26, from ../common/log.c:4: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsnprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:155:49: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 155 | #if __has_builtin(__builtin___vsnprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:175:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 175 | #if __has_builtin(__builtin___vsprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vfprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:203:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 203 | #if __has_builtin(__builtin___vfprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:217:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 217 | #if __has_builtin(__builtin___vprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../common/log.c:5: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h: In function 'qsort': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:95:16: error: ISO C forbids 'return' with expression, in function returning void [-Werror=pedantic] 95 | return __orig_qsort(base, nmemb, size, compar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/stdlib.h:58:6: note: declared here 58 | void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~ cc1: all warnings being treated as errors [5/35] Compiling C object seatd.p/common_drm.c.o FAILED: [code=1] seatd.p/common_drm.c.o mips64-openwrt-linux-musl-gcc -Iseatd.p -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE -D_NETBSD_SOURCE '-DSEATD_VERSION="0.9.1"' '-DSEATD_DEFAULTPATH="/tmp/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL '-DREL_SRC_DIR="../"' -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1=seatd-0.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -MD -MQ seatd.p/common_drm.c.o -MF seatd.p/common_drm.c.o.d -o seatd.p/common_drm.c.o -c ../common/drm.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:26, from ../common/drm.c:1: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:51:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 51 | #if __has_builtin(__builtin___memcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memmove': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:78:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 78 | #if __has_builtin(__builtin___memmove_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memset': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:102:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 102 | #if __has_builtin(__builtin___memset_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:184:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 184 | #if __has_builtin(__builtin___stpcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:208:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 208 | #if __has_builtin(__builtin___stpncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:230:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 230 | #if __has_builtin(__builtin___strcat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:248:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 248 | #if __has_builtin(__builtin___strcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:287:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 287 | #if __has_builtin(__builtin___strncat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:314:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 314 | #if __has_builtin(__builtin___strncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [6/35] Compiling C object seatd.p/common_evdev.c.o FAILED: [code=1] seatd.p/common_evdev.c.o mips64-openwrt-linux-musl-gcc -Iseatd.p -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE -D_NETBSD_SOURCE '-DSEATD_VERSION="0.9.1"' '-DSEATD_DEFAULTPATH="/tmp/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL '-DREL_SRC_DIR="../"' -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1=seatd-0.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -MD -MQ seatd.p/common_evdev.c.o -MF seatd.p/common_evdev.c.o.d -o seatd.p/common_evdev.c.o -c ../common/evdev.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:27, from ../common/evdev.c:1: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h: In function 'qsort': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:95:16: error: ISO C forbids 'return' with expression, in function returning void [-Werror=pedantic] 95 | return __orig_qsort(base, nmemb, size, compar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/stdlib.h:58:6: note: declared here 58 | void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~ In file included from ../common/evdev.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:51:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 51 | #if __has_builtin(__builtin___memcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memmove': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:78:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 78 | #if __has_builtin(__builtin___memmove_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memset': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:102:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 102 | #if __has_builtin(__builtin___memset_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:184:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 184 | #if __has_builtin(__builtin___stpcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:208:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 208 | #if __has_builtin(__builtin___stpncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:230:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 230 | #if __has_builtin(__builtin___strcat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:248:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 248 | #if __has_builtin(__builtin___strcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:287:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 287 | #if __has_builtin(__builtin___strncat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:314:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 314 | #if __has_builtin(__builtin___strncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [7/35] Compiling C object seatd.p/common_hidraw.c.o FAILED: [code=1] seatd.p/common_hidraw.c.o mips64-openwrt-linux-musl-gcc -Iseatd.p -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE -D_NETBSD_SOURCE '-DSEATD_VERSION="0.9.1"' '-DSEATD_DEFAULTPATH="/tmp/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL '-DREL_SRC_DIR="../"' -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1=seatd-0.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -MD -MQ seatd.p/common_hidraw.c.o -MF seatd.p/common_hidraw.c.o.d -o seatd.p/common_hidraw.c.o -c ../common/hidraw.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:27, from ../common/hidraw.c:1: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h: In function 'qsort': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:95:16: error: ISO C forbids 'return' with expression, in function returning void [-Werror=pedantic] 95 | return __orig_qsort(base, nmemb, size, compar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/stdlib.h:58:6: note: declared here 58 | void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~ In file included from ../common/hidraw.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:51:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 51 | #if __has_builtin(__builtin___memcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memmove': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:78:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 78 | #if __has_builtin(__builtin___memmove_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memset': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:102:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 102 | #if __has_builtin(__builtin___memset_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:184:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 184 | #if __has_builtin(__builtin___stpcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:208:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 208 | #if __has_builtin(__builtin___stpncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:230:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 230 | #if __has_builtin(__builtin___strcat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:248:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 248 | #if __has_builtin(__builtin___strcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:287:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 287 | #if __has_builtin(__builtin___strncat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:314:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 314 | #if __has_builtin(__builtin___strncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ ../common/hidraw.c: In function 'hidraw_revoke': ../common/hidraw.c:23:26: error: overflow in conversion from 'long unsigned int' to 'int' changes value from '2147764237' to '-2147203059' [-Werror=overflow] 23 | return ioctl(fd, HIDIOCREVOKE, NULL); | ^~~~~~~~~~~~ cc1: all warnings being treated as errors [8/35] Compiling C object seatd.p/common_wscons.c.o FAILED: [code=1] seatd.p/common_wscons.c.o mips64-openwrt-linux-musl-gcc -Iseatd.p -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE -D_NETBSD_SOURCE '-DSEATD_VERSION="0.9.1"' '-DSEATD_DEFAULTPATH="/tmp/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL '-DREL_SRC_DIR="../"' -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1=seatd-0.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -MD -MQ seatd.p/common_wscons.c.o -MF seatd.p/common_wscons.c.o.d -o seatd.p/common_wscons.c.o -c ../common/wscons.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:27, from ../common/wscons.c:1: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h: In function 'qsort': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:95:16: error: ISO C forbids 'return' with expression, in function returning void [-Werror=pedantic] 95 | return __orig_qsort(base, nmemb, size, compar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/stdlib.h:58:6: note: declared here 58 | void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~ In file included from ../common/wscons.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:51:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 51 | #if __has_builtin(__builtin___memcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memmove': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:78:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 78 | #if __has_builtin(__builtin___memmove_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memset': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:102:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 102 | #if __has_builtin(__builtin___memset_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:184:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 184 | #if __has_builtin(__builtin___stpcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:208:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 208 | #if __has_builtin(__builtin___stpncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:230:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 230 | #if __has_builtin(__builtin___strcat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:248:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 248 | #if __has_builtin(__builtin___strcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:287:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 287 | #if __has_builtin(__builtin___strncat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:314:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 314 | #if __has_builtin(__builtin___strncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [9/35] Compiling C object libseat.so.1.p/libseat_backend_noop.c.o FAILED: [code=1] libseat.so.1.p/libseat_backend_noop.c.o mips64-openwrt-linux-musl-gcc -Ilibseat.so.1.p -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE -D_NETBSD_SOURCE '-DSEATD_VERSION="0.9.1"' '-DSEATD_DEFAULTPATH="/tmp/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL '-DREL_SRC_DIR="../"' -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1=seatd-0.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fPIC -DLIBSEAT=1 -DSEATD_ENABLED=1 -MD -MQ libseat.so.1.p/libseat_backend_noop.c.o -MF libseat.so.1.p/libseat_backend_noop.c.o.d -o libseat.so.1.p/libseat_backend_noop.c.o -c ../libseat/backend/noop.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/poll.h:26, from ../libseat/backend/noop.c:4: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ In file included from ../libseat/backend/noop.c:6: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h: In function 'qsort': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:95:16: error: ISO C forbids 'return' with expression, in function returning void [-Werror=pedantic] 95 | return __orig_qsort(base, nmemb, size, compar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/stdlib.h:58:6: note: declared here 58 | void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~ In file included from ../libseat/backend/noop.c:7: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:51:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 51 | #if __has_builtin(__builtin___memcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memmove': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:78:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 78 | #if __has_builtin(__builtin___memmove_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memset': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:102:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 102 | #if __has_builtin(__builtin___memset_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:184:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 184 | #if __has_builtin(__builtin___stpcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:208:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 208 | #if __has_builtin(__builtin___stpncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:230:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 230 | #if __has_builtin(__builtin___strcat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:248:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 248 | #if __has_builtin(__builtin___strcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:287:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 287 | #if __has_builtin(__builtin___strncat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:314:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 314 | #if __has_builtin(__builtin___strncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [10/35] Compiling C object libseat.so.1.p/libseat_libseat.c.o FAILED: [code=1] libseat.so.1.p/libseat_libseat.c.o mips64-openwrt-linux-musl-gcc -Ilibseat.so.1.p -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE -D_NETBSD_SOURCE '-DSEATD_VERSION="0.9.1"' '-DSEATD_DEFAULTPATH="/tmp/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL '-DREL_SRC_DIR="../"' -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1=seatd-0.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fPIC -DLIBSEAT=1 -DSEATD_ENABLED=1 -MD -MQ libseat.so.1.p/libseat_libseat.c.o -MF libseat.so.1.p/libseat_libseat.c.o.d -o libseat.so.1.p/libseat_libseat.c.o -c ../libseat/libseat.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:26, from ../libseat/libseat.c:5: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsnprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:155:49: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 155 | #if __has_builtin(__builtin___vsnprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:175:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 175 | #if __has_builtin(__builtin___vsprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vfprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:203:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 203 | #if __has_builtin(__builtin___vfprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:217:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 217 | #if __has_builtin(__builtin___vprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../libseat/libseat.c:6: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h: In function 'qsort': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:95:16: error: ISO C forbids 'return' with expression, in function returning void [-Werror=pedantic] 95 | return __orig_qsort(base, nmemb, size, compar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/stdlib.h:58:6: note: declared here 58 | void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~ In file included from ../libseat/libseat.c:7: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:51:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 51 | #if __has_builtin(__builtin___memcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memmove': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:78:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 78 | #if __has_builtin(__builtin___memmove_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memset': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:102:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 102 | #if __has_builtin(__builtin___memset_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:184:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 184 | #if __has_builtin(__builtin___stpcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:208:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 208 | #if __has_builtin(__builtin___stpncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:230:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 230 | #if __has_builtin(__builtin___strcat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:248:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 248 | #if __has_builtin(__builtin___strcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:287:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 287 | #if __has_builtin(__builtin___strncat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:314:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 314 | #if __has_builtin(__builtin___strncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [11/35] Compiling C object linked_list_test.p/common_linked_list.c.o [12/35] Compiling C object seatd.p/common_terminal.c.o FAILED: [code=1] seatd.p/common_terminal.c.o mips64-openwrt-linux-musl-gcc -Iseatd.p -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE -D_NETBSD_SOURCE '-DSEATD_VERSION="0.9.1"' '-DSEATD_DEFAULTPATH="/tmp/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL '-DREL_SRC_DIR="../"' -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1=seatd-0.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -MD -MQ seatd.p/common_terminal.c.o -MF seatd.p/common_terminal.c.o.d -o seatd.p/common_terminal.c.o -c ../common/terminal.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:26, from ../common/terminal.c:6: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsnprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:155:49: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 155 | #if __has_builtin(__builtin___vsnprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:175:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 175 | #if __has_builtin(__builtin___vsprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vfprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:203:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 203 | #if __has_builtin(__builtin___vfprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:217:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 217 | #if __has_builtin(__builtin___vprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../common/terminal.c:7: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:51:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 51 | #if __has_builtin(__builtin___memcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memmove': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:78:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 78 | #if __has_builtin(__builtin___memmove_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memset': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:102:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 102 | #if __has_builtin(__builtin___memset_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:184:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 184 | #if __has_builtin(__builtin___stpcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:208:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 208 | #if __has_builtin(__builtin___stpncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:230:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 230 | #if __has_builtin(__builtin___strcat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:248:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 248 | #if __has_builtin(__builtin___strcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:287:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 287 | #if __has_builtin(__builtin___strncat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:314:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 314 | #if __has_builtin(__builtin___strncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [13/35] Compiling C object libseat-private.a.p/common_connection.c.o FAILED: [code=1] libseat-private.a.p/common_connection.c.o mips64-openwrt-linux-musl-gcc -Ilibseat-private.a.p -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE -D_NETBSD_SOURCE '-DSEATD_VERSION="0.9.1"' '-DSEATD_DEFAULTPATH="/tmp/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL '-DREL_SRC_DIR="../"' -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1=seatd-0.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fPIC -DLIBSEAT=1 -DSEATD_ENABLED=1 -MD -MQ libseat-private.a.p/common_connection.c.o -MF libseat-private.a.p/common_connection.c.o.d -o libseat-private.a.p/common_connection.c.o -c ../common/connection.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:26, from ../common/connection.c:3: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsnprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:155:49: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 155 | #if __has_builtin(__builtin___vsnprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:175:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 175 | #if __has_builtin(__builtin___vsprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vfprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:203:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 203 | #if __has_builtin(__builtin___vfprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:217:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 217 | #if __has_builtin(__builtin___vprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../common/connection.c:4: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h: In function 'qsort': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:95:16: error: ISO C forbids 'return' with expression, in function returning void [-Werror=pedantic] 95 | return __orig_qsort(base, nmemb, size, compar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/stdlib.h:58:6: note: declared here 58 | void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~ In file included from ../common/connection.c:5: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:51:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 51 | #if __has_builtin(__builtin___memcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memmove': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:78:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 78 | #if __has_builtin(__builtin___memmove_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memset': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:102:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 102 | #if __has_builtin(__builtin___memset_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:184:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 184 | #if __has_builtin(__builtin___stpcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:208:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 208 | #if __has_builtin(__builtin___stpncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:230:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 230 | #if __has_builtin(__builtin___strcat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:248:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 248 | #if __has_builtin(__builtin___strcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:287:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 287 | #if __has_builtin(__builtin___strncat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:314:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 314 | #if __has_builtin(__builtin___strncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [14/35] Compiling C object seatd-launch.p/seatd-launch_seatd-launch.c.o FAILED: [code=1] seatd-launch.p/seatd-launch_seatd-launch.c.o mips64-openwrt-linux-musl-gcc -Iseatd-launch.p -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE -D_NETBSD_SOURCE '-DSEATD_VERSION="0.9.1"' '-DSEATD_DEFAULTPATH="/tmp/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL '-DREL_SRC_DIR="../"' -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1=seatd-0.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -MD -MQ seatd-launch.p/seatd-launch_seatd-launch.c.o -MF seatd-launch.p/seatd-launch_seatd-launch.c.o.d -o seatd-launch.p/seatd-launch_seatd-launch.c.o -c ../seatd-launch/seatd-launch.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/poll.h:26, from ../seatd-launch/seatd-launch.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ In file included from ../seatd-launch/seatd-launch.c:6: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsnprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:155:49: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 155 | #if __has_builtin(__builtin___vsnprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:175:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 175 | #if __has_builtin(__builtin___vsprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vfprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:203:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 203 | #if __has_builtin(__builtin___vfprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:217:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 217 | #if __has_builtin(__builtin___vprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../seatd-launch/seatd-launch.c:7: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h: In function 'qsort': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:95:16: error: ISO C forbids 'return' with expression, in function returning void [-Werror=pedantic] 95 | return __orig_qsort(base, nmemb, size, compar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/stdlib.h:58:6: note: declared here 58 | void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~ In file included from ../seatd-launch/seatd-launch.c:8: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:51:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 51 | #if __has_builtin(__builtin___memcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memmove': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:78:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 78 | #if __has_builtin(__builtin___memmove_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memset': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:102:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 102 | #if __has_builtin(__builtin___memset_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:184:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 184 | #if __has_builtin(__builtin___stpcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:208:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 208 | #if __has_builtin(__builtin___stpncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:230:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 230 | #if __has_builtin(__builtin___strcat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:248:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 248 | #if __has_builtin(__builtin___strcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:287:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 287 | #if __has_builtin(__builtin___strncat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:314:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 314 | #if __has_builtin(__builtin___strncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [15/35] Compiling C object seatd.p/seatd_poller.c.o FAILED: [code=1] seatd.p/seatd_poller.c.o mips64-openwrt-linux-musl-gcc -Iseatd.p -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE -D_NETBSD_SOURCE '-DSEATD_VERSION="0.9.1"' '-DSEATD_DEFAULTPATH="/tmp/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL '-DREL_SRC_DIR="../"' -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1=seatd-0.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -MD -MQ seatd.p/seatd_poller.c.o -MF seatd.p/seatd_poller.c.o.d -o seatd.p/seatd_poller.c.o -c ../seatd/poller.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/poll.h:26, from ../seatd/poller.c:4: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ In file included from ../seatd/poller.c:8: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h: In function 'qsort': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:95:16: error: ISO C forbids 'return' with expression, in function returning void [-Werror=pedantic] 95 | return __orig_qsort(base, nmemb, size, compar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/stdlib.h:58:6: note: declared here 58 | void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~ In file included from ../seatd/poller.c:9: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:51:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 51 | #if __has_builtin(__builtin___memcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memmove': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:78:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 78 | #if __has_builtin(__builtin___memmove_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memset': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:102:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 102 | #if __has_builtin(__builtin___memset_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:184:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 184 | #if __has_builtin(__builtin___stpcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:208:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 208 | #if __has_builtin(__builtin___stpncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:230:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 230 | #if __has_builtin(__builtin___strcat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:248:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 248 | #if __has_builtin(__builtin___strcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:287:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 287 | #if __has_builtin(__builtin___strncat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:314:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 314 | #if __has_builtin(__builtin___strncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [16/35] Compiling C object seatd.p/seatd_seatd.c.o FAILED: [code=1] seatd.p/seatd_seatd.c.o mips64-openwrt-linux-musl-gcc -Iseatd.p -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE -D_NETBSD_SOURCE '-DSEATD_VERSION="0.9.1"' '-DSEATD_DEFAULTPATH="/tmp/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL '-DREL_SRC_DIR="../"' -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1=seatd-0.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -MD -MQ seatd.p/seatd_seatd.c.o -MF seatd.p/seatd_seatd.c.o.d -o seatd.p/seatd_seatd.c.o -c ../seatd/seatd.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/poll.h:26, from ../seatd/seatd.c:3: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ In file included from ../seatd/seatd.c:6: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsnprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:155:49: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 155 | #if __has_builtin(__builtin___vsnprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:175:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 175 | #if __has_builtin(__builtin___vsprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vfprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:203:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 203 | #if __has_builtin(__builtin___vfprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:217:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 217 | #if __has_builtin(__builtin___vprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../seatd/seatd.c:7: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h: In function 'qsort': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:95:16: error: ISO C forbids 'return' with expression, in function returning void [-Werror=pedantic] 95 | return __orig_qsort(base, nmemb, size, compar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/stdlib.h:58:6: note: declared here 58 | void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~ In file included from ../seatd/seatd.c:8: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:51:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 51 | #if __has_builtin(__builtin___memcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memmove': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:78:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 78 | #if __has_builtin(__builtin___memmove_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memset': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:102:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 102 | #if __has_builtin(__builtin___memset_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:184:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 184 | #if __has_builtin(__builtin___stpcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:208:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 208 | #if __has_builtin(__builtin___stpncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:230:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 230 | #if __has_builtin(__builtin___strcat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:248:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 248 | #if __has_builtin(__builtin___strcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:287:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 287 | #if __has_builtin(__builtin___strncat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:314:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 314 | #if __has_builtin(__builtin___strncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [17/35] Compiling C object seatd.p/seatd_server.c.o FAILED: [code=1] seatd.p/seatd_server.c.o mips64-openwrt-linux-musl-gcc -Iseatd.p -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE -D_NETBSD_SOURCE '-DSEATD_VERSION="0.9.1"' '-DSEATD_DEFAULTPATH="/tmp/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL '-DREL_SRC_DIR="../"' -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1=seatd-0.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -MD -MQ seatd.p/seatd_server.c.o -MF seatd.p/seatd_server.c.o.d -o seatd.p/seatd_server.c.o -c ../seatd/server.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:27, from ../seatd/server.c:6: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h: In function 'qsort': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:95:16: error: ISO C forbids 'return' with expression, in function returning void [-Werror=pedantic] 95 | return __orig_qsort(base, nmemb, size, compar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/stdlib.h:58:6: note: declared here 58 | void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~ In file included from ../seatd/server.c:7: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:51:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 51 | #if __has_builtin(__builtin___memcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memmove': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:78:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 78 | #if __has_builtin(__builtin___memmove_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memset': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:102:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 102 | #if __has_builtin(__builtin___memset_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:184:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 184 | #if __has_builtin(__builtin___stpcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:208:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 208 | #if __has_builtin(__builtin___stpncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:230:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 230 | #if __has_builtin(__builtin___strcat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:248:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 248 | #if __has_builtin(__builtin___strcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:287:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 287 | #if __has_builtin(__builtin___strncat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:314:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 314 | #if __has_builtin(__builtin___strncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [18/35] Compiling C object linked_list_test.p/tests_linked_list.c.o FAILED: [code=1] linked_list_test.p/tests_linked_list.c.o mips64-openwrt-linux-musl-gcc -Ilinked_list_test.p -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE -D_NETBSD_SOURCE '-DSEATD_VERSION="0.9.1"' '-DSEATD_DEFAULTPATH="/tmp/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL '-DREL_SRC_DIR="../"' -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1=seatd-0.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -MD -MQ linked_list_test.p/tests_linked_list.c.o -MF linked_list_test.p/tests_linked_list.c.o.d -o linked_list_test.p/tests_linked_list.c.o -c ../tests/linked_list.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:26, from ../tests/linked_list.c:1: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsnprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:155:49: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 155 | #if __has_builtin(__builtin___vsnprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:175:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 175 | #if __has_builtin(__builtin___vsprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vfprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:203:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 203 | #if __has_builtin(__builtin___vfprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:217:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 217 | #if __has_builtin(__builtin___vprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/linked_list.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h: In function 'qsort': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:95:16: error: ISO C forbids 'return' with expression, in function returning void [-Werror=pedantic] 95 | return __orig_qsort(base, nmemb, size, compar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/stdlib.h:58:6: note: declared here 58 | void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~ In file included from ../tests/linked_list.c:3: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:51:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 51 | #if __has_builtin(__builtin___memcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memmove': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:78:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 78 | #if __has_builtin(__builtin___memmove_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memset': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:102:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 102 | #if __has_builtin(__builtin___memset_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:184:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 184 | #if __has_builtin(__builtin___stpcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:208:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 208 | #if __has_builtin(__builtin___stpncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:230:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 230 | #if __has_builtin(__builtin___strcat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:248:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 248 | #if __has_builtin(__builtin___strcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:287:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 287 | #if __has_builtin(__builtin___strncat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:314:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 314 | #if __has_builtin(__builtin___strncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [19/35] Compiling C object connection_test.p/common_connection.c.o FAILED: [code=1] connection_test.p/common_connection.c.o mips64-openwrt-linux-musl-gcc -Iconnection_test.p -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE -D_NETBSD_SOURCE '-DSEATD_VERSION="0.9.1"' '-DSEATD_DEFAULTPATH="/tmp/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL '-DREL_SRC_DIR="../"' -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1=seatd-0.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -MD -MQ connection_test.p/common_connection.c.o -MF connection_test.p/common_connection.c.o.d -o connection_test.p/common_connection.c.o -c ../common/connection.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:26, from ../common/connection.c:3: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsnprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:155:49: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 155 | #if __has_builtin(__builtin___vsnprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:175:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 175 | #if __has_builtin(__builtin___vsprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vfprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:203:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 203 | #if __has_builtin(__builtin___vfprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:217:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 217 | #if __has_builtin(__builtin___vprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../common/connection.c:4: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h: In function 'qsort': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:95:16: error: ISO C forbids 'return' with expression, in function returning void [-Werror=pedantic] 95 | return __orig_qsort(base, nmemb, size, compar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/stdlib.h:58:6: note: declared here 58 | void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~ In file included from ../common/connection.c:5: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:51:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 51 | #if __has_builtin(__builtin___memcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memmove': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:78:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 78 | #if __has_builtin(__builtin___memmove_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memset': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:102:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 102 | #if __has_builtin(__builtin___memset_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:184:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 184 | #if __has_builtin(__builtin___stpcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:208:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 208 | #if __has_builtin(__builtin___stpncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:230:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 230 | #if __has_builtin(__builtin___strcat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:248:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 248 | #if __has_builtin(__builtin___strcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:287:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 287 | #if __has_builtin(__builtin___strncat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:314:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 314 | #if __has_builtin(__builtin___strncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [20/35] Compiling C object poller_test.p/tests_poller.c.o FAILED: [code=1] poller_test.p/tests_poller.c.o mips64-openwrt-linux-musl-gcc -Ipoller_test.p -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE -D_NETBSD_SOURCE '-DSEATD_VERSION="0.9.1"' '-DSEATD_DEFAULTPATH="/tmp/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL '-DREL_SRC_DIR="../"' -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1=seatd-0.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -MD -MQ poller_test.p/tests_poller.c.o -MF poller_test.p/tests_poller.c.o.d -o poller_test.p/tests_poller.c.o -c ../tests/poller.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:26, from ../tests/poller.c:2: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsnprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:155:49: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 155 | #if __has_builtin(__builtin___vsnprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:175:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 175 | #if __has_builtin(__builtin___vsprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vfprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:203:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 203 | #if __has_builtin(__builtin___vfprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:217:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 217 | #if __has_builtin(__builtin___vprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/poller.c:3: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h: In function 'qsort': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:95:16: error: ISO C forbids 'return' with expression, in function returning void [-Werror=pedantic] 95 | return __orig_qsort(base, nmemb, size, compar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/stdlib.h:58:6: note: declared here 58 | void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~ In file included from ../tests/poller.c:4: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:51:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 51 | #if __has_builtin(__builtin___memcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memmove': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:78:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 78 | #if __has_builtin(__builtin___memmove_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memset': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:102:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 102 | #if __has_builtin(__builtin___memset_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:184:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 184 | #if __has_builtin(__builtin___stpcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:208:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 208 | #if __has_builtin(__builtin___stpncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:230:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 230 | #if __has_builtin(__builtin___strcat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:248:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 248 | #if __has_builtin(__builtin___strcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:287:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 287 | #if __has_builtin(__builtin___strncat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:314:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 314 | #if __has_builtin(__builtin___strncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [21/35] Compiling C object libseat-private.a.p/libseat_backend_seatd.c.o FAILED: [code=1] libseat-private.a.p/libseat_backend_seatd.c.o mips64-openwrt-linux-musl-gcc -Ilibseat-private.a.p -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE -D_NETBSD_SOURCE '-DSEATD_VERSION="0.9.1"' '-DSEATD_DEFAULTPATH="/tmp/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL '-DREL_SRC_DIR="../"' -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1=seatd-0.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fPIC -DLIBSEAT=1 -DSEATD_ENABLED=1 -MD -MQ libseat-private.a.p/libseat_backend_seatd.c.o -MF libseat-private.a.p/libseat_backend_seatd.c.o.d -o libseat-private.a.p/libseat_backend_seatd.c.o -c ../libseat/backend/seatd.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/poll.h:26, from ../libseat/backend/seatd.c:4: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ In file included from ../libseat/backend/seatd.c:6: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsnprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:155:49: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 155 | #if __has_builtin(__builtin___vsnprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:175:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 175 | #if __has_builtin(__builtin___vsprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vfprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:203:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 203 | #if __has_builtin(__builtin___vfprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:217:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 217 | #if __has_builtin(__builtin___vprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../libseat/backend/seatd.c:7: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h: In function 'qsort': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:95:16: error: ISO C forbids 'return' with expression, in function returning void [-Werror=pedantic] 95 | return __orig_qsort(base, nmemb, size, compar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/stdlib.h:58:6: note: declared here 58 | void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~ In file included from ../libseat/backend/seatd.c:8: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:51:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 51 | #if __has_builtin(__builtin___memcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memmove': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:78:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 78 | #if __has_builtin(__builtin___memmove_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memset': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:102:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 102 | #if __has_builtin(__builtin___memset_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:184:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 184 | #if __has_builtin(__builtin___stpcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:208:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 208 | #if __has_builtin(__builtin___stpncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:230:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 230 | #if __has_builtin(__builtin___strcat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:248:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 248 | #if __has_builtin(__builtin___strcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:287:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 287 | #if __has_builtin(__builtin___strncat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:314:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 314 | #if __has_builtin(__builtin___strncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [22/35] Compiling C object seatd.p/common_connection.c.o FAILED: [code=1] seatd.p/common_connection.c.o mips64-openwrt-linux-musl-gcc -Iseatd.p -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE -D_NETBSD_SOURCE '-DSEATD_VERSION="0.9.1"' '-DSEATD_DEFAULTPATH="/tmp/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL '-DREL_SRC_DIR="../"' -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1=seatd-0.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -MD -MQ seatd.p/common_connection.c.o -MF seatd.p/common_connection.c.o.d -o seatd.p/common_connection.c.o -c ../common/connection.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:26, from ../common/connection.c:3: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsnprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:155:49: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 155 | #if __has_builtin(__builtin___vsnprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:175:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 175 | #if __has_builtin(__builtin___vsprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vfprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:203:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 203 | #if __has_builtin(__builtin___vfprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:217:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 217 | #if __has_builtin(__builtin___vprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../common/connection.c:4: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h: In function 'qsort': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:95:16: error: ISO C forbids 'return' with expression, in function returning void [-Werror=pedantic] 95 | return __orig_qsort(base, nmemb, size, compar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/stdlib.h:58:6: note: declared here 58 | void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~ In file included from ../common/connection.c:5: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:51:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 51 | #if __has_builtin(__builtin___memcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memmove': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:78:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 78 | #if __has_builtin(__builtin___memmove_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memset': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:102:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 102 | #if __has_builtin(__builtin___memset_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:184:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 184 | #if __has_builtin(__builtin___stpcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:208:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 208 | #if __has_builtin(__builtin___stpncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:230:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 230 | #if __has_builtin(__builtin___strcat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:248:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 248 | #if __has_builtin(__builtin___strcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:287:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 287 | #if __has_builtin(__builtin___strncat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:314:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 314 | #if __has_builtin(__builtin___strncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [23/35] Compiling C object seatd.p/seatd_seat.c.o FAILED: [code=1] seatd.p/seatd_seat.c.o mips64-openwrt-linux-musl-gcc -Iseatd.p -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE -D_NETBSD_SOURCE '-DSEATD_VERSION="0.9.1"' '-DSEATD_DEFAULTPATH="/tmp/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL '-DREL_SRC_DIR="../"' -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1=seatd-0.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -MD -MQ seatd.p/seatd_seat.c.o -MF seatd.p/seatd_seat.c.o.d -o seatd.p/seatd_seat.c.o -c ../seatd/seat.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:27, from ../seatd/seat.c:6: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h: In function 'qsort': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:95:16: error: ISO C forbids 'return' with expression, in function returning void [-Werror=pedantic] 95 | return __orig_qsort(base, nmemb, size, compar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/stdlib.h:58:6: note: declared here 58 | void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~ In file included from ../seatd/seat.c:7: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:51:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 51 | #if __has_builtin(__builtin___memcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memmove': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:78:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 78 | #if __has_builtin(__builtin___memmove_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memset': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:102:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 102 | #if __has_builtin(__builtin___memset_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:184:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 184 | #if __has_builtin(__builtin___stpcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:208:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 208 | #if __has_builtin(__builtin___stpncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:230:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 230 | #if __has_builtin(__builtin___strcat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:248:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 248 | #if __has_builtin(__builtin___strcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:287:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 287 | #if __has_builtin(__builtin___strncat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:314:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 314 | #if __has_builtin(__builtin___strncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [24/35] Compiling C object connection_test.p/tests_connection.c.o FAILED: [code=1] connection_test.p/tests_connection.c.o mips64-openwrt-linux-musl-gcc -Iconnection_test.p -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE -D_NETBSD_SOURCE '-DSEATD_VERSION="0.9.1"' '-DSEATD_DEFAULTPATH="/tmp/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL '-DREL_SRC_DIR="../"' -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1=seatd-0.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -MD -MQ connection_test.p/tests_connection.c.o -MF connection_test.p/tests_connection.c.o.d -o connection_test.p/tests_connection.c.o -c ../tests/connection.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:26, from ../tests/connection.c:3: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsnprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:155:49: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 155 | #if __has_builtin(__builtin___vsnprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vsprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:175:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 175 | #if __has_builtin(__builtin___vsprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vfprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:203:48: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 203 | #if __has_builtin(__builtin___vfprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h: In function 'vprintf': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdio.h:217:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 217 | #if __has_builtin(__builtin___vprintf_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../tests/connection.c:4: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h: In function 'qsort': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:95:16: error: ISO C forbids 'return' with expression, in function returning void [-Werror=pedantic] 95 | return __orig_qsort(base, nmemb, size, compar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/stdlib.h:58:6: note: declared here 58 | void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~ In file included from ../tests/connection.c:5: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:51:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 51 | #if __has_builtin(__builtin___memcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memmove': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:78:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 78 | #if __has_builtin(__builtin___memmove_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memset': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:102:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 102 | #if __has_builtin(__builtin___memset_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:184:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 184 | #if __has_builtin(__builtin___stpcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:208:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 208 | #if __has_builtin(__builtin___stpncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:230:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 230 | #if __has_builtin(__builtin___strcat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:248:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 248 | #if __has_builtin(__builtin___strcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:287:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 287 | #if __has_builtin(__builtin___strncat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:314:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 314 | #if __has_builtin(__builtin___strncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [25/35] Compiling C object seatd.p/seatd_client.c.o FAILED: [code=1] seatd.p/seatd_client.c.o mips64-openwrt-linux-musl-gcc -Iseatd.p -I. -I.. -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE -D_NETBSD_SOURCE '-DSEATD_VERSION="0.9.1"' '-DSEATD_DEFAULTPATH="/tmp/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL '-DREL_SRC_DIR="../"' -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1=seatd-0.9.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -MD -MQ seatd.p/seatd_client.c.o -MF seatd.p/seatd_client.c.o.d -o seatd.p/seatd_client.c.o -c ../seatd/client.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:27, from ../seatd/client.c:6: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h: In function 'qsort': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:95:16: error: ISO C forbids 'return' with expression, in function returning void [-Werror=pedantic] 95 | return __orig_qsort(base, nmemb, size, compar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/stdlib.h:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/stdlib.h:58:6: note: declared here 58 | void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~ In file included from ../seatd/client.c:7: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:51:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 51 | #if __has_builtin(__builtin___memcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memmove': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:78:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 78 | #if __has_builtin(__builtin___memmove_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'memset': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:102:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 102 | #if __has_builtin(__builtin___memset_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:184:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 184 | #if __has_builtin(__builtin___stpcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'stpncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:208:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 208 | #if __has_builtin(__builtin___stpncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:230:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 230 | #if __has_builtin(__builtin___strcat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:248:46: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 248 | #if __has_builtin(__builtin___strcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncat': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:287:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 287 | #if __has_builtin(__builtin___strncat_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'strncpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:314:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 314 | #if __has_builtin(__builtin___strncpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h: In function 'mempcpy': /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-14.3.0_musl/include/fortify/string.h:337:47: error: "FORTIFY_USE_NATIVE_CHK" is not defined, evaluates to 0 [-Werror=undef] 337 | #if __has_builtin(__builtin___mempcpy_chk) && FORTIFY_USE_NATIVE_CHK | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors ninja: build stopped: subcommand failed. make[3]: *** [Makefile:79: /builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/seatd-0.9.1/.built] Error 1 time: package/feeds/video/seatd/compile#5.57#1.37#14.63