[dpdk-dev] [RFC] meter: fix ABI break due to experimental tag removal

Andrzej Ostruszka amo at semihalf.com
Wed Jan 29 15:57:17 CET 2020


On 1/29/20 1:29 PM, Ferruh Yigit wrote:
[...]
> Updated meson build system to allow the versioning,
> 'use_function_versioning = true', not sure why it was disabled by
> default.

AFAIR this is to save build time with meson.  By default static build is
made and from the objects from the static build shared library is
constructed.  This works unless function versioning is used - because
for the static build "attribute alias" is used and for shared build
.symver is used.  So 'use_function_versioning' by default is false and
only libraries that actually use them have it set to true (and perform
separate shared build - see lib/meson.build).

I've now noticed that LPM, Distributor and Timer libraries no longer use
function versioning but have it still set in their meson.build.

With regards
Andrzej Ostruszka


More information about the dev mailing list