[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+icZUU=BJKOfgCbt4bGhy-rG=Yahv1GkOqWLriaYptGqnHWzA@mail.gmail.com>
Date: Fri, 5 Feb 2021 22:42:36 +0100
From: Sedat Dilek <sedat.dilek@...il.com>
To: Nick Desaulniers <ndesaulniers@...gle.com>
Cc: Andrii Nakryiko <andriin@...com>, arnaldo.melo@...il.com,
berrange@...hat.com, bpf <bpf@...r.kernel.org>, cavok@...ian.org,
dwarves@...r.kernel.org, jengelh@...i.de,
Jiri Olsa <jolsa@...nel.org>,
LKML <linux-kernel@...r.kernel.org>,
Mark Wielaard <mjw@...hat.com>,
Ondrej Mosnacek <omosnace@...hat.com>, paul@...l-moore.com,
Tom Stellard <tstellar@...hat.com>, Yonghong Song <yhs@...com>,
zzam@...too.org
Subject: Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type
On Fri, Feb 5, 2021 at 10:40 PM Nick Desaulniers
<ndesaulniers@...gle.com> wrote:
>
> On Fri, Feb 5, 2021 at 1:17 PM Sedat Dilek <sedat.dilek@...il.com> wrote:
> >
> > On Fri, Feb 5, 2021 at 10:10 PM Nick Desaulniers
> > <ndesaulniers@...gle.com> wrote:
> > >
> > > > Hi,
> > > >
> > > > when building with pahole v1.20 and binutils v2.35.2 plus Clang
> > > > v12.0.0-rc1 and DWARF-v5 I see:
> > > > ...
> > > > + info BTF .btf.vmlinux.bin.o
> > > > + [ != silent_ ]
> > > > + printf %-7s %s\n BTF .btf.vmlinux.bin.o
> > > > BTF .btf.vmlinux.bin.o
> > > > + LLVM_OBJCOPY=/opt/binutils/bin/objcopy /opt/pahole/bin/pahole -J
> > > > .tmp_vmlinux.btf
> > > > [115] INT DW_ATE_unsigned_1 Error emitting BTF type
> > > > Encountered error while encoding BTF.
> > >
> > > Yes, I observe this error, too.
> > >
> > > https://gist.github.com/nickdesaulniers/ae8c9efbe4da69b1cf0dce138c1d2781
> > >
> > > via v9 of my DWARF v5 series, which should help make this easier to
> > > reproduce:
> > > https://lore.kernel.org/lkml/CA+icZUW3sg_PkbmKSFMs6EqwQV7=hvKuAgZSsbg=Qr6gTs7RbQ@mail.gmail.com/T/#m45ec7e6df4c4b5e9da034b95d7dfc8e2a0c81dac
> >
> > Thanks Nick for confirming the error.
> >
> > Ah, I see you passed:
> >
> > make LLVM=1 LLVM_IAS=1 ...
> >
> > Can you by chance try with KCFLAGS="-fbinutils-version=2.35"?
>
> $ PATH=/path/to/tot/pahole/build:$PATH make LLVM=1 LLVM_IAS=1 -j72
> KCFLAGS="-fbinutils-version=2.35"
> ...
> BTF .btf.vmlinux.bin.o
> [12919] INT DW_ATE_unsigned_1 Error emitting BTF type
> Encountered error while encoding BTF.
> ...
> LD vmlinux
> BTFIDS vmlinux
> FAILED: load BTF from vmlinux: Invalid argument
>
OK, thanks.
I stopped my build:
/usr/bin/perf_5.10 stat make V=1 -j4 LLVM=1 LLVM_IAS=1
PAHOLE=/opt/pahole/bin/pahole KCFLAGS=-fbinutils-version=2.3
5 LOCALVERSION=-13-amd64-clang12-llvm KBUILD_VERBOSE=1
KBUILD_BUILD_HOST=iniza KBUILD_BUILD_USER=sedat.dilek@...il.com
KBUILD_BUILD_TIMESTAMP=2021-02-05 bindeb-pkg KDE
B_PKGVERSION=5.11.0~rc6-13~bullseye+dileks1
Enjoy weekend.
- Sedat -
Powered by blists - more mailing lists