Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libkdumpfile for openSUSE:Factory 
checked in at 2026-11-18 18:31:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libkdumpfile (Old)
 and      /work/SRC/openSUSE:Factory/.libkdumpfile.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libkdumpfile"

Wed Nov 18 18:31:55 2026 rev:28 rq:1398366 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/libkdumpfile/libkdumpfile.changes        
2025-11-05 16:23:51.612093487 +0100
+++ /work/SRC/openSUSE:Factory/.libkdumpfile.new.1251/libkdumpfile.changes      
2026-11-18 18:33:27.141685855 +0100
@@ -1,0 +2,14 @@
+Wed Nov 18 10:23:11 UTC 2026 - Petr Tesařík <[email protected]>
+
+- Fix virtual-to-physical translation for AArch64 Linux kernels
+  built with 52-bit PA support, but booted on 48-bit-only hardware:
+  * libkdumpfile-tests-Fix-xlat-linux-aarch64-64k.patch
+  * libkdumpfile-aarch64-Fix-root-pgt-52-48.patch
+
+-------------------------------------------------------------------
+Tue Oct 13 16:56:54 UTC 2026 - Ali Ahmet Memiş <[email protected]>
+
+- Add libkdumpfile-binutils-2.46.patch: fix build with
+  binutils >= 2.46, which removed the TRUE/FALSE macros.
+
+-------------------------------------------------------------------

New:
----
  libkdumpfile-aarch64-Fix-root-pgt-52-48.patch
  libkdumpfile-binutils-2.46.patch
  libkdumpfile-tests-Fix-xlat-linux-aarch64-64k.patch

----------(New B)----------
  New:  * libkdumpfile-tests-Fix-xlat-linux-aarch64-64k.patch
  * libkdumpfile-aarch64-Fix-root-pgt-52-48.patch
  New:
