* [DPDK/core Bug 1964] [dpdk26.07-rc2] DPDK build failed with EXTRA_CFLAGS='-O1' on Ubuntu26.04
@ 2026-07-06 9:17 bugzilla
0 siblings, 0 replies; only message in thread
From: bugzilla @ 2026-07-06 9:17 UTC (permalink / raw)
To: dev
http://bugs.dpdk.org/show_bug.cgi?id=1964
Bug ID: 1964
Summary: [dpdk26.07-rc2] DPDK build failed with
EXTRA_CFLAGS='-O1' on Ubuntu26.04
Product: DPDK
Version: 26.07
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:
commit f77bc8767a952cf833fc9c85d6b5b8d77d39a5da (HEAD -> main, tag: v26.07-rc2,
origin/main, origin/HEAD)
OS: Ubuntu26.04/7.0.0-14-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
ninja: Entering directory `x86_64-native-linuxapp-gcc'
[1683/3722] Compiling C object
drivers/libtmp_rte_net_hinic3.a.p/net_hinic3_hinic3_fdir.c.o
FAILED: drivers/libtmp_rte_net_hinic3.a.p/net_hinic3_hinic3_fdir.c.o
gcc -Idrivers/libtmp_rte_net_hinic3.a.p -Idrivers -I../drivers
-Idrivers/net/hinic3 -I../drivers/net/hinic3 -Idrivers/net/hinic3/base
-I../drivers/net/hinic3/base -Idrivers/net/hinic3/htn_adapt
-I../drivers/net/hinic3/htn_adapt -Idrivers/net/hinic3/stn_adapt
-I../drivers/net/hinic3/stn_adapt -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 -DHW_CONVERT_ENDIAN -DRTE_COMPONENT_CLASS=pmd_net
-DRTE_COMPONENT_NAME=hinic3 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.hinic3 -MD -MQ
drivers/libtmp_rte_net_hinic3.a.p/net_hinic3_hinic3_fdir.c.o -MF
drivers/libtmp_rte_net_hinic3.a.p/net_hinic3_hinic3_fdir.c.o.d -o
drivers/libtmp_rte_net_hinic3.a.p/net_hinic3_hinic3_fdir.c.o -c
../drivers/net/hinic3/hinic3_fdir.c
../drivers/net/hinic3/hinic3_fdir.c: In function
‘hinic3_enable_rxq_fdir_filter’:
../drivers/net/hinic3/hinic3_fdir.c:1278:13: error: ‘ret’ may be used
uninitialized [-Werror=maybe-uninitialized]
1278 | int ret;
| ^~~
cc1: all warnings being treated as errors
[1694/3722] Compiling C object
drivers/libtmp_rte_net_hinic3.a.p/net_hinic3_hinic3_ethdev.c.o
ninja: build stopped: subcommand failed.
[Expected Result]
Build Passed
[Regression]
Is this issue a regression: (Y/N)N
[First bad commit]
commit 1c963e5976a812771a4f3329e340ff9f9bef4406 (HEAD)
Author: Stephen Hemminger <stephen@networkplumber.org>
Date: Tue Jun 9 08:53:30 2026 -0700
tailq: fix name truncation
The tailq name is defined as 32 bytes, but name would be
silently truncated at 31 bytes. The function strlcpy() size
already accounts for the NUL character at the end.
Bugzilla ID: 1954
Fixes: f9acaf84e923 ("replace snprintf with strlcpy without adding extra
include")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Chengwen Feng <fengchengwen@huawei.com>
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-06 9:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-06 9:17 [DPDK/core Bug 1964] [dpdk26.07-rc2] DPDK build failed with EXTRA_CFLAGS='-O1' on Ubuntu26.04 bugzilla
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.