Bug 31535 - abidb: make a --check mode for tracking undefined symbols
Summary: abidb: make a --check mode for tracking undefined symbols
Status: NEW
Alias: None
Product: libabigail
Classification: Unclassified
Component: default (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-22 17:50 UTC by Frank Ch. Eigler
Modified: 2024-03-22 17:50 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Ch. Eigler 2024-03-22 17:50:10 UTC
abidb in --check mode runs a loop of abicompat invocations, between the target binary and each possible implementation of each shared library it needs.  This does not detect cases where an undefined symbol from the binary is resolved in some but not all versions of the shared library pool.  That is, we don't track whether all its undefined symbols are in fact resolved. This is especially bad if a symbol is defined by some but not all versions of a shared library.

This may be assisted by abicompat -u and manually tracking defined symbols from various combinations of the candidate shared libraries.  Maybe it could be detected during --submit time (since other candidate solibs for a new one are enumerable at that time).