From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bumble.maple.relay.mailchannels.net (bumble.maple.relay.mailchannels.net [23.83.214.25]) by sourceware.org (Postfix) with ESMTPS id 48D22384843F for ; Mon, 14 Jun 2021 14:49:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 48D22384843F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gotplt.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gotplt.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 56D01342638; Mon, 14 Jun 2021 14:49:26 +0000 (UTC) Received: from pdx1-sub0-mail-a12.g.dreamhost.com (100-96-11-18.trex.outbound.svc.cluster.local [100.96.11.18]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id DE1213426B9; Mon, 14 Jun 2021 14:49:25 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from pdx1-sub0-mail-a12.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.11.18 (trex/6.3.1); Mon, 14 Jun 2021 14:49:26 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Trouble-Interest: 14d6a665174a460b_1623682166135_1640491603 X-MC-Loop-Signature: 1623682166135:2598734061 X-MC-Ingress-Time: 1623682166135 Received: from pdx1-sub0-mail-a12.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a12.g.dreamhost.com (Postfix) with ESMTP id 965B67EC42; Mon, 14 Jun 2021 07:49:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gotplt.org; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=gotplt.org; bh=CayDC8 5aDI+MzMOckr5yFBY8+l4=; b=tGLbdIR6K+mxneLYb2fb5t7EwSU9aW3zDkLtLQ AfRn4RO2GHORyVlnTMYiCdIu7TmhGlngcMqL54U19HAR76hR5QND4tbOk2sCwtaO J55blcU+a2xnPxqdBKcO+sn9uW7LRM+7xQXEjxz5Wi+me7becHSenVJSFanFeU27 lpzQA= Received: from [192.168.1.126] (unknown [1.186.101.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: siddhesh@gotplt.org) by pdx1-sub0-mail-a12.g.dreamhost.com (Postfix) with ESMTPSA id 3D2637E779; Mon, 14 Jun 2021 07:49:23 -0700 (PDT) Subject: Re: [PATCH 0/4] Do not install shared objects under versioned names To: Florian Weimer , libc-alpha@sourceware.org References: X-DH-BACKEND: pdx1-sub0-mail-a12 From: Siddhesh Poyarekar Message-ID: Date: Mon, 14 Jun 2021 20:19:18 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3030.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no 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: Mon, 14 Jun 2021 14:49:30 -0000 On 6/10/21 1:52 PM, Florian Weimer via Libc-alpha wrote: > This is essentially a repost of the =E2=80=9CAdd --disable-major-minor-= libraries > configure option=E2=80=9D series. Joseph suggested that the configure = option is > not needed, so this version implements the change unconditionally. >=20 > 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. >=20 > 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$' >=20 > /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. I was hoping that we would go in the opposite direction with this, i.e.=20 encode a unique identifier in the names of the DSOs so that they can be=20 installed in parallel, maybe with configuration options to pass the=20 version string, similar to the kernel. This could for example allow us=20 to implement recovery from broken glibcs without having to reach out for=20 a rescue disk. However I understand that it would be quite a pain to implement and it=20 doesn't seem to be on anyone's TODO list, certainly not mine. So I=20 won't get in the way of this since it solves present day issues with=20 library updates. It would be interesting to hear from other=20 distribution maintainers on what they think of the change. Siddhesh