133 Commits

Author SHA1 Message Date
openeuler-ci-bot
dd630adac6 !260 Linux: Simplify __opensock and fix race condition [BZ #28353]
From: @wangbin224
Reviewed-by: @liqingqing_1229
Signed-off-by: @liqingqing_1229
2021-11-30 03:36:31 +00: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
openeuler-ci-bot
7f83d0d27e !254 libpthread-2.17.so 部分开源用例不通过
From: @yang_yanchao
Reviewed-by: 
Signed-off-by:
2021-11-25 07:17:32 +00: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
openeuler-ci-bot
8cf60dde09 !252 revert supress -Wcast-qual warnings in bsearch
From: @liqingqing_1229
Reviewed-by: 
Signed-off-by:
2021-11-19 03:23:46 +00:00
liqingqing_1229
1feba0288f revert supress -Wcast-qual warnings in bsearch 2021-11-19 09:51:27 +08:00
openeuler-ci-bot
36a2ba3359 !248 posix: Fix attribute access mode on getcwd [BZ #27476],Suppress -Wcast-qual warnings in bsearch
From: @liqingqing_1229
Reviewed-by: @wswsamao
Signed-off-by: @wswsamao
2021-11-16 09:33:42 +00: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
openeuler-ci-bot
7249c2be18 !246 fix ld.so crashes while loading a DSO with a read-only dynamic section
From: @liqingqing_1229
Reviewed-by: @wswsamao
Signed-off-by: @wswsamao
2021-11-15 12:42:34 +00: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
openeuler-ci-bot
8688e5e637 !243 gconv: Do not emit spurious NUL character in ISO-2022-JP-3
From: @liqingqing_1229
Reviewed-by: @wswsamao
Signed-off-by: @wswsamao
2021-11-11 01:07:44 +00: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
openeuler-ci-bot
165466c5b3 !237 iconvconfig: Fix behaviour with --prefix
From: @liqingqing_1229
Reviewed-by: @wangbin224
Signed-off-by: @wangbin224
2021-11-09 11:20:12 +00:00
liqingqing_1229
2b77a61d3e iconvconfig: Fix behaviour with --prefix 2021-11-09 15:28:35 +08:00
openeuler-ci-bot
fcfe225ad2 !235 nptl: pthread_kill race condition issues fixed
From: @liqingqing_1229
Reviewed-by: @wangbin224
Signed-off-by: @wangbin224
2021-11-09 01:48:38 +00: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
openeuler-ci-bot
f8f301139c !233 nptl: pthread_kill, pthread_cancel should not fail after exit (bug 19193)
From: @liqingqing_1229
Reviewed-by: @wswsamao
Signed-off-by: @wswsamao
2021-11-05 01:58:41 +00:00
liqingqing_1229
5d781b4a0c pthread_kill and pthread_cancel return success for satisfy posix standard. 2021-11-05 08:50:35 +08:00
openeuler-ci-bot
823437ebcf !217 aarch64: update A64FX memset not to degrade at 16KB
From: @liqingqing_1229
Reviewed-by: @wangbin224
Signed-off-by: @wangbin224
2021-10-29 06:18:46 +00:00
liqingqing_1229
653f3153b9 aarch64: update a64fx memset not to degrade at 16KB 2021-10-29 11:07:27 +08:00
openeuler-ci-bot
97485454ba !216 x86-64: Use testl to check __x86_string_control
From: @liqingqing_1229
Reviewed-by: @wangbin224
Signed-off-by: @wangbin224
2021-10-29 02:48:27 +00: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
openeuler-ci-bot
59f33bf0f8 !215 编译阶段显示更多的testsuite调试信息
From: @yang_yanchao
Reviewed-by: @liqingqing_1229
Signed-off-by: @liqingqing_1229
2021-10-28 01:28:37 +00: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
openeuler-ci-bot
323fd801c1 !214 Use __executable_start as the lowest address for profiling
From: @fangchuang
Reviewed-by: @liqingqing_1229
Signed-off-by: @liqingqing_1229
2021-10-27 01:11:20 +00:00
Fcc
14d36df964 Use __executable_start as the lowest address for profiling 2021-10-26 20:29:37 +08:00
openeuler-ci-bot
7ea2eb1990 !213 glibc:enable libpthreadcond in glibc-2.34
From: @yang_yanchao
Reviewed-by: 
Signed-off-by:
2021-10-26 09:32:08 +00: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
openeuler-ci-bot
ffe6c1030e !212 fix mtrace output and valgrind check failed for tunables_strdup
From: @liqingqing_1229
Reviewed-by: @wangbin224
Signed-off-by: @wangbin224
2021-10-25 11:39:32 +00: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
openeuler-ci-bot
15a6e55473 !211 x86-64: Optimize load of all bits set into ZMM register [BZ #28252]
From: @liqingqing_1229
Reviewed-by: @wangbin224
Signed-off-by: @wangbin224
2021-10-25 08:30:32 +00:00
liqingqing_1229
018de895ca fpu: x86-64 optimize load of all bits set into ZMM register. 2021-10-25 15:09:40 +08:00
openeuler-ci-bot
9564aeebe9 !210 增加glibc-locale-archive,增加对更多语言的支持,同时减少内存占用
From: @yang_yanchao
Reviewed-by: @luochenglcs,@liqingqing_1229
Signed-off-by: @liqingqing_1229
2021-10-19 08:47:36 +00: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
openeuler-ci-bot
4c56d24fca !207 增加glibc测试套白名单,对于白名单以外的失败用例失败时停止构建
From: @yang_yanchao
Reviewed-by: 
Signed-off-by:
2021-10-14 07:25:56 +00: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
openeuler-ci-bot
25cffc4730 !206 update string test memmove.c to cover 16KB
From: @liqingqing_1229
Reviewed-by: @wangbin224
Signed-off-by: @wangbin224
2021-10-11 02:09:51 +00:00
liqingqing_1229
09e73f980a update test memmove.c to cover 16KB 2021-10-11 09:01:17 +08:00
openeuler-ci-bot
62e383a696 !202 elf: drop elf/tls-macros.h in favor of thread tls_mode attribute
From: @liqingqing_1229
Reviewed-by: @lvying6,@wangbin224
Signed-off-by: @wangbin224
2021-09-29 07:17:25 +00:00
liqingqing_1229
39ba937215 elf: drop elf/tls-macros.h in favor of thread tls_mode attribute.
use __ehdr_start for __GLOBAL_OFFSET_TABLE[0]
2021-09-29 11:52:55 +08:00
openeuler-ci-bot
3da7d02c62 !200 fix overflow ittimer tests on 32 bit system
From: @liqingqing_1229
Reviewed-by: @wswsamao
Signed-off-by: @wswsamao
2021-09-29 03:36:25 +00:00
liqingqing_1229
60314ef12d time fix overflow itimer tests on 32 bit system 2021-09-29 10:55:38 +08:00
openeuler-ci-bot
d56bab677b !199 mtrace: use a static buffer for printing, fix upstream bug BZ #25947
From: @liqingqing_1229
Reviewed-by: @wangbin224
Signed-off-by: @wangbin224
2021-09-27 11:42:26 +00:00
liqingqing_1229
8b0605e3bf mtrace: use a static buffer for printing, fix upstream bug BZ #25947 2021-09-27 19:18:52 +08:00
openeuler-ci-bot
3c9a63f0a9 !198 aarch64: Make elf_machine_{load_address,dynamic} robust [BZ #28203]
From: @liqingqing_1229
Reviewed-by: @wangbin224
Signed-off-by: @wangbin224
2021-09-26 03:38:11 +00:00
liqingqing_1229
e4fd5bf689 aarch64: Make elf_machine_{load_addr,dynamic} robust [BZ #28203] 2021-09-26 09:52:11 +08:00
openeuler-ci-bot
055596e7b5 !197 aarch64: optimize memset performance
From: @liqingqing_1229
Reviewed-by: @wangbin224
Signed-off-by: @wangbin224
2021-09-17 09:00:57 +00:00
liqingqing_1229
8d6576b56f aarch64: optimize memset performance 2021-09-17 16:04:25 +08:00
openeuler-ci-bot
5c239ac40f !195 backport upstream patches to fix some memory leak and double free bugs
From: @liqingqing_1229
Reviewed-by: @wangbin224
Signed-off-by: @wangbin224
2021-09-17 03:02:38 +00:00
liqingqing_1229
524981388e fix some patches to fix some memory leak and double free bugs. 2021-09-17 10:20:57 +08:00