forked from pool/makedumpfile
changes to fix build w/ gcc-15 (boo#1241936) #1
BIN
eppic-21808c78596d6d80c67eeaa08a618570ae0d886d.tar.gz
(Stored with Git LFS)
BIN
eppic-21808c78596d6d80c67eeaa08a618570ae0d886d.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
eppic-63c2a2072464d774097a1a6cc1d2e98290f89c49.tar.gz
(Stored with Git LFS)
Normal file
BIN
eppic-63c2a2072464d774097a1a6cc1d2e98290f89c49.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
43
makedumpfile-gcc15.patch
Normal file
43
makedumpfile-gcc15.patch
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
|
||||||
|
github.com/makedumpfile/makedumpfile/commit/73e62a0
|
||||||
|
|
||||||
|
|
||||||
|
From 73e62a08022bf8e5edad250f8c1452f0be3771a3 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Coiby Xu <coxu@redhat.com>
|
||||||
|
Date: Thu, 23 Jan 2025 17:47:10 +0800
|
||||||
|
Subject: [PATCH] [PATCH] fix gcc-15 compiling error: too many arguments to
|
||||||
|
function eppic_init
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2340813
|
||||||
|
|
||||||
|
When building makekdumpfile against gcc-15, the following error is
|
||||||
|
shown,
|
||||||
|
|
||||||
|
erase_info.c: In function ‘process_eppic_file’:
|
||||||
|
erase_info.c:2226:13: error: too many arguments to function ‘eppic_init’; expected 0, have 1
|
||||||
|
2226 | if (eppic_init(&eppic_cb)) {
|
||||||
|
| ^~~~~~~~~~ ~~~~~~~~~
|
||||||
|
make: *** [Makefile:109: erase_info.o] Error 1
|
||||||
|
|
||||||
|
Signed-off-by: Coiby Xu <coxu@redhat.com>
|
||||||
|
---
|
||||||
|
erase_info.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/erase_info.c b/erase_info.c
|
||||||
|
index cbe1681..af6bfae 100644
|
||||||
|
--- a/erase_info.c
|
||||||
|
+++ b/erase_info.c
|
||||||
|
@@ -2192,7 +2192,7 @@ process_eppic_file(char *name_config)
|
||||||
|
{
|
||||||
|
void *handle;
|
||||||
|
void (*eppic_load)(char *), (*eppic_unload)(char *);
|
||||||
|
- int (*eppic_init)();
|
||||||
|
+ int (*eppic_init)(struct call_back *);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Dynamically load the eppic_makedumpfile.so library.
|
||||||
|
|
@@ -1,7 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 12 16:08:52 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
|
||||||
|
|
||||||
|
- to fix gcc-15 compile time errors (boo#1241936):
|
||||||
|
* add makedumpfile-gcc15.patch from upstream
|
||||||
|
* update eppic_commit, which adds syntax fixes for gcc-15
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 27 10:09:29 UTC 2025 - Petr Tesařík <ptesarik@suse.com>
|
Thu Feb 27 10:09:29 UTC 2025 - Petr Tesařík <ptesarik@suse.com>
|
||||||
|
|
||||||
- Update to 1.7.5:
|
- Update to 1.7.6:
|
||||||
* Support for kernels up to v6.11 (x86_64)
|
* Support for kernels up to v6.11 (x86_64)
|
||||||
- Drop upstreamed patches:
|
- Drop upstreamed patches:
|
||||||
* 0001-PATCH-Fix-failure-of-hugetlb-pages-exclusion-on-Linu.patch
|
* 0001-PATCH-Fix-failure-of-hugetlb-pages-exclusion-on-Linu.patch
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%define build_eppic 1
|
%define build_eppic 1
|
||||||
%define eppic_commit 21808c78596d6d80c67eeaa08a618570ae0d886d
|
%define eppic_commit 63c2a2072464d774097a1a6cc1d2e98290f89c49
|
||||||
|
|
||||||
%if 0%{!?have_zstd:1}
|
%if 0%{!?have_zstd:1}
|
||||||
%if 0%{?sle_version} >= 150200 || 0%{?suse_version} > 1500
|
%if 0%{?sle_version} >= 150200 || 0%{?suse_version} > 1500
|
||||||
@@ -41,6 +41,7 @@ Patch0: %{name}-override-libtinfo.patch
|
|||||||
Patch1: %{name}-ppc64-VA-range-SUSE.patch
|
Patch1: %{name}-ppc64-VA-range-SUSE.patch
|
||||||
Patch2: %{name}-PN_XNUM.patch
|
Patch2: %{name}-PN_XNUM.patch
|
||||||
Patch3: %{name}-fix-detection-of-typed-compound-pages-Linux-6.12.patch
|
Patch3: %{name}-fix-detection-of-typed-compound-pages-Linux-6.12.patch
|
||||||
|
Patch4: makedumpfile-gcc15.patch
|
||||||
BuildRequires: libbz2-devel
|
BuildRequires: libbz2-devel
|
||||||
BuildRequires: libdw-devel
|
BuildRequires: libdw-devel
|
||||||
BuildRequires: libelf-devel
|
BuildRequires: libelf-devel
|
||||||
|
Reference in New Issue
Block a user