here the details:
libio: Ensure output buffer for wchars bug 28828
libio: libio Flush onlu _IO_str_overflow must not return EOF bug 28949
linux: Fix _closefrom_fallback iterates until max int bug 28993
backport the following seven patches
malloc: Add madvise support for Transparent Huge Pages
malloc: Add THP/madvise support for sbrk
malloc: Move mmap logic to its own function
malloc: Add Huge Page support for mmap
malloc: Add Huge Page support to arenas
malloc: Move MORECORE fallback mmap to sysmalloc_mmap_fallback
malloc: Enable huge page support on main arena
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
Linux 5.13 adds a PTRACE_GET_RSEQ_CONFIGURATION constant, with an
associated ptrace_rseq_configuration structure.
Add this constant to the various sys/ptrace.h headers in glibc, with
the structure in bits/ptrace-shared.h (named struct
__ptrace_rseq_configuration in glibc, as with other such structures).
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.
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
The default debuginfo management mechanism is not deleted.
Instead, Use the default macro of RPM.
/usr/lib/rpm/openEuler/macros defines:
"""
%install% {?_Enable Debug Package:% {?Build subdirectory:% {debug package}\
%%Install\
%{nil}
"""
There are two changes:
1. The source files in /usr/src are
correctly packed into the debugging source.
2. The debugging file contains the glibc version number.
The CI detects the file change. However, I think this is caused by the CI.
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
(cherry picked from commit 962ab381cb348507eef59878a6ce56b4203b59ce)
rpm-build move find-debuginfo.sh into debugedit.
and change the path from "/usr/lib/rpm" to "/usr/bin"
adapts this change
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
add zh_* and en_* to glibc-common
the size of glibc-common is increased from 1.8MB to 3.5MB
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
(cherry picked from commit f5e24fbbc91f5674b85d32b2f71148638bc7c920)
AF_NETLINK support is not quite optional on modern Linux systems
anymore, so it is likely that the first attempt will always succeed.
Consequently, there is no need to cache the result. Keep AF_UNIX
and the Internet address families as a fallback, for the rare case
that AF_NETLINK is missing. The other address families previously
probed are totally obsolete be now, so remove them.
Use this simplified version as the generic implementation, disabling
Netlink support as needed.
Signed-off-by: Bin Wang <wangbin224@huawei.com>
(cherry picked from commit b91290ce417b9a6dec5d1d044fa8ab361d0e300a)