[Lldb-commits] [PATCH] Default to linking lldb-server statically for Android.

Chaoren Lin chaorenl at google.com
Thu Jul 2 08:10:05 PDT 2015


The resulting binary size is almost identical to the one that's dynamically
linked.
On Jul 2, 2015 02:45, "Pavel Labath" <labath at google.com> wrote:

> In http://reviews.llvm.org/D10858#198371, @tberghammer wrote:
>
> > 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.
>
>
> 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.
>
>
> http://reviews.llvm.org/D10858
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150702/14407e6a/attachment.html>


More information about the lldb-commits mailing list