DoomLinux icon indicating copy to clipboard operation
DoomLinux copied to clipboard

Builds fails with "arch/x86/entry/thunk_64.o: warning: objtool: missing symbol table"

Open TheFakeMontyOnTheRun opened this issue 2 years ago • 0 comments

Hello! First of all, thanks for creating this; it's the perfect bite-sized way to learn more about building Linux from source! Now, I must relay my experience and how to mitigate the issue I found:

Trying to build the repo on a fresh clone yields a non-descriptive error, after some warnings, such as arch/x86/entry/thunk_64.o: warning: objtool: missing symbol table.

My environment: uname -a -r: Linux monty-OptiPlex-760 5.15.0-76-generic #83-Ubuntu SMP Thu Jun 15 19:16:32 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux.

gcc --version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0.

Following a hint from this, I decided to try bumping the kernel version to 5.10.74. The result? Shortly after, I was Knee deep in the dead.

Oddly enough, I did try newer kernels (starting with the current stable) and while it would build, booting would hang (I need to look into this more closely. I didn't have the time to really understand it).

Do you want me to open a PR?

TheFakeMontyOnTheRun avatar Jul 19 '23 21:07 TheFakeMontyOnTheRun