From f3b65201521e0bb3e38855bbcc17162e498d52a4 Mon Sep 17 00:00:00 2001 From: Konrad Kleine Date: Mon, 5 Dec 2022 18:02:46 +0100 Subject: [PATCH] Disabling LTO for now Got many "Too many open files" without this change. Resolves: rhbz#2118567 --- llvm.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/llvm.spec b/llvm.spec index a47970c..ff4587b 100644 --- a/llvm.spec +++ b/llvm.spec @@ -77,7 +77,7 @@ Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: The Low Level Virtual Machine License: NCSA @@ -259,12 +259,12 @@ mv %{cmake_srcdir} cmake %build -%ifarch s390 s390x +#ifarch s390 s390x # Fails with "exceeded PCRE's backtracking limit" %global _lto_cflags %nil -%else -%global _lto_cflags -flto=thin -%endif +#else +#global _lto_cflags -flto=thin +#endif %ifarch s390 s390x %{arm} %ix86 # Decrease debuginfo verbosity to reduce memory consumption during final library linking @@ -632,6 +632,9 @@ fi %endif %changelog +* Mon Dec 05 2022 Konrad Kleine - 15.0.6-2 +- Disabling LTO for now + * Mon Dec 05 2022 Konrad Kleine - 15.0.6-1 - Update to 15.0.6