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

Vince Harron vince at nethacker.com
Thu Jul 2 08:59:36 PDT 2015


There are bugs in the old libs/headers.  Same toolchain.
On Jul 2, 2015 8:08 AM, "Chaoren Lin" <chaorenl at google.com> wrote:

> 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/c573a5ce/attachment.html>


More information about the lldb-commits mailing list