Determining if the include file dlfcn.h exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_efa07/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_efa07.dir/build.make CMakeFiles/cmTC_efa07.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_efa07.dir/CheckIncludeFile.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fPIC -Wl,-elf2flt=-r -static -DNDEBUG -fPIE -o CMakeFiles/cmTC_efa07.dir/CheckIncludeFile.c.o -c /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: dlfcn.h: No such file or directory 1 | #include | ^~~~~~~~~ compilation terminated. CMakeFiles/cmTC_efa07.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_efa07.dir/CheckIncludeFile.c.o' failed make[2]: *** [CMakeFiles/cmTC_efa07.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_efa07/fast' failed make[1]: *** [cmTC_efa07/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' Determining if the include file xlocale.h exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_59392/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_59392.dir/build.make CMakeFiles/cmTC_59392.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_59392.dir/CheckIncludeFile.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fPIC -Wl,-elf2flt=-r -static -DNDEBUG -fPIE -o CMakeFiles/cmTC_59392.dir/CheckIncludeFile.c.o -c /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: xlocale.h: No such file or directory 1 | #include | ^~~~~~~~~~~ compilation terminated. CMakeFiles/cmTC_59392.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_59392.dir/CheckIncludeFile.c.o' failed make[2]: *** [CMakeFiles/cmTC_59392.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_59392/fast' failed make[1]: *** [cmTC_59392/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' Determining if the _isnan exist failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_b56c3/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_b56c3.dir/build.make CMakeFiles/cmTC_b56c3.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b56c3.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fPIC -Wl,-elf2flt=-r -static -DNDEBUG -fPIE -o CMakeFiles/cmTC_b56c3.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: '_isnan' undeclared (first use in this function) 8 | return ((int*)(&_isnan))[argc]; | ^~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_b56c3.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_b56c3.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_b56c3.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_b56c3/fast' failed make[1]: *** [cmTC_b56c3/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef _isnan return ((int*)(&_isnan))[argc]; #else (void)argc; return 0; #endif } Determining if the _finite exist failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_5dd84/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_5dd84.dir/build.make CMakeFiles/cmTC_5dd84.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5dd84.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fPIC -Wl,-elf2flt=-r -static -DNDEBUG -fPIE -o CMakeFiles/cmTC_5dd84.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: '_finite' undeclared (first use in this function) 8 | return ((int*)(&_finite))[argc]; | ^~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_5dd84.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_5dd84.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_5dd84.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_5dd84/fast' failed make[1]: *** [cmTC_5dd84/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef _finite return ((int*)(&_finite))[argc]; #else (void)argc; return 0; #endif } Determining if the _doprnt exist failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_8ae09/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_8ae09.dir/build.make CMakeFiles/cmTC_8ae09.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8ae09.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fPIC -Wl,-elf2flt=-r -static -DNDEBUG -fPIE -o CMakeFiles/cmTC_8ae09.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: '_doprnt' undeclared (first use in this function) 8 | return ((int*)(&_doprnt))[argc]; | ^~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_8ae09.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_8ae09.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_8ae09.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_8ae09/fast' failed make[1]: *** [cmTC_8ae09/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef _doprnt return ((int*)(&_doprnt))[argc]; #else (void)argc; return 0; #endif } Determining if the arc4random exist failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_51c0e/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_51c0e.dir/build.make CMakeFiles/cmTC_51c0e.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_51c0e.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fPIC -Wl,-elf2flt=-r -static -DNDEBUG -fPIE -o CMakeFiles/cmTC_51c0e.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'arc4random' undeclared (first use in this function); did you mean 'srandom'? 8 | return ((int*)(&arc4random))[argc]; | ^~~~~~~~~~ | srandom /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_51c0e.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_51c0e.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_51c0e.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_51c0e/fast' failed make[1]: *** [cmTC_51c0e/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef arc4random return ((int*)(&arc4random))[argc]; #else (void)argc; return 0; #endif } Determining if the uselocale exist failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_e09ec/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_e09ec.dir/build.make CMakeFiles/cmTC_e09ec.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e09ec.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fPIC -Wl,-elf2flt=-r -static -DNDEBUG -fPIE -o CMakeFiles/cmTC_e09ec.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'uselocale' undeclared (first use in this function); did you mean 'setlocale'? 8 | return ((int*)(&uselocale))[argc]; | ^~~~~~~~~ | setlocale /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_e09ec.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_e09ec.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_e09ec.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_e09ec/fast' failed make[1]: *** [cmTC_e09ec/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef uselocale return ((int*)(&uselocale))[argc]; #else (void)argc; return 0; #endif } Performing C SOURCE FILE Test HAS_GNU_WARNING_LONG failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_e9728/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_e9728.dir/build.make CMakeFiles/cmTC_e9728.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e9728.dir/src.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -DHAS_GNU_WARNING_LONG -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fPIC -Wl,-elf2flt=-r -static -DNDEBUG -fPIE -o CMakeFiles/cmTC_e9728.dir/src.c.o -c /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/src.c /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/src.c:3:9: warning: missing terminating " character 3 | __asm__(".section .gnu.json_object_get | ^ /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/src.c:3:9: error: missing terminating " character 3 | __asm__(".section .gnu.json_object_get | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/src.c:4:9: error: expected string literal before '.' token 4 | .ascii "Please link against libjson-c instead of libjson" | ^ /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/src.c:5:14: warning: missing terminating " character 5 | .text"); | ^ /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/src.c:5:14: error: missing terminating " character 5 | .text"); | ^~~ CMakeFiles/cmTC_e9728.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_e9728.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_e9728.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_e9728/fast' failed make[1]: *** [cmTC_e9728/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' Source file was: extern void json_object_get(); __asm__(".section .gnu.json_object_get .ascii "Please link against libjson-c instead of libjson" .text"); int main(int c, char *v) { return 0;} Performing C SOURCE FILE Test REENTRANT_WORKS failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_a0825/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a0825.dir/build.make CMakeFiles/cmTC_a0825.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a0825.dir/src.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -DREENTRANT_WORKS -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fPIC -Wl,-elf2flt=-r -static -ffunction-sections -fdata-sections -Werror -Wall -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wwrite-strings -Wno-unused-parameter -Wstrict-prototypes -DNDEBUG -fPIE -o CMakeFiles/cmTC_a0825.dir/src.c.o -c /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/src.c In file included from /home/buildroot/autobuild/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/sys/types.h:26, from /home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp/src.c:4: /home/buildroot/autobuild/instance-1/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/features.h:218:5: error: #warning requested reentrant code, but thread support was disabled [-Werror=cpp] 218 | # warning requested reentrant code, but thread support was disabled | ^~~~~~~ cc1: all warnings being treated as errors CMakeFiles/cmTC_a0825.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_a0825.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_a0825.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_a0825/fast' failed make[1]: *** [cmTC_a0825/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/json-c-0.16/CMakeFiles/CMakeTmp' Source file was: /* uClibc toolchains without threading barf when _REENTRANT is defined */ #define _REENTRANT 1 #include int main (void) { return 0; }