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 33F7DA0543; Mon, 13 Jun 2022 10:47:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1C38D40150; Mon, 13 Jun 2022 10:47:55 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 52777400EF for ; Mon, 13 Jun 2022 10:47:54 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 38F3CA0553; Mon, 13 Jun 2022 10:47:54 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1032] [dpdk 22.07-rc1] app/test/test_cryptodev meson build failed with cflag param optimization=1 on Ubuntu22.04 &&RHEL8.6 with gcc11.2.0&&8.5.0 Date: Mon, 13 Jun 2022 08:47:53 +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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal 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: 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 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 https://bugs.dpdk.org/show_bug.cgi?id=3D1032 Bug ID: 1032 Summary: [dpdk 22.07-rc1] app/test/test_cryptodev meson build failed with cflag param optimization=3D1 on Ubuntu22.04 &&RHEL8.6 with gcc11.2.0&&8.5.0 Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: core Assignee: dev@dpdk.org Reporter: daxuex.gao@intel.com Target Milestone: --- [DPDK version] commit 1ab4156e7d57858fca1db448ac7a0792e1d527b6 Author: Thomas Monjalon Date: Wed Jun 8 21:43:41 2022 +0200 version: 22.07-rc1 Signed-off-by: Thomas Monjalon [Bad commit]: commit 6d7d651bbc157bc5a66158dca4a120df96e2b3c8 Author: Rahul Lakkireddy Date: Tue May 17 01:04:39 2022 +0530 net/cxgbe: read firmware configuration file from filesystem Add support to read firmware configuration file from /lib/firmware/cxgb4/ path in the filesystem. The firmware config file is used to enable or disable NIC features before firmware initialization to help retrieve better debug data to analyze firmware init failures. The config file can also be used to redistribute resources, like queues, TCAMs, etc., from disabled physical functions (PFs) to main PF, before firmware init. Signed-off-by: Rahul Lakkireddy doc/guides/nics/cxgbe.rst | 48 +++++ drivers/net/cxgbe/base/t4fw_interface.h | 1 + drivers/net/cxgbe/cxgbe_main.c | 329 +++++++++++++++++++++-------= ---- 3 files changed, 265 insertions(+), 113 deletions(-) [OS version]: gcc version gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Ubuntu22.04/ 5.15.0-25-generic RHEL8.6/4.18.0-372.9.1.el8.x86_64 gcc version 8.5.0 [Test Setup]: CC=3Dgcc meson --optimization=3D1 --werror -Denable_kmods=3DTrue -Dlibdir= =3Dlib=20 --default-library=3Dstatic x86_64-native-linuxapp-gcc=20 ninja -C x86_64-native-linuxapp-gcc -j 10 [Ubuntu22.04 log as below] [3304/3466] Compiling C object app/test/dpdk-test.p/test_cryptodev.c.o FAILED: app/test/dpdk-test.p/test_cryptodev.c.o gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -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/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/= eal -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/mempool -I../lib/memp= ool -Ilib/mbuf -I../lib/mbuf -Ilib/net -I../lib/net -Ilib/meter -I../lib/meter -Ilib/ethdev -I../lib/ethdev -Ilib/pci -I../lib/pci -Ilib/cmdline -I../lib/cmdline -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/= acl -I../lib/acl -Ilib/bbdev -I../lib/bbdev -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/eventdev -I../lib/eventdev -Ilib/gpudev -I../lib/gpudev -Ilib/gro -I../lib/gro -Ilib= /gso -I../lib/gso -Ilib/ip_frag -I../lib/ip_frag -Ilib/jobstats -I../lib/jobstats -Ilib/kni -I../lib/kni -Ilib/latencystats -I../lib/latencystats -Ilib/lpm -I../lib/lpm -Ilib/member -I../lib/member -Ilib/pcapng -I../lib/pcapng -Ilib/power -I../lib/power -Ilib/rawdev -I../lib/rawdev -Ilib/regexdev -I../lib/regexdev -Ilib/dmadev -I../lib/dmadev -Ilib/rib -I../lib/rib -Ilib/reorder -I../lib/reorder -Ilib/sched -I../lib/sched -Ilib/security -I../lib/security -Ilib/stack -I../lib/stack -Ilib/vhost -I../lib/vhost -Ilib/ipsec -I../lib/ipsec -Ilib/fib -I../lib/fib -Ilib/port -I../lib/port -Ilib/pdump -I../lib/pdump -Ilib/table -I../lib/table -Ilib/pipeline -I../lib/pipeline -Ilib/flow_classify -I../lib/flow_classify -Ilib/graph -I../lib/graph -Ilib/node -I../lib/node -Idrivers/bus/pci -I../drivers/bus/= pci -I../drivers/bus/pci/linux -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skel= eton -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Idrivers/net/null -I../drivers/net/null -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -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-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_cryptodev.c.o -MF app/test/dpdk-test.p/test_cryptodev.c.o.d -o app/test/dpdk-test.p/test_cryptodev.c.o -c ../app/test/test_cryptodev.c ../app/test/test_cryptodev.c: In function =E2=80=98test_ipsec_pkt_replay=E2= =80=99: ../app/test/test_cryptodev.c:10074:15: error: =E2=80=98td_outb=E2=80=99 may= be used uninitialized [-Werror=3Dmaybe-uninitialized] 10074 | ret =3D test_ipsec_proto_process(td_outb, td_inb, nb_pkts, = true, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~ 10075 | &flags); | ~~~~~~~ ../app/test/test_cryptodev.c:9150:1: note: by argument 1 of type =E2=80=98c= onst struct ipsec_test_data[]=E2=80=99 to =E2=80=98test_ipsec_proto_process=E2=80=99 de= clared here 9150 | test_ipsec_proto_process(const struct ipsec_test_data td[], | ^~~~~~~~~~~~~~~~~~~~~~~~ ../app/test/test_cryptodev.c:10056:32: note: =E2=80=98td_outb=E2=80=99 decl= ared here 10056 | struct ipsec_test_data td_outb[IPSEC_TEST_PACKETS_MAX]; | ^~~~~~~ cc1: all warnings being treated as errors ninja: build stopped: subcommand failed. --=20 You are receiving this mail because: You are the assignee for the bug.=