!456 aarch64: add -mno-outline-atomics to prevent mallocT2_xx performance regression
From: @liqingqing_1229 Reviewed-by: @wswsamao Signed-off-by: @wswsamao
This commit is contained in:
commit
a20062740b
@ -65,7 +65,7 @@
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
Name: glibc
|
Name: glibc
|
||||||
Version: 2.35
|
Version: 2.35
|
||||||
Release: 12
|
Release: 13
|
||||||
Summary: The GNU libc libraries
|
Summary: The GNU libc libraries
|
||||||
License: %{all_license}
|
License: %{all_license}
|
||||||
URL: http://www.gnu.org/software/glibc/
|
URL: http://www.gnu.org/software/glibc/
|
||||||
@ -390,6 +390,10 @@ touch locale/programs/*-kw.h
|
|||||||
BuildFlags="-O2 -g -DNDEBUG -fPIC -fPIE -fstack-protector-strong"
|
BuildFlags="-O2 -g -DNDEBUG -fPIC -fPIE -fstack-protector-strong"
|
||||||
LinkFlags="-pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack"
|
LinkFlags="-pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack"
|
||||||
|
|
||||||
|
%ifarch aarch64
|
||||||
|
BuildFlags="$BuildFlags -mno-outline-atomics"
|
||||||
|
%endif
|
||||||
|
|
||||||
reference=" \
|
reference=" \
|
||||||
"-Wp,-D_GLIBCXX_ASSERTIONS" \
|
"-Wp,-D_GLIBCXX_ASSERTIONS" \
|
||||||
"-fasynchronous-unwind-tables" \
|
"-fasynchronous-unwind-tables" \
|
||||||
@ -1247,6 +1251,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 28 2022 Qingqing Li <liqingqing3@huawei.com> - 2.35-13
|
||||||
|
- aarch64: add -mno-outline-atomics to prevent mallocT2_xx performance regression
|
||||||
|
|
||||||
* Mon Jun 27 2022 Qingqing Li <liqingqing3@huawei.com> - 2.35-12
|
* Mon Jun 27 2022 Qingqing Li <liqingqing3@huawei.com> - 2.35-12
|
||||||
- x86: use total l3cache size for non_temporal_threshold
|
- x86: use total l3cache size for non_temporal_threshold
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user