<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 - net/tap build failure on Ubuntu 24.04 with LTO"
   href="https://bugs.dpdk.org/show_bug.cgi?id=1511">1511</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>net/tap 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
[..]
[2109/2774] Linking target drivers/librte_net_tap.so.24.2
../drivers/net/tap/tap_netlink.c: In function ‘tap_flow_create_ipv6’:
../drivers/net/tap/tap_netlink.c:305:9: warning: writing 16 bytes into a region
of size 12 [-Wstringop-overflow=]
  305 |         memcpy(RTA_DATA(rta), data, data_len);
      |         ^
../drivers/net/tap/tap_netlink.h:20:25: note: at offset [4, 16] into
destination object ‘nh’ of size 16
   20 |         struct nlmsghdr nh;
      |                         ^
../drivers/net/tap/tap_netlink.c:305:9: warning: writing 16 bytes into a region
of size 12 [-Wstringop-overflow=]
  305 |         memcpy(RTA_DATA(rta), data, data_len);
      |         ^
../drivers/net/tap/tap_netlink.h:20:25: note: at offset [4, 16] into
destination object ‘nh’ of size 16
   20 |         struct nlmsghdr nh;
      |                         ^
../drivers/net/tap/tap_netlink.c:305:9: warning: writing 16 bytes into a region
of size 12 [-Wstringop-overflow=]
  305 |         memcpy(RTA_DATA(rta), data, data_len);
      |         ^
../drivers/net/tap/tap_netlink.h:20:25: note: at offset [4, 16] into
destination object ‘nh’ of size 16
   20 |         struct nlmsghdr nh;
      |                         ^
../drivers/net/tap/tap_netlink.c:305:9: warning: writing 16 bytes into a region
of size 12 [-Wstringop-overflow=]
  305 |         memcpy(RTA_DATA(rta), data, data_len);
      |         ^
../drivers/net/tap/tap_netlink.h:20:25: note: at offset [4, 16] into
destination object ‘nh’ of size 16
   20 |         struct nlmsghdr nh;
      |                         ^
[2755/2774] Linking target app/dpdk-test-pipeline
../drivers/net/tap/tap_netlink.c: In function ‘tap_flow_create_ipv6’:
../drivers/net/tap/tap_netlink.c:305:9: warning: writing 16 bytes into a region
of size 12 [-Wstringop-overflow=]
  305 |         memcpy(RTA_DATA(rta), data, data_len);
      |         ^
../drivers/net/tap/tap_netlink.h:20:25: note: at offset [4, 16] into
destination object ‘nh’ of size 16
   20 |         struct nlmsghdr nh;
      |                         ^
../drivers/net/tap/tap_netlink.c:305:9: warning: writing 16 bytes into a region
of size 12 [-Wstringop-overflow=]
  305 |         memcpy(RTA_DATA(rta), data, data_len);
      |         ^
../drivers/net/tap/tap_netlink.h:20:25: note: at offset [4, 16] into
destination object ‘nh’ of size 16
   20 |         struct nlmsghdr nh;
      |                         ^
../drivers/net/tap/tap_netlink.c:305:9: warning: writing 16 bytes into a region
of size 12 [-Wstringop-overflow=]
  305 |         memcpy(RTA_DATA(rta), data, data_len);
      |         ^
../drivers/net/tap/tap_netlink.h:20:25: note: at offset [4, 16] into
destination object ‘nh’ of size 16
   20 |         struct nlmsghdr nh;
      |                         ^
../drivers/net/tap/tap_netlink.c:305:9: warning: writing 16 bytes into a region
of size 12 [-Wstringop-overflow=]
  305 |         memcpy(RTA_DATA(rta), data, data_len);
      |         ^
../drivers/net/tap/tap_netlink.h:20:25: note: at offset [4, 16] into
destination object ‘nh’ of size 16
[..]

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=1511">
          <meta itemprop="name" content="View bug">
        </div>
        <meta itemprop="description" content="Bugzilla bug update notification">
      </div>
    </body>
</html>