[meta-intel] [PATCH] dpdk: Upgrade to 17.11.3

Anuj Mittal anuj.mittal at intel.com
Thu Aug 16 00:59:34 PDT 2018


On 08/14/2018 04:09 PM, zhe.he at windriver.com wrote:
> From: He Zhe <zhe.he at windriver.com>
> 
> And add strncpy warning/error fixes for GCC8
> 
> Signed-off-by: He Zhe <zhe.he at windriver.com>
> ---
>  .../dpdk-17.11-Fix-strncpy-error-for-GCC8.patch    | 82 ++++++++++++++++++++++
>  .../dpdk/{dpdk_17.11.1.bb => dpdk_17.11.3.bb}      |  4 +-
>  2 files changed, 85 insertions(+), 1 deletion(-)
>  create mode 100644 recipes-extended/dpdk/dpdk/dpdk-17.11-Fix-strncpy-error-for-GCC8.patch
>  rename recipes-extended/dpdk/{dpdk_17.11.1.bb => dpdk_17.11.3.bb} (66%)
> 
> diff --git a/recipes-extended/dpdk/dpdk/dpdk-17.11-Fix-strncpy-error-for-GCC8.patch b/recipes-extended/dpdk/dpdk/dpdk-17.11-Fix-strncpy-error-for-GCC8.patch
> new file mode 100644
> index 0000000..2014b3e
> --- /dev/null
> +++ b/recipes-extended/dpdk/dpdk/dpdk-17.11-Fix-strncpy-error-for-GCC8.patch
> @@ -0,0 +1,82 @@
> +From 30234e8bf0a8c0fe348aaa147307488f59b3265a Mon Sep 17 00:00:00 2001
> +From: He Zhe <zhe.he at windriver.com>
> +Date: Mon, 13 Aug 2018 20:06:31 +0800
> +Subject: [PATCH] dpdk 17.11: Fix strncpy error for GCC8
> +
> +GCC 8 adds -Wstringop-truncation. If -Werror=stringop-truncation is
> +enabled. We will meet errors like the following:
> +
> +examples/vhost_scsi/scsi.c:213:4: error: 'strncpy' output may be truncated
> +copying 32 bytes from a string of length 63 [-Werror=stringop-truncation]
> +|     strncpy((char *)vpage->params, bdev->name, 32);
> +|     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> +
> +Upstream-Status: Submitted [stable at dpdk.org]
> +

For some reason, I can't find this patch on the stable mailing list. Can
you please include the link to archive?

Thanks,

Anuj


More information about the meta-intel mailing list