From 462df10d910fbee1a4fd4524ceb8b9a6dbbfe11b Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Wed, 23 May 2018 18:55:10 -0700 Subject: [PATCH] Work around b/24465209, do not pack relocation table. Global flag --pack-dyn-relocs=android is used with clang lld. For b/24465209, we need to override that with pack_relocations:false. Bug: 24465209 Bug: 80093890 Test: build with USE_CLANG_LLD=true and run dlext.compat_elf_hash_and_relocation_tables Change-Id: I4edcdf49e184fa45ea2b6b6417654d81bcd09e1d --- liblog/Android.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liblog/Android.bp b/liblog/Android.bp index 1bd796ae3..4a165a0c1 100644 --- a/liblog/Android.bp +++ b/liblog/Android.bp @@ -83,8 +83,8 @@ cc_library { }, android_arm: { // TODO: This is to work around b/24465209. Remove after root cause is fixed + pack_relocations: false, ldflags: ["-Wl,--hash-style=both"], - use_clang_lld: false, }, windows: { srcs: ["uio.c"],