The target system is: Buildroot - 1 - riscv64 The host system is: Linux - 5.4.0-42-generic - x86_64 Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. Compiler: /tmp/instance-1/output-1/host/bin/riscv64-linux-gcc Build flags: -D_LARGEFILE_SOURCE;-D_LARGEFILE64_SOURCE;-D_FILE_OFFSET_BITS=64;-Os Id flags: The output was: 0 Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" The C compiler identification is GNU, found in "/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/3.16.3/CompilerIdC/a.out" Determining if the C compiler works passed with the following output: Change Dir: /tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_51619/fast && make[1]: Entering directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_51619.dir/build.make CMakeFiles/cmTC_51619.dir/build make[2]: Entering directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_51619.dir/testCCompiler.c.o /tmp/instance-1/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_51619.dir/testCCompiler.c.o -c /tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp/testCCompiler.c Linking C executable cmTC_51619 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_51619.dir/link.txt --verbose=1 /tmp/instance-1/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG CMakeFiles/cmTC_51619.dir/testCCompiler.c.o -o cmTC_51619 make[2]: Leaving directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' Detecting C compiler ABI info compiled with the following output: Change Dir: /tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_2b689/fast && make[1]: Entering directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_2b689.dir/build.make CMakeFiles/cmTC_2b689.dir/build make[2]: Entering directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2b689.dir/CMakeCCompilerABI.c.o /tmp/instance-1/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -v -o CMakeFiles/cmTC_2b689.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c Using built-in specs. COLLECT_GCC=/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/riscv64-linux-gcc.br_real Target: riscv64-buildroot-linux-musl Configured with: ./configure --prefix=/opt/br-riscv64-musl-2020.02 --sysconfdir=/opt/br-riscv64-musl-2020.02/etc --enable-static --target=riscv64-buildroot-linux-musl --with-sysroot=/opt/br-riscv64-musl-2020.02/riscv64-buildroot-linux-musl/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/br-riscv64-musl-2020.02 --with-mpc=/opt/br-riscv64-musl-2020.02 --with-mpfr=/opt/br-riscv64-musl-2020.02 --with-pkgversion='Buildroot 2020.02' --with-bugurl=http://bugs.buildroot.net/ --disable-libmpx --disable-libquadmath --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-arch=rv64imafd --with-abi=lp64d --enable-languages=c,c++ --with-build-time-tools=/opt/br-riscv64-musl-2020.02/riscv64-buildroot-linux-musl/bin --enable-shared --disable-libgomp Thread model: posix gcc version 9.2.0 (Buildroot 2020.02) COLLECT_GCC_OPTIONS='-mabi=lp64d' '-fstack-protector-all' '-march=rv64imafd' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-D' 'NDEBUG' '-v' '-o' 'CMakeFiles/cmTC_2b689.dir/CMakeCCompilerABI.c.o' '-c' /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/9.2.0/cc1 -quiet -v -iprefix /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/ -isysroot /tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot -D _LARGEFILE_SOURCE -D _LARGEFILE64_SOURCE -D _FILE_OFFSET_BITS=64 -D NDEBUG /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mabi=lp64d -march=rv64imafd -auxbase-strip CMakeFiles/cmTC_2b689.dir/CMakeCCompilerABI.c.o -Os -version -fstack-protector-all -o /tmp/cchZ2bBg.s GNU C17 (Buildroot 2020.02) version 9.2.0 (riscv64-buildroot-linux-musl) compiled by GNU C version 4.9.2, GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version none GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory "/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/local/include" ignoring duplicate directory "/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/../../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/../../../../riscv64-buildroot-linux-musl/include" ignoring duplicate directory "/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/../../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/include" #include "..." search starts here: #include <...> search starts here: /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/../../../../riscv64-buildroot-linux-musl/include /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/include /tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include End of search list. GNU C17 (Buildroot 2020.02) version 9.2.0 (riscv64-buildroot-linux-musl) compiled by GNU C version 4.9.2, GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version none GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 232b4aa5f79b1431cec9f7852e22de78 COLLECT_GCC_OPTIONS='-mabi=lp64d' '-fstack-protector-all' '-march=rv64imafd' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-D' 'NDEBUG' '-v' '-o' 'CMakeFiles/cmTC_2b689.dir/CMakeCCompilerABI.c.o' '-c' /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/../../../../riscv64-buildroot-linux-musl/bin/as -v --traditional-format -march=rv64imafd -mabi=lp64d -o CMakeFiles/cmTC_2b689.dir/CMakeCCompilerABI.c.o /tmp/cchZ2bBg.s GNU assembler version 2.32 (riscv64-buildroot-linux-musl) using BFD version (GNU Binutils) 2.32 COMPILER_PATH=/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/9.2.0/:/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/../../../../riscv64-buildroot-linux-musl/bin/ LIBRARY_PATH=/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/:/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/../../../../riscv64-buildroot-linux-musl/lib/:/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib/:/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/ COLLECT_GCC_OPTIONS='-mabi=lp64d' '-fstack-protector-all' '-march=rv64imafd' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-D' 'NDEBUG' '-v' '-o' 'CMakeFiles/cmTC_2b689.dir/CMakeCCompilerABI.c.o' '-c' Linking C executable cmTC_2b689 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2b689.dir/link.txt --verbose=1 /tmp/instance-1/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -v CMakeFiles/cmTC_2b689.dir/CMakeCCompilerABI.c.o -o cmTC_2b689 Using built-in specs. COLLECT_GCC=/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/riscv64-linux-gcc.br_real COLLECT_LTO_WRAPPER=/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/9.2.0/lto-wrapper Target: riscv64-buildroot-linux-musl Configured with: ./configure --prefix=/opt/br-riscv64-musl-2020.02 --sysconfdir=/opt/br-riscv64-musl-2020.02/etc --enable-static --target=riscv64-buildroot-linux-musl --with-sysroot=/opt/br-riscv64-musl-2020.02/riscv64-buildroot-linux-musl/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/br-riscv64-musl-2020.02 --with-mpc=/opt/br-riscv64-musl-2020.02 --with-mpfr=/opt/br-riscv64-musl-2020.02 --with-pkgversion='Buildroot 2020.02' --with-bugurl=http://bugs.buildroot.net/ --disable-libmpx --disable-libquadmath --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-arch=rv64imafd --with-abi=lp64d --enable-languages=c,c++ --with-build-time-tools=/opt/br-riscv64-musl-2020.02/riscv64-buildroot-linux-musl/bin --enable-shared --disable-libgomp Thread model: posix gcc version 9.2.0 (Buildroot 2020.02) COMPILER_PATH=/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/9.2.0/:/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/../../../../riscv64-buildroot-linux-musl/bin/ LIBRARY_PATH=/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/:/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/../../../../riscv64-buildroot-linux-musl/lib/:/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib/:/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/ COLLECT_GCC_OPTIONS='-mabi=lp64d' '-fstack-protector-all' '-march=rv64imafd' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-D' 'NDEBUG' '-v' '-o' 'cmTC_2b689' /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/9.2.0/collect2 -plugin /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/9.2.0/liblto_plugin.so -plugin-opt=/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/9.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/cc6wAdfp.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot --eh-frame-hdr -melf64lriscv -dynamic-linker /lib/ld-musl-riscv64.so.1 -o cmTC_2b689 /tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib/crt1.o /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/crti.o /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/crtbegin.o -L/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0 -L/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc -L/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/../../../../riscv64-buildroot-linux-musl/lib -L/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib -L/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib CMakeFiles/cmTC_2b689.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/crtend.o /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/crtn.o COLLECT_GCC_OPTIONS='-mabi=lp64d' '-fstack-protector-all' '-march=rv64imafd' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-D' 'NDEBUG' '-v' '-o' 'cmTC_2b689' make[2]: Leaving directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' Parsed C implicit include dir info from above output: rv=done found start of include info found start of implicit include info add: [/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/../../../../riscv64-buildroot-linux-musl/include] add: [/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/include] add: [/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include] end of search list found collapse include dir [/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/../../../../riscv64-buildroot-linux-musl/include] ==> [/tmp/instance-1/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include] collapse include dir [/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/include] ==> [/tmp/instance-1/output-1/host/opt/ext-toolchain/lib/gcc/riscv64-buildroot-linux-musl/9.2.0/include] collapse include dir [/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include] ==> [/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include] implicit include dirs: [/tmp/instance-1/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/include;/tmp/instance-1/output-1/host/opt/ext-toolchain/lib/gcc/riscv64-buildroot-linux-musl/9.2.0/include;/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include] Parsed C implicit link information from above output: link line regex: [^( *|.*[/\])(riscv64-linux-ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] ignore line: [Change Dir: /tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp] ignore line: [] ignore line: [Run Build Command(s):/usr/bin/make cmTC_2b689/fast && make[1]: Entering directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp'] ignore line: [/usr/bin/make -f CMakeFiles/cmTC_2b689.dir/build.make CMakeFiles/cmTC_2b689.dir/build] ignore line: [make[2]: Entering directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp'] ignore line: [Building C object CMakeFiles/cmTC_2b689.dir/CMakeCCompilerABI.c.o] ignore line: [/tmp/instance-1/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -v -o CMakeFiles/cmTC_2b689.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/riscv64-linux-gcc.br_real] ignore line: [Target: riscv64-buildroot-linux-musl] ignore line: [Configured with: ./configure --prefix=/opt/br-riscv64-musl-2020.02 --sysconfdir=/opt/br-riscv64-musl-2020.02/etc --enable-static --target=riscv64-buildroot-linux-musl --with-sysroot=/opt/br-riscv64-musl-2020.02/riscv64-buildroot-linux-musl/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/br-riscv64-musl-2020.02 --with-mpc=/opt/br-riscv64-musl-2020.02 --with-mpfr=/opt/br-riscv64-musl-2020.02 --with-pkgversion='Buildroot 2020.02' --with-bugurl=http://bugs.buildroot.net/ --disable-libmpx --disable-libquadmath --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-arch=rv64imafd --with-abi=lp64d --enable-languages=c,c++ --with-build-time-tools=/opt/br-riscv64-musl-2020.02/riscv64-buildroot-linux-musl/bin --enable-shared --disable-libgomp] ignore line: [Thread model: posix] ignore line: [gcc version 9.2.0 (Buildroot 2020.02) ] ignore line: [COLLECT_GCC_OPTIONS='-mabi=lp64d' '-fstack-protector-all' '-march=rv64imafd' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-D' 'NDEBUG' '-v' '-o' 'CMakeFiles/cmTC_2b689.dir/CMakeCCompilerABI.c.o' '-c'] ignore line: [ /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/9.2.0/cc1 -quiet -v -iprefix /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/ -isysroot /tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot -D _LARGEFILE_SOURCE -D _LARGEFILE64_SOURCE -D _FILE_OFFSET_BITS=64 -D NDEBUG /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mabi=lp64d -march=rv64imafd -auxbase-strip CMakeFiles/cmTC_2b689.dir/CMakeCCompilerABI.c.o -Os -version -fstack-protector-all -o /tmp/cchZ2bBg.s] ignore line: [GNU C17 (Buildroot 2020.02) version 9.2.0 (riscv64-buildroot-linux-musl)] ignore line: [ compiled by GNU C version 4.9.2 GMP version 6.1.2 MPFR version 4.0.2 MPC version 1.1.0 isl version none] ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] ignore line: [ignoring nonexistent directory "/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/local/include"] ignore line: [ignoring duplicate directory "/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/../../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/../../../../riscv64-buildroot-linux-musl/include"] ignore line: [ignoring duplicate directory "/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/../../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/include"] ignore line: [#include "..." search starts here:] ignore line: [#include <...> search starts here:] ignore line: [ /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/../../../../riscv64-buildroot-linux-musl/include] ignore line: [ /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/include] ignore line: [ /tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include] ignore line: [End of search list.] ignore line: [GNU C17 (Buildroot 2020.02) version 9.2.0 (riscv64-buildroot-linux-musl)] ignore line: [ compiled by GNU C version 4.9.2 GMP version 6.1.2 MPFR version 4.0.2 MPC version 1.1.0 isl version none] ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] ignore line: [Compiler executable checksum: 232b4aa5f79b1431cec9f7852e22de78] ignore line: [COLLECT_GCC_OPTIONS='-mabi=lp64d' '-fstack-protector-all' '-march=rv64imafd' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-D' 'NDEBUG' '-v' '-o' 'CMakeFiles/cmTC_2b689.dir/CMakeCCompilerABI.c.o' '-c'] ignore line: [ /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/../../../../riscv64-buildroot-linux-musl/bin/as -v --traditional-format -march=rv64imafd -mabi=lp64d -o CMakeFiles/cmTC_2b689.dir/CMakeCCompilerABI.c.o /tmp/cchZ2bBg.s] ignore line: [GNU assembler version 2.32 (riscv64-buildroot-linux-musl) using BFD version (GNU Binutils) 2.32] ignore line: [COMPILER_PATH=/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/9.2.0/:/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/../../../../riscv64-buildroot-linux-musl/bin/] ignore line: [LIBRARY_PATH=/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/:/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/../../../../riscv64-buildroot-linux-musl/lib/:/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib/:/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-mabi=lp64d' '-fstack-protector-all' '-march=rv64imafd' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-D' 'NDEBUG' '-v' '-o' 'CMakeFiles/cmTC_2b689.dir/CMakeCCompilerABI.c.o' '-c'] ignore line: [Linking C executable cmTC_2b689] ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2b689.dir/link.txt --verbose=1] ignore line: [/tmp/instance-1/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -v CMakeFiles/cmTC_2b689.dir/CMakeCCompilerABI.c.o -o cmTC_2b689 ] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/riscv64-linux-gcc.br_real] ignore line: [COLLECT_LTO_WRAPPER=/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/9.2.0/lto-wrapper] ignore line: [Target: riscv64-buildroot-linux-musl] ignore line: [Configured with: ./configure --prefix=/opt/br-riscv64-musl-2020.02 --sysconfdir=/opt/br-riscv64-musl-2020.02/etc --enable-static --target=riscv64-buildroot-linux-musl --with-sysroot=/opt/br-riscv64-musl-2020.02/riscv64-buildroot-linux-musl/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/br-riscv64-musl-2020.02 --with-mpc=/opt/br-riscv64-musl-2020.02 --with-mpfr=/opt/br-riscv64-musl-2020.02 --with-pkgversion='Buildroot 2020.02' --with-bugurl=http://bugs.buildroot.net/ --disable-libmpx --disable-libquadmath --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-arch=rv64imafd --with-abi=lp64d --enable-languages=c,c++ --with-build-time-tools=/opt/br-riscv64-musl-2020.02/riscv64-buildroot-linux-musl/bin --enable-shared --disable-libgomp] ignore line: [Thread model: posix] ignore line: [gcc version 9.2.0 (Buildroot 2020.02) ] ignore line: [COMPILER_PATH=/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/9.2.0/:/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/../../../../riscv64-buildroot-linux-musl/bin/] ignore line: [LIBRARY_PATH=/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/:/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/../../../../riscv64-buildroot-linux-musl/lib/:/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib/:/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-mabi=lp64d' '-fstack-protector-all' '-march=rv64imafd' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-D' 'NDEBUG' '-v' '-o' 'cmTC_2b689'] link line: [ /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/9.2.0/collect2 -plugin /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/9.2.0/liblto_plugin.so -plugin-opt=/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/9.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/cc6wAdfp.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot --eh-frame-hdr -melf64lriscv -dynamic-linker /lib/ld-musl-riscv64.so.1 -o cmTC_2b689 /tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib/crt1.o /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/crti.o /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/crtbegin.o -L/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0 -L/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc -L/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/../../../../riscv64-buildroot-linux-musl/lib -L/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib -L/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib CMakeFiles/cmTC_2b689.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/crtend.o /tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/crtn.o] arg [/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/9.2.0/collect2] ==> ignore arg [-plugin] ==> ignore arg [/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/9.2.0/liblto_plugin.so] ==> ignore arg [-plugin-opt=/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/9.2.0/lto-wrapper] ==> ignore arg [-plugin-opt=-fresolution=/tmp/cc6wAdfp.res] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [-plugin-opt=-pass-through=-lc] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [--sysroot=/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot] ==> ignore arg [--eh-frame-hdr] ==> ignore arg [-melf64lriscv] ==> ignore arg [-dynamic-linker] ==> ignore arg [/lib/ld-musl-riscv64.so.1] ==> ignore arg [-o] ==> ignore arg [cmTC_2b689] ==> ignore arg [/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib/crt1.o] ==> ignore arg [/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/crti.o] ==> ignore arg [/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/crtbegin.o] ==> ignore arg [-L/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0] ==> dir [/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0] arg [-L/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc] ==> dir [/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc] arg [-L/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/../../../../riscv64-buildroot-linux-musl/lib] ==> dir [/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/../../../../riscv64-buildroot-linux-musl/lib] arg [-L/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib] ==> dir [/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib] arg [-L/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib] ==> dir [/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib] arg [CMakeFiles/cmTC_2b689.dir/CMakeCCompilerABI.c.o] ==> ignore arg [-lgcc] ==> lib [gcc] arg [--push-state] ==> ignore arg [--as-needed] ==> ignore arg [-lgcc_s] ==> lib [gcc_s] arg [--pop-state] ==> ignore arg [-lc] ==> lib [c] arg [-lgcc] ==> lib [gcc] arg [--push-state] ==> ignore arg [--as-needed] ==> ignore arg [-lgcc_s] ==> lib [gcc_s] arg [--pop-state] ==> ignore arg [/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/crtend.o] ==> ignore arg [/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/crtn.o] ==> ignore collapse library dir [/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0] ==> [/tmp/instance-1/output-1/host/opt/ext-toolchain/lib/gcc/riscv64-buildroot-linux-musl/9.2.0] collapse library dir [/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc] ==> [/tmp/instance-1/output-1/host/opt/ext-toolchain/lib/gcc] collapse library dir [/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/9.2.0/../../../../riscv64-buildroot-linux-musl/lib] ==> [/tmp/instance-1/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/lib] collapse library dir [/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib] ==> [/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib] collapse library dir [/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib] ==> [/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib] implicit libs: [gcc;gcc_s;c;gcc;gcc_s] implicit dirs: [/tmp/instance-1/output-1/host/opt/ext-toolchain/lib/gcc/riscv64-buildroot-linux-musl/9.2.0;/tmp/instance-1/output-1/host/opt/ext-toolchain/lib/gcc;/tmp/instance-1/output-1/host/opt/ext-toolchain/riscv64-buildroot-linux-musl/lib;/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib;/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib] implicit fwks: [] Determining if the include file pthread.h exists passed with the following output: Change Dir: /tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_e9989/fast && make[1]: Entering directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_e9989.dir/build.make CMakeFiles/cmTC_e9989.dir/build make[2]: Entering directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e9989.dir/CheckIncludeFile.c.o /tmp/instance-1/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_e9989.dir/CheckIncludeFile.c.o -c /tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_e9989 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e9989.dir/link.txt --verbose=1 /tmp/instance-1/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG CMakeFiles/cmTC_e9989.dir/CheckIncludeFile.c.o -o cmTC_e9989 make[2]: Leaving directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD succeeded with the following output: Change Dir: /tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_a295f/fast && make[1]: Entering directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a295f.dir/build.make CMakeFiles/cmTC_a295f.dir/build make[2]: Entering directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a295f.dir/src.c.o /tmp/instance-1/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCMAKE_HAVE_LIBC_PTHREAD -DNDEBUG -o CMakeFiles/cmTC_a295f.dir/src.c.o -c /tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_a295f /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a295f.dir/link.txt --verbose=1 /tmp/instance-1/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCMAKE_HAVE_LIBC_PTHREAD -DNDEBUG CMakeFiles/cmTC_a295f.dir/src.c.o -o cmTC_a295f make[2]: Leaving directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' Source file was: #include void* test_func(void* data) { return data; } int main(void) { pthread_t thread; pthread_create(&thread, NULL, test_func, NULL); pthread_detach(thread); pthread_join(thread, NULL); pthread_atfork(NULL, NULL, NULL); pthread_exit(NULL); return 0; } Performing C SOURCE FILE Test COMPILER_HAS_HIDDEN_VISIBILITY succeeded with the following output: Change Dir: /tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_9651f/fast && make[1]: Entering directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_9651f.dir/build.make CMakeFiles/cmTC_9651f.dir/build make[2]: Entering directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_9651f.dir/src.c.o /tmp/instance-1/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCOMPILER_HAS_HIDDEN_VISIBILITY -DNDEBUG -fvisibility=hidden -o CMakeFiles/cmTC_9651f.dir/src.c.o -c /tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_9651f /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9651f.dir/link.txt --verbose=1 /tmp/instance-1/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCOMPILER_HAS_HIDDEN_VISIBILITY -DNDEBUG CMakeFiles/cmTC_9651f.dir/src.c.o -o cmTC_9651f make[2]: Leaving directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' Source file was: int main(void) { return 0; } Performing C SOURCE FILE Test COMPILER_HAS_DEPRECATED_ATTR succeeded with the following output: Change Dir: /tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_cf3a6/fast && make[1]: Entering directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_cf3a6.dir/build.make CMakeFiles/cmTC_cf3a6.dir/build make[2]: Entering directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_cf3a6.dir/src.c.o /tmp/instance-1/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCOMPILER_HAS_DEPRECATED_ATTR -DNDEBUG -o CMakeFiles/cmTC_cf3a6.dir/src.c.o -c /tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp/src.c /tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp/src.c: In function 'main': /tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp/src.c:2:5: warning: 'somefunc' is deprecated [-Wdeprecated-declarations] 2 | int main() { return somefunc();} | ^~~ /tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp/src.c:1:37: note: declared here 1 | __attribute__((__deprecated__)) int somefunc() { return 0; } | ^~~~~~~~ Linking C executable cmTC_cf3a6 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cf3a6.dir/link.txt --verbose=1 /tmp/instance-1/output-1/host/bin/riscv64-linux-gcc --sysroot=/tmp/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCOMPILER_HAS_DEPRECATED_ATTR -DNDEBUG CMakeFiles/cmTC_cf3a6.dir/src.c.o -o cmTC_cf3a6 make[2]: Leaving directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/tmp/instance-1/output-1/build/librtlsdr-d794155ba65796a76cd0a436f9709f4601509320/CMakeFiles/CMakeTmp' Source file was: __attribute__((__deprecated__)) int somefunc() { return 0; } int main() { return somefunc();}