[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Emacs 30.1 fails to build on 32-bit archs, "Pure Lisp storage overflow"



Eli Zaretskii <eliz@gnu.org> writes:

>> From: Xiyue Deng <manphiz@gmail.com>
>> Cc: emacs-devel@gnu.org, debian-emacsen@lists.debian.org
>> Date: Mon, 24 Feb 2025 16:37:53 -0800
>> 
>> > By how much do you need to enlarge to make the builds succeed?
>> >
>> 
>> FTR in the log of Debian armhf buildd[1] there is a line says:
>> 
>> ,----
>> | emacs:0:Pure Lisp storage overflow (approx. 4546239 bytes needed)
>> `----
>> 
>> I tested that increasing the base value to 4500000 worked on i386 (patch
>> attached).  Also tested that 4M was not large enough.  Sean is also
>> testing 45 * 1024 * 1024 on 32-bit arm* buildds.
>
> Is this the smallest number that works?  E.g., does 4000000 also work
> or does it fail?
>

4000000 failed.  I think 4.5M is a good number and close to the error
suggested required size.

>> Though 4.5M is probably sufficient for now, I wonder whether it's
>> acceptable to further increase this to 5000000 to be more future proof?
>
> We didn't yet have enough complaints about puresize to justify that.
>
>> On the other hand, I see there are threads on emacs-devel talking about
>> removing pure space.  Is that referring to this pure lisp storage?
>
> Yes, we recently removed pure space on master.

Ah good to know.  Thanks!

-- 
Regards,
Xiyue Deng

Attachment: signature.asc
Description: PGP signature


Reply to: