Compat symbols in abilist files

Joseph Myers joseph@codesourcery.com
Wed Mar 17 21:21:12 GMT 2021


On Wed, 17 Mar 2021, Florian Weimer via Libc-alpha wrote:

> I'd like to re-raise the matter of comapt symbol markers in abilist
> files.
> 
> --enable-obsolete-rpc (which changed compat symbol status) is gone,
> which should simplify matters.

Might we have other such options in future?

> Joseph, you objected to this in the past.  While reviewing libpthread
> symbol moves, I noticed that when going from

I think my argument was that whether a symbol is a compat symbol is not 
part of the ABI (it doesn't affect which executables or shared libraries 
will work with a given glibc build).

So the question is: do we want this information in the abilist files even 
though it's not part of the ABI?

I expect many patches that change this information would need to change 
abilist files anyway (the exception being a patch that purely marks 
symbols as compat symbols, without adding any new versions of those 
symbols).

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Libc-alpha mailing list