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; 2+ messages 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] 2+ messages in thread

* [tamird:b4/bpf-ringbuf-callback 10/11] ringbuf.c:412:9: error: ISO C90 forbids mixed declarations and code
@ 2026-06-14 18:56 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-06-14 18:56 UTC (permalink / raw)
  To: Tamir Duberstein; +Cc: oe-kbuild-all

tree:   https://github.com/tamird/linux b4/bpf-ringbuf-callback
head:   60bd75d7c79a01786dd5da0b5264a58fc5a3c3be
commit: 669fde8241bd5bb91c22df6640b243ca1da272b9 [10/11] libbpf: ringbuf: Add a caller-owned iterator
config: arm-randconfig-004 (https://download.01.org/0day-ci/archive/20260615/202606150201.QBTLSmit-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260615/202606150201.QBTLSmit-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/oe-kbuild-all/202606150201.QBTLSmit-lkp@intel.com/

All errors (new ones prefixed by >>):

   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[6]: *** [tools/build/Makefile.build:95: tools/bpf/resolve_btfids/libbpf/staticobjs/ringbuf.o] Error 1 shuffle=1351407704
   make[6]: Target '__build' not remade because of errors.
   make[5]: *** [Makefile:152: tools/bpf/resolve_btfids/libbpf/staticobjs/libbpf-in.o] Error 2 shuffle=1351407704
   make[5]: Target 'tools/bpf/resolve_btfids/libbpf/libbpf.a' not remade because of errors.
   make[4]: *** [Makefile:62: tools/bpf/resolve_btfids//libbpf/libbpf.a] Error 2 shuffle=1351407704
   make[4]: Target 'all' not remade because of errors.
   make[3]: *** [Makefile:77: bpf/resolve_btfids] Error 2 shuffle=1351407704
   make[2]: *** [Makefile:1557: tools/bpf/resolve_btfids] Error 2 shuffle=1351407704
   make[2]: Target 'prepare' not remade because of errors.
   make[1]: *** [Makefile:248: __sub-make] Error 2 shuffle=1351407704
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:248: __sub-make] Error 2 shuffle=1351407704
   make: Target 'prepare' not remade because of errors.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-14 18:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-14 18:56 [tamird:b4/bpf-ringbuf-callback 10/11] ringbuf.c:412:9: error: ISO C90 forbids mixed declarations and code kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2026-06-14  1:49 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.