diff options
author | B. Stack <bgstack15@gmail.com> | 2021-10-13 13:35:01 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2021-10-13 13:35:01 -0400 |
commit | 00b4f076d3a4e64059cc2198a471333a5a6420a2 (patch) | |
tree | 8e5c4d608f3c2ee6174b3f2d09ab55da608f0c7f /reduce-rust-debuginfo.patch | |
parent | Require NSS 3.70 (diff) | |
download | librewolf-fedora-ff-93.0-2.tar.gz librewolf-fedora-ff-93.0-2.tar.bz2 librewolf-fedora-ff-93.0-2.zip |
attempt 1 for v93.093.0-2
Diffstat (limited to 'reduce-rust-debuginfo.patch')
-rw-r--r-- | reduce-rust-debuginfo.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/reduce-rust-debuginfo.patch b/reduce-rust-debuginfo.patch new file mode 100644 index 0000000..e6a9148 --- /dev/null +++ b/reduce-rust-debuginfo.patch @@ -0,0 +1,21 @@ +Description: reduce the rust debuginfo level + because compiling with debuginfo=2 causes the OOM killer to interrupt the build + on launchpad builders. Initially this was only on 32 bit architectures, but + with firefox 63 it started happening frequently on arm64 and ppc64el too, + with newer versions it started happening very frequently on s390x too, and with + firefox 84 (built with rustc 1.47) it started happening on amd64 too. + This patch would initially decrease debug_info for selected architectures, but + with recent versions of rustc pretty much all supported architectures are + affected, so it is now unconditional. + +--- a/build/moz.configure/toolchain.configure ++++ b/build/moz.configure/toolchain.configure +@@ -2167,7 +2167,7 @@ def rust_compile_flags(opt_level, debug_ + debug_assertions = False + + if debug_symbols: +- debug_info = "2" ++ debug_info = "1" + + opts = [] + |