[DPDK/ethdev Bug 1863] common/cnxk: build errors with LTO
bugzilla at dpdk.org
bugzilla at dpdk.org
Wed Dec 31 19:23:51 CET 2025
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 at dpdk.org
Reporter: stephen at 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.
More information about the dev
mailing list