eef9e0412a
gcc 10 defaults to -fno-common and as a result when linking with crypto drivers: drivers/librte_pmd_dpaa_sec.a(crypto_dpaa_sec_dpaa_sec.c.o): (.bss+0x4): multiple definition of `rta_sec_era'; drivers/librte_pmd_caam_jr.a(crypto_caam_jr_caam_jr.c.o): (.bss+0x0): first defined here drivers/librte_pmd_dpaa2_sec.a(crypto_dpaa2_sec_dpaa2_sec_dpseci.c.o): (.data+0x0): multiple definition of `rta_sec_era'; drivers/librte_pmd_caam_jr.a(crypto_caam_jr_caam_jr.c.o): (.bss+0x0): first defined here This patch fixes the blunt workaround in the following commit. Fixes: 50b03f3b8eaf ("drivers/crypto: disable gcc 10 no-common errors") Bugzilla ID: 469 Cc: stable@dpdk.org Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com> Tested-by: Kevin Traynor <ktraynor@redhat.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com> Acked-by: Ray Kinsella <mdr@ashroe.eu>
15 lines
392 B
Meson
15 lines
392 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright 2018 NXP
|
|
|
|
if not is_linux
|
|
build = false
|
|
reason = 'only supported on linux'
|
|
endif
|
|
|
|
deps += ['bus_dpaa', 'mempool_dpaa', 'security']
|
|
sources = files('dpaa_sec.c')
|
|
|
|
includes += include_directories('../../bus/dpaa/include')
|
|
includes += include_directories('../../common/dpaax')
|
|
includes += include_directories('../../common/dpaax/caamflib/')
|