public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Do not install shared objects under versioned names
@ 2021-06-10  8:22 Florian Weimer
  2021-06-10  8:23 ` [PATCH 1/4] nptl_db: Install libthread_db under a regular implementation name Florian Weimer
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Florian Weimer @ 2021-06-10  8:22 UTC (permalink / raw)
  To: libc-alpha

This is essentially a repost of the “Add --disable-major-minor-libraries
configure option” series.  Joseph suggested that the configure option is
not needed, so this version implements the change unconditionally.

Tested on i686-linux-gnu and x86_64-linux-gnu.  I compared two
build-many-glibcs.py trees with and without these patches, using this
command to see if there are missing files besides the versioned DSOs or
any dangling symbolic links.

cd /home/bmg/install/glibcs && find -printf '%P\n' \
  | while read x ; do
    test -r /home/bmg-install-glibcs/$x || echo $x
  done \
  | grep -v '\-2\.33\.9000\.so$' | grep -v '/libthread_db-1\.0\.so$'

/home/bmg/install/glibcs is the unpatched build,
/home/bmg-install-glibcs is the build with the patches applied.  As
expected, there was no output.

Thanks,
Florian

Florian Weimer (4):
  nptl_db: Install libthread_db under a regular implementation name
  Makerules: Remove lib-version, $(subdir-version)
  elf: Generalize name-based DSO recognition in ldconfig
  Install shared objects under their ABI names

 INSTALL             | 10 +++++++
 Makefile            |  6 ----
 Makerules           | 67 +++++----------------------------------------
 NEWS                |  8 ++++++
 elf/Makefile        | 12 ++------
 elf/dl-is_dso.h     | 33 ++++++++++++++++++++++
 elf/ldconfig.c      |  5 ++--
 elf/tst-dl-is_dso.c | 35 +++++++++++++++++++++++
 nptl_db/Makefile    |  2 --
 9 files changed, 98 insertions(+), 80 deletions(-)
 create mode 100644 elf/dl-is_dso.h
 create mode 100644 elf/tst-dl-is_dso.c

-- 
2.31.1


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-06-28  3:42 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-10  8:22 [PATCH 0/4] Do not install shared objects under versioned names Florian Weimer
2021-06-10  8:23 ` [PATCH 1/4] nptl_db: Install libthread_db under a regular implementation name Florian Weimer
2021-06-27 21:32   ` Carlos O'Donell
2021-06-10  8:23 ` [PATCH 2/4] Makerules: Remove lib-version, $(subdir-version) Florian Weimer
2021-06-27 21:32   ` Carlos O'Donell
2021-06-10  8:23 ` [PATCH 3/4] elf: Generalize name-based DSO recognition in ldconfig Florian Weimer
2021-06-27 21:32   ` Carlos O'Donell
2021-06-10  8:23 ` [PATCH 4/4] Install shared objects under their ABI names Florian Weimer
2021-06-27 21:32   ` Carlos O'Donell
2021-06-14 11:04 ` [PATCH 0/4] Do not install shared objects under versioned names Florian Weimer
2021-06-14 14:49 ` Siddhesh Poyarekar
2021-06-27 20:43   ` Carlos O'Donell
2021-06-28  3:42     ` Siddhesh Poyarekar
2021-06-27 21:31 ` Carlos O'Donell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).