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 3C079A0C4B; Wed, 27 Oct 2021 12:53:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C094541109; Wed, 27 Oct 2021 12:53:29 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id BFFD941109 for ; Wed, 27 Oct 2021 12:53:28 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 8C93DA0C52; Wed, 27 Oct 2021 12:53:28 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Wed, 27 Oct 2021 10:53:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: meson X-Bugzilla-Version: 21.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: longfengx.liang@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 Subject: [dpdk-dev] [Bug 841] [dpdk-21.11] DPDK build failed with EXTRA_CFLAGS='-O1' on Ubuntu20.4.3 and Redhat8.4. 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 Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D841 Bug ID: 841 Summary: [dpdk-21.11] DPDK build failed with EXTRA_CFLAGS=3D'-O1' on Ubuntu20.4.3 and Redhat8.4. Product: DPDK Version: 21.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: meson Assignee: dev@dpdk.org Reporter: longfengx.liang@intel.com Target Milestone: --- 1.DPDK version: commit 783a1952f816131a3be8545daf53bd7546ac15c8 (HEAD -> main, origin/main, origin/for-next-net, origin/HEAD) Author: Dapeng Yu Date: Tue Oct 26 09:55:42 2021 +0800 net/ice: fix function pointer in multi-process This patch uses the index value to call the function, instead of the function pointer assignment to save the selection of Receive Flex Descriptor profile ID. Otherwise the secondary process will run with wrong function address from primary process. Fixes: 7a340b0b4e03 ("net/ice: refactor Rx FlexiMD handling") Cc: stable@dpdk.org Signed-off-by: Dapeng Yu Acked-by: Haiyue Wang 2.issue bad commit: commit d85f9749f915302d1c26564578809ec27ebaf2ed (HEAD) Author: Tejasree Kondoj Date: Wed Sep 1 15:49:23 2021 +0530 common/cnxk: add hash generation API Adding functions for hash generation that can be used in hmac opad/ipad calculation. Signed-off-by: Tejasree Kondoj Acked-by: Akhil Goyal 3.OS version: 1)Ubuntu 20.4.3/kernel 5.8.0-48-generic gcc version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 2)Red Hat Enterprise Linux 8.4/kernel 4.18.0-305.19.1.el8_4.x86_64 gcc version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1) 4.Test Setup: build cmd: CC=3Dgcc meson --optimization=3D1 --werror -Denable_kmods=3DTrue -Dlibdir= =3Dlib --default-library=3Dstatic x86_64-native-linuxapp-gcc ninja -C x86_64-native-linuxapp-gcc/ 5.Ubuntu 20.04.3 build failed log,same to Redhat8.4: root@dpdk-xuemin4x-ub2004-gcc:~/dpdk# ninja -C x86_64-native-linuxapp-gcc/ ninja: Entering directory `x86_64-native-linuxapp-gcc/' [614/2865] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_hash.c.o FAILED: drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_hash.c.o gcc -Idrivers/libtmp_rte_common_cnxk.a.p -Idrivers -I../drivers -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/bus/pci -I../drivers/bus/pci -Ilib/net -I../lib/net -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/pci -I../lib/pci -I../drivers/bus/pci/linux -Ilib/= mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -Ilib/r= cu -I../lib/rcu -fdiagnostics-color=3Dalways -pipe -D_FILE_OFFSET_BITS=3D64 -W= all -Winvalid-pch -Werror -O1 -include rte_config.h -Wextra -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-align= ed -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=3Dnative -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=3Dpmd.common.cnxk -MD -MQ drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_hash.c.o -MF drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_hash.c.o.d -o drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_hash.c.o -c ../drivers/common/cnxk/roc_hash.c ../drivers/common/cnxk/roc_hash.c: In function =E2=80=98roc_hash_sha1_gen= =E2=80=99: ../drivers/common/cnxk/roc_hash.c:55:8: error: =E2=80=98temp=E2=80=99 may b= e used uninitialized in this function [-Werror=3Dmaybe-uninitialized] 55 | temp =3D lrot32(5, A) + temp + E + W[i]; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [631/2865] Generating eal.sym_chk with a meson_exe.py custom command ninja: build stopped: subcommand failed. --=20 You are receiving this mail because: You are the assignee for the bug.=