Re: linux-5.10.11 build failure

From: Bhaskar Chowdhury
Date: Thu Jan 28 2021 - 05:01:08 EST


On 10:34 Thu 28 Jan 2021, Greg Kroah-Hartman wrote:
On Thu, Jan 28, 2021 at 09:17:10AM +0000, Chris Clayton wrote:
Hi,

Building 5.10.11 fails on my (x86-64) laptop thusly:

..

AS arch/x86/entry/thunk_64.o
CC arch/x86/entry/vsyscall/vsyscall_64.o
AS arch/x86/realmode/rm/header.o
CC arch/x86/mm/pat/set_memory.o
CC arch/x86/events/amd/core.o
CC arch/x86/kernel/fpu/init.o
CC arch/x86/entry/vdso/vma.o
CC kernel/sched/core.o
arch/x86/entry/thunk_64.o: warning: objtool: missing symbol for insn at offset 0x3e

AS arch/x86/realmode/rm/trampoline_64.o
make[2]: *** [scripts/Makefile.build:360: arch/x86/entry/thunk_64.o] Error 255
make[2]: *** Deleting file 'arch/x86/entry/thunk_64.o'
make[2]: *** Waiting for unfinished jobs....

..

Compiler is latest snapshot of gcc-10.

Happy to test the fix but please cc me as I'm not subscribed

Can you do 'git bisect' to track down the offending commit?

And what exact gcc version are you using?

thanks,

greg k-h


Okay, as far as the kernel goes ...I have built the 5.10.11 kernel on 5
different distros (Gentoo, Slackware, Debian, Arch and Opensuse-Tumbleweed)
from yesterday ...simple compile with little option tweak ..nothing breaks.

Probably, good fortune of mine! :)

There is "Pathetically and awfully wrote" mundane bash script do the stuff for
me.

~Bhaskar

Attachment: signature.asc
Description: PGP signature