From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 0DF2A3AA9C61 for ; Thu, 10 Jun 2021 08:22:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0DF2A3AA9C61 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-348-gkHOFlLNPVyTnh_jmAX-FA-1; Thu, 10 Jun 2021 04:22:56 -0400 X-MC-Unique: gkHOFlLNPVyTnh_jmAX-FA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9E8BD100CA88 for ; Thu, 10 Jun 2021 08:22:55 +0000 (UTC) Received: from oldenburg.str.redhat.com (ovpn-115-60.ams2.redhat.com [10.36.115.60]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0DFBB60917 for ; Thu, 10 Jun 2021 08:22:54 +0000 (UTC) From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH 0/4] Do not install shared objects under versioned names X-From-Line: eae14c3d57b3fef43892ca304f2d8017555e8447 Mon Sep 17 00:00:00 2001 Message-Id: Date: Thu, 10 Jun 2021 10:22:53 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2021 08:23:00 -0000 This is essentially a repost of the =E2=80=9CAdd --disable-major-minor-libr= aries configure option=E2=80=9D series. Joseph suggested that the configure opti= on 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 --=20 2.31.1