diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-11-28 12:57:25 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-11-28 13:40:01 +0100 |
commit | 6d6f77fc251774d14246de794eea86e1da291d1c (patch) | |
tree | 1c95e5f2758583e47e0e3a8c484cdda1cae2b168 /manual | |
parent | 1d809de12a6bee31860c1156b3afea47331015f1 (diff) | |
download | glibc-fw/no-symlinks.tar glibc-fw/no-symlinks.tar.gz glibc-fw/no-symlinks.tar.bz2 glibc-fw/no-symlinks.zip |
Add --disable-major-minor-libraries configure optionfw/no-symlinks
This option can be used to increase compatibility with package managers.
The name was choosen to avoid confusion with all the different versions
(glibc release, soname versions, symbol versions).
This patch makes all uses of -$(version).so conditional on the new
$(major-minor-libraries) flag. The alternative install targets write
the implementation DSOs directly to the locations determined by their
sonames, skipping the creation of an intermediate symbolic link.
install-symbolic-link in Makerules is updated not to require the
$(symbolic-link-list) file because it may not exist in
--disable-major-minor-libraries mode.
I verified that by default, the install tree is the same as before
on x86_64-linux-gnu except for the changes in the manual.
Diffstat (limited to 'manual')
-rw-r--r-- | manual/install.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/manual/install.texi b/manual/install.texi index b2d569ac5a..d98f026f4a 100644 --- a/manual/install.texi +++ b/manual/install.texi @@ -209,6 +209,15 @@ provides additional security hardening because it enables full RELRO and a read-only global offset table (GOT), at the cost of slightly increased program load times. +@item --disable-major-minor-libraries +Do not install shared objects under file names that contain the major +and minor version of @theglibc. By default, such names are used, and +the names defined by the ABI are provided as symbolic links only. This +causes problems with certain package managers during library upgrades +and (in particular) downgrades, so this option can be used to install +these shared objects directly under their ABI-defined names, without an +additional indirection via symbolic links. + @pindex pt_chown @findex grantpt @item --enable-pt_chown |