Skip to content

inspect-library: Ignore symbols like LIBATOMIC_1.0@LIBATOMIC_1.0

Simon McVittie requested to merge wip/smcv/versioned-symbols into master

I had hoped that dlsym() and dlvsym() would find these special symbols, but in fact they don't. To check for ABI compatibility we need to look for specific symbols, like __atomic_load_1@LIBATOMIC_1.0.


/cc @denittis @jpwhiting

Related to https://phabricator.collabora.com/T16026. Inspired by some recent steam-runtime issue reports, I've been looking into doing a targeted subset of T16026, only including detailed symbols for a small whitelisted set of libraries that we know either have particularly good ABI stability (so we can just list every symbol) or particularly bad ABI stability (so they have caused us real-world problems).

Merge request reports