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 1C45AA00C3; Wed, 15 Dec 2021 09:18:23 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9B4DC40688; Wed, 15 Dec 2021 09:18:22 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 9852240041 for ; Wed, 15 Dec 2021 09:18:21 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 5D80AA034C; Wed, 15 Dec 2021 09:18:21 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 910] [build] meson build not support some c_args Date: Wed, 15 Dec 2021 08:18:20 +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: junx.dong@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=3D910 Bug ID: 910 Summary: [build] meson build not support some c_args Product: DPDK Version: 21.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: meson Assignee: dev@dpdk.org Reporter: junx.dong@intel.com Target Milestone: --- 1.DPDK version: version: 21.11.0-rc0 2.OS version: OS: Ubuntu 20.04.3 LTS/5.8.0-48-generic gcc version: (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 3. Config meson build command, contain c_args parameter=20 DRTE_MBUF_DEFAULT_MEMPOOL_OPS, as follow: CC=3Dgcc meson -Denable_kmods=3DTrue -Dlibdir=3Dlib -Dc_args=3D-DRTE_MBUF= _DEFAULT_ MEMPOOL_OPS=3Dstack --default-library=3Dstatic x86 _64-native-linuxapp-gcc 4. Check the build output. There is warning information of redefined parameter 171149 [6/2720] Compiling C object lib/librte_eal.a.p/eal_common_eal_comm= on_ hypervisor.c.o^M=20 171150 In file included from :^M ./config/rte_config.h:52:= =20 warning:=20 "RTE_MBUF_DEFAULT_MEMPOOL_OPS" redefined^M #define RTE_MBUF_DEFAULT_MEMPOOL_OPS=20 "ring_mp_mc"^M 5. The list of othe c_args parameters having same issues: RTE_LIBRTE_IP_FRAG_MAX_FRAG RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC 6. About RTE_LIBRTE_I40E_16BYTE_RX_DESC, it was undefined in config/rte_config.h,=20 if i defined it in meson build command, it is also cancel, please also analysis=20 this parameter. thanks. --=20 You are receiving this mail because: You are the assignee for the bug.=