Closed issue by tw4452852 on void-packages repository https://github.com/void-linux/void-packages/issues/26671 Description: ### System * xuname: Void 5.8.18_1 x86_64 GenuineIntel notuptodate rF * package: igt-gpu-tools-1.25_2 ### Expected behavior intel_reg_checker works w/o segment fault ### Actual behavior intel_reg_checker segment fault with kernel msg: ``` [339369.109908] intel_reg_check[29631]: segfault at 1d3f6 ip 000000000001d3f6 sp 00007ffe69bfbcb8 error 14 in intel_reg_checker[55d66cf5c000+1000] [339369.109920] Code: Unable to access opcode bytes at RIP 0x1d3cc. ``` I did some initial debugging, it seems there's something wrong with F16C cpu feature, here's call stack: ``` Program terminated with signal SIGSEGV, Segmentation fault. #0 0x000000000001d3f6 in ?? () (gdb) bt #0 0x000000000001d3f6 in ?? () #1 0x00007f0d0af06539 in resolve_half_to_float () at ../lib/igt_halffloat.c:210 #2 0x00007f0d0af8b25a in elf_machine_rela (skip_ifunc=, reloc_addr_arg=0x7f0d0af73550 , version=, sym=, reloc=0x7f0d0aef0a80, map=0x7f0d0af78000) at ../sysdeps/x86_64/dl-machine.h:330 #3 elf_dynamic_do_Rela (skip_ifunc=, lazy=, nrelative=, relsize=, reladdr=, map=0x7f0d0af78000) at do-rel.h:137 #4 _dl_relocate_object (l=l@entry=0x7f0d0af78000, scope=, reloc_mode=, consider_profiling=, consider_profiling@entry=0) at dl-reloc.c:254 #5 0x00007f0d0af82d4a in dl_main (phdr=, phnum=, user_entry=, auxv=) at rtld.c:2257 #6 0x00007f0d0af975af in _dl_sysdep_start (start_argptr=start_argptr@entry=0x7ffe1eb01d80, dl_main=dl_main@entry=0x7f0d0af813a0 ) at ../elf/dl-sysdep.c:253 #7 0x00007f0d0af80f36 in _dl_start_final (arg=0x7ffe1eb01d80) at rtld.c:447 #8 _dl_start (arg=0x7ffe1eb01d80) at rtld.c:537 #9 0x00007f0d0af80098 in _start () from /lib/ld-linux-x86-64.so.2 #10 0x0000000000000001 in ?? () #11 0x00007ffe1eb02684 in ?? () #12 0x0000000000000000 in ?? () ``` ### Steps to reproduce the behavior Just type `intel_reg_checker` in shell.