My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 69319: NDK: Some symbols in libc.so contained in NDK differ from the ones contained in the device's libc.so
2 people starred this issue and may be notified of changes. Back to list
 
Reported by Argiris....@gmail.com, May 5, 2014
I'm mainly affected by pread64 and pwrite64 (they are defined as __pread64 and __pwrite64 in the NDK's libc.so), but there are probably more inconsistencies if you look carefully. It seems to me that the symbols used to be __pread64 and __pwrite64 until gingerbread (https://github.com/android/platform_bionic/tree/gingerbread-release/libc/arch-arm/syscalls), but they have changed  since ICS (https://github.com/android/platform_bionic/tree/ics-factoryrom-2-release/libc/arch-arm/syscalls). The NDK though seems to contain the old version of libc, even for JB and KitKat (I've verified this is true at least for API levels 18 and 19).

device_libc_symbols_API_18.txt
28.0 KB   View   Download
ndk_libc_symbols_API_18.txt
22.2 KB   View   Download
May 5, 2014
Project Member #1 e...@google.com
andrewhsieh: even for LP32 we should remove private __ symbols from newer NDK API levels.
Owner: andrewhs...@google.com
Cc: andrewhs...@google.com e...@google.com cfer...@google.com nara...@google.com
May 12, 2014
Project Member #2 andrewhs...@google.com
Fix submitted: https://android-review.googlesource.com/#/c/94137 under verification
Status: FutureRelease
May 12, 2014
#3 Argiris....@gmail.com
Many thanks Andrew, looks spot on to me. Would it be too much to ask for ftruncate64 to be added in newer API levels as well? It is pretty much the same case as pread64 and pwrite64.
May 12, 2014
Project Member #4 andrewhs...@google.com
Added ftruncate64 in the 4th patch set.
May 12, 2014
#5 Argiris....@gmail.com
Many thanks for looking in this once again. Your patches will do the trick for me just fine. Looking forward to the next release.
Jul 17, 2014
Project Member #6 andrewhs...@google.com
(No comment was entered for this change.)
Status: Released
Sign in to add a comment

Powered by Google Project Hosting