[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6171bdc513e4e_663a7208a5@john-XPS-13-9370.notmuch>
Date: Thu, 21 Oct 2021 12:21:41 -0700
From: John Fastabend <john.fastabend@...il.com>
To: Pu Lehui <pulehui@...wei.com>, ast@...nel.org,
daniel@...earbox.net, andrii@...nel.org, kafai@...com,
songliubraving@...com, yhs@...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,
pulehui@...wei.com
Subject: RE: [PATCH bpf-next] samples: bpf: Suppress readelf stderr when
probing for BTF support
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>
> ---
Thanks.
Acked-by: John Fastabend <john.fastabend@...il.com>
Powered by blists - more mailing lists