Build started at 2024-05-11T07:55:14.934442 Main binary: /home/jack/SDK/XuTao-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-cross.txt' '--native-file /home/jack/SDK/XuTao-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22 Build dir: /home/jack/SDK/XuTao-WR3000-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-WR3000-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-WR3000-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-WR3000-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-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-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-WR3000-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-WR3000-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-WR3000-OpenWrt-21.02/staging_dir/host/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/hostpkg/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/target-aarch64_cortex-a53_musl/host/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/host/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/hostpkg/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/target-aarch64_cortex-a53_musl/host/include -pipe -D_FILE_OFFSET_BITS=64 -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/host/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/hostpkg/lib -L/home/jack/SDK/XuTao-WR3000-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-WR3000-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 9.4.0 "gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0") C linker for the build machine: gcc ld.bfd 2.34 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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpi1r27m_3 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpi1r27m_3/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpi1r27m_3/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpc9_uted7 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpc9_uted7/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpc9_uted7/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpfhpo3rdi Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpfhpo3rdi/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpfhpo3rdi/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpsm9ppffw Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpsm9ppffw/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpsm9ppffw/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmppo4ggac6 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmppo4ggac6/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmppo4ggac6/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmppv31n5lt Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmppv31n5lt/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmppv31n5lt/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwf97_gt9 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwf97_gt9/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwf97_gt9/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwf97_gt9/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwf97_gt9/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_6gudsak Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_6gudsak/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_6gudsak/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpu6bd5ods Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpu6bd5ods/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpu6bd5ods/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpkzwzrzd8 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpkzwzrzd8/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpkzwzrzd8/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpsdnnyegc Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpsdnnyegc/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpsdnnyegc/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp8e56sjwl Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp8e56sjwl/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp8e56sjwl/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp38fcybnp Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp38fcybnp/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp38fcybnp/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpn4dctc_z Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpn4dctc_z/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpn4dctc_z/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-WR3000-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-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/../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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp5wo8vn2v Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp5wo8vn2v/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp5wo8vn2v/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpvt7_m76s Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpvt7_m76s/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpvt7_m76s/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpz7wsx0su Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpz7wsx0su/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpz7wsx0su/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpd5909jgq Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpd5909jgq/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpd5909jgq/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpp8z34o4y Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpp8z34o4y/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpp8z34o4y/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpafhoofn4 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpafhoofn4/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpafhoofn4/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpmlnpzpw5 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpmlnpzpw5/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpmlnpzpw5/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpmlnpzpw5/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpmlnpzpw5/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1yvuvbfc Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1yvuvbfc/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1yvuvbfc/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpvraubxnz Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpvraubxnz/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpvraubxnz/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpecvn92f9 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpecvn92f9/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpecvn92f9/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpo4rauzkz Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpo4rauzkz/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpo4rauzkz/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-WR3000-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-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/../lib/gcc/aarch64-openwrt-linux-musl/8.4.0/ programs: =/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/../libexec/gcc/aarch64-openwrt-linux-musl/8.4.0/:/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/../libexec/gcc/:/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/../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-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/../lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ libraries: =/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/../lib/gcc/aarch64-openwrt-linux-musl/8.4.0/:/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/../lib/gcc/:/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/../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-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/../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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpgwn2jc1k Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpgwn2jc1k/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp7qzfr6ij Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp7qzfr6ij/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp7qzfr6ij/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmprud7in8c Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmprud7in8c/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmprud7in8c/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp4ccsm_x4 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp4ccsm_x4/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp4ccsm_x4/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpdf7pcepl Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpdf7pcepl/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpd0j4ta68 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpd0j4ta68/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpd0j4ta68/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp5kb6k5v1 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp5kb6k5v1/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp5kb6k5v1/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-WR3000-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-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/../lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/tmp/ccT0seW5.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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp21qi_dd8 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp21qi_dd8/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp21qi_dd8/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp21qi_dd8/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp21qi_dd8/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp21qi_dd8/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpm4mx5vd7 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpm4mx5vd7/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpm4mx5vd7/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpbiqrmub4 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpbiqrmub4/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpbiqrmub4/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-WR3000-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-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/../lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/tmp/cc19NMvI.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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_ef7u44x Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_ef7u44x/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_ef7u44x/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_ef7u44x/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_ef7u44x/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_ef7u44x/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpao36nw8_ Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpao36nw8_/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpao36nw8_/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-WR3000-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-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/../lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/tmp/ccPEotcB.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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp9nfkej5t Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp9nfkej5t/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp9nfkej5t/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp9nfkej5t/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp9nfkej5t/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp9nfkej5t/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwphrl0bu Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwphrl0bu/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwphrl0bu/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-WR3000-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-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/../lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/tmp/ccVX8RDR.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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp2j4dzwiv Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp2j4dzwiv/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp2j4dzwiv/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp2j4dzwiv/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp2j4dzwiv/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp2j4dzwiv/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp302v3voq Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp302v3voq/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp302v3voq/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-WR3000-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-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/../lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/tmp/ccAzzQzH.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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpc_owsly4 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpc_owsly4/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpc_owsly4/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpc_owsly4/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpc_owsly4/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpc_owsly4/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpa3efqpyo Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpa3efqpyo/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpa3efqpyo/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpozch6n2j Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpozch6n2j/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpozch6n2j/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmployyluzx Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmployyluzx/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmployyluzx/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpdbm1bvcn Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpdbm1bvcn/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpdbm1bvcn/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpidaxrbko Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpidaxrbko/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpidaxrbko/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwiimvze2 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwiimvze2/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwiimvze2/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwiimvze2/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpadqmkowc Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpadqmkowc/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpadqmkowc/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpj41xz6qf Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpj41xz6qf/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpj41xz6qf/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpj41xz6qf/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpj41xz6qf/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpkr1mm8e3 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpkr1mm8e3/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpkr1mm8e3/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp61aqu9yc Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp61aqu9yc/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp61aqu9yc/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp72rlyxio Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp72rlyxio/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp72rlyxio/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-WR3000-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-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/../lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/tmp/ccIGszcY.o: in function `main': testfile.c:(.text+0x0): undefined reference to `__libc_enable_secure' /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/../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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpc5v21u2h Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpc5v21u2h/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpc5v21u2h/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1kphrjt3 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1kphrjt3/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1kphrjt3/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1kphrjt3/testfile.c: In function 'bar': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1kphrjt3/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1kphrjt3/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpx2q41j72 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpx2q41j72/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpx2q41j72/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpx2q41j72/testfile.c: In function 'bar': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpx2q41j72/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpx2q41j72/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpou2laxka Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpou2laxka/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpou2laxka/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpou2laxka/testfile.c: In function 'bar': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpou2laxka/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpou2laxka/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmperrq7ov_ Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmperrq7ov_/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmperrq7ov_/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmperrq7ov_/testfile.c: In function 'bar': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmperrq7ov_/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmperrq7ov_/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpupxgg235 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpupxgg235/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpupxgg235/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmps1m8uf64 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmps1m8uf64/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmps1m8uf64/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmps1m8uf64/testfile.c: In function 'bar': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmps1m8uf64/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmps1m8uf64/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpe21nd6am Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpe21nd6am/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzpy9o2b5 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzpy9o2b5/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzpy9o2b5/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp4g_cki4e Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp4g_cki4e/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp4g_cki4e/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp6y1wnpf8 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp6y1wnpf8/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp6y1wnpf8/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-WR3000-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-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/../lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/tmp/cc3iYKGx.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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpgl96i0va Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpgl96i0va/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpgl96i0va/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpgl96i0va/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpgl96i0va/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpgl96i0va/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmph4j689vb Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmph4j689vb/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmph4j689vb/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-WR3000-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-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/../lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/tmp/ccE5JKDl.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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzykv4pwo Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzykv4pwo/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzykv4pwo/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzykv4pwo/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzykv4pwo/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzykv4pwo/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpet5wyyiu Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpet5wyyiu/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpet5wyyiu/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_2erpbjb Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_2erpbjb/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_2erpbjb/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpxn2wvjbl Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpxn2wvjbl/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpxn2wvjbl/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-WR3000-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-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/../lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/tmp/cchGH6U4.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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp4g8905e1 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp4g8905e1/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp4g8905e1/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp4g8905e1/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp4g8905e1/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp4g8905e1/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp0uc38cyh Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp0uc38cyh/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp0uc38cyh/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpcvucm2v8 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpcvucm2v8/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpcvucm2v8/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp8212sjcc Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp8212sjcc/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp8212sjcc/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpssbz90g0 Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpssbz90g0/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpssbz90g0/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1g62qpew Command line: aarch64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1g62qpew/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1g62qpew/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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1g62qpew/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1g62qpew/testfile.c:6:17: error: 'reallocarray' undeclared (first use in this function); did you mean 'realloc'? reallocarray; ^~~~~~~~~~~~ realloc /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1g62qpew/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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_3hf_2mb Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_3hf_2mb/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_3hf_2mb/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-WR3000-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-WR3000-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-WR3000-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-WR3000-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-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpplaq8i_7 Command line: aarch64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpplaq8i_7/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpplaq8i_7/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-WR3000-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-WR3000-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-WR3000-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-WR3000-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-WR3000-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-WR3000-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-WR3000-OpenWrt-21.02/staging_dir/host/bin/pkg-config'] Found pkg-config: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/host/bin/pkg-config (1.7.3) Determining dependency 'bash-completion' with pkg-config executable '/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/host/bin/pkg-config' PKG_CONFIG_PATH: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/pkgconfig:/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/target-aarch64_cortex-a53_musl/usr/share/pkgconfig Called `/home/jack/SDK/XuTao-WR3000-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-WR3000-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-WR3000-OpenWrt-21.02/staging_dir/host/bin/cmake']) in /home/jack/SDK/XuTao-WR3000-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-WR3000-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-WR3000-OpenWrt-21.02/staging_dir/host', '/opt', '/usr', '/usr/local'] -- CMake root: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/host/share/cmake-3.21 -- CMake architectures: ['aarch64-linux-gnu', 'x86_64-linux-gnu'] -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share', 'lib/aarch64-linux-gnu', 'lib/x86_64-linux-gnu'] Determining dependency 'bash-completion' with CMake executable '/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/host/bin/cmake' Try CMake generator: auto Calling CMake (['/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/host/bin/cmake']) in /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/cmake_bash-completion with: - "-DNAME=bash-completion" - "-DARCHS=aarch64-linux-gnu;x86_64-linux-gnu" - "-DCOMPS=" - "--trace-expand" - "--trace-format=json-v1" - "--no-warn-unused-cli" - "--trace-redirect=cmake_trace.txt" - "-DCMAKE_TOOLCHAIN_FILE=/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-aarch64_cortex-a53_musl/p11-kit-0.23.22/openwrt-build/meson-private/cmake_bash-completion/CMakeMesonToolchainFile.cmake" - "." Dependency bash-completion not found: CMake: failed to guess a CMake target for bash-completion. Try to explicitly specify one or more targets with the "modules" property. Valid targets are: [] Run-time dependency bash-completion found: NO (tried pkgconfig) ../../../../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-WR3000-OpenWrt-21.02/staging_dir/host/bin/ninja