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


Groups > linux.debian.kernel > #87313

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

Path csiph.com!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod
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 Fri, 02 May 2025 21:00:01 +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>
X-Original-To John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Fri May 2 18:57:10 2025
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4.199
Reply-To Ben Hutchings <ben@decadent.org.uk>, 1104080@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 1104080
X-Debian-Pr-Package src:linux
X-Debian-Pr-Source linux
Content-Type multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-hJtFmOCDDOpfqu+gs0zQ"
User-Agent Evolution 3.56.1-1
MIME-Version 1.0
X-Sa-Exim-Connect-IP 2a02:578:851f:1502:391e:c5f5:10e2:b9a3
X-Sa-Exim-Mail-From ben@decadent.org.uk
X-Sa-Exim-Scanned No (on maynard); SAEximRunCond expanded to false
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1902926
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 67
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc 1104080@bugs.debian.org
X-Original-Date Fri, 02 May 2025 20:55:45 +0200
X-Original-Message-ID <9968c29b3eb08837e0a4692055549fdeba1e1f66.camel@decadent.org.uk>
X-Original-References <174557389410.2784722.5226002021271379703.reportbug@z6> <fcace8637c9183068d51df538fdbca539ea0d8b8.camel@decadent.org.uk> <174557389410.2784722.5226002021271379703.reportbug@z6> <fcace8637c9183068d51df538fdbca539ea0d8b8.camel@decadent.org.uk>
Xref csiph.com linux.debian.bugs.dist:1244506 linux.debian.kernel:87313

Cross-posted to 2 groups.

Show key headers only | 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.kernel | 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
  Processed: Re: linux: Please build with CONFIG_KERNEL_GZIP=y  instead of CONFIG_KERNEL_XZ=y on sh4 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-05-02 19: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 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
  Processed: Re: linux: Please build with CONFIG_KERNEL_GZIP=y  instead of CONFIG_KERNEL_XZ=y on sh4 "Debian Bug Tracking System" <owner@bugs.debian.org> - 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: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
  Bug#1104080: marked as done (linux: Please build with  CONFIG_KERNEL_GZIP=y instead of CONFIG_KERNEL_XZ=y on sh4) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-05-09 22:50 +0200

csiph-web