[dpdk-dev] [PATCH v2] build: fix soname info for 19.11 compatiblity

Ferruh Yigit ferruh.yigit at intel.com
Thu Dec 12 09:57:50 CET 2019


On 12/12/2019 8:27 AM, David Marchand wrote:
> Hello Bruce,
> 
> On Wed, Dec 11, 2019 at 4:16 PM Bruce Richardson
> <bruce.richardson at intel.com> wrote:
>>
>> The soname for each stable ABI version should be just the ABI version major
>> number without the minor number. Unfortunately both major and minor were
>> used causing version 20.1 to be incompatible with 20.0.
>>
>> This patch fixes the issue by switching from 2-part to 3-part ABI version
>> numbers so that we can keep 20.0 as soname and using the final digits to
>> identify the 20.x releases which are ABI compatible. This requires changes
>> to both make and meson builds to handle the three-digit version and shrink
>> it to 2-digit for soname.
>>
>> Fixes: cba806e07d6f ("build: change ABI versioning to global")
>>
>> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
>> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> 
> There is an issue with the ethtool example.
> 
>   INSTALL-APP server
>   INSTALL-MAP server.map
> cat: /home/dmarchan/dpdk/examples/ethtool/lib/ABI_VERSION: No such
> file or directory
>   CC rte_ethtool.o
>   LD librte_ethtool.so.0.
>   INSTALL-LIB librte_ethtool.so.0.
> gmake[3]: stat:
> /home/dmarchan/builds/i686-native-linux-gcc+shared+debug+default/examples/ethtool/lib/i686-native-linux-gcc/lib/librte_ethtool.so.0.:
> Too many levels of symbolic links
> == ethtool-app
> 
> 

It is linking against itself, in 'examples/ethtool/lib/build/lib':
librte_ethtool.so -> librte_ethtool.so.0.
librte_ethtool.so.0. -> librte_ethtool.so.0.


More information about the dev mailing list