On Thu, Oct 22, 2020 at 10:36:01AM -0500, Justin Forbes wrote:
> On Thu, Oct 22, 2020 at 4:39 AM Bastien Nocera <bnocera(a)redhat.com> wrote:
> >
> >
> >
> > ----- Original Message -----
> > > 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
> >
> > That was the one, thanks!
>
> Interestingly, this seems to be due to a bug introduced in the
> upstream kernel sometime late last week. We had a successful build on
> the 14th with CONFIG_DEBUG_INFO_BTF on, by Monday, this was failing.
for me it was introduced with recent gcc update to:
$ gcc --version
gcc (GCC) 10.2.1 20201005 (Red Hat 10.2.1-5)
I thought that was the case, so I tried building an older kernel on
the newer gcc update and it worked.
Justin