diff --git a/glibc.spec b/glibc.spec index a6c13665916fa289922c4c7a2846a3b1e73a82b8..72914005e9f2811ef50497688ee41963c0c88d2b 100644 --- a/glibc.spec +++ b/glibc.spec @@ -67,7 +67,7 @@ ############################################################################## Name: glibc Version: 2.38 -Release: 74 +Release: 75 Summary: The GNU libc libraries License: %{all_license} URL: http://www.gnu.org/software/glibc/ @@ -370,54 +370,52 @@ Patch280: x86-Skip-XSAVE-state-size-reset-if-ISA-level-require.patch Patch281: x86-fix-wmemset-ifunc-stray-bug-33542.patch #openEuler patch list -Patch9000: turn-default-value-of-x86_rep_stosb_threshold_form_2K_to_1M.patch -Patch9001: locale-delete-no-hard-link-to-avoid-all_language-pac.patch -Patch9002: use-region-to-instead-of-country-for-extract-timezon.patch -Patch9003: strcmp-delete-align-for-loop_aligned.patch -Patch9004: add-pthread_cond_clockwait-GLIBC_2_28.patch -Patch9005: add-GB18030-2022-charmap-BZ-30243.patch -Patch9006: fix-Segmentation-fault-in-nss-module.patch -Patch9007: fix_nss_database_check_reload_and_get_memleak.patch -Patch9008: 0001-fix-glibc-build-error-on-x86.patch -Patch9009: add-Wl-z-noseparate-code-for-so.patch +Patch9000: locale-delete-no-hard-link-to-avoid-all_language-pac.patch +Patch9001: use-region-to-instead-of-country-for-extract-timezon.patch +Patch9002: add-pthread_cond_clockwait-GLIBC_2_28.patch +Patch9003: add-GB18030-2022-charmap-BZ-30243.patch +Patch9004: fix-Segmentation-fault-in-nss-module.patch +Patch9005: fix_nss_database_check_reload_and_get_memleak.patch +Patch9006: 0001-fix-glibc-build-error-on-x86.patch +Patch9007: add-Wl-z-noseparate-code-for-so.patch # Sw64 Port glibc -Patch9010: 0001-Sw64-Add-Sw64-entries-to-config.h.in.patch -Patch9011: 0002-Sw64-Add-relocations-and-ELF-flags-to-elf.h-and-scri.patch -Patch9012: 0003-Sw64-ABI-Implementation.patch -Patch9013: 0004-Sw64-Thread-Local-Storage-Support.patch -Patch9014: 0005-Sw64-Generic-math.h-and-soft-fp-Routines.patch -Patch9015: 0006-Sw64-Atomic-and-Locking-Implementation.patch -Patch9016: 0007-Sw64-Linux-Syscall-Interface.patch -Patch9017: 0008-Sw64-Linux-ABI.patch -Patch9018: 0009-Sw64-Add-ABI-Lists.patch -Patch9019: 0010-Sw64-Build-Infrastructure.patch -Patch9020: 0011-Sw64-Integer-Operation-Support.patch -Patch9021: 0012-Sw64-Memory-and-String-Implementation.patch -Patch9022: 0013-Sw64-math-support.patch -Patch9023: 0014-Sw64-float128-Implementation.patch -Patch9024: 0015-Sw64-Add-get_rounding_mode.patch -Patch9025: 0016-Sw64-Add-specific-math-difinitons.patch -Patch9026: 0017-Sw64-Introduce-elf-initfini.h-and-ELF_INITFINI-for-s.patch -Patch9027: 0018-Sw64-Type-definitions-for-nscd-on-sw64.patch -Patch9028: 0019-Sw64-GCC-frame-desciption-for-sw64.patch -Patch9029: 0020-Sw64-Update-libm-test-ulps.patch -Patch9030: 0021-Sw64-Add-test_numdouble.h-and-test_numfloat.h.patch -Patch9031: 0022-Sw64-Fix-posix-tst-glob_lstat_compat-on-sw64.patch -Patch9032: 0023-Sw64-add-getopt-weak-alias.patch - -Patch9033: 0001-x86-Set-preferred-CPU-features-on-the-KH-40000-and-K.patch -Patch9034: 0002-x86_64-Optimize-large-size-copy-in-memmove-ssse3.patch -Patch9035: 0003-x86-Set-default-non_temporal_threshold-for-Zhaoxin-p.patch -Patch9036: fix-CVE-2019-1010023.patch -Patch9037: Using-__memcpy_generic-when-kunpeng920-with-tsv120-m.patch -Patch9038: Using-__memmove_generic-when-kunpeng920-with-tsv120-m.patch -Patch9039: revert-aarch64-Use-memcpy_simd-as-the-default-memcpy.patch -Patch9040: backport-Fix-UB-on__dl_map_object_from_fd.patch -Patch9041: backport-Fix-handling-of-symbol-versions-which-hash-to-zero.patch -Patch9042: AArch64-modify_the_SVE_memcpy_implementation_for_32-byte_aligned_access.patch -Patch9043: 0024-Sw64-Change-libdir-from-lib-to-lib64.patch -Patch9044: backport-x86-Disable-AVX-Fast-Unaligned-Load-on-Hygon-1-2-3.patch +Patch9008: 0001-Sw64-Add-Sw64-entries-to-config.h.in.patch +Patch9009: 0002-Sw64-Add-relocations-and-ELF-flags-to-elf.h-and-scri.patch +Patch9010: 0003-Sw64-ABI-Implementation.patch +Patch9011: 0004-Sw64-Thread-Local-Storage-Support.patch +Patch9012: 0005-Sw64-Generic-math.h-and-soft-fp-Routines.patch +Patch9013: 0006-Sw64-Atomic-and-Locking-Implementation.patch +Patch9014: 0007-Sw64-Linux-Syscall-Interface.patch +Patch9015: 0008-Sw64-Linux-ABI.patch +Patch9016: 0009-Sw64-Add-ABI-Lists.patch +Patch9017: 0010-Sw64-Build-Infrastructure.patch +Patch9018: 0011-Sw64-Integer-Operation-Support.patch +Patch9019: 0012-Sw64-Memory-and-String-Implementation.patch +Patch9020: 0013-Sw64-math-support.patch +Patch9021: 0014-Sw64-float128-Implementation.patch +Patch9022: 0015-Sw64-Add-get_rounding_mode.patch +Patch9023: 0016-Sw64-Add-specific-math-difinitons.patch +Patch9024: 0017-Sw64-Introduce-elf-initfini.h-and-ELF_INITFINI-for-s.patch +Patch9025: 0018-Sw64-Type-definitions-for-nscd-on-sw64.patch +Patch9026: 0019-Sw64-GCC-frame-desciption-for-sw64.patch +Patch9027: 0020-Sw64-Update-libm-test-ulps.patch +Patch9028: 0021-Sw64-Add-test_numdouble.h-and-test_numfloat.h.patch +Patch9029: 0022-Sw64-Fix-posix-tst-glob_lstat_compat-on-sw64.patch +Patch9030: 0023-Sw64-add-getopt-weak-alias.patch + +Patch9031: 0001-x86-Set-preferred-CPU-features-on-the-KH-40000-and-K.patch +Patch9032: 0002-x86_64-Optimize-large-size-copy-in-memmove-ssse3.patch +Patch9033: 0003-x86-Set-default-non_temporal_threshold-for-Zhaoxin-p.patch +Patch9034: fix-CVE-2019-1010023.patch +Patch9035: Using-__memcpy_generic-when-kunpeng920-with-tsv120-m.patch +Patch9036: Using-__memmove_generic-when-kunpeng920-with-tsv120-m.patch +Patch9037: revert-aarch64-Use-memcpy_simd-as-the-default-memcpy.patch +Patch9038: backport-Fix-UB-on__dl_map_object_from_fd.patch +Patch9039: backport-Fix-handling-of-symbol-versions-which-hash-to-zero.patch +Patch9040: AArch64-modify_the_SVE_memcpy_implementation_for_32-byte_aligned_access.patch +Patch9041: 0024-Sw64-Change-libdir-from-lib-to-lib64.patch +Patch9042: backport-x86-Disable-AVX-Fast-Unaligned-Load-on-Hygon-1-2-3.patch Provides: ldconfig rtld(GNU_HASH) bundled(gnulib) @@ -1603,6 +1601,9 @@ fi %endif %changelog +* Thu Nov 06 2025 Qingqing Li - 2.38-75 +- delete useless patches + * Wed Nov 05 2025 Qingqing Li - 2.38-74 - x86: fix wmemset ifunc stray '!' (bug 33542) diff --git a/strcmp-delete-align-for-loop_aligned.patch b/strcmp-delete-align-for-loop_aligned.patch deleted file mode 100644 index cf5b15a209b25bc27dffa7e9002c277d7b7938c7..0000000000000000000000000000000000000000 --- a/strcmp-delete-align-for-loop_aligned.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 9bbffed83b93f633b272368fc536a4f24e9942e6 Mon Sep 17 00:00:00 2001 -From: Yang Yanchao -Date: Mon, 21 Feb 2022 14:25:25 +0800 -Subject: [PATCH] strcmp: delete align for loop_aligned - -In Kunpeng-920, the performance of strcmp deteriorates only -when the 16 to 23 characters are different.Or the string is -only 16-23 characters.That shows 2 misses per iteration which -means this is a branch predictor issue indeed. -In the preceding scenario, strcmp performance is 300% worse than expected. - -Fortunately, this problem can be solved by modifying the alignment of the functions. ---- - sysdeps/aarch64/strcmp.S | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/sysdeps/aarch64/strcmp.S b/sysdeps/aarch64/strcmp.S -index f225d718..7a048b66 100644 ---- a/sysdeps/aarch64/strcmp.S -+++ b/sysdeps/aarch64/strcmp.S -@@ -71,8 +71,6 @@ ENTRY(strcmp) - b.ne L(misaligned8) - cbnz tmp, L(mutual_align) - -- .p2align 4 -- - L(loop_aligned): - ldr data2, [src1, off2] - ldr data1, [src1], 8 --- -2.33.0 - diff --git a/turn-default-value-of-x86_rep_stosb_threshold_form_2K_to_1M.patch b/turn-default-value-of-x86_rep_stosb_threshold_form_2K_to_1M.patch deleted file mode 100644 index e9e053dece4618d2ba6bb47d561215c674a4759a..0000000000000000000000000000000000000000 --- a/turn-default-value-of-x86_rep_stosb_threshold_form_2K_to_1M.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 4dee2794b8c78ccd540e3f72bc07585828e0143b Mon Sep 17 00:00:00 2001 -From: Yang Yanchao -Date: Thu, 2 Dec 2021 19:56:20 +0800 -Subject: [PATCH] turn the default value of x86_rep_stosb_threshold from 2k to 1M - -x86_rep_stosb_threshold is designed to choose vec mov or stosb. -For the libMicro, after set this x86_rep_stosb_threshold to 1 MB. -The performance of memset_256_u, memset_4k_uc, and memset_1m is improved. -The performance deteriorates in the memset_4k and memset_10k scenarios. ---- - sysdeps/x86/dl-tunables.list | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/sysdeps/x86/dl-tunables.list b/sysdeps/x86/dl-tunables.list -index dd6e1d65..a4c3af69 100644 ---- a/sysdeps/x86/dl-tunables.list -+++ b/sysdeps/x86/dl-tunables.list -@@ -54,7 +54,7 @@ glibc { - # stored value is fixed, larger register size has minimal impact - # on threshold. - minval: 1 -- default: 2048 -+ default: 1048576 - } - x86_data_cache_size { - type: SIZE_T --- -2.30.0 -