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 7A84441CFA;
Tue, 21 Feb 2023 09:57:18 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
by mails.dpdk.org (Postfix) with ESMTP id 6151A43194;
Tue, 21 Feb 2023 09:57:18 +0100 (CET)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
by mails.dpdk.org (Postfix) with ESMTP id 5B85940E5A
for ; Tue, 21 Feb 2023 09:57:16 +0100 (CET)
Received: by inbox.dpdk.org (Postfix, from userid 33)
id 4751C41CFB; Tue, 21 Feb 2023 09:57:16 +0100 (CET)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 1163] [dpdk-23.03-rc1] app/test-pmd/cmdline_flow meson build
failed with cflag param optimization=1 on Ubuntu22.04 &&RHEL8.6 with
gcc11.3.0&&8.5.0
Date: Tue, 21 Feb 2023 08:57:15 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: core
X-Bugzilla-Version: 23.03
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: daxuex.gao@intel.com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: dev@dpdk.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
op_sys bug_status bug_severity priority component assigned_to reporter
target_milestone
Message-ID:
Content-Type: multipart/alternative; boundary=16769698360.D52706b.4150318
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://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
--16769698360.D52706b.4150318
Date: Tue, 21 Feb 2023 09:57:16 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
https://bugs.dpdk.org/show_bug.cgi?id=3D1163
Bug ID: 1163
Summary: [dpdk-23.03-rc1] app/test-pmd/cmdline_flow meson build
failed with cflag param optimization=3D1 on Ubuntu22.04
&&RHEL8.6 with gcc11.3.0&&8.5.0
Product: DPDK
Version: 23.03
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: core
Assignee: dev@dpdk.org
Reporter: daxuex.gao@intel.com
Target Milestone: ---
[DPDK version]
commit 9bd5ebca59c865aead7096358fb733e53a72007b (HEAD, tag: v23.03-rc1,
origin/main, origin/HEAD, main)
Author: Thomas Monjalon
Date: Mon Feb 20 16:53:44 2023 +0100
version: 23.03-rc1
Signed-off-by: Thomas Monjalon
[OS version]
gcc11.3.0
Ubuntu22.04/5.15.0-58-generic
RHEL8.6/4.18.0-372.9.1.el8.x86_64
gcc8.5.0
[Test setup]
export RTE_TARGET=3Dx86_64-native-linuxapp-gcc
CC=3Dgcc meson --optimization=3D1 --werror -Denable_kmods=3DTrue -Dlibdir=
=3Dlib=20
--default-library=3Dstatic x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc -j 10
[Error]
Found ninja-1.10.0.git.kitware.jobserver-1 at /usr/local/bin/ninja
ninja: Entering directory `x86_64-native-linuxapp-gcc'
[2900/3094] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o
FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o
gcc -Iapp/dpdk-testpmd.p -Iapp -I../app -Iapp/test-pmd -I../app/test-pmd
-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/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 -Ilib/cmdline -I../lib/cmdline
-Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/cryptodev
-I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev
-I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Ilib/bitratestats
-I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/gro -I../lib/gro -Ilib/g=
so
-I../lib/gso -Ilib/latencystats -I../lib/latencystats -Ilib/pdump
-I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/bnxt
-I../drivers/net/bnxt -Idrivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_ulp
-Idrivers/net/bnxt/tf_ulp/generic_templates
-I../drivers/net/bnxt/tf_ulp/generic_templates -Idrivers/net/bnxt/tf_core
-I../drivers/net/bnxt/tf_core -Idrivers/net/bnxt/hcapi/cfa
-I../drivers/net/bnxt/hcapi/cfa -Idrivers/bus/pci -I../drivers/bus/pci
-I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/net/i40e
-I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base
-Ilib/hash -I../lib/hash -Idrivers/net/ixgbe -I../drivers/net/ixgbe
-Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/security
-I../lib/security -Idrivers/bus/dpaa -I../drivers/bus/dpaa
-I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman
-Idrivers/common/dpaax -I../drivers/common/dpaax
-I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/t=
imer
-I../lib/timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa
-Idrivers/net/dpaa -I../drivers/net/dpaa -Idrivers/net/bonding
-I../drivers/net/bonding -Ilib/sched -I../lib/sched -Ilib/ip_frag
-I../lib/ip_frag -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/b=
ase
-I../drivers/net/ice/base -Idrivers/common/iavf -I../drivers/common/iavf
-fdiagnostics-color=3Dalways -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -=
Wextra
-Werror -O1 -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 -Wno-zero-length-bounds -D_GNU_SOURCE
-march=3Dnative -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -=
MQ
app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -MF
app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o.d -o
app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -c ../app/test-pmd/cmdline_flo=
w.c
../app/test-pmd/cmdline_flow.c: In function =E2=80=98parse_vc_modify_field_=
level=E2=80=99:
../app/test-pmd/cmdline_flow.c:8678:53: error: =E2=80=98fp=E2=80=99 may be =
used uninitialized
in this function [-Werror=3Dmaybe-uninitialized]
8678 | action->dst.flex_handle =3D fp->flex_handle;
| ~~^~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2909/3094] Compiling C object app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o
ninja: build stopped: subcommand failed.
[Bad commit]
commit c8e25fbf1440a5eb9c022f021354b7598c60732e
Author: Rongwei Liu
Date: Mon Feb 6 05:39:05 2023 +0200
ethdev: add flow flex modify
Add flex item as modify field destination.
Add "struct rte_flow_item_flex_handle *flex_handle" into
"struct rte_flow_action_modify_data" as union with existed
"level" member. This new member is dedicated for modifying
flex item.
Add flex item modify field cmdline support. Now user can use
testpmd cli to specify which flex item to be modified, either
source or destination.
Syntax is as below:
modify_field op set dst_type flex_item dst_level 0
dst_offset 16 src_type value src_value 0x123456781020 width 8
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
app/test-pmd/cmdline_flow.c | 89 ++++++++++++++++++++++++++++++=
+---
doc/guides/prog_guide/rte_flow.rst | 41 +++++++++-------
doc/guides/rel_notes/release_23_03.rst | 4 ++
lib/ethdev/rte_flow.h | 8 ++-
4 files changed, 116 insertions(+), 26 deletions(-)
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--16769698360.D52706b.4150318
Date: Tue, 21 Feb 2023 09:57:16 +0100
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
Bug ID |
1163
|
Summary |
[dpdk-23.03-rc1] app/test-pmd/cmdline_flow meson build failed=
with cflag param optimization=3D1 on Ubuntu22.04 &&RHEL8.6 with gc=
c11.3.0&&8.5.0
|
Product |
DPDK
|
Version |
23.03
|
Hardware |
All
|
OS |
All
|
Status |
UNCONFIRMED
|
Severity |
major
|
Priority |
Normal
|
Component |
core
|
Assignee |
dev@dpdk.org
|
Reporter |
daxuex.gao@intel.com
|
Target Milestone |
---
|
You are receiving this mail because:
- You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
=
--16769698360.D52706b.4150318--