BPF List
 help / color / mirror / Atom feed
From: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
To: bpf <bpf@vger.kernel.org>,
	Saket Kumar Bhaskar <skb99@linux.ibm.com>,
	Hari Bathini <hbathini@linux.ibm.com>,
	LKML <linux-kernel@vger.kernel.org>,
	Madhavan Srinivasan <maddy@linux.ibm.com>
Subject: [next-20251111]selftest/bpf fails to compile
Date: Thu, 13 Nov 2025 18:26:28 +0530	[thread overview]
Message-ID: <42b38c7b-78c7-4cbd-9082-3039a0d9afb7@linux.ibm.com> (raw)

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.



                 reply	other threads:[~2025-11-13 12:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42b38c7b-78c7-4cbd-9082-3039a0d9afb7@linux.ibm.com \
    --to=venkat88@linux.ibm.com \
    --cc=bpf@vger.kernel.org \
    --cc=hbathini@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maddy@linux.ibm.com \
    --cc=skb99@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox