Issues w/ kexec-tools when building images (redux)

Christian Marangi (Ansuel) ansuelsmth at
Tue May 7 15:13:33 PDT 2024

Il giorno mer 8 mag 2024 alle ore 00:03 Philip Prindeville via
openwrt-devel <openwrt-devel at> ha scritto:
> The sender domain has a DMARC Reject/Quarantine policy which disallows
> sending mailing list messages using the original "From" header.
> To mitigate this problem, the original message has been wrapped
> automatically by the mailing list software.
> ---------- Forwarded message ----------
> From: Philip Prindeville <philipp_subx at>
> To: openwrt-devel at
> Cc:
> Bcc:
> Date: Tue, 7 May 2024 16:00:37 -0600
> Subject: Issues w/ kexec-tools when building images (redux)
> Hi,
> Sorry, had to add filters to turn DMARC off when sending mailing list mail….
> I fetched/rebased recently and now I’m not able to build images.  It fails in kexec-tools, which is odd, because that’s not selected and nothing depends on it.
> philipp at ubuntu22:~/lede$ grep kexec-tools .config
> # CONFIG_PACKAGE_kexec-tools is not set
> philipp at ubuntu22:~/lede$
> Here’s how the build reliably fails:
> make[3]: Entering directory '/home/philipp/lede/package/boot/kexec-tools'
> rm -f /home/philipp/lede/build_dir/target-x86_64_musl/kexec-tools-2.0.28/.built
> touch /home/philipp/lede/build_dir/target-x86_64_musl/kexec-tools-2.0.28/.built_check
> make -C /home/philipp/lede/build_dir/target-x86_64_musl/kexec-tools-2.0.28 DESTDIR="/home/philipp/lede/build_dir/target-x86_64_musl/kexec-tools-2.0.28/ipkg-install" all install
> make[4]: Entering directory '/home/philipp/lede/build_dir/target-x86_64_musl/kexec-tools-2.0.28'
> x86_64-openwrt-linux-musl-gcc  -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude -I/home/philipp/lede/staging_dir/toolchain-x86_64_gcc-13.2.0_musl/lib/gcc/x86_64-openwrt-linux-musl/13.2.0/include  -c -MD -o purgatory/arch/i386/entry32-16.o purgatory/arch/i386/entry32-16.S
> purgatory/arch/i386/entry32-16.S: Assembler messages:
> purgatory/arch/i386/entry32-16.S:23: Error: 64bit mode not supported on `i386'.
> make[4]: *** [Makefile:128: purgatory/arch/i386/entry32-16.o] Error 1
> make[4]: Leaving directory '/home/philipp/lede/build_dir/target-x86_64_musl/kexec-tools-2.0.28'
> make[3]: *** [Makefile:133: /home/philipp/lede/build_dir/target-x86_64_musl/kexec-tools-2.0.28/.built] Error 2
> make[3]: Leaving directory '/home/philipp/lede/package/boot/kexec-tools'
> time: package/boot/kexec-tools/compile#0.23#0.07#0.27
>  ERROR: package/boot/kexec-tools failed to build.
> make[2]: *** [package/Makefile:129: package/boot/kexec-tools/compile] Error 1
> I’m building for x86_64/generic on HEAD.
> Any ideas?  And who is the maintainer for kexec-tools?

I feel this might be a straight regression from a kernel bump.

I monitor the faillogs and kexec-tools appeared only recently...
Would be good to understand what commit caused this.

More information about the openwrt-devel mailing list