All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/core Bug 1771] [dpdk 23.11.5-rc1] drivers/net/cxgbe meson build failed on Fedora42 with gcc15.0.1
Date: Wed, 13 Aug 2025 02:49:27 +0000	[thread overview]
Message-ID: <bug-1771-3@https.bugs.dpdk.org/> (raw)

[-- Attachment #1: Type: text/plain, Size: 5248 bytes --]

https://bugs.dpdk.org/show_bug.cgi?id=1771

            Bug ID: 1771
           Summary: [dpdk 23.11.5-rc1] drivers/net/cxgbe meson build
                    failed on Fedora42 with gcc15.0.1
           Product: DPDK
           Version: 23.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev@dpdk.org
          Reporter: daxuex.gao@intel.com
  Target Milestone: ---

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 <xuemingl@nvidia.com>
Date:   Mon Aug 11 21:33:43 2025 +0800    
version: 23.11.5-rc1    
Signed-off-by: Xueming Li <xuemingl@nvidia.com>

[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.

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

[-- Attachment #2: Type: text/html, Size: 7287 bytes --]

             reply	other threads:[~2025-08-13  2:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-13  2:49 bugzilla [this message]
2025-08-13 15:36 ` [DPDK/core Bug 1771] [dpdk 23.11.5-rc1] drivers/net/cxgbe meson build failed on Fedora42 with gcc15.0.1 bugzilla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-1771-3@https.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.