Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bcc for openSUSE:Factory checked in at 2026-09-07 11:53:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bcc (Old) and /work/SRC/openSUSE:Factory/.bcc.new.1265 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bcc" Mon Sep 7 11:53:14 2026 rev:84 rq:1376092 version:0.37.0 Changes: -------- --- /work/SRC/openSUSE:Factory/bcc/bcc.changes 2026-08-20 16:15:02.646715803 +0200 +++ /work/SRC/openSUSE:Factory/.bcc.new.1265/bcc.changes 2026-09-07 11:53:16.392197377 +0200 @@ -1,0 +2,5 @@ +Thu Sep 3 11:39:57 UTC 2026 - Dominique Leuenberger <[email protected]> + +- Add 5539.patch: Fix building with LLVM 23. + +------------------------------------------------------------------- New: ---- 5539.patch ----------(New B)---------- New: - Add 5539.patch: Fix building with LLVM 23. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bcc.spec ++++++ --- /var/tmp/diff_new_pack.y2pdLl/_old 2026-09-07 11:53:17.115222650 +0200 +++ /var/tmp/diff_new_pack.y2pdLl/_new 2026-09-07 11:53:17.116222685 +0200 @@ -41,6 +41,7 @@ URL: https://github.com/iovisor/bcc Source: https://github.com/iovisor/bcc/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source100: bcc-rpmlintrc +Patch0: https://github.com/iovisor/bcc/pull/5539.patch BuildRequires: %{python_module base} BuildRequires: %{python_module setuptools} BuildRequires: bison ++++++ 5539.patch ++++++ >From 69b879d2dbf4eccaa6285221293e497aaddf41f7 Mon Sep 17 00:00:00 2001 From: Viktor Malik <[email protected]> Date: Thu, 13 Aug 2026 08:22:00 +0200 Subject: [PATCH] src/cc: Fix MCContext constructor for LLVM 23 Two LLVM 23 patches [1,2] changed the MCContext constructor to take MCAsmInfo, MCRegisterInfo, and MCSubtargetInfo by a reference rather than by a pointer. Reflect the change in call of the constructor. [1] https://github.com/llvm/llvm-project/commit/13e98d834101efd1794cdd026377c508293ee21b [2] https://github.com/llvm/llvm-project/commit/d50631faad3003e73589528c83d3bbbad7ba72f1 Signed-off-by: Viktor Malik <[email protected]> --- src/cc/bcc_debug.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cc/bcc_debug.cc b/src/cc/bcc_debug.cc index 2e53c44d4778..0812c4abc788 100644 --- a/src/cc/bcc_debug.cc +++ b/src/cc/bcc_debug.cc @@ -148,7 +148,11 @@ void SourceDebugger::dump() { T->createMCSubtargetInfo(TripleArg, "", "")); MCObjectFileInfo MOFI; #if LLVM_VERSION_MAJOR >= 13 +#if LLVM_VERSION_MAJOR >= 23 + MCContext Ctx(TheTriple, *MAI, *MRI, *STI, nullptr); +#else MCContext Ctx(TheTriple, MAI.get(), MRI.get(), STI.get(), nullptr); +#endif Ctx.setObjectFileInfo(&MOFI); MOFI.initMCObjectFileInfo(Ctx, false, false); #else
