Re: [tip: objtool/urgent] objtool: Fix seg fault with Clang non-section symbols

From: Steven Rostedt
Date: Sat Feb 13 2021 - 09:16:33 EST


On Sat, 13 Feb 2021 15:09:02 +0100
Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:

> Thanks for the patch, but no, still fails with:
>
> Cannot find symbol for section 8: .text.unlikely.
> kernel/kexec_file.o: failed
> make[1]: *** [scripts/Makefile.build:277: kernel/kexec_file.o] Error 1
> make[1]: *** Deleting file 'kernel/kexec_file.o'

It was just a guess.

I guess I'll need to find some time next week to set up a VM with
binutils 2.36 (I just checked, and all my development machines have
2.35). Then I'll be able to try and debug it.

-- Steve