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

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Gerry Fan
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

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CAFFAT%2BHpupsOirAhLdboPUtUNndbk%3DqPwu5_7o6XuwTRw%3D1UWg%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

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

Ryan Prichard
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


On Wed, May 27, 2020 at 5:28 PM 'Gerry Fan' via android-ndk <[hidden email]> wrote:
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

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

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CALgsJzk1M%3DvY_n7d2yHyb5RQvGY0P69ctqS0zkLqaPcdvZ%3D9Bg%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

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

Gerry Fan
Thank you Ryan!  send the guy to your filed NDK tag, that makes great sense!

On Wed, May 27, 2020 at 7:21 PM Ryan Prichard <[hidden email]> wrote:
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


On Wed, May 27, 2020 at 5:28 PM 'Gerry Fan' via android-ndk <[hidden email]> wrote:
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

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

--
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 [hidden email].
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.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CAFFAT%2BEHhqK9XQjb2SRdvNh%2BSq83nX3bg-sUoBsT3LFx3khXbA%40mail.gmail.com.