From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/core Bug 2099] [dpdk26.11-rc2] /drivers/net/xsc meson build failed with EXTRA_CFLAGS='-O1' on Ubuntu26.04
Date: Mon, 09 Nov 2026 03:15:51 +0000 [thread overview]
Message-ID: <bug-2099-3@https.bugs.dpdk.org/> (raw)
https://bugs.dpdk.org/show_bug.cgi?id=2099
Bug ID: 2099
Summary: [dpdk26.11-rc2] /drivers/net/xsc meson build failed
with EXTRA_CFLAGS='-O1' on Ubuntu26.04
Product: DPDK
Version: 26.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: core
Assignee: dev@dpdk.org
Reporter: daxuex.gao@intel.com
Target Milestone: ---
[Environment]
DPDK version: dpdk26.11-rc2 (a13c1053360)
OS: 26.04.1 LTS/Linux 7.0.0-38-generic
Compiler: gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
[Test Setup]
# build cmd:
CC=gcc meson --optimization=1 --werror -Dlibdir=lib --default-library=static
x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc
[Output]
# ninja -C x86_64-native-linuxapp-gcc
[1541/3514] Compiling C object
drivers/libtmp_rte_net_xsc.a.p/net_xsc_xsc_vfio.c.o
FAILED: [code=1] drivers/libtmp_rte_net_xsc.a.p/net_xsc_xsc_vfio.c.o
gcc -Idrivers/libtmp_rte_net_xsc.a.p -Idrivers -I../drivers -Idrivers/net/xsc
-I../drivers/net/xsc -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common
-I../lib/eal/common -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 -I../kernel/linux -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/argparse
-I../lib/argparse -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 -O1 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated
-Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith
-Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings
-Wno-packed-not-aligned -Wno-missing-field-initializers
-fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm
-DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation
-Wno-address-of-packed-member -Wno-vla -DRTE_COMPONENT_CLASS=pmd_net
-DRTE_COMPONENT_NAME=xsc -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.xsc -MD -MQ
drivers/libtmp_rte_net_xsc.a.p/net_xsc_xsc_vfio.c.o -MF
drivers/libtmp_rte_net_xsc.a.p/net_xsc_xsc_vfio.c.o.d -o
drivers/libtmp_rte_net_xsc.a.p/net_xsc_xsc_vfio.c.o -c
../drivers/net/xsc/xsc_vfio.c
../drivers/net/xsc/xsc_vfio.c: In function ‘xsc_vfio_modify_qp_status’:
../drivers/net/xsc/xsc_vfio.c:491:16: error: ‘ret’ may be used uninitialized
[-Werror=maybe-uninitialized]
491 | return ret;
| ^~~
../drivers/net/xsc/xsc_vfio.c:452:16: note: ‘ret’ was declared here
452 | int i, ret;
| ^~~
cc1: all warnings being treated as errors
[1654/3514] Compiling C object
drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.c.o
ninja: build stopped: subcommand failed.
[Regression]
Is this issue a regression: (Y/N)Y
[First bad commit]
commit b247199927a13dc964453c992caecddb5922dca4 (HEAD)
Author: Stephen Hemminger <stephen@networkplumber.org>
Date: Thu Jul 23 10:59:05 2026 -0700
net/hinic3: fix return value of FDIR enabling
The code to enable fdir filter assumes entry is present.
If not found it would return uninitialized value.
Bugzilla ID: 1964
Fixes: efa3b9b36fc7 ("net/hinic3: add flow control and filters")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
--
You are receiving this mail because:
You are the assignee for the bug.
next reply other threads:[~2026-11-09 3:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 3:15 bugzilla [this message]
2026-11-12 6:11 ` [DPDK/core Bug 2099] [dpdk26.11-rc2] /drivers/net/xsc meson build failed with EXTRA_CFLAGS='-O1' on Ubuntu26.04 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-2099-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.