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 9D77B3857C75 for ; Sun, 27 Jun 2021 21:32:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9D77B3857C75 Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-58-EvTxoFXgMQiKqFZfO4t64A-1; Sun, 27 Jun 2021 17:31:59 -0400 X-MC-Unique: EvTxoFXgMQiKqFZfO4t64A-1 Received: by mail-qk1-f200.google.com with SMTP id o189-20020a378cc60000b02903b2ccd94ea1so15886666qkd.19 for ; Sun, 27 Jun 2021 14:31:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=J6imuilo0F8UpL7mHPDv4r8PTGpLzX3OZwuUxMQRzzU=; b=qIuPtXsfwcu0+Zd9doFLkf5p5FsVkAvmlD4GykLIACUqZzxrxwznS+cXlCQtCQ/83O oRXCn99MINjzwlGXj1zMSqkClTmHdTeSYX9OVZSAH11PzG/RhScE1RfoZX0FViasdpkZ I2h6Ou8eW4EeSpFa0MnSOdnQUjVlegOKoO1WnkeC7QM+cYaUA96Z3GxrqaQV6bJaYhsW qHVaMvbySTjEOrnqlkq7rbuLx5l+vEMnQGHWfflfYBMtoNWA6+v425fsyX4ZZtIe0Gsd S7fz743SqyGicxSlWuASk2jB5ceu08aq5hhKc4m5BU6U89xBX/4LD0c3OPjtg/RnObXN HIug== X-Gm-Message-State: AOAM530n5jnlluvar96T2fy4/yURpL1el4YHRd0yx6GHFkvj64xgPlEh S8iBfsTj4Qaj0V9wsBxrahdBQnXPN7AOXJ11cqCSXX8cnfOPW7BL48UfNV98srP+T8fO0Ky9OmY ylOTcd4JXi/iptSVBWhHtWQwHlAD8sM5t3Ugv+jX//EeMFAUtoFdvUxkQtBar06ztXsKmfw== X-Received: by 2002:a37:65cc:: with SMTP id z195mr22315895qkb.227.1624829518655; Sun, 27 Jun 2021 14:31:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykpMDu7A5fQhZdZrJsR5378lEr/O3Ic94m+vjnq5IOxRQwAuzwTZRWbYcr+bysRKnwoiOZ2A== X-Received: by 2002:a37:65cc:: with SMTP id z195mr22315884qkb.227.1624829518425; Sun, 27 Jun 2021 14:31:58 -0700 (PDT) Received: from [192.168.1.16] (198-84-214-74.cpe.teksavvy.com. [198.84.214.74]) by smtp.gmail.com with ESMTPSA id x9sm7561030qtf.76.2021.06.27.14.31.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 27 Jun 2021 14:31:57 -0700 (PDT) Subject: Re: [PATCH 0/4] Do not install shared objects under versioned names To: Florian Weimer , libc-alpha@sourceware.org References: From: Carlos O'Donell Organization: Red Hat Message-ID: <64e0b16e-92bb-742a-ffe0-fa134c6c242e@redhat.com> Date: Sun, 27 Jun 2021 17:31:56 -0400 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: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, 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: Sun, 27 Jun 2021 21:32:03 -0000 On 6/10/21 4:22 AM, Florian Weimer via Libc-alpha wrote: > 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. This is absolutely the right direction. I like that we simplify the layout. I have commented on Siddhesh's thoughts in the other thread, and I think we are never likely to implement a solution that installs parallel libcs given the QE and container aspects. Therefore I'd like to see this move forward. > 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 > -- Cheers, Carlos.