From patchwork Fri Jan 29 16:32:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 1433368 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=mBH0/5AH; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DS2vM5mfjz9sCD for ; Sat, 30 Jan 2021 03:33:03 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7D99F393BC05; Fri, 29 Jan 2021 16:33:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7D99F393BC05 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1611937981; bh=9ONpm6SFjdPzNhX/cIO0b6QE3w1W3/HuldGPyvhARh0=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=mBH0/5AHOBddcSUQgbVSIK3UKVyCM5RhxZ7nmvyv+Yn/YJnaydGMx8bYtxRrpD/zZ r9J18L3IDhdxIdPU+pt2TgwX1NUeQrbo6rPi6++MhjCpsmARPCB+h32X5poADFjMcK hYwPkT2PDHirCA1WHxIOCxLrOpFEl3bqgHuXBj7I= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id 03B5E3890413 for ; Fri, 29 Jan 2021 16:32:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 03B5E3890413 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-291-w4ymzEAOPMiBJvkNZjFDKQ-1; Fri, 29 Jan 2021 11:32:52 -0500 X-MC-Unique: w4ymzEAOPMiBJvkNZjFDKQ-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B73D159; Fri, 29 Jan 2021 16:32:50 +0000 (UTC) Received: from oldenburg.str.redhat.com (ovpn-113-35.ams2.redhat.com [10.36.113.35]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DCFCF5C1B4; Fri, 29 Jan 2021 16:32:49 +0000 (UTC) To: libc-alpha@sourceware.org Subject: [PATCH] NEWS: Add entry for glibc-hwcaps and deprecate legacy hwcaps Date: Fri, 29 Jan 2021 17:32:47 +0100 Message-ID: <87pn1nwvo0.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-12.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, 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-Patchwork-Original-From: Florian Weimer via Libc-alpha From: Florian Weimer Reply-To: Florian Weimer Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" --- NEWS | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/NEWS b/NEWS index d121f7df87..6521a4f5b7 100644 --- a/NEWS +++ b/NEWS @@ -16,6 +16,19 @@ Major new features: * The dynamic linker accepts the --argv0 argument and provides opportunity to change argv[0] string. +* The dynamic linker loads optimized implementations of shared objects + from subdirectories under the glibc-hwcaps directory on the library + search path if the system's capabilities meet the requirements for + that subdirectory. Initially supported subdirectories include + "power9" and "power10" for the powerpc64le-linux-gnu architecture, + "z13", "z14", "z15" for s390x-linux-gnu, and "x86-64-v2", "x86-64-v3", + "x86-64-v4" for x86_64-linux-gnu. In the x86_64-linux-gnu case, the + subsdirectory names correspond to the vendor-independent x86-64 + microarchitecture levels defined in the x86-64 psABI supplement. + +* The new --help option of the dynamic linker provides usage and + information and library search path diagnostics. + * The mallinfo2 function is added to report statistics as per mallinfo, but with larger field widths to accurately report values that are larger than fit in an integer. @@ -63,6 +76,14 @@ Deprecated and removed features, and other changes affecting compatibility: libraries that use this type in their interfaces. The new definition improves consistency with compiler behavior in many scenarios. +* A future version of glibc will stop loading shared objects from the + "tls" subdirectories on the library search path, the subdirectory that + corresponds to the AT_PLATFORM system name, and also stop employing + the legacy AT_HWCAP search mechanism. Applications should switch to + the new glibc-hwcaps mechanism instead; if they do not do that, only + the baseline version (directly from the search path directory) will be + loaded. + Changes to build and runtime requirements: * On Linux, the system administrator needs to configure /dev/pts with