- Add libkdumpfile-binutils-2.46.patch: fix build with
  binutils >= 2.46, which removed the TRUE/FALSE macros.
  New:  built with 52-bit PA support, but booted on 48-bit-only hardware:
  * libkdumpfile-tests-Fix-xlat-linux-aarch64-64k.patch
  * libkdumpfile-aarch64-Fix-root-pgt-52-48.patch
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libkdumpfile.spec ++++++
--- /var/tmp/diff_new_pack.2OjavO/_old  2026-11-18 18:33:28.144728524 +0100
+++ /var/tmp/diff_new_pack.2OjavO/_new  2026-11-18 18:33:28.146728609 +0100
@@ -46,6 +46,10 @@
 %endif
 URL:            https://codeberg.org/ptesarik/libkdumpfile
 Source:         %{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM https://codeberg.org/ptesarik/libkdumpfile/pulls/92
+Patch0:         %{name}-binutils-2.46.patch
+Patch1:         %{name}-tests-Fix-xlat-linux-aarch64-64k.patch
+Patch2:         %{name}-aarch64-Fix-root-pgt-52-48.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  binutils-devel

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.2OjavO/_old  2026-11-18 18:33:28.180730055 +0100
+++ /var/tmp/diff_new_pack.2OjavO/_new  2026-11-18 18:33:28.183730183 +0100
@@ -1,6 +1,6 @@
-mtime: 1762332432
-commit: 83953ed6cbd7596523d85292d24656fb2d656de61b9ef76610cdf91d02bed540
-url: https://src.opensuse.org/kernel-kdump/libkdumpfile.git
-revision: 83953ed6cbd7596523d85292d24656fb2d656de61b9ef76610cdf91d02bed540
+mtime: 1794997535
+commit: e313d601b78722e9d5830f6939e3b5bf838269123726b5977c5f52331afdeeb3
+url: https://src.opensuse.org/kernel-kdump/libkdumpfile
+revision: e313d601b78722e9d5830f6939e3b5bf838269123726b5977c5f52331afdeeb3
 projectscmsync: https://src.opensuse.org/kernel-kdump/_ObsPrj
 

++++++ build.specials.obscpio ++++++

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-11-18 11:25:35.000000000 +0100
@@ -0,0 +1 @@
+.osc

++++++ libkdumpfile-aarch64-Fix-root-pgt-52-48.patch ++++++
++++ 2229 lines (skipped)

++++++ libkdumpfile-binutils-2.46.patch ++++++
>From 8b8aa8bda1912a2c4dee14693cb86092a652623b Mon Sep 17 00:00:00 2001
From: Michel Lind <[email protected]>
Date: Fri, 19 Jun 2026 21:28:18 +0100
Subject: [PATCH] Drop use of removed bfd TRUE/FALSE macros
Upstream: merged
Git-commit: 8b8aa8bda1912a2c4dee14693cb86092a652623b

binutils 2.46 removed the legacy TRUE/FALSE macros (and bfd_boolean) from
its public headers; the second argument of disassembler() is now a plain
C bool. kdumpid still passed TRUE/FALSE, and the disassembler detection in
m4/tools.m4 did the same in its conftest, so both failed to compile with
binutils >= 2.46 ("'FALSE' undeclared").

Use the integer literals 0/1 instead, which are valid for both the old
bfd_boolean and the new bool parameter type, keeping compatibility with
older binutils.

Fixes #91.

Signed-off-by: Michel Lind <[email protected]>
Acked-by: Petr Tesarik <[email protected]>
---
 m4/tools.m4          | 2 +-
 tools/kdumpid/s390.c | 2 +-
 tools/kdumpid/x86.c  | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/m4/tools.m4 b/m4/tools.m4
index 33078c2..f0560a5 100644
--- a/m4/tools.m4
+++ b/m4/tools.m4
@@ -45,7 +45,7 @@ AC_DEFUN([KDUMP_DIS_ASM_LIBS],[dnl determine disassembler 
libraries
 DIS_ASM_LIBS=-lopcodes
 AC_LANG_CONFTEST([AC_LANG_PROGRAM(
   [#include <dis-asm.h>],
-  [disassembler(bfd_arch_i386, FALSE, bfd_mach_x86_64, NULL);])])
+  [disassembler(bfd_arch_i386, 0, bfd_mach_x86_64, NULL);])])
 dnl ignore undefined symbols from missing linker dependencies
 AC_MSG_CHECKING([for disassembler in $DIS_ASM_LIBS])
 KDUMP_TRY_LINK_UNDEF($DIS_ASM_LIBS, [-Wl,--require-defined=disassembler])
diff --git a/tools/kdumpid/s390.c b/tools/kdumpid/s390.c
index 4be5114..b740463 100644
--- a/tools/kdumpid/s390.c
+++ b/tools/kdumpid/s390.c
@@ -159,7 +159,7 @@ looks_like_kcode_s390(struct dump_desc *dd, uint64_t addr)
        info.arch          = bfd_arch_s390;
        info.mach          = bfd_mach_s390_64;
        disassemble_init_for_target(&info);
-       print_insn = disassembler(bfd_arch_s390, TRUE,
+       print_insn = disassembler(bfd_arch_s390, 1,
                                  bfd_mach_s390_64, NULL);
        if (!print_insn)
                return 0;
diff --git a/tools/kdumpid/x86.c b/tools/kdumpid/x86.c
index 8cabc4c..23f7bdf 100644
--- a/tools/kdumpid/x86.c
+++ b/tools/kdumpid/x86.c
@@ -288,7 +288,7 @@ looks_like_kcode_x86(struct dump_desc *dd, uint64_t addr)
        /* Try i386 code first */
        info.mach          = bfd_mach_i386_i386;
        disassemble_init_for_target(&info);
-       print_insn = disassembler(bfd_arch_i386, FALSE,
+       print_insn = disassembler(bfd_arch_i386, 0,
                                  bfd_mach_i386_i386, NULL);
        if ((!dd->arch || strcmp(dd->arch, "x86_64")) &&
            print_insn &&
@@ -301,7 +301,7 @@ looks_like_kcode_x86(struct dump_desc *dd, uint64_t addr)
        memset(priv, 0, sizeof(struct disas_priv) + dd->page_size / 8);
        info.mach          = bfd_mach_x86_64;
        disassemble_init_for_target(&info);
-       print_insn = disassembler(bfd_arch_i386, FALSE,
+       print_insn = disassembler(bfd_arch_i386, 0,
                                  bfd_mach_x86_64, NULL);
        if ((!dd->arch || strcmp(dd->arch, "i386")) &&
            print_insn &&

++++++ libkdumpfile-tests-Fix-xlat-linux-aarch64-64k.patch ++++++
>From cf58d08100cc4eed37cfe09afd43243f4f7dd744 Mon Sep 17 00:00:00 2001
From: Petr Tesarik <[email protected]>
Date: Tue, 3 Nov 2026 23:01:46 +0100
Subject: tests: Fix xlat-linux-aarch64-5.16-64k configured VA
Upstream: merged
Git-commit: cf58d08100cc4eed37cfe09afd43243f4f7dd744

This test in fact checks a Linux kernel configured for 48-bit VA, but
NUMBER(VA_BITS) is incorrect (probably incorrectly copied from another
test).

Acked-by: Petr Tesarik <[email protected]>
---
 tests/xlat-linux-aarch64-5.16-64k.sym | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/xlat-linux-aarch64-5.16-64k.sym 
b/tests/xlat-linux-aarch64-5.16-64k.sym
index b37a59b..638cfa6 100644
--- a/tests/xlat-linux-aarch64-5.16-64k.sym
+++ b/tests/xlat-linux-aarch64-5.16-64k.sym
@@ -3,9 +3,9 @@ ffffd6d243410000
 @VALUE(swapper_pg_dir)
 ffffd6d244f00000
 
-# Configured for 52-bit VA:
+# Configured for 48-bit VA:
 @NUMBER(VA_BITS)
-34
+30
 
 # Booted with 48-bit VA:
 @NUMBER(TCR_EL1_T1SZ)
-- 
2.55.0

Reply via email to