146 Commits

Author SHA1 Message Date
liqingqing
c6d65682ba linux: Fix enum fsconfig_command detection in <sys/mount.h> 2022-08-16 20:24:11 +08:00
liqingqing
6ae77472bf linux: Fix sys/mount.h usage with kernel headers 2022-08-15 21:50:01 +08:00
liqingqing_1229
14beed93c9 refactoring testsuite whitelist 2022-08-15 14:57:16 +08:00
liqingqing_1229
eb2c7a9ee8 aarch64: strcmp delete align for better unixbench performance 2022-08-10 16:11:17 +08:00
liqingqing_1229
d678c72e75 upgrade to glibc 2.36 2022-08-02 15:14:41 +08:00
liqingqing_1229
993fcab1f9 optimize Obsoletes version 2022-07-28 16:13:41 +08:00
liqingqing_1229
a27663f288 enable -werror by default 2022-07-06 15:32:10 +08:00
Yang Yanchao
6a37fb636d add libpthread_nonshared.a in glibc-compat-2.17 for old applications
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2022-07-05 17:17:18 +08:00
liqingqing_1229
71de1929dd aarch64: add -mno-outline-atomics to prevent mallocT2_xx performance regression 2022-06-28 16:33:17 +08:00
liqingqing_1229
00ea1ee896 x86: use total l3cache size for non_temporal_threshold 2022-06-27 19:16:46 +08:00
Yang Yanchao
750d623f7c Use Lua to compile the installation scripts of glibc-common and glibc-locale-archive.
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2022-06-14 19:35:07 +08:00
liqingqing_1229
65b9b97a46 use locale-archive to prevent basic command performance regression
all the basic command like chgrp/chmod/chown/mkdir/touch
will first search /use/lib/locale/locale-archive. if failed,
then search the exact locale like /usr/lib/locale/zh_CN.
right now we don't have locale-archive and this will cause the
basic command's performance regression, so add it.
2022-06-01 15:21:30 +08:00
jiangheng
ecb0d526a0 restore nscd 2022-05-12 22:07:50 +08:00
Yang Yanchao
908728e05c delete the BuildRequires:gcc_secure.
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2022-03-31 21:08:01 +08:00
Yang Yanchao
c0a3ae8ca6 mv libc.info.gz* to the package glibc-help
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2022-03-30 14:39:53 +08:00
liqingqing_1229
2c74ab717a malloc: use __get_nprocs replace __get_nprocs_sched 2022-03-12 17:52:37 +08:00
liqingqing_1229
0997054034 add chrpath to build requires for removing RPATH/RUNPATH 2022-03-02 15:48:47 +08:00
liqingqing_1229
a95455ac97 remove shared library's RPATH/RUNPATH for security 2022-03-01 15:21:45 +08:00
liqingqing_1229
a80f91c2ed tzselect: use region to select timezone 2022-02-22 15:30:25 +08:00
shirely16
82785a936c remove nscd 2022-02-11 10:23:26 +08:00
liqingqing_1229
87f8bf9cd5 upgrade to 2.35 2022-02-09 09:23:31 +08:00
Yang Yanchao
128404983f sync spec code form 22.03-LTS
https://gitee.com/src-openeuler/glibc/pulls/334/files

Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2022-02-08 15:30:50 +08:00
Yang Yanchao
a24aecade4 testsuit: delete check-installed-headers-c and check-installed-headers-cxx
which are checked in CI to improves the compilation speed.
testsuit: delete glibc-benchtest

Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2022-01-11 17:16:36 +08:00
liusirui
38869172b4 ld.so: Don't fill the DT_DEBUG entry in ld.so [BZ #28129]
Signed-off-by: liusirui <liusirui@huawei.com>
2021-12-25 17:31:02 +08:00
liqingqing_1229
cc054c6ba0 do not define tgmath.h fmaxmag, fminmag macros for C2X (BZ #28397) 2021-12-24 16:33:10 +08:00
liqingqing_1229
83668a2e5d io: Fix ftw internal realloc buffer (BZ #28126) 2021-12-24 15:09:14 +08:00
liqingqing_1229
c66918bc60 fix glibc upstream bug BZ#28260 and nss/tst-nss-files-hosts-long and nptl/tst-create1 2021-12-22 17:31:47 +08:00
liqingqing_1229
4405c42868 pthread/tst-cancel28: Fix barrier re-init race condition 2021-12-15 19:33:12 +08:00
Yang Yanchao
91e26f23d2 Deleted some unnecessary command when make master.filelist
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2021-12-09 21:50:16 +08:00
Yang Yanchao
f5e24fbbc9 support all Chinese and English by default
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>
2021-12-09 20:03:45 +08:00
Yang Yanchao
6495a142f4 turn the default value of x86_rep_stosb_threshold from 2k to 1M
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2021-12-03 12:13:47 +08:00
liqingqing_1229
0057d144a9 revert the use of sched_getaffinity [BZ #28310] 2021-12-02 21:02:21 +08:00
Bin Wang
b91290ce41 Linux: Simplify __opensock and fix race condition [BZ #28353]
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>
2021-11-30 10:15:28 +08:00
Yang Yanchao
8615244aa3 Refactor the libpthread-2.17.so code and pass all test cases.
delete libpthread-2.17.so from glibc-devel
2021-11-24 18:19:16 +08:00
liqingqing_1229
1feba0288f revert supress -Wcast-qual warnings in bsearch 2021-11-19 09:51:27 +08:00
liqingqing_1229
05f7be5273 fix attribute access mode on getcwd [BZ #27476], supress -Wcast-qual warnings in bsearch 2021-11-15 21:38:26 +08:00
liqingqing_1229
35e1891d71 elf: fix ld.so crash while loading a DSO with a read-only dynamic section 2021-11-15 19:32:05 +08:00
liqingqing_1229
3ab2b7b71b gconv: Do not emit spurious NUL character in ISO-2022-JP-3, this also fix CVE-2021-43396. 2021-11-10 20:49:28 +08:00
liqingqing_1229
2b77a61d3e iconvconfig: Fix behaviour with --prefix 2021-11-09 15:28:35 +08:00
liqingqing_1229
83aeb85874 nptl: pthread_kill race condition issues fixed.
uplink: https://sourceware.org/bugzilla/show_bug.cgi?id=19193
        https://sourceware.org/bugzilla/show_bug.cgi?id=12889
        https://sourceware.org/bugzilla/show_bug.cgi?id=28036
        https://sourceware.org/bugzilla/show_bug.cgi?id=28363
        https://sourceware.org/bugzilla/show_bug.cgi?id=28407
2021-11-08 21:07:42 +08:00
liqingqing_1229
5d781b4a0c pthread_kill and pthread_cancel return success for satisfy posix standard. 2021-11-05 08:50:35 +08:00
liqingqing_1229
653f3153b9 aarch64: update a64fx memset not to degrade at 16KB 2021-10-29 11:07:27 +08:00
liqingqing_1229
a085006b9e use testl, instead of andl, to check __x86_string_control to
avoid updating __x86_string_control
2021-10-28 20:59:51 +08:00
Yang Yanchao
e6a721beed Show more debugging information during testsuite
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2021-10-27 09:24:23 +08:00
Fcc
14d36df964 Use __executable_start as the lowest address for profiling 2021-10-26 20:29:37 +08:00
Yang Yanchao
0efa08b12d glibc:add glibc-compat-2.17 subpackage to provide the function of the glibc-2.17 pthread library.
Currently, provide pthread_condition function.

Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2021-10-26 15:11:36 +08:00
liqingqing_1229
88a66f7a0c fix mtrace output and valgrind check failed for tunables_strdup.
-mtrace fix output with PIE and ASLR.
-elf: rtld copy terminating null in tunables strdup.
2021-10-25 16:54:09 +08:00
liqingqing_1229
018de895ca fpu: x86-64 optimize load of all bits set into ZMM register. 2021-10-25 15:09:40 +08:00
Yang Yanchao
14364fe566 Add locale-archive sub packages to support more languages and reduce memory usage.
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2021-10-19 16:26:18 +08:00
Yang Yanchao
99e0df3458 Add the testsuite whitelist.
If a test case out of the trustlist fails, the compilation is interrupted.

Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2021-10-14 14:45:26 +08:00