* [DPDK/ethdev Bug 1863] common/cnxk: build errors with LTO
@ 2025-12-31 18:23 bugzilla
0 siblings, 0 replies; only message in thread
From: bugzilla @ 2025-12-31 18:23 UTC (permalink / raw)
To: dev
http://bugs.dpdk.org/show_bug.cgi?id=1863
Bug ID: 1863
Summary: common/cnxk: build errors with LTO
Product: DPDK
Version: 25.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: dev@dpdk.org
Reporter: stephen@networkplumber.org
Target Milestone: ---
Doing LTO release build detects errors in irq
../drivers/common/cnxk/roc_platform.c: In function ‘irq_config’:
../drivers/common/cnxk/roc_platform.c:56:14: warning: argument to
variable-length array is too large [-Wvla-larger-than=]
56 | char irq_set_buf[MSIX_IRQ_SET_BUF_LEN];
| ^
../drivers/common/cnxk/roc_platform.c:56:14: note: limit is 9223372036854775807
bytes, but argument is 18446744073709551548
../drivers/common/cnxk/roc_platform.c: In function ‘irq_init’:
../drivers/common/cnxk/roc_platform.c:92:14: warning: argument to
variable-length array is too large [-Wvla-larger-than=]
92 | char irq_set_buf[MSIX_IRQ_SET_BUF_LEN];
| ^
../drivers/common/cnxk/roc_platform.c:92:14: note: limit is 9223372036854775807
bytes, but argument is 18446744073709551548
Looks like MSIX_IRQ_SET_BUF_LEN is not a constant??
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-12-31 18:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-31 18:23 [DPDK/ethdev Bug 1863] common/cnxk: build errors with LTO bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).