objtool segfault in 5.10 kernels with binutils-2.36.1

From: Ken Moffat
Date: Thu Feb 11 2021 - 12:53:31 EST


Hi,

in 5.10 kernels up to and including 5.10.15 when trying to build the
kernel for an x86_64 skylake using binutils-2.36.1, gcc-10.2 and
glibic-2.33 I get a segfault in objtool if the orc unwinder is
enabled.

This has already been fixed in 5.11 by ''objtool: Fix seg fault with
Clang non-section symbols'
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/?id=44f6a7c0755d8dd453c70557e11687bb080a6f21

So can this be added to 5.10 stable, please ?

Please CC me as I am no-longer subscribed.

ĸen