make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/reptyr-reptyr-0.10.0' loongarch64-openwrt-linux-musl-gcc -MD -Wall -Werror -D_GNU_SOURCE -g -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/reptyr-reptyr-0.10.0=reptyr-reptyr-0.10.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -c -o reptyr.o reptyr.c loongarch64-openwrt-linux-musl-gcc -MD -Wall -Werror -D_GNU_SOURCE -g -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/reptyr-reptyr-0.10.0=reptyr-reptyr-0.10.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -c -o reallocarray.o reallocarray.c loongarch64-openwrt-linux-musl-gcc -MD -Wall -Werror -D_GNU_SOURCE -g -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/reptyr-reptyr-0.10.0=reptyr-reptyr-0.10.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -c -o attach.o attach.c loongarch64-openwrt-linux-musl-gcc -MD -Wall -Werror -D_GNU_SOURCE -g -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/reptyr-reptyr-0.10.0=reptyr-reptyr-0.10.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -c -o platform/linux/linux_ptrace.o platform/linux/linux_ptrace.c platform/linux/linux_ptrace.c:90:2: error: #error Unsupported architecture. 90 | #error Unsupported architecture. | ^~~~~ platform/linux/linux_ptrace.c: In function 'personality': platform/linux/linux_ptrace.c:104:13: error: 'arch_personality' undeclared (first use in this function); did you mean 'arch_get_personality'? 104 | return &arch_personality[child->personality]; | ^~~~~~~~~~~~~~~~ | arch_get_personality platform/linux/linux_ptrace.c:104:13: note: each undeclared identifier is reported only once for each function it appears in platform/linux/linux_ptrace.c: In function 'ptrace_save_regs': platform/linux/linux_ptrace.c:219:5: error: implicit declaration of function 'arch_fixup_regs' [-Werror=implicit-function-declaration] 219 | arch_fixup_regs(child); | ^~~~~~~~~~~~~~~ platform/linux/linux_ptrace.c:220:9: error: implicit declaration of function 'arch_save_syscall' [-Werror=implicit-function-declaration] 220 | if (arch_save_syscall(child) < 0) | ^~~~~~~~~~~~~~~~~ platform/linux/linux_ptrace.c: In function 'ptrace_restore_regs': platform/linux/linux_ptrace.c:234:12: error: implicit declaration of function 'arch_restore_syscall'; did you mean 'SYS_restart_syscall'? [-Werror=implicit-function-declaration] 234 | return arch_restore_syscall(child); | ^~~~~~~~~~~~~~~~~~~~ | SYS_restart_syscall platform/linux/linux_ptrace.c: In function 'ptrace_remote_syscall': platform/linux/linux_ptrace.c:246:9: error: implicit declaration of function 'arch_set_syscall' [-Werror=implicit-function-declaration] 246 | if (arch_set_syscall(child, sysno) < 0) | ^~~~~~~~~~~~~~~~ platform/linux/linux_ptrace.c: In function 'personality': platform/linux/linux_ptrace.c:105:1: error: control reaches end of non-void function [-Werror=return-type] 105 | } | ^ cc1: all warnings being treated as errors make[4]: *** [: platform/linux/linux_ptrace.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/reptyr-reptyr-0.10.0' make[3]: *** [Makefile:48: /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/reptyr-reptyr-0.10.0/.built] Error 2 time: package/feeds/packages/reptyr/compile#0.91#0.33#1.38