(no commit message)
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 29 Apr 2021 14:10:26 +0000 (16:10 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 29 Apr 2021 14:10:26 +0000 (16:10 +0200)
lldb-experimental.spec

index 2f8e103..d0cea5a 100644 (file)
@@ -19,7 +19,7 @@
 %endif
 Name: lldb-experimental
 Version: 13.0.0
-Release: 0.20210427snap0%{?dist}
+Release: 0.20210429snap0%{?dist}
 Summary: Next generation high-performance debugger - experimental trunk snapshot
 License: NCSA
 URL: http://lldb.llvm.org/
@@ -210,6 +210,12 @@ FLAGS="$FLAGS -g0"
 FLAGS="$FLAGS -fdebug-types-section"
 %endif
 
+# Rawhide Gold on lldb-experimental build: invalid symbol table name index && section_header_offset: bad shndx
+# https://bugzilla.redhat.com/show_bug.cgi?id=1954141
+%if 0%{?fedora} == 35
+FLAGS="$FLAGS -flto=off"
+%endif
+
 CFLAGS="$FLAGS"
 CXXFLAGS="$FLAGS"
 
@@ -238,10 +244,6 @@ CXXFLAGS="$FLAGS"
   -DLLDB_DISABLE_LIBEDIT=OFF \
   -DLLDB_DISABLE_PYTHON=OFF \
   -DLLVM_ENABLE_ASSERTIONS=ON \
-  $(: https://bugzilla.redhat.com/show_bug.cgi?id=1954141 Gold crash ) \
-%if 0%{?fedora} == 35
-  -DBOOTSTRAP_LLVM_ENABLE_LTO=OFF \
-%endif
   #
 %cmake_build