Versioned Symbols in Shared Libraries

Pedro Lamarão pedro.lamarao at prodist.com.br
Thu Sep 29 14:09:33 UTC 2022


Hello! Just noting that symbol versioning is a GNU thing which may not
exist in other implementations, such as musl, or Windows.

Em qui., 29 de set. de 2022 às 08:50, Sebastian Stenzel <
sebastian.stenzel at gmail.com> escreveu:

> Hi,
>
> Today I learned about versioned symbols when investigating a downwards
> compatibility problem in a jextract'ed API. See discussion [1]
>
> The concept is new to me, but apparently broadly used to make sure to
> invoke the exact function that was referenced at compile time. Since
> jextract only knows the header files, I suppose it isn't aware of such
> versions? Does the SymbolLookup API provide any mechanism to lookup a
> specific version?
>
> I hope you can make sense of what I'm asking as this is all new to me and
> I'm not sure I'm asking the right questions.
>
> Thank you!
>
> [1]: https://github.com/libfuse/libfuse/discussions/701



-- 
Pedro Lamarão
https://www.prodist.com.br
Securing Critical Systems
Tel: +55 11 4380-6585

Antes de imprimir esta mensagem e seus anexos, certifique-se que seja
realmente necessário.
Proteger o meio ambiente é nosso dever.
Before printing this e-mail or attachments, be sure it is necessary.
It is in our hands to protect the environment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20220929/fc44f598/attachment-0001.htm>


More information about the panama-dev mailing list