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 0AF5CA054A; Wed, 7 Sep 2022 08:46:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F0661400D6; Wed, 7 Sep 2022 08:46:49 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 495A640042 for ; Wed, 7 Sep 2022 08:46:48 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 30267A054F; Wed, 7 Sep 2022 08:46:48 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1076] [dpdk 22.11] kernel/linux/kni meson build failed with gcc 11.3.1 on rhel9.0 Date: Wed, 07 Sep 2022 06:46:47 +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=3D1076 Bug ID: 1076 Summary: [dpdk 22.11] kernel/linux/kni meson build failed with gcc 11.3.1 on rhel9.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 4aee6110bb10b0225fa9562f2e48af233a9058a1 (HEAD -> main, origin/main, origin/HEAD) Author: Huichao Cai Date: Mon Aug 8 09:48:12 2022 +0800 ip_frag: add IPv4 fragment copy Some NIC drivers support MBUF_FAST_FREE (device supports optimization for fast release of mbufs. When set, application must guarantee that per-queue all mbufs comes from the same mempool, has refcnt =3D 1, dire= ct and non-segmented.) offload. In order to adapt to this offload function, add this API. Add some test data for this API. Signed-off-by: Huichao Cai Acked-by: Konstantin Ananyev [OS version]: RHEL9.0/5.14.0-160.el9.x86_64 gcc version 11.3.1 20220421 [Test Setup]: CC=3Dgcc meson --werror -Denable_kmods=3DTrue -Dlibdir=3Dlib -Dexamples=3Da= ll --default-library=3Dstatic x86_64-native-linuxapp-gcc=20 ninja -j 10 -C x86_64-native-linuxapp-gcc/ [Log] FAILED: kernel/linux/kni/rte_kni.ko /usr/bin/make -j4 -C /lib/modules/5.14.0-160.el9.x86_64/build M=3D/root/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni src=3D/root/dpdk/kernel/linux/kni 'MODULE_CFLAGS=3D -DHAVE_ARG_TX_QUEUE -in= clude /root/dpdk/config/rte_config.h -I/root/dpdk/lib/eal/include -I/root/dpdk/lib/kni -I/root/dpdk/x86_64-native-linuxapp-gcc -I/root/dpdk/kernel/linux/kni' modules make: Entering directory '/usr/src/kernels/5.14.0-160.el9.x86_64' CC [M] /root/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_misc.o CC [M] /root/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_net.o /root/dpdk/kernel/linux/kni/kni_net.c: In function =E2=80=98kni_net_rx_norm= al=E2=80=99: /root/dpdk/kernel/linux/kni/kni_net.c:445:17: error: implicit declaration of function =E2=80=98netif_rx_ni=E2=80=99; did you mean =E2=80=98netif_rx=E2= =80=99? [-Werror=3Dimplicit-function-declaration] 445 | netif_rx_ni(skb); | ^~~~~~~~~~~ | netif_rx cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:295: /root/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_net.o] Error 1 make: *** [Makefile:1915: /root/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni] Error 2 make: Leaving directory '/usr/src/kernels/5.14.0-160.el9.x86_64' ninja: build stopped: subcommand failed. [Bad commit] This is new os found problem, old os no found problem. --=20 You are receiving this mail because: You are the assignee for the bug.=