[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58975: 29.0.50; noverlay fails to build with --enable-checking=struc
From: |
Basil L. Contovounesios |
Subject: |
bug#58975: 29.0.50; noverlay fails to build with --enable-checking=structs |
Date: |
Thu, 03 Nov 2022 02:17:16 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Tags: patch
With HEAD as commit 05f5d978ae of 2022-11-02
"Initialize child signal handling before posix_spawn too.":
$ git clean -fdx && ./autogen.sh all \
&& ./configure --enable-checking=structs && make
The last step fails with:
--8<---------------cut here---------------start------------->8---
CC pdumper.o
pdumper.c: In function ‘dump_interval_node’:
pdumper.c:2141:3: error: #error "interval_node changed. See CHECK_STRUCTS
comment in config.h."
2141 | # error "interval_node changed. See CHECK_STRUCTS comment in config.h."
| ^~~~~
pdumper.c: In function ‘dump_overlay’:
pdumper.c:2183:3: error: #error "Lisp_Overlay changed. See CHECK_STRUCTS
comment in config.h."
2183 | # error "Lisp_Overlay changed. See CHECK_STRUCTS comment in config.h."
| ^~~~~
pdumper.c: In function ‘dump_buffer’:
pdumper.c:2752:3: error: #error "buffer changed. See CHECK_STRUCTS comment in
config.h."
2752 | # error "buffer changed. See CHECK_STRUCTS comment in config.h."
| ^~~~~
--8<---------------cut here---------------end--------------->8---
Is this the right fix?
0001-Port-interval-trees-to-enable-checking-structs.patch
Description: Text Data
BTW, every time itree_create is called via add_buffer_overlay, it in
turn calls itree_init, which calls itree_iterator_create, which xmallocs
a new itree_iterator, interval_stack, and itree_nodes. Is this memory
leak going to rust my computer? Should I open a ticket for this?
Thanks,
--
Basil
In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
version 1.16.0, Xaw3d scroll bars) of 2022-10-31 built on tia
Repository revision: ea388b7f3ab995423aa90980f7c530884ea1c5a4
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101004
System Description: Debian GNU/Linux bookworm/sid
Configured using:
'configure 'CFLAGS=-Og -ggdb3' -C --prefix=/home/blc/.local
--enable-checking=structs --with-file-notification=yes
--with-x-toolkit=lucid --with-x'
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS WEBP X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB
Important settings:
value of $LANG: en_IE.UTF-8
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8-unix
- bug#58975: 29.0.50; noverlay fails to build with --enable-checking=structs,
Basil L. Contovounesios <=