shared lib symbol version warning: https://github.com/android/ndk-samples/issues/728

17 views
Skip to first unread message

Gerry Fan

unread,
May 27, 2020, 8:29:03 PM5/27/20
to android-devtools-cpp, android-ndk
Hey, 

this seems to be the old issue:

- The related stackoverflow entry does have a good description, but does not say there is a way to remove the warning
b/28166059 has the answer at that time: no way to suppress the warning with linker options

Is this old answer still the correct one as of today?

I did not see this happening with my new OS phones, is this because he is running on pre-M OS (api level 23)?

thank you!
Gerry

Ryan Prichard

unread,
May 27, 2020, 10:21:25 PM5/27/20
to android-ndk, android-devtools-cpp
Currently there's no way to avoid these warnings. Maybe they can be fixed with a future NDK.

The loader is warning that it doesn't support/recognize the ELF symbol versioning DT entries. They only happen with L-MR1. Older loaders don't warn about unrecognized DT entries, and newer loaders support symbol versioning.

FWIW, I filed an NDK bug for it, https://github.com/android/ndk/issues/622. I'm not sure I was aware of the buganizer entry.

-Ryan


--
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 view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CAFFAT%2BHpupsOirAhLdboPUtUNndbk%3DqPwu5_7o6XuwTRw%3D1UWg%40mail.gmail.com.

Gerry Fan

unread,
May 28, 2020, 11:42:37 AM5/28/20
to Ryan Prichard, android-ndk, android-devtools-cpp
Thank you Ryan!  send the guy to your filed NDK tag, that makes great sense!

You received this message because you are subscribed to the Google Groups "android-devtools-cpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-devtools...@google.com.
To view this discussion on the web visit https://groups.google.com/a/google.com/d/msgid/android-devtools-cpp/CALgsJzk1M%3DvY_n7d2yHyb5RQvGY0P69ctqS0zkLqaPcdvZ%3D9Bg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages