[REGRESSION] mainline/master: (build) /tmp/kci/linux/include/linux/signal.h:160:1: error: array index 2 ...

KernelCI bot <[email protected]>
Newsgroups dev.linux.lists.regressions
Message-ID <178068954331.10756.11128222654546054863@330cfa3079ca>



Hello,

New build issue found on mainline/master:

---
 /tmp/kci/linux/include/linux/signal.h:160:1: error: array index 2 is past the end of the array (that has type 'unsigned long[2]') [-Werror,-Warray-bounds] in arch/arm/mach-omap2/powerdomain.o (arch/arm/mach-omap2/powerdomain.c) [logspec:kbuild,kbuild.compiler.error]
---

- dashboard: https://d.kernelci.org/i/maestro:cf5bfe3915050650650fc6d8d002384f83a324d0
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
- commit HEAD:  a8dc5f60d127f1d147a8e778563fcef7715d1316


Please include the KernelCI tag when submitting a fix:

Reported-by: kernelci.org bot <[email protected]>


Log excerpt:
=====================================================
In file included from /tmp/kci/linux/arch/arm/mach-omap2/powerdomain.c:21:
In file included from /tmp/kci/linux/include/trace/events/power.h:12:
In file included from /tmp/kci/linux/include/linux/trace_events.h:6:
In file included from /tmp/kci/linux/include/linux/ring_buffer.h:5:
In file included from /tmp/kci/linux/include/linux/mm.h:36:
In file included from /tmp/kci/linux/include/linux/rcuwait.h:6:
In file included from /tmp/kci/linux/include/linux/sched/signal.h:6:
/tmp/kci/linux/include/linux/signal.h:160:1: error: array index 2 is past the end of the array (that has type 'unsigned long[2]') [-Werror,-Warray-bounds]
  160 | _SIG_SET_BINOP(sigandsets, _sig_and)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/kci/linux/include/linux/signal.h:141:3: note: expanded from macro '_SIG_SET_BINOP'
  141 |                 r->sig[2] = op(a2, b2);                                 \
      |                 ^      ~
/tmp/kci/linux/arch/arm/include/asm/signal.h:17:2: note: array 'sig' declared here
   17 |         unsigned long sig[_NSIG_WORDS];
      |         ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.

=====================================================


# Builds where the incident occurred:

## defconfig+allmodconfig+CONFIG_FRAME_WARN=2048 on (arm):
- compiler: clang-21
- config: None
- dashboard: https://d.kernelci.org/build/maestro:6a23104d46e71b76f9f70fa8


#kernelci issue maestro:cf5bfe3915050650650fc6d8d002384f83a324d0

--
This is an experimental report format. Please send feedback in!
Talk to us at [email protected]

Made with love by the KernelCI team - https://kernelci.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.