Disable debuginfo dwz optimization on ppc64le and s390x

On ppc64le the dwz process gets killed, and on s390x the builders lock
up when running dwz. Disable the dwz optimizations on these arches
until we can get a patch into /usr/bin/find-debuginfo to control dwz
parallelism.

https://sourceware.org/pipermail/debugedit/2023-January/000173.html
This commit is contained in:
Kalev Lember 2023-01-19 17:13:46 +01:00
parent 16fa808834
commit 2c5dd84529
1 changed files with 7 additions and 0 deletions

View File

@ -310,6 +310,13 @@ files for developing applications that use JavaScript engine from webkit2gtk-4.0
%global _dwz_max_die_limit_x86_64 250000000
%global _dwz_max_die_limit_aarch64 250000000
# Disable dwz optimization on builders that have low amount of RAM, until we
# get https://sourceware.org/pipermail/debugedit/2023-January/000173.html into
# koji build roots.
%ifarch ppc64le s390x
%global _find_debuginfo_dwz_opts %{nil}
%endif
# Require 32 GB of RAM per vCPU for debuginfo processing. 16 GB is not enough.
%global _find_debuginfo_opts %limit_build -m 32768