Re: [PATCH v2] mk: Provide option to set Major ABI version
From: Thomas Monjalon <hidden>
Date: 2017-03-16 17:19:52
2017-03-01 15:35, Jan Blunck:
On Wed, Mar 1, 2017 at 10:34 AM, Christian Ehrhardt [off-list ref] wrote:quoted
Downstreams might want to provide different DPDK releases at the same time to support multiple consumers of DPDK linked against older and newer sonames. Also due to the interdependencies that DPDK libraries can have applications might end up with an executable space in which multiple versions of a library are mapped by ld.so. Think of LibA that got an ABI bump and LibB that did not get an ABI bump but is depending on LibA. Application \-> LibA.old \-> LibB.new -> LibA.new That is a conflict which can be avoided by setting CONFIG_RTE_MAJOR_ABI. If set CONFIG_RTE_MAJOR_ABI overwrites any LIBABIVER value. An example might be ``CONFIG_RTE_MAJOR_ABI=16.11`` which will make all libraries librte<?>.so.16.11 instead of librte<?>.so.<LIBABIVER>.
[...]
quoted
Signed-off-by: Christian Ehrhardt <redacted>Reviewed-by: Jan Blunck <redacted> Tested-by: Jan Blunck <redacted>
Not sure about how it can be used in distributions, but it does not hurt to provide the config option. Are you going to link applications against a fixed DPDK version for every libraries? Applied, thanks