In certain scenarios with OVS built with --enable-shared and DPDK enabled as shared build too, Position Independant Code is required to link the avx512.a file into the relocatable .so that it must be linked into.
Signed-off-by: Harry van Haaren <harry.van.haa...@intel.com> --- v3: - Note this patch fixes a potential build issue that is only exposed with future DPDK Meson integration, and not an issue today. Ensuring OVS 2.14 release is compatible with DPDK Meson builds will ease the future porting to meson, so is worth including now. --- lib/automake.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/automake.mk b/lib/automake.mk index 218dc7313..380a67228 100644 --- a/lib/automake.mk +++ b/lib/automake.mk @@ -34,6 +34,7 @@ lib_libopenvswitchavx512_la_CFLAGS = \ -mavx512bw \ -mavx512dq \ -mbmi2 \ + -fPIC \ $(AM_CFLAGS) lib_libopenvswitchavx512_la_SOURCES = \ lib/dpif-netdev-lookup-avx512-gather.c -- 2.17.1 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev