376 Commits

Author SHA1 Message Date
Yang Yanchao
facbb7dec1 Reconstruct the Debug Package Generation Mode:
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)
2022-01-28 17:37:29 +08:00
openeuler-ci-bot
2dc1a46a01
!345 [sync] PR-339: fix CVE-2019-1010023
Merge pull request !345 from openeuler-sync-bot/sync-pr339-cve-to-openEuler-22.03-LTS
2022-01-28 07:45:55 +00:00
Lv Ying
f7cd45c1c8 fix CVE-2019-1010023
Signed-off-by: Lv Ying <lvying6@huawei.com>
(cherry picked from commit 3c52b74faf765a574e6abc492c212655b4b45cfe)
2022-01-28 15:45:20 +08:00
openeuler-ci-bot
3c24017032
!340 [sync] PR-336: Fix __wcsncmp_evex and __wcsncmp_avx2 [BZ #28755]
Merge pull request !340 from openeuler-sync-bot/sync-pr336-2203-to-openEuler-22.03-LTS
2022-01-28 07:45:01 +00:00
liqingqing_1229
ebae52d773 Fix __wcsncmp_evex and __wcsncmp_avx2 [BZ #28755]
(cherry picked from commit 4035b008a59eb8f5b2701940f4fe8a1969c0fed9)
2022-01-28 12:02:44 +08:00
openeuler-ci-bot
8153f2ed83
!332 Disable debuginfod, remove broken CAN_USE_REGISTER_ASM_EBP, use default cache size.
Merge pull request !332 from Fcc/openEuler-22.03-LTS-Next
2022-01-26 00:48:53 +00:00
f00467700
6b774ad599 Disable debuginfod in printer tests [BZ #28757]
i386: Remove broken CAN_USE_REGISTER_ASM_EBP (bug 28771)
x86: use default cache size if it cannot be determined [BZ #28784]
2022-01-25 21:59:48 +08:00
openeuler-ci-bot
cd30137cec
!325 fix CVE-2021-3998 and CVE-2021-3999
Merge pull request !325 from liqingqing_1229/2203
2022-01-25 09:13:55 +00:00
liqingqing_1229
120d11e601 fix CVE-2021-3998 and CVE-2021-3999 2022-01-25 15:37:26 +08:00
openeuler-ci-bot
6d735eecd8
!323 glibc构建优化合入
Merge pull request !323 from Yangyanchao/openEuler-22.03-LTS-Next
2022-01-21 08:54:57 +00:00
Yang Yanchao
6e134fd0a5 disable check-installed-headers-c and check-installed-headers-cxx and delete glibc-benchtest to improve build speed
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2022-01-21 15:46:51 +08:00
openeuler-ci-bot
9f8a2ba055
!324 support: Add check for TID zero in support_wait_for_thread_exit
Merge pull request !324 from liqingqing_1229/2203
2022-01-21 06:25:42 +00:00
liqingqing_1229
2fe3fe9429 support: Add check for TID zero in support_wait_for_thread_exit 2022-01-21 10:40:22 +08:00
openeuler-ci-bot
3e354e4554
!312 fix CVE-2022-23218 and CVE-2022-23219
Merge pull request !312 from liqingqing_1229/2203
2022-01-19 01:24:15 +00:00
liqingqing_1229
c6eb2400b0 fix CVE-2022-23218 and CVE-2022-23219 2022-01-18 20:41:39 +08:00
openeuler-ci-bot
a0ed1a9a57
!311 delete macro __filter_GLIBC_PRIVATE which is not support in rpm-4.17
Merge pull request !311 from Yangyanchao/openEuler-22.03-LTS-Next
2022-01-12 13:53:18 +00:00
Yang Yanchao
cc7c79d2a0 delete macro __filter_GLIBC_PRIVATE which is not support in rpm-4.17 Use arbitrary filtering to control GLIBC_PRIVATE
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
2022-01-12 09:59:40 +08:00
openeuler-ci-bot
ec23701fa2
!308 backport some bugfix patches from mainline
Merge pull request !308 from liqingqing_1229/2203
2022-01-11 20:09:18 +00:00
liqingqing_1229
5c4b6ffe5d backport some bugfix patches from mainline 2022-01-11 10:27:21 +08:00
openeuler-ci-bot
a3d5fe96e1
!310 find-debuginfo.sh位置移动,导致编译失败
Merge pull request !310 from Yangyanchao/openEuler-22.03-LTS-Next
2022-01-10 11:35:27 +00:00
Yang Yanchao
2b5fb60476 build:add a switch, select find-debuginfo.sh
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>
2022-01-10 15:11:04 +08:00
openeuler-ci-bot
8576f5be17 !307 support: Also return fd when it is 0
Merge pull request !307 from liqingqing_1229/2203
2021-12-29 03:11:41 +00:00
liqingqing_1229
fcfb718ec7 support: Also return fd when it is 0 2021-12-28 20:45:07 +08:00
openeuler-ci-bot
81b8721638 !306 elf replace nsid with args.nsid [BZ #27609]
Merge pull request !306 from liqingqing_1229/2203
2021-12-27 07:01:39 +00:00
liqingqing_1229
980c1e01c2 elf replace nsid with args.nsid [BZ #27609] 2021-12-27 09:27:05 +08:00
openeuler-ci-bot
9f6df5c5cb !305 [sync] PR-304: ld.so: Don't fill the DT_DEBUG entry in ld.so [BZ #28129]
Merge pull request !305 from openeuler-sync-bot/sync-pr304-master-to-openEuler-22.03-LTS-Next
2021-12-27 00:43:33 +00:00
liusirui
6c13f1369d ld.so: Don't fill the DT_DEBUG entry in ld.so [BZ #28129]
Signed-off-by: liusirui <liusirui@huawei.com>
(cherry picked from commit 38869172b4e1b1a6945cf8f0fb78f41093c3797e)
2021-12-27 08:42:27 +08:00
openeuler-ci-bot
78dce752b0 !303 [sync] PR-297: Do not define tgmath.h fmaxmag, fminmag macros for C2X (bug 28397)
Merge pull request !303 from openeuler-sync-bot/sync-pr297-master-to-openEuler-22.03-LTS-Next
2021-12-25 01:26:32 +00:00
liqingqing_1229
c8f2841089 do not define tgmath.h fmaxmag, fminmag macros for C2X (BZ #28397)
(cherry picked from commit cc054c6ba075a695abec8d3008e5183fdeea03f1)
2021-12-25 09:25:28 +08:00
openeuler-ci-bot
ef13df7b0c !296 [sync] PR-295: io: Fix ftw internal realloc buffer (BZ #28126)
Merge pull request !296 from openeuler-sync-bot/sync-pr295-master-to-openEuler-22.03-LTS-Next
2021-12-24 08:18:26 +00:00
liqingqing_1229
69524a30a5 io: Fix ftw internal realloc buffer (BZ #28126)
(cherry picked from commit 83668a2e5d42180104021590f818d73052e4947b)
2021-12-24 16:07:14 +08:00
openeuler-ci-bot
4d2a847dc8 !293 [sync] PR-292: fix glibc upstream bug BZ@28260 and nss/tst-nss-files-hosts-long and nptl/tst-create1
Merge pull request !293 from openeuler-sync-bot/sync-pr292-master-to-openEuler-22.03-LTS-Next
2021-12-23 00:43:53 +00:00
liqingqing_1229
2517d33b7f fix glibc upstream bug BZ#28260 and nss/tst-nss-files-hosts-long and nptl/tst-create1
(cherry picked from commit c66918bc6053415d346a3b7f94553a73ba1df236)
2021-12-22 20:14:45 +08:00
openeuler-ci-bot
b78edce905 !291 [sync] PR-290: pthread/tst-cancel28: Fix barrier re-init race condition
Merge pull request !291 from openeuler-sync-bot/sync-pr290-master-to-openEuler-22.03-LTS-Next
2021-12-16 03:09:56 +00:00
liqingqing_1229
d2217b5497 pthread/tst-cancel28: Fix barrier re-init race condition
(cherry picked from commit 4405c4286873be3f9f04f742112af22caf8839bb)
2021-12-16 11:05:41 +08:00
openeuler-ci-bot
ec67409869 !289 [sync] PR-288: 更正了在spec中生成filelist时一些没有生效的语法
Merge pull request !289 from openeuler-sync-bot/sync-pr288-master-to-openEuler-22.03-LTS-Next
2021-12-14 00:44:44 +00:00
Yang Yanchao
3369b7a7b2 Deleted some unnecessary command when make master.filelist
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
(cherry picked from commit 91e26f23d233769007ccca102b720697dc69ecf9)
2021-12-13 21:26:32 +08:00
openeuler-ci-bot
3e0b8b9dd4 !287 [sync] PR-286: 默认版本支持所有英文与中文
From: @openeuler-sync-bot
Reviewed-by: @liqingqing_1229
Signed-off-by: @liqingqing_1229
2021-12-10 01:02:02 +00:00
Yang Yanchao
6e7a05a844 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>
(cherry picked from commit f5e24fbbc91f5674b85d32b2f71148638bc7c920)
2021-12-10 08:58:19 +08:00
openeuler-ci-bot
ceb8a62e5d !280 [sync] PR-279: 调整memset的水线x86_rep_stosb_threshold从为1M
From: @openeuler-sync-bot
Reviewed-by: @liqingqing_1229
Signed-off-by: @liqingqing_1229
2021-12-03 06:18:23 +00:00
Yang Yanchao
f573e88f94 turn the default value of x86_rep_stosb_threshold from 2k to 1M
Signed-off-by: Yang Yanchao <yangyanchao6@huawei.com>
(cherry picked from commit 6495a142f4b026f769f6162f18be549ede7a1476)
2021-12-03 14:17:59 +08:00
openeuler-ci-bot
239f6bb6b6 !278 [sync] PR-273: linux revert the use of sched_getaffinity
From: @openeuler-sync-bot
Reviewed-by: @liqingqing_1229
Signed-off-by: @liqingqing_1229
2021-12-03 02:24:22 +00:00
liqingqing_1229
738782294d revert the use of sched_getaffinity [BZ #28310]
(cherry picked from commit 0057d144a90d6b57f3e3ba185dfca19d1a3282d7)
2021-12-03 10:23:52 +08:00
openeuler-ci-bot
657acadb23 !262 [sync] PR-260: Linux: Simplify __opensock and fix race condition [BZ #28353]
From: @openeuler-sync-bot
Reviewed-by: @liqingqing_1229
Signed-off-by: @liqingqing_1229
2021-11-30 06:24:17 +00:00
Bin Wang
3930cde25a 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>
(cherry picked from commit b91290ce417b9a6dec5d1d044fa8ab361d0e300a)
2021-11-30 11:36:38 +08:00
openeuler-ci-bot
187f69e828 !256 [sync] PR-254: libpthread-2.17.so 部分开源用例不通过
From: @openeuler-sync-bot
Reviewed-by: @liqingqing_1229
Signed-off-by: @liqingqing_1229
2021-11-25 08:55:26 +00:00
Yang Yanchao
2a138b3c83 Refactor the libpthread-2.17.so code and pass all test cases.
delete libpthread-2.17.so from glibc-devel

(cherry picked from commit 8615244aa3b58b6251dfad0c2c660134bd96bfcd)
2021-11-25 15:18:17 +08:00
openeuler-ci-bot
ad1b5a6fb1 !253 [sync] PR-252: revert supress -Wcast-qual warnings in bsearch
From: @openeuler-sync-bot
Reviewed-by: @liqingqing_1229
Signed-off-by: @liqingqing_1229,@liqingqing_1229
2021-11-19 06:48:04 +00:00
liqingqing_1229
e55f336874 revert supress -Wcast-qual warnings in bsearch
(cherry picked from commit 1feba0288f96de12ea102ec6e8da994ceae77788)
2021-11-19 11:34:49 +08:00
openeuler-ci-bot
cc23e08c05 !249 [sync] PR-248: posix: Fix attribute access mode on getcwd [BZ #27476],Suppress -Wcast-qual warnings in bsearch
From: @openeuler-sync-bot
Reviewed-by: @liqingqing_1229
Signed-off-by: @liqingqing_1229
2021-11-19 03:20:30 +00:00