summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Hung Hsieh2018-05-22 23:37:49 -0500
committerChih-hung Hsieh2018-05-23 12:15:48 -0500
commit0f975a2099dd7612f0bf9fc28f5eb7b6b76c4f9c (patch)
treefe0dd002a41dd2e7b0a1e797230e874b8a9782a5 /liblog/Android.bp
parent931a840e8c3494a4fac881c6f7b8663679ca6a88 (diff)
downloadplatform-system-core-0f975a2099dd7612f0bf9fc28f5eb7b6b76c4f9c.tar.gz
platform-system-core-0f975a2099dd7612f0bf9fc28f5eb7b6b76c4f9c.tar.xz
platform-system-core-0f975a2099dd7612f0bf9fc28f5eb7b6b76c4f9c.zip
Work around b/24465209, do not use clang lld
See longer explanation in b/80093890. Clang lld does not generate expected DT_REL and DT_RELA tags with --hash-style=both and --pack-dyn-relocs=android. I am not sure about the extent of b/24465209, so I would rather not to use lld for these .so files for now. Bug: 80093890 Bug: 24465209 Test: build with USE_CLANG_LLD=true and run dlext.compat_elf_hash_and_relocation_tables Change-Id: I645dbe25c5b9975605e3af5e717ed36c276f14d4
Diffstat (limited to 'liblog/Android.bp')
-rw-r--r--liblog/Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/liblog/Android.bp b/liblog/Android.bp
index 2d5a5dbb2..1bd796ae3 100644
--- a/liblog/Android.bp
+++ b/liblog/Android.bp
@@ -84,6 +84,7 @@ cc_library {
84 android_arm: { 84 android_arm: {
85 // TODO: This is to work around b/24465209. Remove after root cause is fixed 85 // TODO: This is to work around b/24465209. Remove after root cause is fixed
86 ldflags: ["-Wl,--hash-style=both"], 86 ldflags: ["-Wl,--hash-style=both"],
87 use_clang_lld: false,
87 }, 88 },
88 windows: { 89 windows: {
89 srcs: ["uio.c"], 90 srcs: ["uio.c"],