summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Tom Cherry <tomcherry@google.com> 2019-08-06 10:03:25 -0700
committer Tom Cherry <tomcherry@google.com> 2019-08-09 21:09:00 +0000
commite4802329e6f442b41147a1059d27e13d659a4f19 (patch)
tree45bd5473ca301d814be3e9b8f085561a4c364d0f /java/java.go
parentd62b4af8b7648acd961e927e4b8d5d7eb97a9dba (diff)
Add -Wl,--exclude-libs=libclang_rt.builtins to ldflags
libclang_rt.builtins has default visiblity set to public and is the last included static library for all modules. This means that it is possible for libraries to pick up libclang_rt.builtins from their shared library dependencies, instead of libclang_rt.builtins directly. Particularly, a vendor prebuilt in AOSP was picking up __floatditf() from libhidlbase.so instead of from libclang_rt.builtins. A change to libhidlbase.so that removed the symbol caused thos prebuilt to fail to link at runtime. Bug: 138809247 Test: build, boot internal Test: don't see libclang_rt.builtins symbols in libhidlbase.so Merged-In: I0348c4860fe02cf88cb89f7ab356bd8c17826d77 Change-Id: I0348c4860fe02cf88cb89f7ab356bd8c17826d77
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions