<html>
    <head>
      <base href="https://bugs.dpdk.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:stephen@networkplumber.org" title="Stephen Hemminger (stephen@networkplumber.org)"> <span class="fn">Stephen Hemminger</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - [dpdk 23.11.5-rc1] drivers/net/cxgbe meson build failed on Fedora42 with gcc15.0.1"
   href="https://bugs.dpdk.org/show_bug.cgi?id=1771">bug 1771</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8" class="bz_diff_table">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>WONTFIX
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>UNCONFIRMED
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>stephen@networkplumber.org
           </td>
         </tr></table>
      <p>
        <div class="bz_comment_block">
            <b class="bz_comment_head"><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - [dpdk 23.11.5-rc1] drivers/net/cxgbe meson build failed on Fedora42 with gcc15.0.1"
   href="https://bugs.dpdk.org/show_bug.cgi?id=1771#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - [dpdk 23.11.5-rc1] drivers/net/cxgbe meson build failed on Fedora42 with gcc15.0.1"
   href="https://bugs.dpdk.org/show_bug.cgi?id=1771">bug 1771</a>
              from <span class="vcard"><a class="email" href="mailto:stephen@networkplumber.org" title="Stephen Hemminger (stephen@networkplumber.org)"> <span class="fn">Stephen Hemminger</span></a>
</span>
            </b>
          <pre class="bz_comment_text">That is an old release. GCC 15 support was addressed in commit in main
which was not backported. Since version 23.11 pre-dates the release of that OS
release, it is unreasonable to expect backport.

Use a later DPDK release please.

commit e0d947a1e6c2f80aa039a4f7082a8aa16797d8b9
Author: Ferruh Yigit <<a href="mailto:ferruh.yigit@amd.com">ferruh.yigit@amd.com</a>>
Date:   Thu Oct 3 21:13:34 2024 -0700

    ethdev: convert string initialization

    gcc 15 experimental [1], with -Wextra flag, gives warning in variable
    initialization as string [2].

    The warning has a point when initialized variable is intended to use as
    string, since assignment is missing the required null terminator for
    this case. But warning is useless for our usecase.

    In this patch only updated a few instance to show the issue, there are
    many instances to fix, if we prefer to go this way.
    Other option is to disable warning but it can be useful for actual
    string usecases, so I prefer to keep it.

    Converted string initialization to array initialization.

    [1]
    gcc (GCC) 15.0.0 20241003 (experimental)

    [2]
    ../lib/ethdev/rte_flow.h:906:36:
      error: initializer-string for array of ‘unsigned char’ is too long
            [-Werror=unterminated-string-initialization]
    906 |         .hdr.dst_addr.addr_bytes = "\xff\xff\xff\xff\xff\xff",
        |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~

    ../lib/ethdev/rte_flow.h:907:36:
      error: initializer-string for array of ‘unsigned char’ is too long
             [-Werror=unterminated-string-initialization]
    907 |         .hdr.src_addr.addr_bytes = "\xff\xff\xff\xff\xff\xff",
        |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~

    ../lib/ethdev/rte_flow.h:1009:25:
      error: initializer-string for array of ‘unsigned char’ is too long
             [-Werror=unterminated-string-initialization]
    1009 |                         "\xff\xff\xff\xff\xff\xff\xff\xff"
         |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    ../lib/ethdev/rte_flow.h:1012:25:
      error: initializer-string for array of ‘unsigned char’ is too long
             [-Werror=unterminated-string-initialization]
    1012 |                         "\xff\xff\xff\xff\xff\xff\xff\xff"
         |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    ../lib/ethdev/rte_flow.h:1135:20:
      error: initializer-string for array of ‘unsigned char’ is too long
             [-Werror=unterminated-string-initialization]
    1135 |         .hdr.vni = "\xff\xff\xff",
         |                    ^~~~~~~~~~~~~~

    Signed-off-by: Ferruh Yigit <<a href="mailto:ferruh.yigit@amd.com">ferruh.yigit@amd.com</a>>
          </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=1771#c1">
          <meta itemprop="name" content="View bug">
        </div>
        <meta itemprop="description" content="Bugzilla bug update notification">
      </div>
    </body>
</html>