Skip to content

Dynamic asan tests don't find libclang_rt.asan.so #100123

@rorth

Description

@rorth

The 32-bit dynamic asan unit tests FAIL to find libclang_rt.asan.so at runtime on Solaris/amd64:

  AddressSanitizer-Unit :: ./Asan-i386-calls-Dynamic-Test/failed_to_discover_tests_from_gtest
  AddressSanitizer-Unit :: ./Asan-i386-inline-Dynamic-Test/failed_to_discover_tests_from_gtest

The problem is that either or both of LD_LIBRARY_PATH* and the RUNPATH aren't set correctly for various reasons detailed in PR #100083.

I'd like the patch to go into the 19.x release once approved/committed to main.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions