From c1cbcd35e785faa103f1a299637602bea81fe7e4 Mon Sep 17 00:00:00 2001 From: Konstantin Demin Date: Thu, 1 May 2025 19:07:10 +0300 Subject: [PATCH] toolchain: glibc: Update glibc 2.38 to recent HEAD f510d75f nscd: Use time_t for return type of addgetnetgrentX 5aa4bb67 resolv: Fix some unaligned accesses in resolver [BZ #30750] 249646f1 Force DT_RPATH for --enable-hardcoded-path-in-tests 697ab62d i386: Disable Intel Xeon Phi tests for GCC 15 and above (BZ 31782) c8cb4d2b misc: Add support for Linux uio.h RWF_NOAPPEND flag 71245363 s390x: Fix segfault in wcsncmp [BZ #31934] 7bfc3595 nptl: fix potential merge of __rseq_* relro symbols d9d019d6 elf: Make dl-rseq-symbols Linux only bb30bd21 Linux: Make __rseq_size useful for feature detection (bug 31965) dc512364 resolv: Allow short error responses to match any query (bug 31890) 6cad0f54 resolv: Do not wait for non-existing second DNS response after error (bug 30081) 1bed6acf resolv: Track single-request fallback via _res._flags (bug 31476) 0301637b linux: Update the mremap C implementation [BZ #31968] f0e21145 mremap: Update manual entry 6bb75212 Add mremap tests 3ac7ba61 Update syscall lists for Linux 6.5 9184c136 resolv: Fix tst-resolv-short-response for older GCC (bug 32042) 059f82c3 Fix name space violation in fortify wrappers (bug 32052) c005d1bd x86: Fix bug in strchrnul-evex512 [BZ #32078] 28f358bc support: Add FAIL test failure helper 99ffa84b stdio-common: Add test for vfscanf with matches longer than INT_MAX [BZ #27650] 87a1968a Make tst-ungetc use libsupport 804d3c8d ungetc: Fix uninitialized read when putting into unused streams [BZ #27821] b9f72bd5 ungetc: Fix backup buffer leak on program exit [BZ #27821] 15ca6630 posix: Use facilities in tst-truncate and tst-truncate64 f30501ca nptl: Use facilities in tst-setuid3 370be858 libio: Attempt wide backup free only for non-legacy code 4dd86414 Add crt1-2.0.o for glibc 2.0 compatibility tests fa4ad104 elf: Change ldconfig auxcache magic number (bug 32231) 9423cc53 nptl: initialize rseq area prior to registration 37ded328 nptl: initialize cpu_id_start prior to rseq registration cf067723 x86: Avoid integer truncation with large cache sizes (bug 32470) 5c9be512 x86_64: Sort fpu/multiarch/Makefile 49016f21 x86_64: Add log2 with FMA b2a45f1e x86_64: Add expm1 with FMA c92946d9 x86_64: Add log1p with FMA 58822f95 x86: Check the lower byte of EAX of CPUID leaf 2 [BZ #30643] 7772f935 elf: Fix slow tls access after dlopen [BZ #19924] 5a64f933 x86: Only align destination to 1x VEC_SIZE in memset 4x loop 0d14bf07 sysdeps/x86/Makefile: Split and sort tests dc176211 x86_64: Fix missing wcsncat function definition without multiarch (x86-64-v4) 04b8d484 x86: Improve large memset perf with non-temporal stores [RHEL-29312] 12fec8aa x86/string: Fixup alignment of main loop in str{n}cmp-evex [BZ #32212] 48642ef1 elf: Avoid some free (NULL) calls in _dl_update_slotinfo 549e7f7c elf: Support recursive use of dynamic TLS in interposed malloc c32fd593 Fix underallocation of abort_msg_s struct (CVE-2025-0395) 650a0aaa stdlib: Test using setenv with updated environ [BZ #32588] f984e2d7 assert: Add test for CVE-2025-0395 9ca74b8a AArch64: Improve generic strlen 95aa2143 AArch64: Optimize memset 5fe151d8 AArch64: Remove zva_128 from memset 3de51123 math: Improve layout of expf data 52c2b155 AArch64: Add SVE memset 097299ff AArch64: Use prefer_sve_ifuncs for SVE memset 5a08d049 math: Improve layout of exp/exp10 data Signed-off-by: Konstantin Demin Link: https://github.com/openwrt/openwrt/pull/18648 Signed-off-by: Christian Marangi --- toolchain/glibc/common.mk | 6 +++--- toolchain/glibc/patches/200-add-dl-search-paths.patch | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/toolchain/glibc/common.mk b/toolchain/glibc/common.mk index 28beda04ebd..3ef5c3c0fb1 100644 --- a/toolchain/glibc/common.mk +++ b/toolchain/glibc/common.mk @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=glibc PKG_VERSION:=2.38 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE_VERSION:=e9f05fa1c62c8044ff025963498063f73eb51c5f -PKG_MIRROR_HASH:=fd61eb2caea0d4100638b8aa8285b0f1bc23af921c376516307c9ab8ac307739 +PKG_SOURCE_VERSION:=5a08d049dc5037e89eb95bb1506652f0043fa39e +PKG_MIRROR_HASH:=96f161399bd2bc1e589f87d1923b1c3d7743dfe3fc4cc8b43cb9b1d45aa6e315 PKG_SOURCE_URL:=https://sourceware.org/git/glibc.git PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.zst PKG_CPE_ID:=cpe:/a:gnu:glibc diff --git a/toolchain/glibc/patches/200-add-dl-search-paths.patch b/toolchain/glibc/patches/200-add-dl-search-paths.patch index 15106541ca5..083dc3df404 100644 --- a/toolchain/glibc/patches/200-add-dl-search-paths.patch +++ b/toolchain/glibc/patches/200-add-dl-search-paths.patch @@ -2,7 +2,7 @@ add /usr/lib to default search path for the dynamic linker --- a/Makeconfig +++ b/Makeconfig -@@ -632,6 +632,9 @@ else +@@ -656,6 +656,9 @@ else default-rpath = $(libdir) endif -- 2.47.2