Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1261030

Bug#1019254: kexec-tools: FTBFS on riscv64

From Aurelien Jarno <aurel32@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1019254: kexec-tools: FTBFS on riscv64
Date 2025-09-11 22:50 +0200
Message-ID <LtWoV-eBaG-3@gated-at.bofh.it> (permalink)
References (3 earlier) <GZ9rb-59GF-1@gated-at.bofh.it> <F2EWd-5GCf-3@gated-at.bofh.it> <H0aXU-atD-9@gated-at.bofh.it> <F2EWd-5GCf-3@gated-at.bofh.it> <H0aXU-atD-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


control: tag -1 + fixed-upstream

Hi Khalid,

On 2023-08-07 10:07, Khalid Aziz wrote:
> On 8/4/23 2:08 PM, Chris Hofstaedtler wrote:
> > Hi Khalid,
> > 
> > * Khalid Aziz <khalid@debian.org> on 2022-12-07:
> > > On 9/6/22 05:24, Eric Long wrote:
> > [..]
> > > > There is a patch from openSUSE [1] that fixes build on riscv64. Tested on my
> > > > QEMU riscv64 sbuild and it works fine. Can you please apply this to Debian
> > > > package as well?
> > > 
> > > I am updating kexec-tools package to 2.0.25. I am going to hold off on
> > > pulling riscv64 support in. That is a fairly substantial patch. I would like
> > > to give it some soak time in upstream before pulling it into debian package.
> > 
> > It's been a while since this - did it soak well in upstream so far?
> > 
> > Chris
> 
> Hi Chris,
> 
> That patch from Nick did not go into Simon's upstream kexec-tools tree.
> There were some failures with the original patch sent on Oct 5, 2021. Ver
> 2.0.26 of kexec-tools from Simon does not include risc-v support yet. I will
> consider this patch after it is pulled into upstream tree.

The patches have now been accepted in the upstream tree:

b257f311f5f0d32969f58098b03458b5bd728419 RISC-V: Support loading Image binary file
363087cd156f870dfd07fef04077696daa77acaa RISC-V: Separate elf_riscv_find_pbase out
027e6e237427b00b986d9c51fe65944b8fdcc85b RISC-V: Enable kexec_file_load syscall
b3fd54b022fe5ba09ebff184d4d22466672946cf RISC-V: Add support for riscv kexec/kdump on kexec-tools

I have tested them on top of the debian 1:2.0.31-1 version, I confirm 
the resulting package builds fine, and that the system reboots correctly 
with kexec.

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                     http://aurel32.net

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1019254: kexec-tools: FTBFS on riscv64 Aurelien Jarno <aurel32@debian.org> - 2025-09-11 22:50 +0200

csiph-web