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


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

Bug#1104080: linux: Please build with CONFIG_KERNEL_GZIP=y instead of CONFIG_KERNEL_XZ=y on sh4

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1104080: linux: Please build with CONFIG_KERNEL_GZIP=y instead of CONFIG_KERNEL_XZ=y on sh4
Date 2025-05-02 21:00 +0200
Message-ID <KI3M5-hfx-3@gated-at.bofh.it> (permalink)
References <KFnHj-g7hO-21@gated-at.bofh.it> <KI1TY-fSp-7@gated-at.bofh.it> <KFnHj-g7hO-21@gated-at.bofh.it> <KI1TY-fSp-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, 2025-05-02 at 18:54 +0200, Ben Hutchings wrote:
> Control: tag -1 moreinfo
> 
> On Fri, 25 Apr 2025 11:38:14 +0200 John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> 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).
> 
> You didn't say exactly why xz is a problem, but looking at the logs I
> see xz sometimes failing with an out-of-memory error.
[...]

By the way, this seems to be due to:

commit 8653c909922743bceb4800e5cc26087208c9e0e6
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   Sun Jul 21 16:36:28 2024 +0300
 
    xz: use 128 MiB dictionary and force single-threaded mode

which causes xz to allocate 1346 MiB (!) at build time.

If you have the time, it might be worth trying to add an option to use a
smaller dictionary size again.

Ben.

-- 
Ben Hutchings
Absolutum obsoletum. (If it works, it's out of date.) - Stafford Beer

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


Thread

Bug#1104080: linux: Please build with CONFIG_KERNEL_GZIP=y instead of CONFIG_KERNEL_XZ=y on sh4 John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2025-04-25 11:40 +0200
  Bug#1104080: linux: Please build with CONFIG_KERNEL_GZIP=y instead of CONFIG_KERNEL_XZ=y on sh4 Ben Hutchings <ben@decadent.org.uk> - 2025-05-02 19:00 +0200
    Bug#1104080: linux: Please build with CONFIG_KERNEL_GZIP=y instead of CONFIG_KERNEL_XZ=y on sh4 John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2025-05-02 20:10 +0200
      Bug#1104080: linux: Please build with CONFIG_KERNEL_GZIP=y instead of CONFIG_KERNEL_XZ=y on sh4 Ben Hutchings <ben@decadent.org.uk> - 2025-05-02 20:20 +0200
        Bug#1104080: linux: Please build with CONFIG_KERNEL_GZIP=y instead of CONFIG_KERNEL_XZ=y on sh4 John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2025-05-02 20:20 +0200
    Bug#1104080: linux: Please build with CONFIG_KERNEL_GZIP=y instead of CONFIG_KERNEL_XZ=y on sh4 Ben Hutchings <ben@decadent.org.uk> - 2025-05-02 21:00 +0200
  Bug#1104080: linux: Please build with CONFIG_KERNEL_GZIP=y instead of CONFIG_KERNEL_XZ=y on sh4 Ben Hutchings <ben@decadent.org.uk> - 2025-05-02 20:20 +0200
    Bug#1104080: linux: Please build with CONFIG_KERNEL_GZIP=y instead of CONFIG_KERNEL_XZ=y on sh4 John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2025-05-02 20:20 +0200
      Bug#1104080: linux: Please build with CONFIG_KERNEL_GZIP=y instead of CONFIG_KERNEL_XZ=y on sh4 Ben Hutchings <ben@decadent.org.uk> - 2025-05-02 20:30 +0200

csiph-web