android / android/ndk

[FR] Missing TSAN runtime support?

Open
#1,041 29 comments 5 reactions 1 assignee Assigned to @ZijunZhaoCCK View on GitHub
enhancement
Dominant language
No language data
Stars
2.3k
Forks
310
PR merge metrics
No merged PRs in 30d

Description

#### Description

Add -fsanitize=thread to compile and link flags, and get `error: undefined reference to '__tsan_func_entry'` (and other tsan functions) link errors.

#### Environment Details

* NDK Version: 20.0.5594570
* Build system: CMake
* Host OS: Ubuntu 18.04
* ABI: arm64-v8a
* NDK API level: 21
* Device API level: 28

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.