[<prev] [next>] [day] [month] [year] [list]
Message-ID: <42b38c7b-78c7-4cbd-9082-3039a0d9afb7@linux.ibm.com>
Date: Thu, 13 Nov 2025 18:26:28 +0530
From: Venkat Rao Bagalkote <venkat88@...ux.ibm.com>
To: bpf <bpf@...r.kernel.org>, Saket Kumar Bhaskar <skb99@...ux.ibm.com>,
Hari Bathini <hbathini@...ux.ibm.com>,
LKML <linux-kernel@...r.kernel.org>,
Madhavan Srinivasan <maddy@...ux.ibm.com>
Subject: [next-20251111]selftest/bpf fails to compile
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@...ux.ibm.com>
Regards,
Venkat.
Powered by blists - more mailing lists