Skip to content

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

@TheFakeMontyOnTheRun

Description

@TheFakeMontyOnTheRun

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions