[Lldb-commits] [PATCH] Use accept instead of accept4 for Android.

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


I am statically linking against API-21. There are some bugs in the old
toolchains that can be avoided by doing this. Aside from this issue, the
resulting binary seem to run fine on API 10 devices (and passes most of the
test suite).
On Jul 2, 2015 02:33, "Tamas Berghammer" <tberghammer at google.com> wrote:

> I agree with Pavel that the toolchain shouldn't generate any source code
> what is using a missing syscall. I checked the implementation of accept on
> Gingerbread (API-9) and it is using the right syscall (
> https://android.googlesource.com/platform/bionic/+/gingerbread-release/libc/arch-arm/syscalls/accept.S
> ).
>
> I am not sure what is causing this issue, but one of my guess is that you
> are statically linking against a wrong version of libc.
>
>
> http://reviews.llvm.org/D10887
>
> 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/8bd0bd1b/attachment.html>


More information about the lldb-commits mailing list