* Björn 'besser82' Esser:

> $ nm -Dg --with-symbol-versions _contextvars.cpython-37m-x86_64-linux-
> gnu.so 
>                  w __cxa_finalize
>                  w __gmon_start__
>                  w _ITM_deregisterTMCloneTable
>                  w _ITM_registerTMCloneTable
>                  U PyContext_CopyCurrent
>                  U PyContextToken_Type
>                  U PyContext_Type
>                  U PyContextVar_Type
> 00000000000011a0 T PyInit__contextvars
>                  U PyModule_AddObject
>                  U PyModule_Create2

> Anyways, if you get a line saying `${name}@GLIBC_2.*` from a library /
> module after running the command above *in combination* with such an
> error from rpmlint, something is broken.

Unfortunately, it is not possible to check for underlinking in this way.
If something is not linked against glibc, it will not have the GLIBC_2.*
symbol versions because the link editor was not told to resolve function
symbols against glibc, so they are just any other undefined symbol.

You need to look at the symbol names themselves and determine, based on
the names, if expected symbol versions are missing.

Thanks,
Florian
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to