unified-memory-framework icon indicating copy to clipboard operation
unified-memory-framework copied to clipboard

libumf.so.0: undefined symbol: __sancov_lowest_stack

Open ldorau opened this issue 7 months ago • 0 comments

When CMAKE_C_COMPILER=clang CMAKE_CXX_COMPILER=clang++ UMF_BUILD_FUZZTESTS=ON:

$ LD_PRELOAD=./lib/libumf_proxy.so ctest
ctest: symbol lookup error: unified-memory-framework/build/lib/libumf.so.0: undefined symbol: __sancov_lowest_stack

Environment Information

  • UMF version (hash commit or a tag): 9be120a8c508493901d42f9615a10adf58b3d234
  • OS(es) version(s): Linux WSL - Ubuntu 22.04.4 LTS
  • kernel version(s): 5.15.153.1-microsoft-standard-WSL2
  • compiler, libraries, and other related tools version(s): clang version 14.0.0-1ubuntu1.1

Please provide a reproduction of the bug:

$ cmake .. -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DUMF_BUILD_FUZZTESTS=ON
$ LD_PRELOAD=./lib/libumf_proxy.so ctest
ctest: symbol lookup error: unified-memory-framework/build/lib/libumf.so.0: undefined symbol: __sancov_lowest_stack

How often bug is revealed:

always

Actual behavior:

ctest: symbol lookup error: unified-memory-framework/build/lib/libumf.so.0: undefined symbol: __sancov_lowest_stack

Expected behavior:

ctest runs without any errors.

ldorau avatar Jul 02 '24 12:07 ldorau