Re: Fix the issue of missing symbols in libdevmapper

Zdenek Kabelac <[email protected]> Wed, 19 Feb 2025 16:06:45 +0100
Newsgroups dev.linux.lists.lvm-devel
Message-ID <[email protected]>
Dne 19. 02. 25 v 8:48 [email protected] napsal(a):
> Hi,lvm-devel
> 
> I analyzed the dynamic library libdevmapper.so.1.02 and found an issue: it 
> appears to be missing two symbols: dm_bitset_parse_list@@DM_1_02_138 and 
> dm_tree_node_size_changed@Base.
> 
> Analysis of dm_bitset_parse_list@@DM_1_02_138:
> 
> The symbol dm_bitset_parse_list is listed in the files 
> libdm/.exported_symbols.DM_1_02_129 and libdm/.exported_symbols.DM_1_02_138. 
> However, in the actual source code implementation, only 
> dm_bitset_parse_list@@DM_1_02_129 is explicitly defined.

Yep - thanks for the patch.

I'm just wondering how did you hit the issue - is this from some other 
libdevmapper user ?

(As lvm2 is using it's internal copy these days - so there cannot be a problem 
with linking this symbol within lvm2.)

Regards

Zdenek