Re: rpmlint: library-not-linked-against-libc (parts of Python stdlib, after gcc 9)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux