public inbox for dev@dpdk.org
 help / color / mirror / Atom feed
* [DPDK/ethdev Bug 1863] common/cnxk: build errors with LTO
@ 2025-12-31 18:23 bugzilla
  2026-01-19 19:57 ` bugzilla
  0 siblings, 1 reply; 2+ messages 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] 2+ messages in thread

* [DPDK/ethdev Bug 1863] common/cnxk: build errors with LTO
  2025-12-31 18:23 [DPDK/ethdev Bug 1863] common/cnxk: build errors with LTO bugzilla
@ 2026-01-19 19:57 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2026-01-19 19:57 UTC (permalink / raw)
  To: dev

http://bugs.dpdk.org/show_bug.cgi?id=1863

Stephen Hemminger (stephen@networkplumber.org) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Stephen Hemminger (stephen@networkplumber.org) ---
Errors match earlier bug report

*** This bug has been marked as a duplicate of bug 1513 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

end of thread, other threads:[~2026-01-19 19:57 UTC | newest]

Thread overview: 2+ messages (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
2026-01-19 19:57 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox