GLIBC 2.40 System Library Released

After six months of development published the release of the system library gnu C Library (Glibc) 2.40, which fully follows the requirements of ISO C11 and Posix.1-2017 standards. The new issue includes corrections from 68 developers.

From those implemented in glibc 2.40 better can be noted:

  • New exponential and logarithmic functions determined in the standard C23: Exp2M1, Exp10M1.LOG2P1, LOG10P1 and LOGP1 are added to the Math.h header. The functions are available in the options for types Float, Double, Long Double, _floatn and _floatnx.
  • Added macro _isoc23_source, which determines the use of the capabilities proposed in the C23 standard (only part of the C23 capabilities are implemented in the GLIBC). The use of C23 can also be turned on when compiling through the indication in the GCC options -std = c23, -std = gnu23, -std = c2x or -std = gnu2x.
  • Added configuration “Glibc.rtld.enable_Secure”, which allows you to launch the program during testing as if it had a flag of a user identifier (setuid).
  • On the Linux platform, the EPOLL.H title is updated to support the new IOCTL and EPOLL structures that appeared in the Linux 6.9.
  • Functionality for identifying possible overflowing of the buffer and errors related to the performance of the functions of working with lines and memory management (“_Fortify_Source”) is adapted for assembly Glibc using the Clang compiler.
  • In a library with vector mathematical functions (LibmVec), the implementation of the functions of Acosh, Asinh, Atanh, CBRT, COSH, ERF, ERFC, Hypot
/Reports, release notes, official announcements.