On Wed, 2026-01-07 at 12:09 +0000, Michal Rostecki wrote: > dm_get_multipath() is a static function, not a symbol that can be > exported. Clang is strict about not allowing undefined symbols in > linker > scripts and therefore its presence prevents clang from building > libmultipath. > > Fixes: https://github.com/opensvc/multipath-tools/issues/132 > Fixes: bf3a4ad ("libmultipath: simplify dm_get_maps()") > Signed-off-by: Michal Rostecki <[email protected]>
Thanks! Reviewed-by: Martin Wilck <[email protected]> Yet I'm wondering which compiler version you use, or if you use any non-standard compilation options. Our CI compiles multipath-tools with MANY different versions of clang, but never encountered this problem. Martin > --- > libmultipath/libmultipath.version | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/libmultipath/libmultipath.version > b/libmultipath/libmultipath.version > index 89ae2a3c..5017a54d 100644 > --- a/libmultipath/libmultipath.version > +++ b/libmultipath/libmultipath.version > @@ -85,7 +85,6 @@ global: > dm_geteventnr; > dm_get_major_minor; > dm_get_maps; > - dm_get_multipath; > dm_is_mpath; > dm_mapname; > dm_prereq;
