| |
@@ -50,9 +50,26 @@
|
| |
|
| |
%global build_install_prefix %{buildroot}%{install_prefix}
|
| |
|
| |
- # Lower memory usage of dwz on s390x
|
| |
- %global _dwz_low_mem_die_limit_s390x 1
|
| |
- %global _dwz_max_die_limit_s390x 1000000
|
| |
+ # The arch specific limits supersede the general limits, so if there is an
|
| |
+ # arch specific limit defined in a global macro file, then the only way to
|
| |
+ # change the value is to use the arch specific variable. To be safe, we
|
| |
+ # just set the arch specific value for everything.
|
| |
+
|
| |
+ %global _dwz_max_die_limit 1100000000
|
| |
+ %global _dwz_max_die_limit_aarch64 %{_dwz_max_die_limit}
|
| |
+ %global _dwz_max_die_limit_armv7hl %{_dwz_max_die_limit}
|
| |
+ %global _dwz_max_die_limit_i686 %{_dwz_max_die_limit}
|
| |
+ %global _dwz_max_die_limit_ppc64le %{_dwz_max_die_limit}
|
| |
+ %global _dwz_max_die_limit_x86_64 %{_dwz_max_die_limit}
|
| |
+ %global _dwz_max_die_limit_s390x %{_dwz_max_die_limit}
|
| |
+
|
| |
+ %global _dwz_low_mem_die_limit 1100000000
|
| |
+ %global _dwz_low_mem_die_limit_aarch64 %{_dwz_low_mem_die_limit}
|
| |
+ %global _dwz_low_mem_die_limit_armv7hl %{_dwz_low_mem_die_limit}
|
| |
+ %global _dwz_low_mem_die_limit_i686 %{_dwz_low_mem_die_limit}
|
| |
+ %global _dwz_low_mem_die_limit_ppc64le %{_dwz_low_mem_die_limit}
|
| |
+ %global _dwz_low_mem_die_limit_x86_64 %{_dwz_low_mem_die_limit}
|
| |
+ %global _dwz_low_mem_die_limit_s390x %{_dwz_low_mem_die_limit}
|
| |
|
| |
%ifarch %{arm}
|
| |
# koji overrides the _gnu variable to be gnu, which is not correct for clang, so
|
| |
@@ -64,7 +81,7 @@
|
| |
|
| |
Name: %{pkg_name}
|
| |
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
|
| |
- Release: 4%{?dist}
|
| |
+ Release: 5%{?dist}
|
| |
Summary: The Low Level Virtual Machine
|
| |
|
| |
License: NCSA
|
| |
@@ -545,6 +562,9 @@
|
| |
%endif
|
| |
|
| |
%changelog
|
| |
+ * Sat Oct 16 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-5
|
| |
+ - Adjust dwz limits
|
| |
+
|
| |
* Fri Oct 08 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-4
|
| |
- Fix default triple on arm
|
| |
|
| |
What about something alongside