Andrew Esh
2018-06-07 14:53:44 UTC
I am compiling a library (gettext) which uses fgets_unlocked. It compiled
OK under r17rc2. After upgrading to NDK r17, it reports fgets_unlock is
undefined.
I searched the objdump output of all the libc.so files in the new NDK, and
fgets_unlocked is not there. I did the same search in
a android-ndk-r17rc2-arm64-28 directory (which contains only that
combination of architecture and API), and it is present.
What makes this worse is: I can no longer get the NDK r17rc2 tarball, so I
cannot build for any architecture other than the ones I happen to have an
old copy of.
The following page states that fgets_unlocked is being added as a new
symbol into libc.so for Android P. I think the NDK version of libc.so needs
to match.
https://android.googlesource.com/platform/bionic/+/master/docs/status.md
I am not finding any notices that the fgets_unlocked symbol was going to be
removed in the final version of NDK r17. Perhaps it was unintentional?
OK under r17rc2. After upgrading to NDK r17, it reports fgets_unlock is
undefined.
I searched the objdump output of all the libc.so files in the new NDK, and
fgets_unlocked is not there. I did the same search in
a android-ndk-r17rc2-arm64-28 directory (which contains only that
combination of architecture and API), and it is present.
What makes this worse is: I can no longer get the NDK r17rc2 tarball, so I
cannot build for any architecture other than the ones I happen to have an
old copy of.
The following page states that fgets_unlocked is being added as a new
symbol into libc.so for Android P. I think the NDK version of libc.so needs
to match.
https://android.googlesource.com/platform/bionic/+/master/docs/status.md
I am not finding any notices that the fgets_unlocked symbol was going to be
removed in the final version of NDK r17. Perhaps it was unintentional?
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/fc6087d8-aae4-4c19-af32-19330e424516%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/fc6087d8-aae4-4c19-af32-19330e424516%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.