Quantcast
Channel: Active questions tagged linux-kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 12244

Unreachable Instruction while compiling kernel on Virtual Machine

$
0
0

I've been trying to compile, build and install the latest stable version of the Linux kernel, 5.7.7.I first downloaded and unzipped the tar. Next, I ran cp /boot/config-$(uname -r) .config, followed by make menuconfig
In the menuconfig menu, I figured since I was using a VBox VM, it might help to turn all VBOX configurations to Y. So, I did that, and I also turned LOCALVERSION_AUTO to Y as well (unrelated, but that was my only extra requirement).

However, after running make, I encounter something like this a few times, for different object files.

kernel/exit.o: warning: objtool: __x64_sys_exit_group()+0x18: unreachable instruction

I'm running the latest build of Ubuntu 20.04.

Could someone please tell me what's going wrong, and how I can fix this? Is this an issue exclusively found in Virtual Machines using VirtualBox only? Also, what extra issues could this possibly give rise to?


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>