Determining if files sys/types.h;errno.h;inttypes.h;limits.h;regex.h;signal.h;stdarg.h;stdint.h;stdlib.h;string.h;strings.h;sys/time.h;time.h;unistd.h;pthread.h;windows.h exist failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_7e32f/fast && gmake[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_7e32f.dir/build.make CMakeFiles/cmTC_7e32f.dir/build gmake[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_7e32f.dir/HAVE_WINDOWS_H.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-linux-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/arc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -static -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_7e32f.dir/HAVE_WINDOWS_H.c.o -c /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckIncludeFiles/HAVE_WINDOWS_H.c /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckIncludeFiles/HAVE_WINDOWS_H.c:17:10: fatal error: windows.h: No such file or directory 17 | #include | ^~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_7e32f.dir/build.make:78: CMakeFiles/cmTC_7e32f.dir/HAVE_WINDOWS_H.c.o] Error 1 gmake[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_7e32f/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if the function _getpid exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_c7c10/fast && gmake[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_c7c10.dir/build.make CMakeFiles/cmTC_c7c10.dir/build gmake[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c7c10.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-linux-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/arc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -static -DCHECK_FUNCTION_EXISTS=_getpid -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_c7c10.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-1/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_c7c10 /home/buildroot/autobuild/instance-1/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c7c10.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-linux-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/arc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -static -DCHECK_FUNCTION_EXISTS=_getpid -DNDEBUG -static CMakeFiles/cmTC_c7c10.dir/CheckFunctionExists.c.o -o cmTC_c7c10 /home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arc-snps-linux-uclibc/9.2.1/../../../../arc-snps-linux-uclibc/bin/ld: CMakeFiles/cmTC_c7c10.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text+0x1e): undefined reference to `_getpid' /home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arc-snps-linux-uclibc/9.2.1/../../../../arc-snps-linux-uclibc/bin/ld: CheckFunctionExists.c:(.text+0x1e): undefined reference to `_getpid' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_c7c10.dir/build.make:99: cmTC_c7c10] Error 1 gmake[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_c7c10/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Determining if the function _strdup exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_d9952/fast && gmake[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_d9952.dir/build.make CMakeFiles/cmTC_d9952.dir/build gmake[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d9952.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-linux-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/arc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -static -DCHECK_FUNCTION_EXISTS=_strdup -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_d9952.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-1/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_d9952 /home/buildroot/autobuild/instance-1/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d9952.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-linux-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/arc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -static -DCHECK_FUNCTION_EXISTS=_strdup -DNDEBUG -static CMakeFiles/cmTC_d9952.dir/CheckFunctionExists.c.o -o cmTC_d9952 /home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arc-snps-linux-uclibc/9.2.1/../../../../arc-snps-linux-uclibc/bin/ld: CMakeFiles/cmTC_d9952.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text+0x1e): undefined reference to `_strdup' /home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arc-snps-linux-uclibc/9.2.1/../../../../arc-snps-linux-uclibc/bin/ld: CheckFunctionExists.c:(.text+0x1e): undefined reference to `_strdup' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_d9952.dir/build.make:99: cmTC_d9952] Error 1 gmake[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_d9952/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test HAVE_STRUCT_ITIMERSPEC_IT_VALUE failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_b93ad/fast && gmake[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_b93ad.dir/build.make CMakeFiles/cmTC_b93ad.dir/build gmake[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b93ad.dir/src.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-linux-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/arc-buildroot-linux-uclibc/sysroot -DHAVE_STRUCT_ITIMERSPEC_IT_VALUE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -static -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_b93ad.dir/src.c.o -c /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp/src.c /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp/src.c: In function 'main': /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp/src.c:6:29: error: storage size of 'tmp' isn't known 6 | static struct itimerspec tmp; | ^~~ gmake[2]: *** [CMakeFiles/cmTC_b93ad.dir/build.make:78: CMakeFiles/cmTC_b93ad.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_b93ad/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Source file was: #include int main() { static struct itimerspec tmp; if (sizeof(tmp.it_value)) return 0; return 0; } Determining size of __int64 failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_0b8fd/fast && gmake[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_0b8fd.dir/build.make CMakeFiles/cmTC_0b8fd.dir/build gmake[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0b8fd.dir/__INT64.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-linux-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/arc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -static -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_0b8fd.dir/__INT64.c.o -c /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/__INT64.c /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/__INT64.c:27:22: error: '__int64' undeclared here (not in a function); did you mean '__int64_t'? 27 | #define SIZE (sizeof(__int64)) | ^~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/__INT64.c:29:12: note: in expansion of macro 'SIZE' 29 | ('0' + ((SIZE / 10000)%10)), | ^~~~ gmake[2]: *** [CMakeFiles/cmTC_0b8fd.dir/build.make:78: CMakeFiles/cmTC_0b8fd.dir/__INT64.c.o] Error 1 gmake[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_0b8fd/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/__INT64.c: #include #include #include #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(__int64)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of unsigned __int64 failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_ec108/fast && gmake[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_ec108.dir/build.make CMakeFiles/cmTC_ec108.dir/build gmake[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ec108.dir/UNSIGNED___INT64.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-linux-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/arc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -static -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_ec108.dir/UNSIGNED___INT64.c.o -c /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:27:31: error: expected ')' before '__int64' 27 | #define SIZE (sizeof(unsigned __int64)) | ~ ^~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:29:12: note: in expansion of macro 'SIZE' 29 | ('0' + ((SIZE / 10000)%10)), | ^~~~ /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:27:31: error: expected ')' before '__int64' 27 | #define SIZE (sizeof(unsigned __int64)) | ~ ^~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:30:12: note: in expansion of macro 'SIZE' 30 | ('0' + ((SIZE / 1000)%10)), | ^~~~ /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:27:31: error: expected ')' before '__int64' 27 | #define SIZE (sizeof(unsigned __int64)) | ~ ^~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:31:12: note: in expansion of macro 'SIZE' 31 | ('0' + ((SIZE / 100)%10)), | ^~~~ /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:27:31: error: expected ')' before '__int64' 27 | #define SIZE (sizeof(unsigned __int64)) | ~ ^~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:32:12: note: in expansion of macro 'SIZE' 32 | ('0' + ((SIZE / 10)%10)), | ^~~~ /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:27:31: error: expected ')' before '__int64' 27 | #define SIZE (sizeof(unsigned __int64)) | ~ ^~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:33:12: note: in expansion of macro 'SIZE' 33 | ('0' + (SIZE % 10)), | ^~~~ gmake[2]: *** [CMakeFiles/cmTC_ec108.dir/build.make:78: CMakeFiles/cmTC_ec108.dir/UNSIGNED___INT64.c.o] Error 1 gmake[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_ec108/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c: #include #include #include #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(unsigned __int64)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining if the function subunit_test_start exists in the subunit failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_5e074/fast && gmake[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_5e074.dir/build.make CMakeFiles/cmTC_5e074.dir/build gmake[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5e074.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-linux-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/arc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -static -DCHECK_FUNCTION_EXISTS=subunit_test_start -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_5e074.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-1/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_5e074 /home/buildroot/autobuild/instance-1/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5e074.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-1/output-1/host/bin/arc-linux-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/arc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -static -DCHECK_FUNCTION_EXISTS=subunit_test_start -DNDEBUG -static CMakeFiles/cmTC_5e074.dir/CheckFunctionExists.c.o -o cmTC_5e074 -lsubunit /home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arc-snps-linux-uclibc/9.2.1/../../../../arc-snps-linux-uclibc/bin/ld: cannot find -lsubunit collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_5e074.dir/build.make:99: cmTC_5e074] Error 1 gmake[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_5e074/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp'