We likely need this commit to fix this build issue, but it's not trivial
to backport it, we are going to hint the test for now:

commit 4d1b62986125b6de596c98310543652a7892e097
Author: Alexei Starovoitov <[email protected]>
Date:   Thu May 13 17:36:20 2021 -0700

    selftests/bpf: Convert few tests to light skeleton.
    
    Convert few tests that don't use CO-RE to light skeleton.
    
    Signed-off-by: Alexei Starovoitov <[email protected]>
    Signed-off-by: Daniel Borkmann <[email protected]>
    Acked-by: Andrii Nakryiko <[email protected]>
    Link: 
https://lore.kernel.org/bpf/[email protected]


** Description changed:

-             12886               Warning: Kernel ABI header at 
'tools/include/uapi/linux/if_link.h' differs from latest version at 
'include/uapi/linux/if_link.h'
-               12887             libbpf: elf: skipping unrecognized data 
section(5) .rodata.str1.1
-               12888             libbpf: elf: skipping unrecognized data 
section(5) .rodata.str1.1
-               12889             libbpf: elf: skipping unrecognized data 
section(6) .rodata.str1.1
-               12890             libbpf: elf: skipping unrecognized data 
section(7) .rodata.str1.1
-               12891             libbpf: elf: skipping unrecognized data 
section(8) .rodata.cst16
-               12892             libbpf: elf: skipping unrecognized data 
section(8) .rodata.str1.1
-               12893             libbpf: elf: skipping unrecognized data 
section(7) .rodata.str1.1
-               12894             libbpf: elf: skipping unrecognized data 
section(8) .rodata.str1.1
-               12895             libbpf: elf: skipping unrecognized data 
section(7) .maps.btf_map
-               12896             libbpf: elf: skipping unrecognized data 
section(7) .maps.btf_map_legacy
-               12897             libbpf: elf: skipping unrecognized data 
section(8) .rodata.str1.1
-               12898             libbpf: elf: skipping unrecognized data 
section(27) .rodata.str1.1
-               12899             libbpf: elf: skipping unrecognized data 
section(15) .rodata.str1.1
-               12900             libbpf: elf: skipping unrecognized data 
section(5) .rodata.cst16
-               12901             libbpf: elf: skipping unrecognized data 
section(27) .rodata.str1.1
-               12902             libbpf: elf: skipping unrecognized data 
section(4) .rodata.str1.1
-               12903             libbpf: elf: skipping unrecognized data 
section(7) .rodata.str1.1
-               12904             
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/prog_tests/ringbuf.c:
 In function ‘test_ringbuf’:
-               12905             
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/prog_tests/ringbuf.c:105:35:
 error: ‘skel->maps.ringbuf’ is a pointer; did you mean to use ‘->’?
-               12906               105 |         rb_fd = 
skel->maps.ringbuf.map_fd;
-               12907                   |                                   ^
-               12908                   |                                   ->
-               12909             make[1]: *** [Makefile:456: 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/ringbuf.test.o]
 Error 1
-               12910             make: *** [Makefile:159: all] Error 2
-               12911           21:28:05 INFO |     END ERROR    
ubuntu_bpf.setup
+ We get this failure with the ubuntu_bpf
+ 
+ 12test886               Warning: Kernel ABI header at 
'tools/include/uapi/linux/if_link.h' differs from latest version at 
'include/uapi/linux/if_link.h'
+       12887             libbpf: elf: skipping unrecognized data section(5) 
.rodata.str1.1
+       12888             libbpf: elf: skipping unrecognized data section(5) 
.rodata.str1.1
+       12889             libbpf: elf: skipping unrecognized data section(6) 
.rodata.str1.1
+       12890             libbpf: elf: skipping unrecognized data section(7) 
.rodata.str1.1
+       12891             libbpf: elf: skipping unrecognized data section(8) 
.rodata.cst16
+       12892             libbpf: elf: skipping unrecognized data section(8) 
.rodata.str1.1
+       12893             libbpf: elf: skipping unrecognized data section(7) 
.rodata.str1.1
+       12894             libbpf: elf: skipping unrecognized data section(8) 
.rodata.str1.1
+       12895             libbpf: elf: skipping unrecognized data section(7) 
.maps.btf_map
+       12896             libbpf: elf: skipping unrecognized data section(7) 
.maps.btf_map_legacy
+       12897             libbpf: elf: skipping unrecognized data section(8) 
.rodata.str1.1
+       12898             libbpf: elf: skipping unrecognized data section(27) 
.rodata.str1.1
+       12899             libbpf: elf: skipping unrecognized data section(15) 
.rodata.str1.1
+       12900             libbpf: elf: skipping unrecognized data section(5) 
.rodata.cst16
+       12901             libbpf: elf: skipping unrecognized data section(27) 
.rodata.str1.1
+       12902             libbpf: elf: skipping unrecognized data section(4) 
.rodata.str1.1
+       12903             libbpf: elf: skipping unrecognized data section(7) 
.rodata.str1.1
+       12904             
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/prog_tests/ringbuf.c:
 In function ‘test_ringbuf’:
+       12905             
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/prog_tests/ringbuf.c:105:35:
 error: ‘skel->maps.ringbuf’ is a pointer; did you mean to use ‘->’?
+       12906               105 |         rb_fd = skel->maps.ringbuf.map_fd;
+       12907                   |                                   ^
+       12908                   |                                   ->
+       12909             make[1]: *** [Makefile:456: 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/ringbuf.test.o]
 Error 1
+       12910             make: *** [Makefile:159: all] Error 2
+       12911           21:28:05 INFO |     END ERROR    ubuntu_bpf.setup

** Also affects: linux (Ubuntu Impish)
   Importance: Undecided
       Status: Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1944411

Title:
  ubuntu_bpf: build failure with kernel 5.13

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1944411/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to