Re: [dpdk-dev] [PATCH v2] crypto/kasumi: fix gcc 10 fno-common error

2020-05-09 Thread Akhil Goyal
> gcc 10 defaults to fno-common and it reports: > > crypto_kasumi_rte_kasumi_pmd_ops.c.o:(.data.rel+0x0): > multiple definition of `rte_kasumi_pmd_ops'; > crypto_kasumi_rte_kasumi_pmd.c.o:(.bss+0x8): first defined here > > Fix by making rte_kasumi_pmd_ops extern in the header file. > > Fixes: 27

[dpdk-dev] [PATCH v2] crypto/kasumi: fix gcc 10 fno-common error

2020-05-06 Thread Kevin Traynor
gcc 10 defaults to fno-common and it reports: crypto_kasumi_rte_kasumi_pmd_ops.c.o:(.data.rel+0x0): multiple definition of `rte_kasumi_pmd_ops'; crypto_kasumi_rte_kasumi_pmd.c.o:(.bss+0x8): first defined here Fix by making rte_kasumi_pmd_ops extern in the header file. Fixes: 2773c86d061a ("crypt