Skip to content

Fix link errors for vtkm_cont when logging is enabled

VTKm ASAN nightly build fails due to an error is undefined reference to symbol 'dladdr@@GLIBC_2.2.5', //lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line. However, the result of command readelf -s //lib/x86_64-linux-gnu/libdl.so.2 | grep dladdr is valid.

    30: 0000000000001870    66 FUNC    GLOBAL DEFAULT   14 dladdr1@@GLIBC_2.3.3
    33: 0000000000001840    41 FUNC    GLOBAL DEFAULT   14 dladdr@@GLIBC_2.2.5

This commit tries to fix the problem.

Edited by Haocheng LIU

Merge request reports