On Fri, 26 Jun 2020 21:34:27 +0200 Ondrej Mosnacek <omosnace@xxxxxxxxxx> wrote: > Apparently you are not the only one hitting this problem: > https://lore.kernel.org/lkml/20200609202134.GA1105@sol.localdomain/ > 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 ;-) And like others in the above thread, when I turn off CONFIG_GCC_PLUGIN_RANDSTRUCT, compilation succeeds. _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx