Re: Building a custom kernel with 5.8 rc2 fails with error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi stan,

On Fri, Jun 26, 2020 at 9:12 PM stan <upaitag@xxxxxxxx> wrote:
> On Fri, 26 Jun 2020 13:36:26 -0500
> Justin Forbes <jmforbes@xxxxxxxxxxx> 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:
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 ;-)

-- 
Ondrej Mosnacek
Software Engineer, Platform Security - SELinux kernel
Red Hat, Inc.
_______________________________________________
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




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux