Determining if the newlocale exist failed with the following output: Change Dir: /home/autobuild/autobuild/instance-5/output-1/build/libiio-0.23/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_cbb82/fast && make[1]: Entering directory '/home/autobuild/autobuild/instance-5/output-1/build/libiio-0.23/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_cbb82.dir/build.make CMakeFiles/cmTC_cbb82.dir/build make[2]: Entering directory '/home/autobuild/autobuild/instance-5/output-1/build/libiio-0.23/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_cbb82.dir/CheckSymbolExists.c.o /home/autobuild/autobuild/instance-5/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc --sysroot=/home/autobuild/autobuild/instance-5/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wpedantic -Wshadow -DNDEBUG -o CMakeFiles/cmTC_cbb82.dir/CheckSymbolExists.c.o -c /home/autobuild/autobuild/instance-5/output-1/build/libiio-0.23/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/autobuild/autobuild/instance-5/output-1/build/libiio-0.23/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/autobuild/autobuild/instance-5/output-1/build/libiio-0.23/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'newlocale' undeclared (first use in this function); did you mean 'setlocale'? 8 | return ((int*)(&newlocale))[argc]; | ^~~~~~~~~ | setlocale /home/autobuild/autobuild/instance-5/output-1/build/libiio-0.23/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in /home/autobuild/autobuild/instance-5/output-1/build/libiio-0.23/CMakeFiles/CMakeTmp/CheckSymbolExists.c:4:14: warning: parameter 'argc' set but not used [-Wunused-but-set-parameter] 4 | int main(int argc, char** argv) | ~~~~^~~~ make[2]: *** [CMakeFiles/cmTC_cbb82.dir/build.make:78: CMakeFiles/cmTC_cbb82.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/autobuild/autobuild/instance-5/output-1/build/libiio-0.23/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_cbb82/fast] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-5/output-1/build/libiio-0.23/CMakeFiles/CMakeTmp' File /home/autobuild/autobuild/instance-5/output-1/build/libiio-0.23/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef newlocale return ((int*)(&newlocale))[argc]; #else (void)argc; return 0; #endif } Determining if the libusb_get_version exist failed with the following output: Change Dir: /home/autobuild/autobuild/instance-5/output-1/build/libiio-0.23/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_40958/fast && make[1]: Entering directory '/home/autobuild/autobuild/instance-5/output-1/build/libiio-0.23/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_40958.dir/build.make CMakeFiles/cmTC_40958.dir/build make[2]: Entering directory '/home/autobuild/autobuild/instance-5/output-1/build/libiio-0.23/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_40958.dir/CheckSymbolExists.c.o /home/autobuild/autobuild/instance-5/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc --sysroot=/home/autobuild/autobuild/instance-5/output-1/host/sparc-buildroot-linux-uclibc/sysroot -I/home/autobuild/autobuild/instance-5/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wpedantic -Wshadow -DNDEBUG -o CMakeFiles/cmTC_40958.dir/CheckSymbolExists.c.o -c /home/autobuild/autobuild/instance-5/output-1/build/libiio-0.23/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/autobuild/autobuild/instance-5/output-1/build/libiio-0.23/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/autobuild/autobuild/instance-5/output-1/build/libiio-0.23/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:11: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 8 | return ((int*)(&libusb_get_version))[argc]; | ^ Linking C executable cmTC_40958 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_40958.dir/link.txt --verbose=1 /home/autobuild/autobuild/instance-5/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc --sysroot=/home/autobuild/autobuild/instance-5/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wpedantic -Wshadow -DNDEBUG -static CMakeFiles/cmTC_40958.dir/CheckSymbolExists.c.o -o cmTC_40958 /home/autobuild/autobuild/instance-5/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libusb-1.0.a /home/autobuild/autobuild/instance-5/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-5/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libusb-1.0.a(core.o): in function `libusb_ref_device': core.c:(.text+0x670): undefined reference to `__atomic_fetch_add_4' /home/autobuild/autobuild/instance-5/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-5/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libusb-1.0.a(core.o): in function `libusb_unref_device': core.c:(.text+0xc50): undefined reference to `__atomic_fetch_add_4' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_40958.dir/build.make:100: cmTC_40958] Error 1 make[2]: Leaving directory '/home/autobuild/autobuild/instance-5/output-1/build/libiio-0.23/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_40958/fast] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-5/output-1/build/libiio-0.23/CMakeFiles/CMakeTmp' File /home/autobuild/autobuild/instance-5/output-1/build/libiio-0.23/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef libusb_get_version return ((int*)(&libusb_get_version))[argc]; #else (void)argc; return 0; #endif }