Re: [patch #10393] Fix shared library support on Android

2024-04-17 Thread Roumen Petrov

На 17.04.24 г. в 18:29 ч., Ileana Dumitrescu написа:

Follow-up Comment #3, patch #10393 (group libtool):

Thank you for the suggestion. Since we are already embedding rpath into
Android, 


And this is now critical defect - https://savannah.gnu.org/support/?111011


we could take the next step and start using GNU/Linux versioning.


No!

Android loader is not compatible.

Roumen





[patch #10393] Fix shared library support on Android

2024-04-17 Thread Ileana Dumitrescu
Follow-up Comment #3, patch #10393 (group libtool):

Thank you for the suggestion. Since we are already embedding rpath into
Android, we could take the next step and start using GNU/Linux versioning.

This would be contrary to the standard method of Android versioning, in which
shared libraries are not versioned. Although this could be overwritten by
users if needed. There are probably more people on Android using Libtool with
the GNU linker than with the Android linker. I assume most people using the
Android linker are also using the Android SDK. I really have no insight into
this however, so corrections (and solutions) are welcome. :)


___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[patch #10393] Fix shared library support on Android

2024-04-17 Thread Arun
Follow-up Comment #2, patch #10393 (group libtool):

I have a suggestion. If we try to build a library that already exist in
_/system/lib/_ or _/system/lib64_ there may be conflicts. So I think setting
version_type to _linux_ and adding _$major_ as suffix to soname_spec will be a
good idea.


___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/