public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] NEWS: Add entry for glibc-hwcaps and deprecate legacy hwcaps
@ 2021-01-29 16:32 Florian Weimer
  2021-01-29 16:39 ` Paul Zimmermann
  2021-01-29 16:39 ` Adhemerval Zanella
  0 siblings, 2 replies; 4+ messages in thread
From: Florian Weimer @ 2021-01-29 16:32 UTC (permalink / raw)
  To: 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

-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill


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

* Re: [PATCH] NEWS: Add entry for glibc-hwcaps and deprecate legacy hwcaps
  2021-01-29 16:32 [PATCH] NEWS: Add entry for glibc-hwcaps and deprecate legacy hwcaps Florian Weimer
@ 2021-01-29 16:39 ` Paul Zimmermann
  2021-01-29 16:39 ` Adhemerval Zanella
  1 sibling, 0 replies; 4+ messages in thread
From: Paul Zimmermann @ 2021-01-29 16:39 UTC (permalink / raw)
  To: Florian Weimer; +Cc: libc-alpha

       Dear Florian,

> +* 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

subsdirectory -> subdirectory

Paul

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

* Re: [PATCH] NEWS: Add entry for glibc-hwcaps and deprecate legacy hwcaps
  2021-01-29 16:32 [PATCH] NEWS: Add entry for glibc-hwcaps and deprecate legacy hwcaps Florian Weimer
  2021-01-29 16:39 ` Paul Zimmermann
@ 2021-01-29 16:39 ` Adhemerval Zanella
  2021-01-29 16:44   ` Florian Weimer
  1 sibling, 1 reply; 4+ messages in thread
From: Adhemerval Zanella @ 2021-01-29 16:39 UTC (permalink / raw)
  To: Florian Weimer, libc-alpha

Ok for 2.33.

On 29/01/2021 13:32, Florian Weimer wrote:
> ---
>  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.

Ok.

> @@ -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
> 

Ok.

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

* Re: [PATCH] NEWS: Add entry for glibc-hwcaps and deprecate legacy hwcaps
  2021-01-29 16:39 ` Adhemerval Zanella
@ 2021-01-29 16:44   ` Florian Weimer
  0 siblings, 0 replies; 4+ messages in thread
From: Florian Weimer @ 2021-01-29 16:44 UTC (permalink / raw)
  To: Adhemerval Zanella; +Cc: libc-alpha

* Adhemerval Zanella:

> Ok for 2.33.

Thanks, pushed with Paul's typo fix.

Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill


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

end of thread, other threads:[~2021-01-29 16:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-29 16:32 [PATCH] NEWS: Add entry for glibc-hwcaps and deprecate legacy hwcaps Florian Weimer
2021-01-29 16:39 ` Paul Zimmermann
2021-01-29 16:39 ` Adhemerval Zanella
2021-01-29 16:44   ` Florian Weimer

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).