[Android Software/Hacking General [Developers Only]] fKm:
I still get this error with some ROMs (OmniROM and AOSP). After some research on Google I found out that it has something to do with LLVM but it should be fixed a long time ago. Adding asan_test and liblatinime_host_unittests_intermediates to the POLLY and DTC disable list doesn't help at all. Is there anyone who can help me with this? My skills are very bad at this ;)

Other ROMs (Krexus i.e.) work great with DragonTC and I don't get this error, so I think it is fixable.

host Executable: asan_test (out/host/linux-x86/obj/EXECUTABLES/asan_test_intermediates/asan_test64)
host Executable: asan_test_32 (out/host/linux-x86/obj32/EXECUTABLES/asan_test_intermediates/asan_test32)
host Executable: liblatinime_host_unittests (out/host/linux-x86/obj/EXECUTABLES/liblatinime_host_unittests_intermediates/liblatinime_host_unittests)
target Java: bouncycastle (out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes)
external/compiler-rt/lib/asan/tests/asan_globals_test.cc:44: error: undefined reference to '__asan_init'
external/compiler-rt/lib/asan/tests/asan_globals_test.cc:44: error: undefined reference to '__asan_version_mismatch_check_v8'
external/compiler-rt/lib/asan/tests/asan_globals_test.cc:44: error: undefined reference to '__asan_init'
external/compiler-rt/lib/asan/tests/asan_globals_test.cc:44: error: undefined reference to '__asan_version_mismatch_check_v8'
external/compiler-rt/lib/asan/tests/asan_test.cc:1055: error: undefined reference to '__asan_init'
external/compiler-rt/lib/asan/tests/asan_test.cc:1055: error: undefined reference to '__asan_version_mismatch_check_v8'
external/compiler-rt/lib/asan/tests/asan_test.cc:1055: error: undefined reference to '__asan_init'
target Static Jar: libphonenumber-platform (out/target/common/obj/JAVA_LIBRARIES/libphonenumber-platform_intermediates/javalib.jar)
external/compiler-rt/lib/asan/tests/asan_test.cc:1055: error: undefined reference to '__asan_version_mismatch_check_v8'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Copying: out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jar
clang: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_executable_internal.mk:34: recipe for target 'out/host/linux-x86/obj/EXECUTABLES/asan_test_intermediates/asan_test64' failed
make: *** [out/host/linux-x86/obj/EXECUTABLES/asan_test_intermediates/asan_test64] Error 1
make: *** Waiting for unfinished jobs....
build/core/host_executable_internal.mk:34: recipe for target 'out/host/linux-x86/obj32/EXECUTABLES/asan_test_intermediates/asan_test32' failed
make: *** [out/host/linux-x86/obj32/EXECUTABLES/asan_test_intermediates/asan_test32] Error 1
packages/inputmethods/LatinIME/native/jni/tests/defines_test.cpp:31: error: undefined reference to '__asan_init'
packages/inputmethods/LatinIME/native/jni/tests/defines_test.cpp:31: error: undefined reference to '__asan_version_mismatch_check_v8'
packages/inputmethods/LatinIME/native/jni/tests/dictionary/header/header_read_write_utils_test.cpp:75: error: undefined reference to '__asan_init'
packages/inputmethods/LatinIME/native/jni/tests/dictionary/header/header_read_write_utils_test.cpp:75: error: undefined reference to '__asan_version_mismatch_check_v8'
packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/language_model_dict_content_test.cpp:117: error: undefined reference to '__asan_init'
packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/language_model_dict_content_test.cpp:117: error: undefined reference to '__asan_version_mismatch_check_v8'
packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/language_model_dict_content_global_counters_test.cpp:57: error: undefined reference to '__asan_init'
packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/language_model_dict_content_global_counters_test.cpp:57: error: undefined reference to '__asan_version_mismatch_check_v8'
packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/utils/edit_distance.h:33: error: undefined reference to '__asan_alloca_poison'
packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/utils/edit_distance.h:65: error: undefined reference to '__asan_allocas_unpoison'
packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/utils/edit_distance.h:65: error: undefined reference to '__asan_allocas_unpoison'
packages/inputmethods/LatinIME/native/jni/tests/suggest/policyimpl/utils/damerau_levenshtein_edit_distance_policy_test.cpp:43: error: undefined reference to '__asan_allocas_unpoison'
packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/dict_file_writing_utils.cpp:85: error: undefined reference to '__asan_alloca_poison'
packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/dict_file_writing_utils.cpp:88: error: undefined reference to '__asan_allocas_unpoison'
packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/file_utils.cpp:75: error: undefined reference to '__asan_alloca_poison'
packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/file_utils.cpp:159: error: undefined reference to '__asan_alloca_poison'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_executable_internal.mk:34: recipe for target 'out/host/linux-x86/obj/EXECUTABLES/liblatinime_host_unittests_intermediates/liblatinime_host_unittests' failed
make: *** [out/host/linux-x86/obj/EXECUTABLES/liblatinime_host_unittests_intermediates/liblatinime_host_unittests] Error 1