BPF List
 help / color / mirror / Atom feed
* [next-20251111]selftest/bpf fails to compile
@ 2025-11-13 12:56 Venkat Rao Bagalkote
  0 siblings, 0 replies; only message in thread
From: Venkat Rao Bagalkote @ 2025-11-13 12:56 UTC (permalink / raw)
  To: bpf, Saket Kumar Bhaskar, Hari Bathini, LKML, Madhavan Srinivasan

Greetings!!!


IBM CI has reported sefltests/bpf fails to compile with below error.


Error:

/home/upstreamci/linux/tools/testing/selftests/bpf/tools/build/runqslower/vmlinux.h:64131:3: 
warning: declaration does not declare anything [-Wmissing-declarations]
  64131 |                 struct ns_tree;
        |                 ^~~~~~~~~~~~~~
   CLNG-BPF [test_progs] bpf_iter_sockmap.bpf.o
   CLNG-BPF [test_progs] bpf_iter_netlink.bpf.o
   CLNG-BPF [test_progs] bpf_iter_setsockopt_unix.bpf.o
In file included from progs/arena_list.c:4:
/home/upstreamci/linux/tools/testing/selftests/bpf/tools/include/vmlinux.h:64131:3: 
error: declaration does not declare anything 
[-Werror,-Wmissing-declarations]
  64131 |                 struct ns_tree;
        |                 ^~~~~~~~~~~~~~
In file included from progs/async_stack_depth.c:2:
/home/upstreamci/linux/tools/testing/selftests/bpf/tools/include/vmlinux.h:64131:3: 
error: declaration does not declare anything 
[-Werror,-Wmissing-declarations]
  64131 |                 struct ns_tree;
        |                 ^~~~~~~~~~~~~~
In file included from   CLNG-BPF [test_progs] bpf_iter_task_btf.bpf.o
   CLNG-BPF [test_progs] bpf_iter_task_file.bpf.o
progs/arena_htab.c:4:


clang -v
clang version 20.1.8 (Fedora 20.1.8-4.fc42)
Target: ppc64le-redhat-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Configuration file: /etc/clang/ppc64le-redhat-linux-gnu-clang.cfg
System configuration file directory: /etc/clang/
Found candidate GCC installation: 
/usr/bin/../lib/gcc/ppc64le-redhat-linux/15
Selected GCC installation: /usr/bin/../lib/gcc/ppc64le-redhat-linux/15
Candidate multilib: .;@m64
Selected multilib: .;@m64



If you happen to fix this, please add below tag.


Reported-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>



Regards,

Venkat.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-11-13 12:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-13 12:56 [next-20251111]selftest/bpf fails to compile Venkat Rao Bagalkote

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox