Re: vmlinux.o: warning: objtool: do_machine_check()+0x5fa: call to memset() leaves .noinstr.text section

From: Borislav Petkov
Date: Wed Jan 19 2022 - 16:16:32 EST


On Wed, Jan 19, 2022 at 12:37:14PM -0800, Jakub Kicinski wrote:
> gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-3)

I have

$ gcc-8 --version
gcc-8 (SUSE Linux) 8.2.1 20180831 [gcc-8-branch revision 264010]

but I can't trigger anything with it either.

So I had a report about a randconfig from the 0day robot guys which
doesn't look like allmodconfig but which triggered some of the issues
you're seeing and I have fixes for that one which we wanna queue after
-rc1.

You could try them to see if they fix your warnings too. First take the
2 here:

https://lore.kernel.org/r/20220113155357.4706-1-bp@xxxxxxxxx

and then this one ontop:

https://lore.kernel.org/r/YeWsopFagTZ4W8WA@xxxxxxx

Thx.

--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH, GF: Ivo Totev, HRB 36809, AG Nürnberg