• Re: Bug#1104080: linux: Please build with CONFIG_KERNEL_GZIP=y instead

    From Rob Landley@21:1/5 to John Paul Adrian Glaubitz on Fri Apr 25 19:40:01 2025
    On 4/25/25 04:38, John Paul Adrian Glaubitz wrote:
    Source: linux
    Version: 6.12.22-1
    Severity: normal
    User: debian-superh@lists.debian.org
    Usertags: sh4
    X-Debbugs-Cc: debian-superh@lists.debian.org

    Hello,

    src:linux currently fails to build from source on sh4 due to the kernel
    image compression set to XZ (CONFIG_KERNEL_XZ=y). I tried setting the compression to GZIP (CONFIG_KERNEL_GZIP=y) in debian/config/sh4/config
    and disabling CONFIG_KERNEL_XZ with the following configuration:

    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?

    Rob

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Rob Landley on Fri Apr 25 22:50:01 2025
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)