On Mon, 2020-08-31 at 22:47 -0700, Chen Qi wrote:
> gcc-10 uses '-fno-common' by default, which results in error
> about duplicate definition. Use '-fcommon' to avoid such problem.

There have been some fixes for this committed to 19.11. It looks like
they were after 19.11.2. Can you please check if upgrading/backporting
fixes those issues?

https://git.dpdk.org/dpdk-stable/log/?h=19.11&qt=grep&q=fcommon

Thanks,

Anuj

> 
> Signed-off-by: Chen Qi <[email protected]>
> ---
>  recipes-extended/dpdk/dpdk_19.11.2.bb | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/recipes-extended/dpdk/dpdk_19.11.2.bb b/recipes-
> extended/dpdk/dpdk_19.11.2.bb
> index 84ab32e..6216228 100644
> --- a/recipes-extended/dpdk/dpdk_19.11.2.bb
> +++ b/recipes-extended/dpdk/dpdk_19.11.2.bb
> @@ -16,3 +16,6 @@ do_install_append () {
>      # Remove the unneeded dir
>      rm -rf ${D}/${INSTALL_PATH}/${RTE_TARGET}/app
>  }
> +
> +# Fix build failure for gcc-10
> +DPDK_EXTRA_CFLAGS_append = " -fcommon"
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#6688): 
https://lists.yoctoproject.org/g/meta-intel/message/6688
Mute This Topic: https://lists.yoctoproject.org/mt/76550886/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to