[PATCH 4/4] Add --disable-major-minor-libraries configure option

Florian Weimer fweimer@redhat.com
Wed Jun 9 17:09:45 GMT 2021


* Joseph Myers:

> This needs a NEWS entry.

What about this?

* glibc can now be configured with the --disable-major-minor-libraries
  option.  In this case, the various shared objects that are part of
  glibc will be installed under their ABI sonames (such as libc.so.6)
  rather than version-specific file names (such as libc-2.34.so).  As
  before, by default, glibc installs them as version-specific file
  names, with the ABI sonames added as symbolic links.  The
  --disable-major-minor-libraries option enables safer downgrades with
  package managers which delete removed files very late, after invoking
  ldconfig.

Indepdently of the implementation of the patch, do you think this is
something that needs to be configurable, or can we remove versioned file
names altogether?

Thanks,
Florian



More information about the Libc-alpha mailing list