]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
glibc: Upgrade to 2.40
authorKhem Raj <raj.khem@gmail.com>
Sun, 21 Jul 2024 18:03:35 +0000 (11:03 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 22 Jul 2024 15:52:58 +0000 (16:52 +0100)
commit4dd98c39204c1bfdf54b10ec72c3003118ac1dba
tree85cbf1b205d1e24766d51f396cb9cbd11d19e878
parent0d94c22dd8d6c5655c2237ae740e8d9bb2adc751
glibc: Upgrade to 2.40

Major new features:

* The <stdbit.h> header type-generic macros have been changed when using
  GCC 14.1 or later to use __builtin_stdc_bit_ceil etc. built-in functions
  in order to support unsigned __int128 and/or unsigned _BitInt(N) operands
  with arbitrary precisions when supported by the target.

* The GNU C Library now supports a feature test macro _ISOC23_SOURCE to
  enable features from the ISO C23 standard.  Only some features from
  this standard are supported by the GNU C Library.  The older name
  _ISOC2X_SOURCE is still supported.  Features from C23 are also enabled
  by _GNU_SOURCE, or by compiling with the GCC options -std=c23,
  -std=gnu23, -std=c2x or -std=gnu2x.

* The following ISO C23 function families (introduced in TS
  18661-4:2015) are now supported in <math.h>.  Each family includes
  functions for float, double, long double, _FloatN and _FloatNx, and a
  type-generic macro in <tgmath.h>.

  - Exponential functions: exp2m1, exp10m1.

  - Logarithmic functions: log2p1, log10p1, logp1.

* A new tunable, glibc.rtld.enable_secure, can be used to run a program
  as if it were a setuid process. This is currently a testing tool to allow
  more extensive verification tests for AT_SECURE programs and not meant to
  be a security feature.

* On Linux, the epoll header was updated to include epoll ioctl definitions
  and the related structure added in Linux kernel 6.9.

* The fortify functionality has been significantly enhanced for building
  programs with clang against the GNU C Library.

* Many functions have been added to the vector library for aarch64:
    acosh, asinh, atanh, cbrt, cosh, erf, erfc, hypot, pow, sinh, tanh

* On x86, memset can now use non-temporal stores to improve the performance
  of large writes. This behaviour is controlled by a new tunable
  x86_memset_non_temporal_threshold.

Deprecated and removed features, and other changes affecting compatibility:

* Architectures which use a 32-bit seconds-since-epoch field in struct
  lastlog, struct utmp, struct utmpx (such as i386, powerpc64le, rv32,
  rv64, x86-64) switched from a signed to an unsigned type for that
  field.  This allows these fields to store timestamps beyond the year
  2038, until the year 2106.  Please note that applications are still
  expected to migrate off the interfaces declared in <utmp.h> and
  <utmpx.h> (except for login_tty) due to locking and session management
  problems.

* __rseq_size now denotes the size of the active rseq area (20 bytes
  initially), not the size of struct rseq (32 bytes initially).

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 files changed:
meta/conf/distro/include/tcmode-default.inc
meta/recipes-core/glibc/cross-localedef-native_2.40.bb [moved from meta/recipes-core/glibc/cross-localedef-native_2.39.bb with 100% similarity]
meta/recipes-core/glibc/glibc-common.inc
meta/recipes-core/glibc/glibc-locale_2.40.bb [moved from meta/recipes-core/glibc/glibc-locale_2.39.bb with 100% similarity]
meta/recipes-core/glibc/glibc-mtrace_2.40.bb [moved from meta/recipes-core/glibc/glibc-mtrace_2.39.bb with 100% similarity]
meta/recipes-core/glibc/glibc-scripts_2.40.bb [moved from meta/recipes-core/glibc/glibc-scripts_2.39.bb with 100% similarity]
meta/recipes-core/glibc/glibc-testsuite_2.40.bb [moved from meta/recipes-core/glibc/glibc-testsuite_2.39.bb with 100% similarity]
meta/recipes-core/glibc/glibc-version.inc
meta/recipes-core/glibc/glibc-y2038-tests_2.40.bb [moved from meta/recipes-core/glibc/glibc-y2038-tests_2.39.bb with 100% similarity]
meta/recipes-core/glibc/glibc/0001-localedef-Add-hardlink-resolver-from-util-linux.patch
meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch
meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch
meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch
meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch
meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch
meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch
meta/recipes-core/glibc/glibc/0009-yes-within-the-path-sets-wrong-config-variables.patch
meta/recipes-core/glibc/glibc/0010-eglibc-Cross-building-and-testing-instructions.patch
meta/recipes-core/glibc/glibc/0011-eglibc-Help-bootstrap-cross-toolchain.patch
meta/recipes-core/glibc/glibc/0012-eglibc-Resolve-__fpscr_values-on-SH4.patch
meta/recipes-core/glibc/glibc/0013-eglibc-Forward-port-cross-locale-generation-support.patch
meta/recipes-core/glibc/glibc/0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch
meta/recipes-core/glibc/glibc/0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch
meta/recipes-core/glibc/glibc/0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch
meta/recipes-core/glibc/glibc/0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch
meta/recipes-core/glibc/glibc/0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch
meta/recipes-core/glibc/glibc/0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch
meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch
meta/recipes-core/glibc/glibc/0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch
meta/recipes-core/glibc/glibc/0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch
meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch [moved from meta/recipes-core/glibc/glibc/0023-qemu-stale-process.patch with 61% similarity]
meta/recipes-core/glibc/glibc_2.40.bb [moved from meta/recipes-core/glibc/glibc_2.39.bb with 97% similarity]