Performing C SOURCE FILE Test HAVE_THREAD_LOCAL failed with the following output: Change Dir: /home/autobuild/autobuild/instance-10/output-1/build/jpeg-turbo-2.1.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_51772/fast && make[1]: Entering directory '/home/autobuild/autobuild/instance-10/output-1/build/jpeg-turbo-2.1.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_51772.dir/build.make CMakeFiles/cmTC_51772.dir/build make[2]: Entering directory '/home/autobuild/autobuild/instance-10/output-1/build/jpeg-turbo-2.1.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_51772.dir/src.c.o /home/autobuild/autobuild/instance-10/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/autobuild/autobuild/instance-10/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -DHAVE_THREAD_LOCAL -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -fPIC -Wl,-elf2flt=-r -static -DNDEBUG -o CMakeFiles/cmTC_51772.dir/src.c.o -c /home/autobuild/autobuild/instance-10/output-1/build/jpeg-turbo-2.1.3/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_51772 /home/autobuild/autobuild/instance-10/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_51772.dir/link.txt --verbose=1 /home/autobuild/autobuild/instance-10/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --sysroot=/home/autobuild/autobuild/instance-10/output-1/host/riscv64-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -fPIC -Wl,-elf2flt=-r -static -DNDEBUG -Wl,-elf2flt=-r -static CMakeFiles/cmTC_51772.dir/src.c.o -o cmTC_51772 ERROR: reloc type R_RISCV_SET6 unsupported in this context ERROR: reloc type R_RISCV_SUB6 unsupported in this context/home/autobuild/autobuild/instance-10/output-1/host/riscv64-buildroot-linux-uclibc/bin/elf2flt: 2 bad relocs collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_51772.dir/build.make:99: cmTC_51772] Error 1 make[2]: Leaving directory '/home/autobuild/autobuild/instance-10/output-1/build/jpeg-turbo-2.1.3/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:127: cmTC_51772/fast] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-10/output-1/build/jpeg-turbo-2.1.3/CMakeFiles/CMakeTmp' Source file was: __thread int i; int main(void) { i = 0; return i; }