[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e2aa81ef-2fd8-52c0-2b23-09addc3e4aa4@fb.com>
Date: Tue, 2 Nov 2021 19:30:40 -0700
From: Yonghong Song <yhs@...com>
To: Pu Lehui <pulehui@...wei.com>, <ast@...nel.org>,
<daniel@...earbox.net>, <andrii@...nel.org>, <kafai@...com>,
<songliubraving@...com>, <john.fastabend@...il.com>,
<kpsingh@...nel.org>, <nathan@...nel.org>,
<ndesaulniers@...gle.com>
CC: <netdev@...r.kernel.org>, <bpf@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <llvm@...ts.linux.dev>
Subject: Re: [PATCH bpf-next] samples: bpf: Suppress readelf stderr when
probing for BTF support
On 10/21/21 5:39 AM, Pu Lehui wrote:
> When compiling bpf samples, the following warning appears:
>
> readelf: Error: Missing knowledge of 32-bit reloc types used in DWARF
> sections of machine number 247
> readelf: Warning: unable to apply unsupported reloc type 10 to section
> .debug_info
> readelf: Warning: unable to apply unsupported reloc type 1 to section
> .debug_info
> readelf: Warning: unable to apply unsupported reloc type 10 to section
> .debug_info
>
> Same problem was mentioned in commit 2f0921262ba9 ("selftests/bpf:
> suppress readelf stderr when probing for BTF support"), let's use
> readelf that supports btf.
>
> Signed-off-by: Pu Lehui <pulehui@...wei.com>
Acked-by: Yonghong Song <yhs@...com>
Powered by blists - more mailing lists