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