From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 520B846D18; Wed, 13 Aug 2025 17:36:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D5F8740ED4; Wed, 13 Aug 2025 17:36:17 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 82DCF40657 for ; Wed, 13 Aug 2025 17:36:16 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 7120046D1A; Wed, 13 Aug 2025 17:36:16 +0200 (CEST) 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 15:36:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: core X-Bugzilla-Version: 23.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: stephen@networkplumber.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status cc Message-ID: In-Reply-To: References: Content-Type: multipart/alternative; boundary=17550993761.0D7E.267106 Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --17550993761.0D7E.267106 Date: Wed, 13 Aug 2025 17:36:16 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All https://bugs.dpdk.org/show_bug.cgi?id=3D1771 Stephen Hemminger (stephen@networkplumber.org) changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Status|UNCONFIRMED |RESOLVED CC| |stephen@networkplumber.org --- Comment #1 from Stephen Hemminger (stephen@networkplumber.org) --- 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 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 =E2=80=98unsigned char=E2=80= =99 is too long [-Werror=3Dunterminated-string-initialization] 906 | .hdr.dst_addr.addr_bytes =3D "\xff\xff\xff\xff\xff\xff", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ethdev/rte_flow.h:907:36: error: initializer-string for array of =E2=80=98unsigned char=E2=80= =99 is too long [-Werror=3Dunterminated-string-initialization] 907 | .hdr.src_addr.addr_bytes =3D "\xff\xff\xff\xff\xff\xff", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ethdev/rte_flow.h:1009:25: error: initializer-string for array of =E2=80=98unsigned char=E2=80= =99 is too long [-Werror=3Dunterminated-string-initialization] 1009 | "\xff\xff\xff\xff\xff\xff\xff\xff" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ethdev/rte_flow.h:1012:25: error: initializer-string for array of =E2=80=98unsigned char=E2=80= =99 is too long [-Werror=3Dunterminated-string-initialization] 1012 | "\xff\xff\xff\xff\xff\xff\xff\xff" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ethdev/rte_flow.h:1135:20: error: initializer-string for array of =E2=80=98unsigned char=E2=80= =99 is too long [-Werror=3Dunterminated-string-initialization] 1135 | .hdr.vni =3D "\xff\xff\xff", | ^~~~~~~~~~~~~~ Signed-off-by: Ferruh Yigit --=20 You are receiving this mail because: You are the assignee for the bug.= --17550993761.0D7E.267106 Date: Wed, 13 Aug 2025 17:36:16 +0200 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All Stephen Hemminger changed bug 1771
What Removed Added
Resolution --- WONTFIX
Status UNCONFIRMED RESOLVED
CC   stephen@networkplumber.org

Comment # 1 on bug 1771 from Stephen Hemminger
That is an old release. GCC 15 sup=
port 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 <ferruh=
.yigit@amd.com>
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 =E2=80=98unsigned char=E2=80=
=99 is too long
            [-Werror=3Dunterminated-string-initialization]
    906 |         .hdr.dst_addr.addr_bytes =3D "\xff\xff\xff\xff\xff\x=
ff",
        |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~

    ../lib/ethdev/rte_flow.h:907:36:
      error: initializer-string for array of =E2=80=98unsigned char=E2=80=
=99 is too long
             [-Werror=3Dunterminated-string-initialization]
    907 |         .hdr.src_addr.addr_bytes =3D "\xff\xff\xff\xff\xff\x=
ff",
        |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~

    ../lib/ethdev/rte_flow.h:1009:25:
      error: initializer-string for array of =E2=80=98unsigned char=E2=80=
=99 is too long
             [-Werror=3Dunterminated-string-initialization]
    1009 |                         "\xff\xff\xff\xff\xff\xff\xff\xff&q=
uot;
         |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    ../lib/ethdev/rte_flow.h:1012:25:
      error: initializer-string for array of =E2=80=98unsigned char=E2=80=
=99 is too long
             [-Werror=3Dunterminated-string-initialization]
    1012 |                         "\xff\xff\xff\xff\xff\xff\xff\xff&q=
uot;
         |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    ../lib/ethdev/rte_flow.h:1135:20:
      error: initializer-string for array of =E2=80=98unsigned char=E2=80=
=99 is too long
             [-Werror=3Dunterminated-string-initialization]
    1135 |         .hdr.vni =3D "\xff\xff\xff",
         |                    ^~~~~~~~~~~~~~

    Signed-off-by: Ferruh Yigit <ferruh.yigit@amd.com>
          


You are receiving this mail because:
  • You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
= --17550993761.0D7E.267106--