From 73da50f7fc637106d65b455e45a0618185c01c70 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 28 2022 08:30:04 +0000 Subject: import lldb-13.0.1-3.el9_0 --- diff --git a/SOURCES/increase-m_hwp_regs-size.patch b/SOURCES/increase-m_hwp_regs-size.patch new file mode 100644 index 0000000..7bf03f1 --- /dev/null +++ b/SOURCES/increase-m_hwp_regs-size.patch @@ -0,0 +1,12 @@ +diff -ruN lldb-13.0.1.src.orig/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.h lldb-13.0.1.src/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.h +--- a/lldb-13.0.1.src.orig/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.h 2022-01-20 22:31:59.000000000 +0100 ++++ b/lldb-13.0.1.src/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.h 2022-03-30 08:02:16.292360951 +0200 +@@ -122,7 +122,7 @@ + int mode; // Defines if watchpoint is read/write/access. + }; + +- std::array m_hwp_regs; ++ std::array m_hwp_regs; + + // 16 is just a maximum value, query hardware for actual watchpoint count + uint32_t m_max_hwp_supported = 16; diff --git a/SPECS/lldb.spec b/SPECS/lldb.spec index 3f8a6d9..76d957b 100644 --- a/SPECS/lldb.spec +++ b/SPECS/lldb.spec @@ -4,7 +4,7 @@ Name: lldb Version: %{lldb_version}%{?rc_ver:~rc%{rc_ver}} -Release: 1%{?dist} +Release: 3%{?dist} Summary: Next generation high-performance debugger License: NCSA @@ -13,6 +13,9 @@ Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{lldb_v Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{lldb_version}%{?rc_ver:-rc%{rc_ver}}/%{lldb_srcdir}.tar.xz.sig Source2: tstellar-gpg-key.asc +# Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=2052982 +Patch0: increase-m_hwp_regs-size.patch + BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: cmake @@ -128,6 +131,12 @@ rm -f %{buildroot}%{python3_sitearch}/six.* %{python3_sitearch}/lldb %changelog +* Mon May 30 2022 Timm Bäder - 13.0.1-3 +- Properly apply ppc64le patch + +* Fri May 27 2022 Timm Bäder - 13.0.1-2 +- Work around a lldb-server crash on ppc64le + * Thu Feb 03 2022 Tom Stellard - 13.0.1-1 - 13.0.1 Release