Use gcc-toolset-13-gdb for gdb-add-index
Resolves: rhbz#2188418
This commit is contained in:
parent
333f785e91
commit
9433e03836
13
lldb.spec
13
lldb.spec
@ -2,9 +2,11 @@
|
|||||||
%global lldb_version 16.0.1
|
%global lldb_version 16.0.1
|
||||||
%global lldb_srcdir %{name}-%{lldb_version}.src
|
%global lldb_srcdir %{name}-%{lldb_version}.src
|
||||||
|
|
||||||
|
%global gts_version 13
|
||||||
|
|
||||||
Name: lldb
|
Name: lldb
|
||||||
Version: %{lldb_version}
|
Version: %{lldb_version}
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Next generation high-performance debugger
|
Summary: Next generation high-performance debugger
|
||||||
|
|
||||||
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
||||||
@ -30,6 +32,7 @@ BuildRequires: libxml2-devel
|
|||||||
BuildRequires: libedit-devel
|
BuildRequires: libedit-devel
|
||||||
BuildRequires: python3-lit
|
BuildRequires: python3-lit
|
||||||
BuildRequires: multilib-rpm-config
|
BuildRequires: multilib-rpm-config
|
||||||
|
BuildRequires: gcc-toolset-%{gts_version}-gdb
|
||||||
|
|
||||||
Requires: python3-lldb
|
Requires: python3-lldb
|
||||||
|
|
||||||
@ -98,6 +101,11 @@ The package contains the LLDB Python module.
|
|||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
||||||
|
# Use newer GDB for gdb-add-index step, as system GDB can't handle the LTO debuginfo.
|
||||||
|
source scl_source enable gcc-toolset-%{gts_version}
|
||||||
|
export GDB=`which gdb`
|
||||||
|
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
%multilib_fix_c_header --file %{_includedir}/lldb/Host/Config.h
|
%multilib_fix_c_header --file %{_includedir}/lldb/Host/Config.h
|
||||||
@ -132,6 +140,9 @@ rm -f %{buildroot}%{python3_sitearch}/six.*
|
|||||||
%{python3_sitearch}/lldb
|
%{python3_sitearch}/lldb
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 28 2023 Nikita Popov <npopov@redhat.com> - 16.0.1-4
|
||||||
|
- Use gcc-toolset-13-gdb for gdb-add-index
|
||||||
|
|
||||||
* Tue Jun 06 2023 Nikita Popov <npopov@redhat.com> - 16.0.1-3
|
* Tue Jun 06 2023 Nikita Popov <npopov@redhat.com> - 16.0.1-3
|
||||||
- Disable LTO on i686 due to OOM
|
- Disable LTO on i686 due to OOM
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user