On Fri, 26 Jun 2020 21:34:27 +0200
Ondrej Mosnacek <omosnace(a)redhat.com> wrote:
Apparently you are not the only one hitting this problem:
Seems you need to turn off CONFIG_GCC_PLUGIN_RANDSTRUCT to work around
it (but hopefully the guys will fix it in a better way eventually).
It wasn't really hard to find the thread:
1. `git blame kernel/smp.c` to find which commit introduced the lines
that throw the error.
2. The commit message has a helpful link to the original patch
submission in the LKML archives.
3. Clicked the third reply (longest subthread) to the patch itself and
read the rest of the replies in the thread.
4. Bingo ;-)
Thank you! I never even thought to do a search. I just presumed it
was something I had done, especially since the rawhide builds were
succeeding (which in fact I had, just a long time ago). They must have
that CONFIG_GCC_PLUGIN_RANDSTRUCT turned off.