emacs-devel
[Top][All Lists]
Advanced

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

Re: buffer.c/buffer.h: How to add new buffer-local variables?


From: Eli Zaretskii
Subject: Re: buffer.c/buffer.h: How to add new buffer-local variables?
Date: Sun, 31 Mar 2019 05:37:14 +0300

> Date: Sat, 30 Mar 2019 16:19:50 -0700
> From: Keith David Bershatsky <address@hidden>
> 
> In an earlier version of the Emacs master branch from a few months ago, I was 
> able to increase the number of buffer-local variables in buffer.c/buffer.h by 
> changing the value of MAX_PER_BUFFER_VARS from 50 to 60.  That approach does 
> not permit me to build a current version of the Emacs master branch, which 
> fails with the following error:
> 
>     Dumping under the name bootstrap-emacs.pdmp
>     dumping fingerprint: 
> 50894efcc2cdb17747a4536c9f53c4d093895712c3604daa88d068c383ea4780
> 
>     pdumper.c:1786: Emacs fatal error: assertion failed: relpos < 1024
>     Fatal error 6: Abort trapmake[1]: *** [bootstrap-emacs.pdmp] Abort trap
>     make[1]: *** Deleting file `bootstrap-emacs.pdmp'
>     make: *** [src] Error 2
> 
>     Compilation exited abnormally with code 2 at Sat Mar 30 15:53:18

You need to update the dumping code to the new variables you added.
See the comments in pdumper.c.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]