Build started at 2024-03-23T08:04:52.051377 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-x86_64_musl/p11-kit-0.23.22/openwrt-cross.txt' '--native-file /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_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-x86_64_musl/p11-kit-0.23.22 Build dir: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_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: x86_64-openwrt-linux-musl-gcc Is cross compiler: True. Sanity check compiler command line: x86_64-openwrt-linux-musl-gcc /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/sanitycheckc.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/sanitycheckc_cross.exe -Os -pipe -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-x86_64_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-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_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: x86_64-openwrt-linux-musl-gcc (gcc 8.4.0 "x86_64-openwrt-linux-musl-gcc (OpenWrt GCC 8.4.0 unknown) 8.4.0") C linker for the host machine: x86_64-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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/sanitycheckc.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_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-x86_64_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-x86_64_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-x86_64_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-x86_64_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: x86_64 Target machine cpu: 64 Running compile: Working directory: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpcm1enqjv Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpcm1enqjv/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpcm1enqjv/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmptwkrz3do Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmptwkrz3do/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmptwkrz3do/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpjos_esz9 Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpjos_esz9/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpjos_esz9/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpxjsnngn4 Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpxjsnngn4/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpxjsnngn4/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpugd1rw84 Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpugd1rw84/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpugd1rw84/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpiy5rbioc Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpiy5rbioc/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpiy5rbioc/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1_xhipiv Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1_xhipiv/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1_xhipiv/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1_xhipiv/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp1_xhipiv/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpp9m9entc Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpp9m9entc/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpp9m9entc/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzuef_7ch Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzuef_7ch/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzuef_7ch/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp3yuylpp_ Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp3yuylpp_/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp3yuylpp_/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmplbro752w Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmplbro752w/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmplbro752w/output.exe -pipe -pthread -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpeu5vm5wp Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpeu5vm5wp/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpeu5vm5wp/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpdizsa0r9 Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpdizsa0r9/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpdizsa0r9/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpoehbt1tu Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpoehbt1tu/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpoehbt1tu/output.exe -pipe -Os -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-x86_64_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-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp7dhsczpg Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp7dhsczpg/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp7dhsczpg/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpajvk3qhc Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpajvk3qhc/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpajvk3qhc/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp74kyli37 Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp74kyli37/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp74kyli37/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmph2ce08y1 Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmph2ce08y1/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmph2ce08y1/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp43f4p45p Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp43f4p45p/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp43f4p45p/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpnh7ty707 Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpnh7ty707/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpnh7ty707/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpur1cyq_j Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpur1cyq_j/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpur1cyq_j/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpur1cyq_j/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpur1cyq_j/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp4aavs5xf Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp4aavs5xf/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp4aavs5xf/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpga4gwhd6 Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpga4gwhd6/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpga4gwhd6/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpato76y7i Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpato76y7i/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpato76y7i/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_xirlgzj Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_xirlgzj/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_xirlgzj/output.obj -pipe -c -Os -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-x86_64_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-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/ programs: =/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/libexec/gcc/x86_64-openwrt-linux-musl/8.4.0/:/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/libexec/gcc/x86_64-openwrt-linux-musl/8.4.0/:/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/libexec/gcc/x86_64-openwrt-linux-musl/:/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/:/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/:/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/x86_64-openwrt-linux-musl/8.4.0/:/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ libraries: =/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/:/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/lib/x86_64-openwrt-linux-musl/8.4.0/:/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpdnk_h191 Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpdnk_h191/testfile.c -pipe -E -P -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwgmmbmr0 Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwgmmbmr0/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwgmmbmr0/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpcwyrvlwf Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpcwyrvlwf/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpcwyrvlwf/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp2nplbep2 Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp2nplbep2/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp2nplbep2/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpf359nzoz Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpf359nzoz/testfile.c -pipe -E -P -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp0k5os2nh Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp0k5os2nh/testfile.c -pipe -E -P -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp0k5os2nh/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp8f8d8t4n Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp8f8d8t4n/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp8f8d8t4n/output.exe -pipe -Os -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-x86_64_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-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/tmp/cc2j1V4G.o: in function `main': testfile.c:(.text+0x6): 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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpiggie506 Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpiggie506/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpiggie506/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpiggie506/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpiggie506/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpiggie506/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmplofo53_s Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmplofo53_s/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmplofo53_s/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpq9qp8whb Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpq9qp8whb/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpq9qp8whb/output.exe -pipe -Os -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-x86_64_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-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/tmp/ccb5FZkY.o: in function `main': testfile.c:(.text+0x6): 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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpjk_jqide Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpjk_jqide/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpjk_jqide/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpjk_jqide/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpjk_jqide/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpjk_jqide/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpb8ajwjnv Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpb8ajwjnv/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpb8ajwjnv/output.exe -pipe -Os -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-x86_64_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-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/tmp/cc472V6a.o: in function `main': testfile.c:(.text+0x6): 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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpu2ujmtte Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpu2ujmtte/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpu2ujmtte/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpu2ujmtte/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpu2ujmtte/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpu2ujmtte/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpd7sraen7 Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpd7sraen7/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpd7sraen7/output.exe -pipe -Os -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-x86_64_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-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/tmp/ccksWIYf.o: in function `main': testfile.c:(.text+0x6): 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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzq9lx67c Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzq9lx67c/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzq9lx67c/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzq9lx67c/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzq9lx67c/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzq9lx67c/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwxoxllcb Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwxoxllcb/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwxoxllcb/output.exe -pipe -Os -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-x86_64_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-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/tmp/ccGvuduQ.o: in function `main': testfile.c:(.text+0x6): 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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpg5xihd6q Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpg5xihd6q/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpg5xihd6q/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpg5xihd6q/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpg5xihd6q/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpg5xihd6q/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmphw1o304o Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmphw1o304o/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmphw1o304o/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpagr6zrlo Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpagr6zrlo/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpagr6zrlo/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpof3m2fl7 Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpof3m2fl7/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpof3m2fl7/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp2dybwnjo Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp2dybwnjo/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp2dybwnjo/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp8u02bq0s Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp8u02bq0s/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp8u02bq0s/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpcxkgq30t Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpcxkgq30t/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpcxkgq30t/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpcxkgq30t/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpf3q3k3uz Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpf3q3k3uz/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpf3q3k3uz/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpjxht9jhn Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpjxht9jhn/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpjxht9jhn/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpjxht9jhn/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpjxht9jhn/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpefyg6xjj Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpefyg6xjj/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpefyg6xjj/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpyj0_kt91 Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpyj0_kt91/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpyj0_kt91/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_0tdsv7m Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_0tdsv7m/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_0tdsv7m/output.exe -pipe -Os -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-x86_64_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-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/tmp/cceHa3IJ.o: in function `main': testfile.c:(.text+0x6): 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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_yg6mmv9 Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_yg6mmv9/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_yg6mmv9/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpvc5a8m2e Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpvc5a8m2e/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpvc5a8m2e/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpvc5a8m2e/testfile.c: In function 'bar': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpvc5a8m2e/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpvc5a8m2e/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp9hjhieuk Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp9hjhieuk/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp9hjhieuk/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp9hjhieuk/testfile.c: In function 'bar': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp9hjhieuk/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp9hjhieuk/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpixyblakc Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpixyblakc/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpixyblakc/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpixyblakc/testfile.c: In function 'bar': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpixyblakc/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpixyblakc/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwouhokuf Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwouhokuf/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwouhokuf/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwouhokuf/testfile.c: In function 'bar': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwouhokuf/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwouhokuf/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpdwtb6zun Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpdwtb6zun/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpdwtb6zun/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpl7ngmvoc Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpl7ngmvoc/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpl7ngmvoc/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpl7ngmvoc/testfile.c: In function 'bar': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpl7ngmvoc/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpl7ngmvoc/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpvo7ppac2 Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpvo7ppac2/testfile.c -pipe -E -P -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_ybfal53 Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_ybfal53/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_ybfal53/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpkvni9k5q Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpkvni9k5q/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpkvni9k5q/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp9j7vgdao Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp9j7vgdao/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp9j7vgdao/output.exe -pipe -Os -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-x86_64_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-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/tmp/ccOMhb7Q.o: in function `main': testfile.c:(.text+0x6): 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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp71jz2ft_ Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp71jz2ft_/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp71jz2ft_/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp71jz2ft_/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp71jz2ft_/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp71jz2ft_/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpd450pakn Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpd450pakn/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpd450pakn/output.exe -pipe -Os -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-x86_64_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-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/tmp/ccbv5Abk.o: in function `main': testfile.c:(.text+0x6): 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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzeyczhje Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzeyczhje/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzeyczhje/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzeyczhje/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzeyczhje/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzeyczhje/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp21li5l52 Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp21li5l52/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp21li5l52/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzo64_z69 Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzo64_z69/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpzo64_z69/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpm19xqo5a Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpm19xqo5a/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpm19xqo5a/output.exe -pipe -Os -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-x86_64_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-x86_64_gcc-8.4.0_musl/lib/gcc/x86_64-openwrt-linux-musl/8.4.0/../../../../x86_64-openwrt-linux-musl/bin/ld: /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/tmp/cc4PMFRs.o: in function `main': testfile.c:(.text+0x6): 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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_9l876z4 Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_9l876z4/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_9l876z4/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_9l876z4/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_9l876z4/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp_9l876z4/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp90txx9xz Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp90txx9xz/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmp90txx9xz/output.exe -pipe -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpf61nrwy7 Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpf61nrwy7/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpf61nrwy7/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpiom5uxm6 Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpiom5uxm6/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpiom5uxm6/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpw7vnbja_ Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpw7vnbja_/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpw7vnbja_/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmppgjlsjiv Command line: x86_64-openwrt-linux-musl-gcc -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmppgjlsjiv/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmppgjlsjiv/output.obj -pipe -c -Os -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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmppgjlsjiv/testfile.c: In function 'main': /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmppgjlsjiv/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmppgjlsjiv/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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwqotnwd9 Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwqotnwd9/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmpwqotnwd9/output.exe -pipe -Os -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-x86_64_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-x86_64_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-x86_64_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-x86_64_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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmptifsjr8w Command line: x86_64-openwrt-linux-musl-gcc -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/lib -L/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/usr/include -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include/fortify -I/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/include /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmptifsjr8w/testfile.c -o /home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/build_dir/target-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/tmptifsjr8w/output.exe -pipe -Os -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-x86_64_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-x86_64_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-x86_64_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-x86_64_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-x86_64_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-x86_64_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-x86_64_musl/usr/lib/pkgconfig:/home/jack/SDK/XuTao-WR3000-OpenWrt-21.02/staging_dir/target-x86_64_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-x86_64_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-x86_64_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: ['x86_64-linux-gnu'] -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share', '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-x86_64_musl/p11-kit-0.23.22/openwrt-build/meson-private/cmake_bash-completion with: - "-DNAME=bash-completion" - "-DARCHS=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-x86_64_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-x86_64_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