On Fri, Jun 26, 2020 at 9:12 PM stan <upaitag(a)zoho.com> wrote:
On Fri, 26 Jun 2020 13:36:26 -0500
Justin Forbes <jmforbes(a)linuxtx.org> wrote:
> I am not sure, I haven't tried building on f31, but it does build fine
> on f32. Given that the kernels gcc targets are much lower than what
> we are shipping anywhere in Fedora, I would not expect that to be the
> case, but it could be a bug.
Thanks, a bug after all this time, while possible, seems unlikely; I'll
just keep plugging away at it, trying with newer kernel packages, and
by changing the new configuration options in various patterns. Maybe
I'll do some diffs of the 5.7 and 5.8 files that are implicated to see
if anything has changed.
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 ;-)
Software Engineer, Platform Security - SELinux kernel
Red Hat, Inc.