Re: Bug#1121058: emacs: Please increase BASE_PURESIZE to address FTBFS on hppa and powerpc
Control: tags -1 +patch
Hi,
On Thu, 2025-11-20 at 10:27 +0100, John Paul Adrian Glaubitz wrote:
> Please update 0019-Boost-BASE_PURESIZE-in-attempt-to-fix-build-on-32-bi.patch
> to use more memory for BASE_PURESIZE such that the build succeeds.
>
> I'm attaching an updated patch which I am currently testing on powerpc.
Forgot the actual attachment.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
From d212549b7a118c0f08d806bf288810faba25f3a3 Mon Sep 17 00:00:00 2001
From: Sean Whitton <spwhitton@spwhitton.name>
Date: Tue, 25 Feb 2025 09:19:38 +0800
Subject: Boost BASE_PURESIZE in attempt to fix build on 32-bit archs
---
src/puresize.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: emacs-30.2+1/src/puresize.h
===================================================================
--- emacs-30.2+1.orig/src/puresize.h
+++ emacs-30.2+1/src/puresize.h
@@ -47,7 +47,7 @@ INLINE_HEADER_BEGIN
#endif
#ifndef BASE_PURESIZE
-#define BASE_PURESIZE (3400000 + SYSTEM_PURESIZE_EXTRA + SITELOAD_PURESIZE_EXTRA)
+#define BASE_PURESIZE (5500000 + SYSTEM_PURESIZE_EXTRA + SITELOAD_PURESIZE_EXTRA)
#endif
/* Increase BASE_PURESIZE by a ratio depending on the machine's word size. */
Reply to: