import lldb-10.0.0-2.module+el8.3.0+7004+904a04ce
This commit is contained in:
parent
0ad2e00eb8
commit
90a1e7b2e5
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
SOURCES/lldb-9.0.0.src.tar.xz
|
SOURCES/hans-gpg-key.asc
|
||||||
|
SOURCES/lldb-10.0.0.src.tar.xz
|
||||||
|
@ -1 +1,2 @@
|
|||||||
7ac23c548c805be55713a759c4275d0389f9197e SOURCES/lldb-9.0.0.src.tar.xz
|
32fa4b0193960f05064f2ab31b5a89c7cf48a0b9 SOURCES/hans-gpg-key.asc
|
||||||
|
44b5a19204717a1053fab13b113172aa822b012b SOURCES/lldb-10.0.0.src.tar.xz
|
||||||
|
@ -1,41 +0,0 @@
|
|||||||
From 53fca9b6d37660280ffbd02255bf4d05c96b0055 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Tom Stellard <tstellar@redhat.com>
|
|
||||||
Date: Thu, 3 Oct 2019 20:49:43 -0700
|
|
||||||
Subject: [PATCH] Don't import readline module
|
|
||||||
|
|
||||||
Loading the module causes python to segfault. Disabling for now until
|
|
||||||
we can find a fix.
|
|
||||||
---
|
|
||||||
lldb/source/Interpreter/embedded_interpreter.py | 16 +---------------
|
|
||||||
1 file changed, 1 insertion(+), 15 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/lldb/source/Interpreter/embedded_interpreter.py b/lldb/source/Interpreter/embedded_interpreter.py
|
|
||||||
index 8a1195d..f534bdb 100644
|
|
||||||
--- a/lldb/source/Interpreter/embedded_interpreter.py
|
|
||||||
+++ b/lldb/source/Interpreter/embedded_interpreter.py
|
|
||||||
@@ -7,21 +7,7 @@ import code
|
|
||||||
import lldb
|
|
||||||
import traceback
|
|
||||||
|
|
||||||
-try:
|
|
||||||
- import readline
|
|
||||||
- import rlcompleter
|
|
||||||
-except ImportError:
|
|
||||||
- have_readline = False
|
|
||||||
-except AttributeError:
|
|
||||||
- # This exception gets hit by the rlcompleter when Linux is using
|
|
||||||
- # the readline suppression import.
|
|
||||||
- have_readline = False
|
|
||||||
-else:
|
|
||||||
- have_readline = True
|
|
||||||
- if 'libedit' in readline.__doc__:
|
|
||||||
- readline.parse_and_bind('bind ^I rl_complete')
|
|
||||||
- else:
|
|
||||||
- readline.parse_and_bind('tab: complete')
|
|
||||||
+have_readline = False
|
|
||||||
|
|
||||||
g_builtin_override_called = False
|
|
||||||
|
|
||||||
--
|
|
||||||
1.8.3.1
|
|
||||||
|
|
BIN
SOURCES/lldb-10.0.0.src.tar.xz.sig
Normal file
BIN
SOURCES/lldb-10.0.0.src.tar.xz.sig
Normal file
Binary file not shown.
@ -1,18 +1,22 @@
|
|||||||
#%%global rc_ver 3
|
#%%global rc_ver 6
|
||||||
%global baserelease 2
|
%global baserelease 2
|
||||||
|
%global lldb_srcdir %{name}-%{version}%{?rc_ver:rc%{rc_ver}}.src
|
||||||
|
|
||||||
Name: lldb
|
Name: lldb
|
||||||
Version: 9.0.0
|
Version: 10.0.0
|
||||||
Release: %{baserelease}%{?rc_ver:.rc%{rc_ver}}%{?dist}
|
Release: %{baserelease}%{?rc_ver:.rc%{rc_ver}}%{?dist}
|
||||||
Summary: Next generation high-performance debugger
|
Summary: Next generation high-performance debugger
|
||||||
|
|
||||||
License: NCSA
|
License: NCSA
|
||||||
URL: http://lldb.llvm.org/
|
URL: http://lldb.llvm.org/
|
||||||
Source0: http://%{?rc_ver:pre}releases.llvm.org/%{version}/%{?rc_ver:rc%{rc_ver}}/%{name}-%{version}%{?rc_ver:rc%{rc_ver}}.src.tar.xz
|
%if 0%{?rc_ver:1}
|
||||||
|
Source0: https://prereleases.llvm.org/%{version}/rc%{rc_ver}/%{lldb_srcdir}.tar.xz
|
||||||
# FIXME: Temporarily stop using readline to work-around segafult which
|
Source1: https://prereleases.llvm.org/%{version}/rc%{rc_ver}/%{lldb_srcdir}.tar.xz.sig
|
||||||
# happens when the readline module is loaded.
|
%else
|
||||||
Patch0: 0001-Don-t-import-readline-module.patch
|
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{lldb_srcdir}.tar.xz
|
||||||
|
Source3: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{lldb_srcdir}.tar.xz.sig
|
||||||
|
%endif
|
||||||
|
Source2: https://prereleases.llvm.org/%{version}/hans-gpg-key.asc
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: llvm-devel = %{version}
|
BuildRequires: llvm-devel = %{version}
|
||||||
@ -53,7 +57,7 @@ Requires: python3-six
|
|||||||
The package contains the LLDB Python module.
|
The package contains the LLDB Python module.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version}%{?rc_ver:rc%{rc_ver}}.src -p2
|
%autosetup -n %{lldb_srcdir} -p2
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -84,6 +88,7 @@ CXXFLAGS="%{optflags} -Wno-error=format-security"
|
|||||||
-DPYTHON_VERSION_MAJOR:STRING=$(%{__python3} -c "import sys; print(sys.version_info.major)") \
|
-DPYTHON_VERSION_MAJOR:STRING=$(%{__python3} -c "import sys; print(sys.version_info.major)") \
|
||||||
-DPYTHON_VERSION_MINOR:STRING=$(%{__python3} -c "import sys; print(sys.version_info.minor)") \
|
-DPYTHON_VERSION_MINOR:STRING=$(%{__python3} -c "import sys; print(sys.version_info.minor)") \
|
||||||
-DLLVM_EXTERNAL_LIT=%{_bindir}/lit \
|
-DLLVM_EXTERNAL_LIT=%{_bindir}/lit \
|
||||||
|
-DCLANG_LINK_CLANG_DYLIB=ON \
|
||||||
-DLLVM_LIT_ARGS="-sv \
|
-DLLVM_LIT_ARGS="-sv \
|
||||||
--path %{_libdir}/llvm" \
|
--path %{_libdir}/llvm" \
|
||||||
|
|
||||||
@ -121,6 +126,15 @@ rm -f %{buildroot}%{python3_sitearch}/six.*
|
|||||||
%{python3_sitearch}/lldb
|
%{python3_sitearch}/lldb
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 15 2020 sguelton@redhat.com - 10.0.0-2
|
||||||
|
- Fix multilib integration, see rhbz#1841073
|
||||||
|
|
||||||
|
* Thu Apr 9 2020 sguelton@redhat.com - 10.0.0-1
|
||||||
|
- 10.0.0 final
|
||||||
|
|
||||||
|
* Sat Dec 21 2019 Tom Stellard <tstellar@redhat.com> - 9.0.1-1
|
||||||
|
- 9.0.1 Release
|
||||||
|
|
||||||
* Fri Oct 04 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-2
|
* Fri Oct 04 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-2
|
||||||
- Disable readline module to work-around segafult
|
- Disable readline module to work-around segafult
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user