[dpdk-dev] [PATCH v7 32/42] pipeline: add SWX pipeline specification file

David Marchand david.marchand at redhat.com
Sun Oct 4 11:01:27 CEST 2020


Hello Raslan,

On Sun, Oct 4, 2020 at 9:51 AM Raslan Darawsheh <rasland at nvidia.com> wrote:
> Seems like this patch introduced a new failure in compilation as following:
>
> ./../root/dpdk/lib/librte_pipeline/rte_swx_pipeline_spec.c:216:15: error: implicit declaration of function 'reallocarray'; did you mean 'realloc'? [-Werror=implicit-function-declaration]
>   new_fields = reallocarray(s->fields,
>                ^~~~~~~~~~~~
>                realloc

[...]

>
> This is reproducible in the following environment:
>         ARCH: aarch64
>         CC: gcc
>         OS: Fedora 32 (Container Image)
>         Kernel: 4.4.0-104-generic
>         GCC(aarch64): aarch64-linux-gnu-gcc (Linaro GCC 7.1-2017.08) 7.1.1 20170707
>
> Can you kindly help with providing a fix for it ?

https://git.dpdk.org/dpdk/commit/?id=2a8be2ff7530c5031c5b29bf4f0353e3d2d4aee0


-- 
David Marchand



More information about the dev mailing list