LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 23457 - Android - support for API-9~13 devices
Summary: Android - support for API-9~13 devices
Status: NEW
Alias: None
Product: lldb
Classification: Unclassified
Component: All Bugs (show other bugs)
Version: unspecified
Hardware: PC other
: P normal
Assignee: LLDB commit list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-08 15:02 PDT by Vince Harron
Modified: 2015-05-18 07:03 PDT (History)
1 user (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vince Harron 2015-05-08 15:02:43 PDT
API 21+ requires executables be compiled with -fPIE

So we've enabled -fPIE on lldb-server

Unfortunately, support for PIE only was added to Android in API 14+

We can probably create a trampoline application without PIE that loads the real lldb-server with dlopen and calls main
Comment 1 Tamas Berghammer 2015-05-18 07:03:30 PDT
Other option for solving this problem is to embedded lldb-server into it's own apk (with one ABI per apk) and then the zygote will behave like a trampoline.