Skip to content

libumf.so.0: undefined symbol: __sancov_lowest_stack #590

@ldorau

Description

@ldorau

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): 9be120a
  • 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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions