diff options
author | 2022-10-19 14:14:33 -0700 | |
---|---|---|
committer | 2022-10-21 23:18:06 +0000 | |
commit | 453df307ac07bf239f90029abaff20e319b7e470 (patch) | |
tree | ddb47bacebfe800bdfbd280f7de8f2a4cb0ad937 /runtime/entrypoints_order_test.cc | |
parent | a23d325152c7cd81ccb426a407f6da280797e61d (diff) |
Don't use initial-exec tls model for musl
Musl libc fails if a dlopened library contains initial-exec TLS
relocations:
JniInvocation E 10-19 14:05:53 14157 14157] Failed to dlopen libart.so: Error relocating out/host/linux-x86/lib64/libart.so: (null): initial-exec TLS resolves to dynamic definition in out/host/linux-x86/lib64/libart.so
Remove the tls_model attribute when using musl. This undoes part
of the optimization from b/138329277.
Bug: 190084016
Test: m USE_HOST_MUSL=true out/target/common/obj/JAVA_LIBRARIES/ahat-test-dump_intermediates/test-dump-base.hprof
Change-Id: I7097be4e458b02908b0ad06e6e712dae5cb01d60
Diffstat (limited to 'runtime/entrypoints_order_test.cc')
0 files changed, 0 insertions, 0 deletions