Debian Patches

Status for kexec-tools/1:2.0.20-2.1

Patch Description Author Forwarded Bugs Origin Last update
linker-option.patch no
powerpcspe_support.patch no
debianize.patch no
static_binary_warning.patch =================================================================== no
distclean_fix.patch no
add_debian_readme.patch =================================================================== no
coldreboot.patch no
ftbfs-i386.patch Fix broken multiboot2 building for i386 by putting the definition in the right header, also tidy up Makefile (Closes: #942617).

diff -Naurp kexec-tools.orig/kexec/arch/i386/kexec-x86.h kexec-tools/kexec/arch/i386/kexec-x86.h
Kairui Song <kasong@redhat.com> no
kexec-tools-remove-duplicated-variable-d.patch kexec-tools: Remove duplicated variable declarations
When building kexec-tools for Fedora 32, following error is observed:

/usr/bin/ld: kexec/arch/x86_64/kexec-bzImage64.o:(.bss+0x0): multiple definition of `bzImage_support_efi_boot';
kexec/arch/i386/kexec-bzImage.o:(.bss+0x0): first defined here

/builddir/build/BUILD/kexec-tools-2.0.20/kexec/arch/arm/../../fs2dt.h:33: multiple definition of `my_debug';
kexec/fs2dt.o:/builddir/build/BUILD/kexec-tools-2.0.20/kexec/fs2dt.h:33: first defined here

/builddir/build/BUILD/kexec-tools-2.0.20/kexec/arch/arm64/kexec-arm64.h:68: multiple definition of `arm64_mem';
kexec/fs2dt.o:/builddir/build/BUILD/kexec-tools-2.0.20/././kexec/arch/arm64/kexec-arm64.h:68: first defined here

/builddir/build/BUILD/kexec-tools-2.0.20/kexec/arch/arm64/kexec-arm64.h:54: multiple definition of `initrd_size';
kexec/fs2dt.o:/builddir/build/BUILD/kexec-tools-2.0.20/././kexec/arch/arm64/kexec-arm64.h:54: first defined here

/builddir/build/BUILD/kexec-tools-2.0.20/kexec/arch/arm64/kexec-arm64.h:53: multiple definition of `initrd_base';
kexec/fs2dt.o:/builddir/build/BUILD/kexec-tools-2.0.20/././kexec/arch/arm64/kexec-arm64.h:53: first defined here

And apparently, these variables are wrongly declared multiple times. So
remove duplicated declaration.

(cherry picked from commit cc087b11462af9f971a2c090d07e8d780a867b50)
Kairui Song <kasong@redhat.com> no 2020-01-29

All known versions for source package 'kexec-tools'

Links