Re: Bug#1104080: linux: Please build with CONFIG_KERNEL_GZIP=y instead of CONFIG_KERNEL_XZ=y on sh4
On Fri, 2025-04-25 at 12:27 -0500, Rob Landley wrote:
> I've been building xzcat for sh2 and sh4 in toybox? I just switched on
> CONFIG_KERNEL_XZ in my sh4 mkroot build, which barfed because xz wasn't
> in the $PATH on the build machine, but worked when I fixed that and the
> result booted under qemu-system-sh4.
>
> What's the issue here? Missing build dependency, or something else?
The issue is the xz process running out of memory during native kernel builds.
Switching to gzip compression fixed the problem for me.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: