common/cnxk: build errors with LTO
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: [email protected]
Reporter: [email protected]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??
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
http://bugs.dpdk.org/show_bug.cgi?id=1863
Stephen Hemminger ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE--- Comment #1 from Stephen Hemminger ([email protected]) --- Errors match earlier bug report
*** This bug has been marked as a duplicate of bug 1513 ***
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.