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 F3A36A0C51; Thu, 10 Jun 2021 09:35:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AC65E4067C; Thu, 10 Jun 2021 09:35:15 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 663A04003C for ; Thu, 10 Jun 2021 09:35:14 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 4BD0BA0C52; Thu, 10 Jun 2021 09:35:14 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Thu, 10 Jun 2021 07:35:13 +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: 19.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: leweix.yang@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 728] [dpdk-19.11.9-rc2]When compiling dpdk with make or meson under SUSE Linux Enterprise Server 15 SP2, the compilation fails 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=3D728 Bug ID: 728 Summary: [dpdk-19.11.9-rc2]When compiling dpdk with make or meson under SUSE Linux Enterprise Server 15 SP2, the compilation fails Product: DPDK Version: 19.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: core Assignee: dev@dpdk.org Reporter: leweix.yang@intel.com Target Milestone: --- Environment: OS: SUSE Linux Enterprise Server 15 SP2 5.3.18-22 Compiler: gcc (SUSE Linux) 7.5.0 Test Error=EF=BC=9A 1. When compiling dpdk with make,the error is reported as follows : =20=20 /root/bak/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_net.c:791:2= 0: error: initialization from incompatible pointer type [-Werror=3Dincompatible-pointer-types] .ndo_tx_timeout =3D kni_net_tx_timeout, ^~~~~~~~~~~~~~~~~~ /root/bak/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_net.c:791:2= 0: note: (near initialization for =E2=80=98kni_net_netdev_ops.ndo_tx_timeout= =E2=80=99) cc1: all warnings being treated as errors make[9]: *** [/usr/src/linux-5.3.18-22/scripts/Makefile.build:282: /root/bak/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_net.o] Erro= r 1 make[9]: *** Waiting for unfinished jobs.... INSTALL-LIB librte_bus_vmbus.a make[8]: *** [/usr/src/linux-5.3.18-22/Makefile:1644: _module_/root/bak/x86_64-native-linuxapp-gcc/build/kernel/linux/kni] Error 2 make[7]: *** [../../../linux-5.3.18-22/Makefile:179: sub-make] Error 2 make[6]: *** [/root/bak/mk/rte.module.mk:51: rte_kni.ko] Error 2 make[5]: *** [/root/bak/mk/rte.subdir.mk:37: kni] Error 2 make[5]: *** Waiting for unfinished jobs.... 2. When compiling dpdk with meson,the error is reported as follows : FAILED: kernel/linux/kni/rte_kni.ko make -j4 -C /lib/modules/5.3.18-22-default/build M=3D/root/bak/x86_64-native-linuxapp-gcc/kernel/linux/kni src=3D/root/bak/kernel/linux/kni 'MODULE_CFLAGS=3D-include /root/bak/config/rte_config.h -I/root/bak/lib/librte_eal/common/include -I/root/bak/lib/librte_eal/linux/eal/include -I/root/bak/x86_64-native-linuxapp-gcc -I/root/bak/kernel/linux/kni' modules make: Entering directory '/usr/src/linux-5.3.18-22-obj/x86_64/default' CC [M] /root/bak/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_net.o CC [M] /root/bak/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_misc.o /root/bak/kernel/linux/kni/kni_net.c:791:20: error: initialization from incompatible pointer type [-Werror=3Dincompatible-pointer-types] .ndo_tx_timeout =3D kni_net_tx_timeout, ^~~~~~~~~~~~~~~~~~ /root/bak/kernel/linux/kni/kni_net.c:791:20: note: (near initialization for =E2=80=98kni_net_netdev_ops.ndo_tx_timeout=E2=80=99) cc1: some warnings being treated as errors make[2]: *** [/usr/src/linux-5.3.18-22/scripts/Makefile.build:281: /root/bak/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_net.o] Error 1 make[1]: *** [/usr/src/linux-5.3.18-22/Makefile:1644: _module_/root/bak/x86_64-native-linuxapp-gcc/kernel/linux/kni] Error 2 make: *** [../../../linux-5.3.18-22/Makefile:179: sub-make] Error 2 make: Leaving directory '/usr/src/linux-5.3.18-22-obj/x86_64/default' Bad commitid : de7bca5de2e3d605ef9977bd6eba8aa565af01fd=20 Author: Christian Ehrhardt Date: Wed Jun 2 15:59:42 2021 +0200 kni: fix compilation on SLES15-SP3 Like what was done for mainline kernel in commit 38ad54f3bc76 ("kni: fix build with Linux 5.6"), a new parameter 'txqueue' has to be added to 'ndo_tx_timeout' ndo on SLES 15-SP3 kernel. Caused by: commit c3bf155c40e9db722feb8a08c19efd44c12d5294 Author: Thomas Bogendoerfer Date: Fri Sep 11 16:08:31 2020 +0200 - netdev: pass the stuck queue to the timeout handler (jsc#SLE-13536). - Refresh patches.suse/sfc-move-various-functions.patch. That is part of the SLES 5.3.18 kernel Cc: stable@dpdk.org Signed-off-by: Christian Ehrhardt --=20 You are receiving this mail because: You are the assignee for the bug.=