From 333f785e91ae2700953a8f7c85fcd579a1915f58 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 6 Jun 2023 16:23:02 +0200 Subject: [PATCH] Disable LTO on i686 due to OOM Resolves: rhbz#2188418 --- lldb.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lldb.spec b/lldb.spec index 47a3e42..d28617d 100644 --- a/lldb.spec +++ b/lldb.spec @@ -4,7 +4,7 @@ Name: lldb Version: %{lldb_version} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Next generation high-performance debugger License: Apache-2.0 WITH LLVM-exception OR NCSA @@ -66,6 +66,11 @@ The package contains the LLDB Python module. %build +%ifarch %ix86 +# Linking liblldb.so goes out of memory even with ThinLTO and a single link job. +%global _lto_cflags %nil +%endif + %cmake -GNinja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_SKIP_RPATH:BOOL=ON \ @@ -127,6 +132,9 @@ rm -f %{buildroot}%{python3_sitearch}/six.* %{python3_sitearch}/lldb %changelog +* Tue Jun 06 2023 Nikita Popov - 16.0.1-3 +- Disable LTO on i686 due to OOM + * Fri May 05 2023 Nikita Popov - 16.0.1-2 - Build with LTO