OSDN Git Service

Still cannot compile with clang on arm64.
authorChih-Hung Hsieh <chh@google.com>
Thu, 12 Nov 2015 20:39:13 +0000 (12:39 -0800)
committerChih-Hung Hsieh <chh@google.com>
Thu, 12 Nov 2015 20:39:13 +0000 (12:39 -0800)
When __cxa_thread_atexit_impl.cpp is compiled with clang on arm64,
Android cannot boot up.

BUG: 25662915
Change-Id: If997b544f43e956172ce605d86fe147d42fd39e0

libc/Android.mk

index 2808707..06dcc66 100644 (file)
@@ -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)
 
 # ========================================================