Re: Work-around for gcc compilation bugs?

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

 



On Wed, 2020-10-21 at 20:24 +0200, Jiri Olsa wrote:
> On Wed, Oct 21, 2020 at 12:27:20PM -0400, Bastien Nocera wrote:
> > Hey,
> > 
> > I'm trying to build test kernels on my Fedora 33 machine
> > and ran into:
> > https://bugzilla.redhat.com/show_bug.cgi?id=1890107
> > 
> > Does anyone know a work-around for this? I tried a "dnf downgrade",
> > to no avail.
> 
> if your problem is broken dwarf info then I don't have any
> workaround, if you can't build kernel because of that, try
> to disable CONFIG_DEBUG_INFO_BTF

Yes, that is currently the only option. We might be able to fix pahole
to work around some missing DWARF information, but it would be good to
get to the bottom of the gcc bugs first (I do think pahole relies too
much on the DWARF information being perfect, it wouldn't hurt if pahole
would have some extra sanity checks to not produce duplicate types
itself).

Best would be to get more small reproducers for the gcc bugs. Currently
the gcc team will have to try building their own kernel. It would be
good to have the preprocessed sources attached to the bugs to give them
a self-contained reproducer.

Cheers,

Mark
_______________________________________________
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