Build started at 2024-03-09T03:04:59.325827 Main binary: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/host/bin/python Build Options: -Dhash_impl=internal -Dlibffi=disabled -Dtrust_module=disabled -Dstrict=false -Dsystemd=disabled -Dgtk_doc=false -Dman=false -Dbuildtype=plain '--cross-file /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-cross.txt' '--native-file /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-native.txt' Python system: Linux The Meson build system Version: 0.56.0 Source dir: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22 Build dir: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build Build type: cross build WARNING: Unknown options: "build.c_args, build.c_link_args, build.cpp_args, build.cpp_link_args" The value of new options can be set with: meson setup --reconfigure -Dnew_option=new_value ... Project name: p11-kit Project version: 0.23.22 Using 'CFLAGS' from environment with value: '' Using 'LDFLAGS' from environment with value: '' None of 'CPPFLAGS' are defined in the environment, not changing global flags. None of 'CC_LD' are defined in the environment, not changing global flags. Sanity testing C compiler: aarch64-openwrt-linux-musl-gcc Is cross compiler: True. Sanity check compiler command line: aarch64-openwrt-linux-musl-gcc /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/sanitycheckc.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/sanitycheckc_cross.exe -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -pipe -D_FILE_OFFSET_BITS=64 -c Sanity check compile stdout: ----- Sanity check compile stderr: ----- C compiler for the host machine: aarch64-openwrt-linux-musl-gcc (gcc 8.4.0 "aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 8.4.0 unknown) 8.4.0") C linker for the host machine: aarch64-openwrt-linux-musl-gcc ld.bfd 2.34 None of 'CFLAGS_FOR_BUILD' are defined in the environment, not changing global flags. None of 'LDFLAGS_FOR_BUILD' are defined in the environment, not changing global flags. None of 'CPPFLAGS_FOR_BUILD' are defined in the environment, not changing global flags. None of 'CC_LD_FOR_BUILD' are defined in the environment, not changing global flags. Sanity testing C compiler: gcc Is cross compiler: False. None of 'CC_LD_FOR_BUILD' are defined in the environment, not changing global flags. Sanity check compiler command line: gcc /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/sanitycheckc.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/sanitycheckc.exe -O2 -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/host/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/hostpkg/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/target-aarch64_cortex-a53_musl/host/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/host/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/hostpkg/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/target-aarch64_cortex-a53_musl/host/include -pipe -D_FILE_OFFSET_BITS=64 -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/host/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/hostpkg/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/target-aarch64_cortex-a53_musl/host/lib Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/sanitycheckc.exe C compiler for the build machine: gcc (gcc 5.4.0 "gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609") C linker for the build machine: gcc ld.bfd 2.26.1 None of 'AR_FOR_BUILD' are defined in the environment, not changing global flags. Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: x86_64 Host machine cpu: x86_64 Target machine cpu family: aarch64 Target machine cpu: mt7981 Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_3ygc0sx Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_3ygc0sx/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_3ygc0sx/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include int main(void) { unsigned long something; return 0; } Compiler stdout: Compiler stderr: Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpz7wr6h6j Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpz7wr6h6j/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpz7wr6h6j/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include int main(void) { static int a[1-2*!(sizeof(unsigned long) >= 0)]; a[0]=0; return 0; } Compiler stdout: Compiler stderr: Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpvsd2mwsf Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpvsd2mwsf/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpvsd2mwsf/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include int main(void) { static int a[1-2*!(sizeof(unsigned long) > 0)]; a[0]=0; return 0; } Compiler stdout: Compiler stderr: Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpy0hbdkta Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpy0hbdkta/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpy0hbdkta/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include int main(void) { static int a[1-2*!(sizeof(unsigned long) > 1)]; a[0]=0; return 0; } Compiler stdout: Compiler stderr: Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpdak5p_g2 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpdak5p_g2/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpdak5p_g2/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include int main(void) { static int a[1-2*!(sizeof(unsigned long) > 3)]; a[0]=0; return 0; } Compiler stdout: Compiler stderr: Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpgho8sk2t Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpgho8sk2t/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpgho8sk2t/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include int main(void) { static int a[1-2*!(sizeof(unsigned long) > 7)]; a[0]=0; return 0; } Compiler stdout: Compiler stderr: Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpge_n22na Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpge_n22na/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpge_n22na/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include int main(void) { static int a[1-2*!(sizeof(unsigned long) > 15)]; a[0]=0; return 0; } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpge_n22na/testfile.c: In function 'main': /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpge_n22na/testfile.c:3:37: error: size of array 'a' is negative int main(void) { static int a[1-2*!(sizeof(unsigned long) > 15)]; a[0]=0; return 0; } ^ Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp8jqsrlj1 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp8jqsrlj1/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp8jqsrlj1/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include int main(void) { static int a[1-2*!(sizeof(unsigned long) <= 11)]; a[0]=0; return 0; } Compiler stdout: Compiler stderr: Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp807pbr5n Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp807pbr5n/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp807pbr5n/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include int main(void) { static int a[1-2*!(sizeof(unsigned long) <= 9)]; a[0]=0; return 0; } Compiler stdout: Compiler stderr: Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpz92i_vem Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpz92i_vem/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpz92i_vem/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include int main(void) { static int a[1-2*!(sizeof(unsigned long) <= 8)]; a[0]=0; return 0; } Compiler stdout: Compiler stderr: Checking for size of "unsigned long" : 8 Run-time dependency threads found: YES None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp23y4mo4r Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp23y4mo4r/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp23y4mo4r/output.exe -pipe -pthread -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define pthread_create meson_disable_define_of_pthread_create #include #undef pthread_create #ifdef __cplusplus extern "C" #endif char pthread_create (void); #if defined __stub_pthread_create || defined __stub___pthread_create fail fail fail this function is not going to work #endif int main(void) { return pthread_create (); } Compiler stdout: Compiler stderr: Checking for function "pthread_create" with dependency threads: YES None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwanyy878 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwanyy878/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwanyy878/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define nanosleep meson_disable_define_of_nanosleep #include #undef nanosleep #ifdef __cplusplus extern "C" #endif char nanosleep (void); #if defined __stub_nanosleep || defined __stub___nanosleep fail fail fail this function is not going to work #endif int main(void) { return nanosleep (); } Compiler stdout: Compiler stderr: Checking for function "nanosleep" : YES None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpcivmat2j Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpcivmat2j/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpcivmat2j/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define dlopen meson_disable_define_of_dlopen #include #undef dlopen #ifdef __cplusplus extern "C" #endif char dlopen (void); #if defined __stub_dlopen || defined __stub___dlopen fail fail fail this function is not going to work #endif int main(void) { return dlopen (); } Compiler stdout: Compiler stderr: Checking for function "dlopen" : YES None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp3n_dodhk Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp3n_dodhk/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp3n_dodhk/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wl,--start-group -lnsl -Wl,--end-group -Wl,--allow-shlib-undefined -znow -zrelro -Wl,--gc-sections Code: int main(void) { return 0; } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: cannot find -lnsl collect2: error: ld returned 1 exit status Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpf8jca5lv Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpf8jca5lv/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpf8jca5lv/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include int main(void) { void * something; return 0; } Compiler stdout: Compiler stderr: Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpchrzwe20 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpchrzwe20/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpchrzwe20/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include int main(void) { static int a[1-2*!(sizeof(void *) >= 0)]; a[0]=0; return 0; } Compiler stdout: Compiler stderr: Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp7zm2n5mq Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp7zm2n5mq/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp7zm2n5mq/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include int main(void) { static int a[1-2*!(sizeof(void *) > 0)]; a[0]=0; return 0; } Compiler stdout: Compiler stderr: Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp8ew_mht6 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp8ew_mht6/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp8ew_mht6/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include int main(void) { static int a[1-2*!(sizeof(void *) > 1)]; a[0]=0; return 0; } Compiler stdout: Compiler stderr: Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpl181il3p Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpl181il3p/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpl181il3p/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include int main(void) { static int a[1-2*!(sizeof(void *) > 3)]; a[0]=0; return 0; } Compiler stdout: Compiler stderr: Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp00zs5v5b Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp00zs5v5b/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp00zs5v5b/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include int main(void) { static int a[1-2*!(sizeof(void *) > 7)]; a[0]=0; return 0; } Compiler stdout: Compiler stderr: Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpawys9he5 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpawys9he5/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpawys9he5/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include int main(void) { static int a[1-2*!(sizeof(void *) > 15)]; a[0]=0; return 0; } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpawys9he5/testfile.c: In function 'main': /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpawys9he5/testfile.c:3:37: error: size of array 'a' is negative int main(void) { static int a[1-2*!(sizeof(void *) > 15)]; a[0]=0; return 0; } ^ Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpfz9mgey6 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpfz9mgey6/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpfz9mgey6/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include int main(void) { static int a[1-2*!(sizeof(void *) <= 11)]; a[0]=0; return 0; } Compiler stdout: Compiler stderr: Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpkov6c0g_ Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpkov6c0g_/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpkov6c0g_/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include int main(void) { static int a[1-2*!(sizeof(void *) <= 9)]; a[0]=0; return 0; } Compiler stdout: Compiler stderr: Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_4ixypvo Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_4ixypvo/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_4ixypvo/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include int main(void) { static int a[1-2*!(sizeof(void *) <= 8)]; a[0]=0; return 0; } Compiler stdout: Compiler stderr: Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpo0ec4fxd Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpo0ec4fxd/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpo0ec4fxd/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 --print-search-dirs Code: Compiler stdout: install: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/gcc/aarch64-openwrt-linux-musl/8.4.0/ programs: =/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/libexec/gcc/aarch64-openwrt-linux-musl/8.4.0/:/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/libexec/gcc/aarch64-openwrt-linux-musl/8.4.0/:/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/libexec/gcc/aarch64-openwrt-linux-musl/:/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/gcc/aarch64-openwrt-linux-musl/8.4.0/:/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/gcc/aarch64-openwrt-linux-musl/:/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/aarch64-openwrt-linux-musl/8.4.0/:/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ libraries: =/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/gcc/aarch64-openwrt-linux-musl/8.4.0/:/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/lib/aarch64-openwrt-linux-musl/8.4.0/:/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/lib/ Compiler stderr: Library nsl found: NO Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp2gp8sy3a Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp2gp8sy3a/testfile.c -pipe -E -P -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -P -O0 Code: #ifdef __has_include #if !__has_include("locale.h") #error "Header 'locale.h' could not be found" #endif #else #include #endif Compiler stdout: Compiler stderr: Has header "locale.h" : YES Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmphca96y4a Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmphca96y4a/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmphca96y4a/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include void bar(void) { sizeof(locale_t); }; Compiler stdout: Compiler stderr: Checking for type "locale_t" : YES None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpomlboqmx Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpomlboqmx/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpomlboqmx/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #include #include #if defined __stub_newlocale || defined __stub___newlocale fail fail fail this function is not going to work #endif int main(void) { void *a = (void*) &newlocale; long long b = (long long) a; return (int) b; } Compiler stdout: Compiler stderr: Checking for function "newlocale" : YES None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpmr3jr9cy Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpmr3jr9cy/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpmr3jr9cy/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #include #include #if defined __stub_strerror_l || defined __stub___strerror_l fail fail fail this function is not going to work #endif int main(void) { void *a = (void*) &strerror_l; long long b = (long long) a; return (int) b; } Compiler stdout: Compiler stderr: Checking for function "strerror_l" : YES Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpfuwjs_j0 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpfuwjs_j0/testfile.c -pipe -E -P -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -P -O0 Code: #ifdef __has_include #if !__has_include("sys/resource.h") #error "Header 'sys/resource.h' could not be found" #endif #else #include #endif Compiler stdout: Compiler stderr: Has header "sys/resource.h" : YES Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp21hptljb Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp21hptljb/testfile.c -pipe -E -P -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -P -O0 Code: #ifdef __has_include #if !__has_include("ucred.h") #error "Header 'ucred.h' could not be found" #endif #else #include #endif Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp21hptljb/testfile.c:4:12: error: #error "Header 'ucred.h' could not be found" #error "Header 'ucred.h' could not be found" ^~~~~ Has header "ucred.h" : NO None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpuwt6css5 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpuwt6css5/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpuwt6css5/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define fdwalk meson_disable_define_of_fdwalk #include #undef fdwalk #ifdef __cplusplus extern "C" #endif char fdwalk (void); #if defined __stub_fdwalk || defined __stub___fdwalk fail fail fail this function is not going to work #endif int main(void) { return fdwalk (); } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/tmp/ccMSUpxa.o: in function `main': testfile.c:(.text+0x8): undefined reference to `fdwalk' collect2: error: ld returned 1 exit status None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpammkc593 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpammkc593/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpammkc593/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: int main(void) { /* With some toolchains (MSYS2/mingw for example) the compiler * provides various builtins which are not really implemented and * fall back to the stdlib where they aren't provided and fail at * build/link time. In case the user provides a header, including * the header didn't lead to the function being defined, and the * function we are checking isn't a builtin itself we assume the * builtin is not functional and we just error out. */ #if !1 && !defined(fdwalk) && !0 #error "No definition for __builtin_fdwalk found in the prefix" #endif #ifdef __has_builtin #if !__has_builtin(__builtin_fdwalk) #error "__builtin_fdwalk not found" #endif #elif ! defined(fdwalk) __builtin_fdwalk; #endif return 0; } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpammkc593/testfile.c: In function 'main': /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpammkc593/testfile.c:20:13: error: '__builtin_fdwalk' undeclared (first use in this function); did you mean '__builtin_fdiml'? __builtin_fdwalk; ^~~~~~~~~~~~~~~~ __builtin_fdiml /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpammkc593/testfile.c:20:13: note: each undeclared identifier is reported only once for each function it appears in Checking for function "fdwalk" : NO None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpumd3ikw0 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpumd3ikw0/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpumd3ikw0/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define getauxval meson_disable_define_of_getauxval #include #undef getauxval #ifdef __cplusplus extern "C" #endif char getauxval (void); #if defined __stub_getauxval || defined __stub___getauxval fail fail fail this function is not going to work #endif int main(void) { return getauxval (); } Compiler stdout: Compiler stderr: Checking for function "getauxval" : YES None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmptl_fbd0w Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmptl_fbd0w/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmptl_fbd0w/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define getexecname meson_disable_define_of_getexecname #include #undef getexecname #ifdef __cplusplus extern "C" #endif char getexecname (void); #if defined __stub_getexecname || defined __stub___getexecname fail fail fail this function is not going to work #endif int main(void) { return getexecname (); } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/tmp/ccFIVA3j.o: in function `main': testfile.c:(.text+0x8): undefined reference to `getexecname' collect2: error: ld returned 1 exit status None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpk1n50437 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpk1n50437/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpk1n50437/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: int main(void) { /* With some toolchains (MSYS2/mingw for example) the compiler * provides various builtins which are not really implemented and * fall back to the stdlib where they aren't provided and fail at * build/link time. In case the user provides a header, including * the header didn't lead to the function being defined, and the * function we are checking isn't a builtin itself we assume the * builtin is not functional and we just error out. */ #if !1 && !defined(getexecname) && !0 #error "No definition for __builtin_getexecname found in the prefix" #endif #ifdef __has_builtin #if !__has_builtin(__builtin_getexecname) #error "__builtin_getexecname not found" #endif #elif ! defined(getexecname) __builtin_getexecname; #endif return 0; } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpk1n50437/testfile.c: In function 'main': /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpk1n50437/testfile.c:20:13: error: '__builtin_getexecname' undeclared (first use in this function); did you mean '__builtin_execle'? __builtin_getexecname; ^~~~~~~~~~~~~~~~~~~~~ __builtin_execle /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpk1n50437/testfile.c:20:13: note: each undeclared identifier is reported only once for each function it appears in Checking for function "getexecname" : NO None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpe5qpezs2 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpe5qpezs2/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpe5qpezs2/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define getpeereid meson_disable_define_of_getpeereid #include #undef getpeereid #ifdef __cplusplus extern "C" #endif char getpeereid (void); #if defined __stub_getpeereid || defined __stub___getpeereid fail fail fail this function is not going to work #endif int main(void) { return getpeereid (); } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/tmp/ccM5RwTo.o: in function `main': testfile.c:(.text+0x8): undefined reference to `getpeereid' collect2: error: ld returned 1 exit status None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpr1f6rfg8 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpr1f6rfg8/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpr1f6rfg8/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: int main(void) { /* With some toolchains (MSYS2/mingw for example) the compiler * provides various builtins which are not really implemented and * fall back to the stdlib where they aren't provided and fail at * build/link time. In case the user provides a header, including * the header didn't lead to the function being defined, and the * function we are checking isn't a builtin itself we assume the * builtin is not functional and we just error out. */ #if !1 && !defined(getpeereid) && !0 #error "No definition for __builtin_getpeereid found in the prefix" #endif #ifdef __has_builtin #if !__has_builtin(__builtin_getpeereid) #error "__builtin_getpeereid not found" #endif #elif ! defined(getpeereid) __builtin_getpeereid; #endif return 0; } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpr1f6rfg8/testfile.c: In function 'main': /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpr1f6rfg8/testfile.c:20:13: error: '__builtin_getpeereid' undeclared (first use in this function); did you mean '__builtin_gettext'? __builtin_getpeereid; ^~~~~~~~~~~~~~~~~~~~ __builtin_gettext /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpr1f6rfg8/testfile.c:20:13: note: each undeclared identifier is reported only once for each function it appears in Checking for function "getpeereid" : NO None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmprmg59_o9 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmprmg59_o9/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmprmg59_o9/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define getpeerucred meson_disable_define_of_getpeerucred #include #undef getpeerucred #ifdef __cplusplus extern "C" #endif char getpeerucred (void); #if defined __stub_getpeerucred || defined __stub___getpeerucred fail fail fail this function is not going to work #endif int main(void) { return getpeerucred (); } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/tmp/cc1fCStu.o: in function `main': testfile.c:(.text+0x8): undefined reference to `getpeerucred' collect2: error: ld returned 1 exit status None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpy72__6p7 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpy72__6p7/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpy72__6p7/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: int main(void) { /* With some toolchains (MSYS2/mingw for example) the compiler * provides various builtins which are not really implemented and * fall back to the stdlib where they aren't provided and fail at * build/link time. In case the user provides a header, including * the header didn't lead to the function being defined, and the * function we are checking isn't a builtin itself we assume the * builtin is not functional and we just error out. */ #if !1 && !defined(getpeerucred) && !0 #error "No definition for __builtin_getpeerucred found in the prefix" #endif #ifdef __has_builtin #if !__has_builtin(__builtin_getpeerucred) #error "__builtin_getpeerucred not found" #endif #elif ! defined(getpeerucred) __builtin_getpeerucred; #endif return 0; } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpy72__6p7/testfile.c: In function 'main': /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpy72__6p7/testfile.c:20:13: error: '__builtin_getpeerucred' undeclared (first use in this function); did you mean '__builtin_fegetround'? __builtin_getpeerucred; ^~~~~~~~~~~~~~~~~~~~~~ __builtin_fegetround /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpy72__6p7/testfile.c:20:13: note: each undeclared identifier is reported only once for each function it appears in Checking for function "getpeerucred" : NO None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpt0a6s7um Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpt0a6s7um/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpt0a6s7um/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define getprogname meson_disable_define_of_getprogname #include #undef getprogname #ifdef __cplusplus extern "C" #endif char getprogname (void); #if defined __stub_getprogname || defined __stub___getprogname fail fail fail this function is not going to work #endif int main(void) { return getprogname (); } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/tmp/ccbXAYtv.o: in function `main': testfile.c:(.text+0x8): undefined reference to `getprogname' collect2: error: ld returned 1 exit status None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmps96gh_pc Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmps96gh_pc/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmps96gh_pc/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: int main(void) { /* With some toolchains (MSYS2/mingw for example) the compiler * provides various builtins which are not really implemented and * fall back to the stdlib where they aren't provided and fail at * build/link time. In case the user provides a header, including * the header didn't lead to the function being defined, and the * function we are checking isn't a builtin itself we assume the * builtin is not functional and we just error out. */ #if !1 && !defined(getprogname) && !0 #error "No definition for __builtin_getprogname found in the prefix" #endif #ifdef __has_builtin #if !__has_builtin(__builtin_getprogname) #error "__builtin_getprogname not found" #endif #elif ! defined(getprogname) __builtin_getprogname; #endif return 0; } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmps96gh_pc/testfile.c: In function 'main': /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmps96gh_pc/testfile.c:20:13: error: '__builtin_getprogname' undeclared (first use in this function); did you mean '__builtin_fegetround'? __builtin_getprogname; ^~~~~~~~~~~~~~~~~~~~~ __builtin_fegetround /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmps96gh_pc/testfile.c:20:13: note: each undeclared identifier is reported only once for each function it appears in Checking for function "getprogname" : NO None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpy4wqqjau Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpy4wqqjau/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpy4wqqjau/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define getresuid meson_disable_define_of_getresuid #include #undef getresuid #ifdef __cplusplus extern "C" #endif char getresuid (void); #if defined __stub_getresuid || defined __stub___getresuid fail fail fail this function is not going to work #endif int main(void) { return getresuid (); } Compiler stdout: Compiler stderr: Checking for function "getresuid" : YES None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp6r3xsl2f Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp6r3xsl2f/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp6r3xsl2f/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define issetugid meson_disable_define_of_issetugid #include #undef issetugid #ifdef __cplusplus extern "C" #endif char issetugid (void); #if defined __stub_issetugid || defined __stub___issetugid fail fail fail this function is not going to work #endif int main(void) { return issetugid (); } Compiler stdout: Compiler stderr: Checking for function "issetugid" : YES None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpfwmyzvgh Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpfwmyzvgh/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpfwmyzvgh/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define mkdtemp meson_disable_define_of_mkdtemp #include #undef mkdtemp #ifdef __cplusplus extern "C" #endif char mkdtemp (void); #if defined __stub_mkdtemp || defined __stub___mkdtemp fail fail fail this function is not going to work #endif int main(void) { return mkdtemp (); } Compiler stdout: Compiler stderr: Checking for function "mkdtemp" : YES None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpg1jq7csi Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpg1jq7csi/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpg1jq7csi/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define mkstemp meson_disable_define_of_mkstemp #include #undef mkstemp #ifdef __cplusplus extern "C" #endif char mkstemp (void); #if defined __stub_mkstemp || defined __stub___mkstemp fail fail fail this function is not going to work #endif int main(void) { return mkstemp (); } Compiler stdout: Compiler stderr: Checking for function "mkstemp" : YES None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp00adgxv9 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp00adgxv9/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp00adgxv9/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define secure_getenv meson_disable_define_of_secure_getenv #include #undef secure_getenv #ifdef __cplusplus extern "C" #endif char secure_getenv (void); #if defined __stub_secure_getenv || defined __stub___secure_getenv fail fail fail this function is not going to work #endif int main(void) { return secure_getenv (); } Compiler stdout: Compiler stderr: Checking for function "secure_getenv" : YES None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpl0mq56y9 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpl0mq56y9/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpl0mq56y9/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define strndup meson_disable_define_of_strndup #include #undef strndup #ifdef __cplusplus extern "C" #endif char strndup (void); #if defined __stub_strndup || defined __stub___strndup fail fail fail this function is not going to work #endif int main(void) { return strndup (); } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpl0mq56y9/testfile.c:10:14: warning: conflicting types for built-in function 'strndup' [-Wbuiltin-declaration-mismatch] char strndup (void); ^~~~~~~ Checking for function "strndup" : YES Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpqvcmlex4 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpqvcmlex4/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpqvcmlex4/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include void bar(void) { struct dirent foo; foo.d_type; }; Compiler stdout: Compiler stderr: Checking whether type "struct dirent" has member "d_type" : YES Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1sykj30s Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1sykj30s/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1sykj30s/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include int main (void) { static _Thread_local foo; return 0; } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1sykj30s/testfile.c: In function 'main': /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1sykj30s/testfile.c:4:22: warning: type defaults to 'int' in declaration of 'foo' [-Wimplicit-int] static _Thread_local foo; ^~~ Checking if "thread-local storage class" compiles: YES None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp52evcvvm Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp52evcvvm/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp52evcvvm/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define gmtime_r meson_disable_define_of_gmtime_r #include #undef gmtime_r #ifdef __cplusplus extern "C" #endif char gmtime_r (void); #if defined __stub_gmtime_r || defined __stub___gmtime_r fail fail fail this function is not going to work #endif int main(void) { return gmtime_r (); } Compiler stdout: Compiler stderr: Checking for function "gmtime_r" : YES None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpa1rw114d Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpa1rw114d/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpa1rw114d/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define _GNU_SOURCE #include int main (void) { program_invocation_short_name = "test"; } Compiler stdout: Compiler stderr: Checking if "program_invocation_short_name_test_code" links: YES None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp8dw0ztpi Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp8dw0ztpi/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp8dw0ztpi/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: extern int __libc_enable_secure; int main (void) { __libc_enable_secure = 0; return 0; } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/tmp/cc9mcAlV.o: in function `main': testfile.c:(.text+0x0): undefined reference to `__libc_enable_secure' /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: testfile.c:(.text+0x4): undefined reference to `__libc_enable_secure' collect2: error: ld returned 1 exit status Checking if "__libc_enable_secure" links: NO Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpac9j63pe Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpac9j63pe/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpac9j63pe/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include #include struct sockaddr_vm sa = { .svm_family = AF_VSOCK, .svm_cid = VMADDR_CID_ANY }; Compiler stdout: Compiler stderr: Checking if "vsock_test" compiles: YES Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpyivyxc54 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpyivyxc54/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpyivyxc54/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include void bar(void) { sizeof(sighandler_t); }; Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpyivyxc54/testfile.c: In function 'bar': /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpyivyxc54/testfile.c:3:20: error: 'sighandler_t' undeclared (first use in this function); did you mean 'sigset_t'? sizeof(sighandler_t); ^~~~~~~~~~~~ sigset_t /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpyivyxc54/testfile.c:3:20: note: each undeclared identifier is reported only once for each function it appears in Checking for type "sighandler_t" : NO Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpsmvq0wg6 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpsmvq0wg6/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpsmvq0wg6/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include void bar(void) { sizeof(sig_t); }; Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpsmvq0wg6/testfile.c: In function 'bar': /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpsmvq0wg6/testfile.c:3:20: error: 'sig_t' undeclared (first use in this function); did you mean 'gid_t'? sizeof(sig_t); ^~~~~ gid_t /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpsmvq0wg6/testfile.c:3:20: note: each undeclared identifier is reported only once for each function it appears in Checking for type "sig_t" : NO Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpfjh9f433 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpfjh9f433/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpfjh9f433/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include void bar(void) { sizeof(__sighandler_t); }; Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpfjh9f433/testfile.c: In function 'bar': /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpfjh9f433/testfile.c:3:20: error: '__sighandler_t' undeclared (first use in this function); did you mean '__sigset_t'? sizeof(__sighandler_t); ^~~~~~~~~~~~~~ __sigset_t /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpfjh9f433/testfile.c:3:20: note: each undeclared identifier is reported only once for each function it appears in Checking for type "__sighandler_t" : NO Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmps1x69xzg Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmps1x69xzg/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmps1x69xzg/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include void bar(void) { sizeof(sighandler_t); }; Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmps1x69xzg/testfile.c: In function 'bar': /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmps1x69xzg/testfile.c:3:20: error: 'sighandler_t' undeclared (first use in this function); did you mean 'sa_handler'? sizeof(sighandler_t); ^~~~~~~~~~~~ sa_handler /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmps1x69xzg/testfile.c:3:20: note: each undeclared identifier is reported only once for each function it appears in Checking for type "sighandler_t" : NO Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp6mj6jiqo Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp6mj6jiqo/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp6mj6jiqo/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include void bar(void) { sizeof(sig_t); }; Compiler stdout: Compiler stderr: Checking for type "sig_t" : YES Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpdf_ocwlq Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpdf_ocwlq/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpdf_ocwlq/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include void bar(void) { sizeof(__sighandler_t); }; Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpdf_ocwlq/testfile.c: In function 'bar': /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpdf_ocwlq/testfile.c:3:20: error: '__sighandler_t' undeclared (first use in this function); did you mean '__sigset_t'? sizeof(__sighandler_t); ^~~~~~~~~~~~~~ __sigset_t /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpdf_ocwlq/testfile.c:3:20: note: each undeclared identifier is reported only once for each function it appears in Checking for type "__sighandler_t" : NO Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpevyb8147 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpevyb8147/testfile.c -pipe -E -P -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -P -O0 Code: #ifdef __has_include #if !__has_include("stdbool.h") #error "Header 'stdbool.h' could not be found" #endif #else #include #endif Compiler stdout: Compiler stderr: Has header "stdbool.h" : YES None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzk8zne17 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzk8zne17/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzk8zne17/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define asprintf meson_disable_define_of_asprintf #include #undef asprintf #ifdef __cplusplus extern "C" #endif char asprintf (void); #if defined __stub_asprintf || defined __stub___asprintf fail fail fail this function is not going to work #endif int main(void) { return asprintf (); } Compiler stdout: Compiler stderr: Checking for function "asprintf" : YES None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmplkem3e3i Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmplkem3e3i/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmplkem3e3i/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define basename meson_disable_define_of_basename #include #undef basename #ifdef __cplusplus extern "C" #endif char basename (void); #if defined __stub_basename || defined __stub___basename fail fail fail this function is not going to work #endif int main(void) { return basename (); } Compiler stdout: Compiler stderr: Checking for function "basename" : YES None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpqh9wmql3 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpqh9wmql3/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpqh9wmql3/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define memdup meson_disable_define_of_memdup #include #undef memdup #ifdef __cplusplus extern "C" #endif char memdup (void); #if defined __stub_memdup || defined __stub___memdup fail fail fail this function is not going to work #endif int main(void) { return memdup (); } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/tmp/ccYOLc2l.o: in function `main': testfile.c:(.text+0x8): undefined reference to `memdup' collect2: error: ld returned 1 exit status None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmphokujq5l Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmphokujq5l/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmphokujq5l/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: int main(void) { /* With some toolchains (MSYS2/mingw for example) the compiler * provides various builtins which are not really implemented and * fall back to the stdlib where they aren't provided and fail at * build/link time. In case the user provides a header, including * the header didn't lead to the function being defined, and the * function we are checking isn't a builtin itself we assume the * builtin is not functional and we just error out. */ #if !1 && !defined(memdup) && !0 #error "No definition for __builtin_memdup found in the prefix" #endif #ifdef __has_builtin #if !__has_builtin(__builtin_memdup) #error "__builtin_memdup not found" #endif #elif ! defined(memdup) __builtin_memdup; #endif return 0; } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmphokujq5l/testfile.c: In function 'main': /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmphokujq5l/testfile.c:20:13: error: '__builtin_memdup' undeclared (first use in this function); did you mean '__builtin_memcmp'? __builtin_memdup; ^~~~~~~~~~~~~~~~ __builtin_memcmp /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmphokujq5l/testfile.c:20:13: note: each undeclared identifier is reported only once for each function it appears in Checking for function "memdup" : NO None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpo7o30iok Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpo7o30iok/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpo7o30iok/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define reallocarray meson_disable_define_of_reallocarray #include #undef reallocarray #ifdef __cplusplus extern "C" #endif char reallocarray (void); #if defined __stub_reallocarray || defined __stub___reallocarray fail fail fail this function is not going to work #endif int main(void) { return reallocarray (); } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/tmp/cc6RFYzu.o: in function `main': testfile.c:(.text+0x8): undefined reference to `reallocarray' collect2: error: ld returned 1 exit status None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp0_arhhaf Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp0_arhhaf/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp0_arhhaf/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: int main(void) { /* With some toolchains (MSYS2/mingw for example) the compiler * provides various builtins which are not really implemented and * fall back to the stdlib where they aren't provided and fail at * build/link time. In case the user provides a header, including * the header didn't lead to the function being defined, and the * function we are checking isn't a builtin itself we assume the * builtin is not functional and we just error out. */ #if !1 && !defined(reallocarray) && !0 #error "No definition for __builtin_reallocarray found in the prefix" #endif #ifdef __has_builtin #if !__has_builtin(__builtin_reallocarray) #error "__builtin_reallocarray not found" #endif #elif ! defined(reallocarray) __builtin_reallocarray; #endif return 0; } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp0_arhhaf/testfile.c: In function 'main': /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp0_arhhaf/testfile.c:20:13: error: '__builtin_reallocarray' undeclared (first use in this function); did you mean '__builtin_realloc'? __builtin_reallocarray; ^~~~~~~~~~~~~~~~~~~~~~ __builtin_realloc /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp0_arhhaf/testfile.c:20:13: note: each undeclared identifier is reported only once for each function it appears in Checking for function "reallocarray" : NO None of 'CC_LD' are defined in the environment, not changing global flags. Using cached compile: Cached command line: Code: #define secure_getenv meson_disable_define_of_secure_getenv #include #undef secure_getenv #ifdef __cplusplus extern "C" #endif char secure_getenv (void); #if defined __stub_secure_getenv || defined __stub___secure_getenv fail fail fail this function is not going to work #endif int main(void) { return secure_getenv (); } Cached compiler stdout: Cached compiler stderr: Checking for function "secure_getenv" : YES (cached) None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmphtl41t36 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmphtl41t36/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmphtl41t36/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define setenv meson_disable_define_of_setenv #include #undef setenv #ifdef __cplusplus extern "C" #endif char setenv (void); #if defined __stub_setenv || defined __stub___setenv fail fail fail this function is not going to work #endif int main(void) { return setenv (); } Compiler stdout: Compiler stderr: Checking for function "setenv" : YES None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpu9vxf1qo Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpu9vxf1qo/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpu9vxf1qo/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define strerror_r meson_disable_define_of_strerror_r #include #undef strerror_r #ifdef __cplusplus extern "C" #endif char strerror_r (void); #if defined __stub_strerror_r || defined __stub___strerror_r fail fail fail this function is not going to work #endif int main(void) { return strerror_r (); } Compiler stdout: Compiler stderr: Checking for function "strerror_r" : YES None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp4ypkpafu Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp4ypkpafu/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp4ypkpafu/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define strnstr meson_disable_define_of_strnstr #include #undef strnstr #ifdef __cplusplus extern "C" #endif char strnstr (void); #if defined __stub_strnstr || defined __stub___strnstr fail fail fail this function is not going to work #endif int main(void) { return strnstr (); } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/tmp/ccSK72FF.o: in function `main': testfile.c:(.text+0x8): undefined reference to `strnstr' collect2: error: ld returned 1 exit status None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzoyilqbz Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzoyilqbz/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzoyilqbz/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: int main(void) { /* With some toolchains (MSYS2/mingw for example) the compiler * provides various builtins which are not really implemented and * fall back to the stdlib where they aren't provided and fail at * build/link time. In case the user provides a header, including * the header didn't lead to the function being defined, and the * function we are checking isn't a builtin itself we assume the * builtin is not functional and we just error out. */ #if !1 && !defined(strnstr) && !0 #error "No definition for __builtin_strnstr found in the prefix" #endif #ifdef __has_builtin #if !__has_builtin(__builtin_strnstr) #error "__builtin_strnstr not found" #endif #elif ! defined(strnstr) __builtin_strnstr; #endif return 0; } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzoyilqbz/testfile.c: In function 'main': /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzoyilqbz/testfile.c:20:13: error: '__builtin_strnstr' undeclared (first use in this function); did you mean '__builtin_strstr'? __builtin_strnstr; ^~~~~~~~~~~~~~~~~ __builtin_strstr /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzoyilqbz/testfile.c:20:13: note: each undeclared identifier is reported only once for each function it appears in Checking for function "strnstr" : NO None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpk9s0rhbj Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpk9s0rhbj/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpk9s0rhbj/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -znow -zrelro -Wl,--gc-sections Code: #define vasprintf meson_disable_define_of_vasprintf #include #undef vasprintf #ifdef __cplusplus extern "C" #endif char vasprintf (void); #if defined __stub_vasprintf || defined __stub___vasprintf fail fail fail this function is not going to work #endif int main(void) { return vasprintf (); } Compiler stdout: Compiler stderr: Checking for function "vasprintf" : YES Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp27oso83p Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp27oso83p/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp27oso83p/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #define _GNU_SOURCE #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef program_invocation_short_name program_invocation_short_name; #endif return 0; } Compiler stdout: Compiler stderr: Header has symbol "program_invocation_short_name" : YES Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp7hz6m6pk Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp7hz6m6pk/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp7hz6m6pk/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #define _GNU_SOURCE #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef asprintf asprintf; #endif return 0; } Compiler stdout: Compiler stderr: Header has symbol "asprintf" : YES Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp31147kv3 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp31147kv3/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp31147kv3/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #define _GNU_SOURCE #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef vasprintf vasprintf; #endif return 0; } Compiler stdout: Compiler stderr: Header has symbol "vasprintf" : YES Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpnk4l_wp6 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpnk4l_wp6/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpnk4l_wp6/output.obj -pipe -c -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 Code: #include int main(void) { /* If it's not defined as a macro, try to use as a symbol */ #ifndef reallocarray reallocarray; #endif return 0; } Compiler stdout: Compiler stderr: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpnk4l_wp6/testfile.c: In function 'main': /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpnk4l_wp6/testfile.c:6:17: error: 'reallocarray' undeclared (first use in this function); did you mean 'realloc'? reallocarray; ^~~~~~~~~~~~ realloc /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpnk4l_wp6/testfile.c:6:17: note: each undeclared identifier is reported only once for each function it appears in Header has symbol "reallocarray" : NO Dependency libffi skipped: feature libffi disabled Dependency libtasn1 skipped: feature trust_module disabled Dependency libsystemd skipped: feature systemd disabled Dependency systemd skipped: feature systemd disabled Configuring config.h using configuration Adding test "test-tests" Adding test "test-compat" Adding test "test-hash" Adding test "test-dict" Adding test "test-array" Adding test "test-constants" Adding test "test-attrs" Adding test "test-buffer" Adding test "test-url" Adding test "test-path" Adding test "test-lexer" Adding test "test-message" Adding test "test-argv" Adding test "test-runtime" None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpxe1ekahr Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpxe1ekahr/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpxe1ekahr/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wl,--fatal-warnings -Wl,--version-script,/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/p11-kit/libp11-kit.map -znow -zrelro -Wl,--gc-sections Code: int main(void) { return 0; } Compiler stdout: Compiler stderr: Compiler for C supports link arguments -Wl,--version-script,/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/p11-kit/libp11-kit.map: YES Program meson_post_install.sh found: YES (/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/p11-kit/meson_post_install.sh) None of 'CC_LD' are defined in the environment, not changing global flags. Running compile: Working directory: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpw34l7t70 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpw34l7t70/testfile.c -o /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpw34l7t70/output.exe -pipe -Os -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22=p11-kit-0.23.22 -fstack-protector -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wl,--fatal-warnings -Wl,--version-script,/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/p11-kit/p11-module.map -znow -zrelro -Wl,--gc-sections Code: int main(void) { return 0; } Compiler stdout: Compiler stderr: Compiler for C supports link arguments -Wl,--version-script,/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/p11-kit/p11-module.map: YES Program gen-pkcs11-gnu.sh found: YES (/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/p11-kit/gen-pkcs11-gnu.sh) Adding test "test-progname" Adding test "test-util" Adding test "test-conf" Adding test "test-uri" Adding test "test-pin" Adding test "test-init" Adding test "test-modules" Adding test "test-deprecated" Adding test "test-proxy" Adding test "test-iter" Adding test "test-rpc" Adding test "test-virtual" Adding test "test-managed" Adding test "test-log" Adding test "test-filter" Adding test "test-transport" Adding test "test-server" Program test-messages.sh found: YES (/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/p11-kit/test-messages.sh) Adding test "test-messages.sh" Program test-server.sh found: YES (/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/p11-kit/test-server.sh) Adding test "test-server.sh" Configuring pkcs11.conf.example using configuration Pkg-config binary for MachineChoice.HOST is not cached. Pkg-config binary for 1 specified from cross file, native file, or env var as ['/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/host/bin/pkg-config'] Found pkg-config: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/host/bin/pkg-config (1.7.3) Determining dependency 'bash-completion' with pkg-config executable '/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/host/bin/pkg-config' PKG_CONFIG_PATH: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/pkgconfig:/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/target-aarch64_cortex-a53_musl/usr/share/pkgconfig Called `/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/host/bin/pkg-config --modversion bash-completion` -> 1 CMake binary for MachineChoice.BUILD is not cached None of 'CMAKE_FOR_BUILD' are defined in the environment, not changing global flags. CMake binary missing from cross or native file, or env var undefined. Trying a default CMake fallback at cmake Found CMake: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/host/bin/cmake (3.21.7) None of 'CMAKE_PREFIX_PATH_FOR_BUILD' are defined in the environment, not changing global flags. Extracting basic cmake information Try CMake generator: auto Calling CMake (['/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/host/bin/cmake']) in /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/cmake_bash-completion with: - "--trace-expand" - "--trace-format=json-v1" - "--no-warn-unused-cli" - "--trace-redirect=cmake_trace.txt" - "-DCMAKE_TOOLCHAIN_FILE=/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/cmake_bash-completion/CMakeMesonToolchainFile.cmake" - "." -- Module search paths: ['/', '/home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/host', '/opt', '/usr', '/usr/local'] -- CMake root: /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/host/share/cmake-3.21 -- CMake architectures: ['x86_64-linux-gnu'] -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share', 'lib/x86_64-linux-gnu'] Preliminary CMake check failed. Aborting. Run-time dependency bash-completion found: NO (tried pkgconfig and cmake) ../../../../build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/bash-completion/meson.build:7: WARNING: Will not install bash completion due to missing dependencies! Build targets in project: 67 Found ninja-1.11.0 at /home/jack/SDK-XuTao-7981b-AX3000-OpenWRT-21.02/staging_dir/host/bin/ninja NOTICE: You are using Python 3.5 which is EOL. Starting with v0.57, Meson will require Python 3.6 or newer