<html>
    <head>
      <base href="https://bugs.dpdk.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8" class="bz_new_table">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - */cnxk build failure on Ubuntu 24.04 with LTO"
   href="https://bugs.dpdk.org/show_bug.cgi?id=1513">1513</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>*/cnxk build failure on Ubuntu 24.04 with LTO
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DPDK
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>24.07
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>ethdev
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dev@dpdk.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>alialnu@nvidia.com
          </td>
        </tr>

        <tr>
          <th>Target Milestone</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div class="bz_comment_block">
          <pre class="bz_comment_text">$ meson --werror -Db_lto=true build && ninja -C build
[..]
../drivers/common/cnxk/roc_irq.c: In function ‘irq_config’:
../drivers/common/cnxk/roc_irq.c:53:14: warning: argument to variable-length
array is too large [-Wvla-larger-than=]
   53 |         char irq_set_buf[MSIX_IRQ_SET_BUF_LEN];
      |              ^
../drivers/common/cnxk/roc_irq.c:53:14: note: limit is 9223372036854775807
bytes, but argument is 18446744073709551548
../drivers/common/cnxk/roc_irq.c: In function ‘irq_init’:
../drivers/common/cnxk/roc_irq.c:90:14: warning: argument to variable-length
array is too large [-Wvla-larger-than=]
   90 |         char irq_set_buf[MSIX_IRQ_SET_BUF_LEN];
      |              ^
../drivers/common/cnxk/roc_irq.c:90:14: note: limit is 9223372036854775807
bytes, but argument is 18446744073709551548
In function ‘parse_flag’,
    inlined from ‘rte_kvargs_process’ at ../lib/kvargs/rte_kvargs.c:188:9,
    inlined from ‘cnxk_ethdev_parse_devargs’ at
../drivers/net/cnxk/cnxk_ethdev_devargs.c:339:2:
../drivers/net/cnxk/cnxk_ethdev_devargs.c:167:33: warning: writing 2 bytes into
a region of size 1 [-Wstringop-overflow=]
  167 |         *(uint16_t *)extra_args = atoi(value);
      |                                 ^
../drivers/net/cnxk/cnxk_ethdev_devargs.c: In function
‘cnxk_ethdev_parse_devargs’:
../drivers/net/cnxk/cnxk_ethdev_devargs.c:310:17: note: destination object
‘lock_rx_ctx’ of size 1
  310 |         uint8_t lock_rx_ctx = 0;
      |                 ^
In function ‘parse_flag’,
    inlined from ‘rte_kvargs_process’ at ../lib/kvargs/rte_kvargs.c:188:9,
    inlined from ‘cnxk_ethdev_parse_devargs’ at
../drivers/net/cnxk/cnxk_ethdev_devargs.c:362:2:
../drivers/net/cnxk/cnxk_ethdev_devargs.c:167:33: warning: writing 2 bytes into
a region of size 1 [-Wstringop-overflow=]
  167 |         *(uint16_t *)extra_args = atoi(value);
      |                                 ^
../drivers/net/cnxk/cnxk_ethdev_devargs.c: In function
‘cnxk_ethdev_parse_devargs’:
../drivers/net/cnxk/cnxk_ethdev_devargs.c:311:17: note: destination object
‘rx_inj_ena’ of size 1
  311 |         uint8_t rx_inj_ena = 0;
      |                 ^
[2766/2774] Linking target app/dpdk-test-cmdline
[..]

OS: Ubuntu 24.04
Meson: 1.3.2
Compiler: gcc 13.2.0
          </pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
      <div itemscope itemtype="http://schema.org/EmailMessage">
        <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
          
          <link itemprop="url" href="https://bugs.dpdk.org/show_bug.cgi?id=1513">
          <meta itemprop="name" content="View bug">
        </div>
        <meta itemprop="description" content="Bugzilla bug update notification">
      </div>
    </body>
</html>