News: 0001522120

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

GNU C Library 2.41 Released With New C23 Features, Intel / AMD / Arm CPU Optimizations

([GNU] 3 Hours Ago Glibc 2.41)


As [1]expected , GNU C Library "glibc" 2.41 is now available as the newest half-year feature release to this important C library for Linux systems and other environments.

Glibc 2.41 brings many improvements to this all important libc implementation. Some of the most exciting changes with the GNU C Library 2.41 release include:

- Glibc on Linux now supports the sched_setattr and sched_getattr functions for parameterized scheduling policies such as SCHED_DEADLINE mode.

- [2]ISO C23 function families in the math.h header file for acospi, asinpi, atan2pi, atanpi, cospi, sinpi, and tanpi.

- [3]Support for the Linux getrandom vDSO .

- [4]Faster strnlen() performance on AMD and Intel CPUs .

- A "_ISOC2Y_SOURCE" feature test macro to enable features from the draft ISO C2Y standard.

- Optimizations and correct rounding for various math functions.

- The new "glibc.rtld.execstack" tunable allows for controlling whether an executable stack is allowed from the main program.

- Support for the extensible Restartable Sequences "RSEQ" ABI since Linux 6.3.

- Character encoding and other tables updated against Unicode 16.0.

- The inconv program now supports converting files in-place.

- The DNS stub resolver now supports the strict-error option.

- Support for Guarded Control Stack (GCS) on AArch64 systems.

- Faster performance for code generation and math function speed on AArch64 systems with SVE and NEON intrinsics.

- A new architecture type to better support Hygon x86_64 processors.

- The Glibc test suite has been expanded significantly with some 800+ more test cases than the prior version.

- Fixing a possible buffer overflow when printing an assertion failure message.

- Many bug fixes.

Glibc 2.41 downloads via Git and more information on the updated GNU C Library release via [5]Sourceware.org .



[1] https://www.phoronix.com/news/GNU-C-Library-2.41-Features

[2] https://www.phoronix.com/news/Glibc-2.41-More-C23

[3] https://www.phoronix.com/news/glibc-getrandom-vDSO-Merged

[4] https://www.phoronix.com/news/Intel-EVEX-Faster-strnlen

[5] https://sourceware.org/git/?p=glibc.git;a=tag;h=abfcddcc4963ecada1625b199a32a18a8c051f51



andyprough

"I see little divinity about them or you. You talk to me of Christianity
when you are in the act of hanging your enemies. Was there ever such
blasphemous nonsense!"
-- Shaw, "The Devil's Disciple"