[dpdk-dev] [PATCH v2] mk: fix ABI versioning compile error for combined shared library

Ferruh Yigit ferruh.yigit at intel.com
Tue Nov 3 10:20:33 CET 2015


On Tue, Nov 03, 2015 at 09:06:05AM +0200, Panu Matilainen wrote:
> On 11/02/2015 05:23 PM, Ferruh Yigit wrote:
>> Fixes following error:
>>    LD libdpdk.so
>>    /usr/bin/ld: /root/dpdk/build/lib/libdpdk.so: version node not found
>>    for symbol <function>@DPDK_x.y
>>
>> Defines version symbols in a fixed path libdpdk.map file and this
>> value hardcoded into makefile
>
> Hold on. What problem is this supposed to be fixing?
This patch is to fix combined library compilation error when ABI versining used.
Currently if ABI version macros used (VERSION_SYMBOL), we are not able to compile combined shared library.

> If its for the bonding thing (as it'd appear from the threading), NAK. 
Nothing directly related to the bonding, just issue observed in this thread.

> The symbol versioning in 
> that patch is confused needs to be fixed there instead of inventing strange 
> workarounds elsewhere.
>
This is not intented to be a workaround but a fix, unless you have a better idea.

ferruh




More information about the dev mailing list