[dpdk-dev] [PATCH v6 3/4] bond mode 4: allow external state machine

Thomas Monjalon thomas.monjalon at 6wind.com
Sun Nov 1 19:17:38 CET 2015


2015-10-19 08:36, Eric Kinzie:
>   Size of struct rte_eth_bond_8023ad_conf changed.  Increment LIBABIVER
>   and version bond_mode_8023ad_setup and bond_mode_8023ad_conf_get
>   functions.
[...]
> +VERSION_SYMBOL(bond_mode_8023ad_setup, _v20, 2.0);
[...]
> +BIND_DEFAULT_SYMBOL(bond_mode_8023ad_setup, _v22, 2.2);
> +MAP_STATIC_SYMBOL(void bond_mode_8023ad_setup(struct rte_eth_dev *dev, struct rte_eth_bond_8023ad_conf *conf), \
> +		  bond_mode_8023ad_setup_v22);

I'm sorry it doesn't work well when trying to build a combined lib:

ld: libdpdk.so: version node not found for symbol bond_mode_8023ad_setup@@DPDK_2.2

The symbols are OK in the .o file:
0000000000002340 g     F .text  0000000000000171 bond_mode_8023ad_setup@@DPDK_2.2
0000000000002260 g     F .text  00000000000000da bond_mode_8023ad_setup at DPDK_2.0
0000000000002260 g     F .text  00000000000000da bond_mode_8023ad_setup_v20
0000000000002340 g     F .text  0000000000000171 bond_mode_8023ad_setup_v22
0000000000000000         *UND*  0000000000000000 bond_mode_8023ad_setup

I don't understand the problem and I am considering disabling versioning in
combined library.

Any idea?


More information about the dev mailing list