GNU bug report logs - #75907
30.0.93; Need bigger BASE_PURESIZE when building with PGTK variant

Previous Next

Package: emacs;

Reported by: Xiyue Deng <manphiz <at> gmail.com>

Date: Tue, 28 Jan 2025 08:40:01 UTC

Severity: normal

Found in version 30.0.93

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 75907 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Xiyue Deng <manphiz <at> gmail.com>
Cc: 75907 <at> debbugs.gnu.org
Subject: Re: bug#75907: 30.0.93;
 Need bigger BASE_PURESIZE when building with PGTK variant
Date: Tue, 28 Jan 2025 15:45:55 +0200
> From: Xiyue Deng <manphiz <at> gmail.com>
> Date: Tue, 28 Jan 2025 00:39:05 -0800
> 
> When building PGTK variant under Debian sbuild environment (with
> GCC-14), the build process will fail with "Pure lisp storage overflowed"
> (more error log at the end of email.)  However this seem to happen more
> likely under this environment only.  When using the Debian stable
> environment with GCC-12 it builds fine, so this looks to be GCC-14
> related.
> 
> As it seems historically the value of BASE_PURESIZE is allowed to grow
> to cope with similar errors, maybe increasing it again is acceptable?  I
> tried that increasing its starting value from 3,000,000 to 5,000,000 to
> be working, though I haven't tried a smaller value.  Patch attached.

Thanks.

Could you find the smallest increment that still allows you to build
Emacs?

Also, what happens if you "make bootstrap" -- do you still need to
enlarge pure size, or does it build with the current size?

And I see you are actually compiling with 30,000,000, which is 10
times larger than the number you reported:

>  -fstack-clash-protection -Wformat -Werror=format-security
>  -fcf-protection -Wall -DBASE_PURESIZE=30000000' 'CPPFLAGS=-Wdate-time
                         ^^^^^^^^^^^^^^^^^^^^^^^^

Why is that?




This bug report was last modified 111 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.