From c04647f8c2e3e825d4ed27ea649024b89d1b5aed Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Thu, 12 Nov 2015 12:39:13 -0800 Subject: [PATCH] Still cannot compile with clang on arm64. When __cxa_thread_atexit_impl.cpp is compiled with clang on arm64, Android cannot boot up. BUG: 25662915 Change-Id: If997b544f43e956172ce605d86fe147d42fd39e0 --- libc/Android.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libc/Android.mk b/libc/Android.mk index 2808707d4..06dcc668b 100644 --- a/libc/Android.mk +++ b/libc/Android.mk @@ -1049,6 +1049,9 @@ LOCAL_SYSTEM_SHARED_LIBRARIES := LOCAL_SANITIZE := never LOCAL_NATIVE_COVERAGE := $(bionic_coverage) +# b/25662915, clang compiled __cxa_thread_atexit_impl.cpp still failed. +LOCAL_CLANG_arm64 := false + include $(BUILD_STATIC_LIBRARY) # ========================================================