Re: [PATCH bpf-next] selftest/bpf: fix btf_dump test under new clang

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

 



On Fri, Oct 8, 2021 at 10:31 AM Yucong Sun <fallentree@xxxxxx> wrote:
>
> From: Yucong Sun <sunyucong@xxxxxxxxx>
>
> New clang version changed type name in dwarf from "long int" to "long",
> this is causing btf_dump tests to fail.
>
> Signed-off-by: Yucong Sun <sunyucong@xxxxxxxxx>
> ---

Fixed the prefix to "selftests/bpf: ", applied to bpf-next. Thanks for
a quick fix!

Also added the reference to the "offending" LLVM change you've sent me offline:

https://github.com/llvm/llvm-project/commit/f6a561c4d6754b13165a49990e8365d819f64c86

>  .../selftests/bpf/progs/btf_dump_test_case_bitfields.c | 10 +++++-----
>  .../selftests/bpf/progs/btf_dump_test_case_packing.c   |  4 ++--
>  .../selftests/bpf/progs/btf_dump_test_case_padding.c   |  2 +-
>  .../selftests/bpf/progs/btf_dump_test_case_syntax.c    |  2 +-
>  4 files changed, 9 insertions(+), 9 deletions(-)
>

[...]



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux