All of lore.kernel.org
 help / color / mirror / Atom feed
* [tamird:b4/bpf-ringbuf-callback 10/11] ringbuf.c:412:9: error: ISO C90 forbids mixed declarations and code
@ 2026-06-14  1:49 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-14  1:49 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "low confidence bisect report"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Tamir Duberstein <tamird@kernel.org>

tree:   https://github.com/tamird/linux b4/bpf-ringbuf-callback
head:   86c71f6b231e0611740aaab0d264f38d3713ccd8
commit: beab874d3a3d58feda17e6857e4c8cc2a8dd46d1 [10/11] libbpf: ringbuf: Add a caller-owned iterator
:::::: branch date: 2 hours ago
:::::: commit date: 2 hours ago
config: arm64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260614/202606140325.IV2DvOpj-lkp@intel.com/config)
compiler: aarch64-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260614/202606140325.IV2DvOpj-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202606140325.IV2DvOpj-lkp@intel.com/

All errors (new ones prefixed by >>):

   Makefile.config:577: No elfutils/debuginfod.h found, no debuginfo server support, please install libdebuginfod-dev/elfutils-debuginfod-client-devel or equivalent
   Makefile.config:964: No libllvm 13+ found, slower source file resolution, please install llvm-devel/llvm-dev
   Makefile.config:1160: Rust is not found. Test workloads with rust are disabled.
     PERF_VERSION = 7.1.rc5.gbeab874d3a3d
   ringbuf.c: In function 'ringbuf_process_ring':
>> ringbuf.c:412:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
     412 |         struct ring_buffer_iter it
         |         ^~~~~~
   cc1: all warnings being treated as errors
   make[4]: *** [tools/build/Makefile.build:95: tools/perf/libbpf/staticobjs/ringbuf.o] Error 1
   make[4]: *** Waiting for unfinished jobs....
   ringbuf.c: In function 'ringbuf_process_ring':
>> ringbuf.c:412:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
     412 |         struct ring_buffer_iter it
         |         ^~~~~~
   cc1: all warnings being treated as errors
   make[5]: *** [tools/build/Makefile.build:95: tools/perf/util/bpf_skel/.tmp/bootstrap/libbpf/staticobjs/ringbuf.o] Error 1
   make[5]: *** Waiting for unfinished jobs....
   make[3]: *** [Makefile:152: tools/perf/libbpf/staticobjs/libbpf-in.o] Error 2
   make[2]: *** [Makefile.perf:964: tools/perf/libbpf/libbpf.a] Error 2
   make[2]: *** Waiting for unfinished jobs....
   make[4]: *** [Makefile:152: tools/perf/util/bpf_skel/.tmp/bootstrap/libbpf/staticobjs/libbpf-in.o] Error 2
   make[3]: *** [Makefile:48: tools/perf/util/bpf_skel/.tmp/bootstrap/libbpf/libbpf.a] Error 2
   make[2]: *** [Makefile.perf:1214: tools/perf/util/bpf_skel/.tmp/bootstrap/bpftool] Error 2
   make[1]: *** [Makefile.perf:288: sub-make] Error 2

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

only message in thread, other threads:[~2026-06-14  1:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-14  1:49 [tamird:b4/bpf-ringbuf-callback 10/11] ringbuf.c:412:9: error: ISO C90 forbids mixed declarations and code kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.