Subject: Re: bug#74744: Build failure: SEGV in temacs (with "Pure Lisp storage overflowed")

From: Pip Cet <[email-masked]>
Date: Mon, 09 Dec 2024 12:41:47 +0000

"Eric Marsden" <[email-masked]> writes:

> Hello,
> Building current HEAD (6df535788a20c9047d33dd8a0c62258597632647) on Linux/AMD64 fails with a SEGV.
> I see that there is a "Pure Lisp storage overflowed" message which is perhaps related.

Yes, crashes after purespace overflow are currently expected, and they
regularly happen if you build in a directory that has .elc files from
previous builds in it.

If `make bootstrap' (which removes the .elc files) doesn't help, please
find out by how much you need to increase BASE_PURESIZE in puresize.h
for the build to succeed.

(There's some logic in the Emacs sources that would calculate the number
for you, but that's also broken and has been for ages, so you'll have to
experiment.)

Sorry that the poor state of the Emacs source code forces you to waste
your time on rediscovering well-known bugs.

Pip