Skip to contentSkip to conversation

meson build not support some c_args

Bug 910 [email protected] 1 participant 1 message Dec 15, 2021

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=910

            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: [email protected]
          Reporter: [email protected]

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 DRTE_MBUF_DEFAULT_MEMPOOL_OPS, as follow:
CC=gcc meson -Denable_kmods=True -Dlibdir=lib -Dc_args=-DRTE_MBUF_DEFAULT_ MEMPOOL_OPS=stack --default-library=static 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_common_ hypervisor.c.o^M
171150 In file included from <command-line>:^M ./config/rte_config.h:52:
warning:
"RTE_MBUF_DEFAULT_MEMPOOL_OPS" redefined^M #define
RTE_MBUF_DEFAULT_MEMPOOL_OPS
"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,
if i defined it in meson build command, it is also cancel, please also
analysis
this parameter. thanks.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.