diff options
author | Chih-Hung Hsieh <chh@google.com> | 2018-05-22 21:35:58 -0700 |
---|---|---|
committer | Chih-hung Hsieh <chh@google.com> | 2018-05-23 17:15:05 +0000 |
commit | e614fe3364505c59ee3655c591bd24a6ac0e994b (patch) | |
tree | 0c11ca38d6dddb627584b8c5bdc973dafce79c62 | |
parent | e7e2d7ddba2a8efd4fa201cca8966d90a4ff7ed9 (diff) | |
download | zlib-e614fe3364505c59ee3655c591bd24a6ac0e994b.tar.gz |
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: I6fafeafda32df3a941248eba277b09fdf4e3fa8d
-rw-r--r-- | Android.bp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -47,6 +47,7 @@ cc_library { // TODO: This is to work around b/24465209. Remove after root cause is fixed ldflags: ["-Wl,--hash-style=both"], + use_clang_lld: false, }, }, |