aarch64: add -mno-outline-atomics to prevent mallocT2_xx performance regression
This commit is contained in:
parent
215b9bc156
commit
0d00f6fd2a
10
glibc.spec
10
glibc.spec
@ -66,7 +66,7 @@
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
Name: glibc
|
Name: glibc
|
||||||
Version: 2.34
|
Version: 2.34
|
||||||
Release: 87
|
Release: 88
|
||||||
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/
|
||||||
@ -538,6 +538,11 @@ touch locale/programs/*-kw.h
|
|||||||
|
|
||||||
BuildFlags="-O2 -g"
|
BuildFlags="-O2 -g"
|
||||||
BuildFlags="$BuildFlags -DNDEBUG"
|
BuildFlags="$BuildFlags -DNDEBUG"
|
||||||
|
|
||||||
|
%ifarch aarch64
|
||||||
|
BuildFlags="$BuildFlags -mno-outline-atomics"
|
||||||
|
%endif
|
||||||
|
|
||||||
reference=" \
|
reference=" \
|
||||||
"-Wp,-D_GLIBCXX_ASSERTIONS" \
|
"-Wp,-D_GLIBCXX_ASSERTIONS" \
|
||||||
"-fasynchronous-unwind-tables" \
|
"-fasynchronous-unwind-tables" \
|
||||||
@ -1394,6 +1399,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 28 2022 Qingqing Li <liqingqing3@huawei.com> - 2.34-88
|
||||||
|
- aarch64: add -mno-outline-atomics to prevent mallocT2_xx performance regression
|
||||||
|
|
||||||
* Mon Jun 27 2022 Qingqing Li <liqingqing3@huawei.com> - 2.34-87
|
* Mon Jun 27 2022 Qingqing Li <liqingqing3@huawei.com> - 2.34-87
|
||||||
- x86: use total l3cache for non_temporal_threshold
|
- x86: use total l3cache for non_temporal_threshold
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user