Bug#1134391: webkit2gtk: Please pass --param ggc-min-expand=10 on hppa, m68k and sh4

John Paul Adrian Glaubitz <[email protected]> Sun, 19 Apr 2026 14:11:18 +0200
Newsgroups gmane.linux.debian.ports.superh
Message-ID <177660067823.1184791.18241046953268343020.reportbug__29960.1710446709$1776600821$gmane$org@login1.physik.fu-berlin.de>
This is a multi-part MIME message sent by reportbug.


--===============5701960306938465153==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Source: webkit2gtk
Version: 2.52.3-1
Severity: normal
Tags: patch
X-Debbugs-Cc: [email protected], [email protected], [email protected]
User: [email protected]
Usertags: m68k
User: [email protected]
Usertags: sh4
User: [email protected]
Usertags: hppa

Hello,

on hppa, m68k and sh4, we're still missing "--param ggc-min-expand=10" resulting in
the compiler running out of memory during build. Please add those architectures to
the list in debian/rules.

See the attached patch.

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

--===============5701960306938465153==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="webkit2gtk-ggc-min-expand.diff"

--- debian/rules.orig	2026-04-18 00:21:34.000000000 +0200
+++ debian/rules	2026-04-19 14:02:07.427663390 +0200
@@ -61,7 +61,7 @@
 
 # Try to reduce memory usage even more. This significantly increases
 # the build time, so use only when strictly needed.
-ifneq (,$(filter $(DEB_HOST_ARCH),armhf powerpc hurd-i386 x32))
+ifneq (,$(filter $(DEB_HOST_ARCH),armhf hppa m68k powerpc sh4 hurd-i386 x32))
 	CPPFLAGS += --param ggc-min-expand=10
 endif
 

--===============5701960306938465153==--