<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 - [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">1771</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[dpdk 23.11.5-rc1] drivers/net/cxgbe meson build failed on Fedora42 with gcc15.0.1
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>23.11
          </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>core
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>daxuex.gao@intel.com
          </td>
        </tr>

        <tr>
          <th>Target Milestone</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div class="bz_comment_block">
          <pre class="bz_comment_text">The issue occurs on the new Fedora 42 OS, while there is no problem on the old
Fedora 41 OS.

[DPDK version]
commit 96ae1d570472620165484776205fe957294b9597 (HEAD, tag: v23.11.5-rc1,
origin/23.11)
Author: Xueming Li <<a href="mailto:xuemingl@nvidia.com">xuemingl@nvidia.com</a>>
Date:   Mon Aug 11 21:33:43 2025 +0800    
version: 23.11.5-rc1    
Signed-off-by: Xueming Li <<a href="mailto:xuemingl@nvidia.com">xuemingl@nvidia.com</a>>

[OS version]
OS: Fedora Linux 42 (Server Edition)/Linux 6.14.0-63.fc42.x86_64
Compiler: gcc (GCC) 15.0.1 20250329 (Red Hat 15.0.1-0)

[Test Setup]
# CC=gcc meson --werror -Denable_kmods=True -Dlibdir=lib -Dexamples=all
--default-library=static x86_64-native-linuxapp-gcc
# ninja -j 10 -C x86_64-native-linuxapp-gcc

[Log]
Found ninja-1.10.2.git.kitware.jobserver-1 at /usr/local/bin/ninja
Cleaning... 0 files.
[1242/3040] Compiling C object
drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_flow.c.o
FAILED: drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_flow.c.o
cc -Idrivers/libtmp_rte_net_cxgbe.a.p -Idrivers -I../drivers
-Idrivers/net/cxgbe -I../drivers/net/cxgbe -I../drivers/net/cxgbe/base
-Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include
-I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include
-Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common
-I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs
-Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry
-I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf
-Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter
-I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci
-I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev
-I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall
-Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual
-Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs
-Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes
-Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned
-Wno-missing-field-initializers -fzero-init-padding-bits=all
-Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm
-DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation
-DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cxgbe -MD -MQ
drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_flow.c.o -MF
drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_flow.c.o.d -o
drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_flow.c.o -c
../drivers/net/cxgbe/cxgbe_flow.c
../drivers/net/cxgbe/cxgbe_flow.c:892:52: error: initializer-string for array
of ‘unsigned char’ truncates NUL terminator but destination lacks ‘nonstring’
attribute (7 chars into 6 available)
[-Werror=unterminated-string-initialization]
  892 |                         .hdr.dst_addr.addr_bytes =
"\xff\xff\xff\xff\xff\xff",
      |                                                   
^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cxgbe/cxgbe_flow.c:893:52: error: initializer-string for array
of ‘unsigned char’ truncates NUL terminator but destination lacks ‘nonstring’
attribute (7 chars into 6 available)
[-Werror=unterminated-string-initialization]
  893 |                         .hdr.src_addr.addr_bytes =
"\x00\x00\x00\x00\x00\x00",
      |                                                   
^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cxgbe/cxgbe_flow.c:922:41: error: initializer-string for array
of ‘unsigned char’ truncates NUL terminator but destination lacks ‘nonstring’
attribute (17 chars into 16 available)
[-Werror=unterminated-string-initialization]
  922 |                                        
"\xff\xff\xff\xff\xff\xff\xff\xff"
      |                                        
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cxgbe/cxgbe_flow.c:925:41: error: initializer-string for array
of ‘unsigned char’ truncates NUL terminator but destination lacks ‘nonstring’
attribute (17 chars into 16 available)
[-Werror=unterminated-string-initialization]
  925 |                                        
"\xff\xff\xff\xff\xff\xff\xff\xff"
      |                                        
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1259/3040] Compiling C object
drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_dpaa_rxtx.c.o
ninja: build stopped: subcommand failed.
          </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">
          <meta itemprop="name" content="View bug">
        </div>
        <meta itemprop="description" content="Bugzilla bug update notification">
      </div>
    </body>
</html>