I’m using OpenMandriva Lx 4.1 and I’ve tried to build both the latest stable kernel (kernel 5.9.14), and the “mainline” 5.10-rc7 kernel downloaded from the Linux kernel site, and keep getting the following error when trying to compile both;
inconsistent ORC unwind table entries in file: vmlinux Failed to sort kernel tables make: *** [Makefile:1162: vmlinux] Error 1
I’ve tried to change the kernel config option CONFIG_UNWINDER_ORC kernel option to CONFIG_UNWINDER_ORC=n in the .config file, but it kept getting changed back to CONFIG_UNWINDER_ORC=y every time I ran the make command to build the kernel. I’ve also tried to build the kernel both as root as well as a normal unprivileged user, but get the exactly the same error every time.
I need to build the latest kernel myself as it’s the only way to fix problems I’m having with my video card, as I need a better version of the amdgpu module.
It must be possible to build the kernel yourself for OpenMandriva, but I don’t know what else to try at this point. I could not find anything through searches I’ve done that explains what the problem I’m having is, nor how to fix it.
How do OpenMandriva dev’s do it?
Thanks for any help.