Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
cmake/platforms/Android.cmake | ||
---|---|---|
98–102 ↗ | (On Diff #28835) | Who will specify the "-pie" flag for API 21+? Without it lldb-server won't work in those API levels. |
Comment Actions
-pie is not compatible with -static. lldb-server can work on any API if
linked statically.
Comment Actions
What is the implication of this change in terms of the size of lldb-server?
You are linking statically against the system libraries (such as libc, libm, libdl) what might not be a portable solution if they are depending on features only present in some device / kernel.
Comment Actions
The platforms should be backward compatible. A binary which works on an older device (statically linked or not) should work on newer devices as well, so I don't anticipate problems of this sort. However, libc is pretty big, so the size question is valid imho.