Determining if the newlocale exist failed with the following output: Change Dir: /home/autobuild/autobuild/instance-1/output-1/build/libiio-0.24/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_dac85/fast && make[1]: Entering directory '/home/autobuild/autobuild/instance-1/output-1/build/libiio-0.24/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_dac85.dir/build.make CMakeFiles/cmTC_dac85.dir/build make[2]: Entering directory '/home/autobuild/autobuild/instance-1/output-1/build/libiio-0.24/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_dac85.dir/CheckSymbolExists.c.o /home/autobuild/autobuild/instance-1/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc --sysroot=/home/autobuild/autobuild/instance-1/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wpedantic -Wshadow -DNDEBUG -o CMakeFiles/cmTC_dac85.dir/CheckSymbolExists.c.o -c /home/autobuild/autobuild/instance-1/output-1/build/libiio-0.24/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/autobuild/autobuild/instance-1/output-1/build/libiio-0.24/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/autobuild/autobuild/instance-1/output-1/build/libiio-0.24/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-1/output-1/build/libiio-0.24/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in /home/autobuild/autobuild/instance-1/output-1/build/libiio-0.24/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_dac85.dir/build.make:78: CMakeFiles/cmTC_dac85.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/autobuild/autobuild/instance-1/output-1/build/libiio-0.24/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_dac85/fast] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-1/output-1/build/libiio-0.24/CMakeFiles/CMakeTmp' File /home/autobuild/autobuild/instance-1/output-1/build/libiio-0.24/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 } Performing C SOURCE FILE Test Iconv_IS_BUILT_IN failed with the following output: Change Dir: /home/autobuild/autobuild/instance-1/output-1/build/libiio-0.24/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_f6659/fast && make[1]: Entering directory '/home/autobuild/autobuild/instance-1/output-1/build/libiio-0.24/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_f6659.dir/build.make CMakeFiles/cmTC_f6659.dir/build make[2]: Entering directory '/home/autobuild/autobuild/instance-1/output-1/build/libiio-0.24/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f6659.dir/src.c.o /home/autobuild/autobuild/instance-1/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc --sysroot=/home/autobuild/autobuild/instance-1/output-1/host/sparc-buildroot-linux-uclibc/sysroot -DIconv_IS_BUILT_IN -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wpedantic -Wshadow -DNDEBUG -o CMakeFiles/cmTC_f6659.dir/src.c.o -c /home/autobuild/autobuild/instance-1/output-1/build/libiio-0.24/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_f6659 /home/autobuild/autobuild/instance-1/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f6659.dir/link.txt --verbose=1 /home/autobuild/autobuild/instance-1/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc --sysroot=/home/autobuild/autobuild/instance-1/output-1/host/sparc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wpedantic -Wshadow -DNDEBUG CMakeFiles/cmTC_f6659.dir/src.c.o -o cmTC_f6659 /home/autobuild/autobuild/instance-1/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: CMakeFiles/cmTC_f6659.dir/src.c.o: in function `main': src.c:(.text+0x14): undefined reference to `libiconv_open' /home/autobuild/autobuild/instance-1/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: src.c:(.text+0x44): undefined reference to `libiconv' /home/autobuild/autobuild/instance-1/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: src.c:(.text+0x50): undefined reference to `libiconv_close' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_f6659.dir/build.make:99: cmTC_f6659] Error 1 make[2]: Leaving directory '/home/autobuild/autobuild/instance-1/output-1/build/libiio-0.24/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_f6659/fast] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-1/output-1/build/libiio-0.24/CMakeFiles/CMakeTmp' Source file was: #include #include int main() { char *a, *b; size_t i, j; iconv_t ic; ic = iconv_open("to", "from"); iconv(ic, &a, &i, &b, &j); iconv_close(ic); }