X-Loop: help-debbugs@HIDDEN
Subject: bug#79736: 31.0.50; igc: build failure with checking enabled
Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 31 Oct 2025 08:55:02 +0000
Resent-Message-ID: <handler.79736.B.176190088710522 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 79736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 79736 <at> debbugs.gnu.org
Cc: Pip Cet <pipcet@HIDDEN>, Helmut Eller <eller.helmut@HIDDEN>
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.176190088710522
(code B ref -1); Fri, 31 Oct 2025 08:55:02 +0000
Received: (at submit) by debbugs.gnu.org; 31 Oct 2025 08:54:47 +0000
Received: from localhost ([127.0.0.1]:40378 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vEkuE-0002jd-K8
for submit <at> debbugs.gnu.org; Fri, 31 Oct 2025 04:54:47 -0400
Received: from lists.gnu.org ([2001:470:142::17]:37186)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>)
id 1vEku3-0002j8-Ba
for submit <at> debbugs.gnu.org; Fri, 31 Oct 2025 04:54:41 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <gerd.moellmann@HIDDEN>)
id 1vEktt-000183-3j
for bug-gnu-emacs@HIDDEN; Fri, 31 Oct 2025 04:54:25 -0400
Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <gerd.moellmann@HIDDEN>)
id 1vEktm-0006qi-Fa
for bug-gnu-emacs@HIDDEN; Fri, 31 Oct 2025 04:54:24 -0400
Received: by mail-wr1-x434.google.com with SMTP id
ffacd0b85a97d-3ecdf2b1751so1290511f8f.0
for <bug-gnu-emacs@HIDDEN>; Fri, 31 Oct 2025 01:54:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1761900855; x=1762505655; darn=gnu.org;
h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject
:date:message-id:reply-to;
bh=pmpLxaUDwrKMe1vG8EyBRz0EFpwW6XUupwlHINdxrXg=;
b=dWZws5vb/Gr8CDgiRF6k4vNYuUkjUby2nmVkn2Y024m+RDWSeyfHwEztzftbkk82ka
c73yUmfOYbn69Lo5vlAq1Hhs+b0m8PTw252jY5ns5G+MNDqx/VxyueN2yDvqLAiMCmMU
LMTXU/IszyjZo5HZnMa6BaTm4V4l+r+31go29bKQ91TNzTz9Qj+ZT7at7wPsUlReHUnO
HVXFbo1+t1glWHThMk9jw9H4CDbFY+P6cT/lh/csvIht/Ls/wpZ0OQKd0sGhIGDki2lG
jt6jeYo1PhGP0f3pVC7Miia6cERjwnQO+0eZ5VMOZFbiXE3+vaqMAE68A2h+ef+eBgrt
i8Mg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1761900855; x=1762505655;
h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=pmpLxaUDwrKMe1vG8EyBRz0EFpwW6XUupwlHINdxrXg=;
b=Ge7lnZG9bN5ZUayGA9NdQ0JddtYwpUAD7s10vDJYGLY8BSPBA0WHwu8Ef5OOux+Gcy
FFJ6llaZ4L6TQR4jUuKOzUSRI7Cyp3zAnxN97hMgh6dfgwFXXIuD5F8RMJgbDwstkCTg
t8jSCoSaWUpbZ7uABMj1eVbqr93Va2o5wtJsbWjBhOPyn5XpFZ7POT1+4p+VbnHzrCIa
nF6+HUScN5bLSqaC5GkfytWzWdukcQ3Xb9JqOZOaLP2llr7Q47i+fF1py8jQ5ipZswGD
/XomvbXqt8NltwhnQLdIRf/1IlIcAi07Pz1xrOgkrc04vTS9/x01P1inXt8g+sBtwEup
Qw+g==
X-Gm-Message-State: AOJu0YxkPCGyNbWOBJW33oFUaQ9pJh91an3jU8JL5dQO5Jv9Q808OKj6
JoSSxpB88fHFeyepyD/O5GF5szYWsku1aw1u853hoVjJp6X/ieveklebFKbEMbt6
X-Gm-Gg: ASbGncudLAJ3hOci0zUnGGuIwhcV0rYL3W1D4C+MCXECGGJgN+nxpe3ncsVrg7kUSd6
z/BpFOR8r21LNq7J1TdkRn06a0BLB3iX/ozELvuMSu4oKQcWKOFe5T2bipuhN5opN0cJI4lZ+Nk
h3/j/p0Xb0uExVvkT4CEjtJrVoqY01/MtBrDbl6T/EPDAI2kcalxLi/bbgfMkXPf7ApFoH/OxBj
2qlnC9KOvSYgXqzudhvaTCCpNrBLu/3JFkonNPMekgdLpumhOTc71XVyFnTPJEJmf3yzgYOIcE5
Sq90FGNucwZBi5+sXvPCV2bTtApLnML9XMCPg4Z3jvuB0dNRdulqjAPtjMqWA431mTbJGxrVMlI
toly25RN9+Gkz2t/QTAdMlIcASZAs65Q4i29LOtz6ZWF/x/8LALq9Rc+VEHiSl2H+xhRG64mbgF
u6AB/eBQSiaXMEYkwo+DQChiiMQeLZhSCp+PsWmCXHT/rFwJHJSuHFyKBHNeOwx+JjAxY2ufTa9
F/fMm7rX6CC7cy/+bMFnZM=
X-Google-Smtp-Source: AGHT+IF5bBY/cFwm3e10/jX4viLclC2xfHr0Vpp5OoBJP9AhlYI5yd0eOGDU/cRfd27E3wnDerKZDQ==
X-Received: by 2002:a05:6000:400a:b0:427:e1bf:13db with SMTP id
ffacd0b85a97d-429bd6c1eb4mr1931624f8f.54.1761900855257;
Fri, 31 Oct 2025 01:54:15 -0700 (PDT)
Received: from pro4 (p200300e0b738df00b42a37bac059b60a.dip0.t-ipconnect.de.
[2003:e0:b738:df00:b42a:37ba:c059:b60a])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-477289adaf8sm92872225e9.7.2025.10.31.01.54.14
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 31 Oct 2025 01:54:14 -0700 (PDT)
From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
Date: Fri, 31 Oct 2025 09:54:14 +0100
Message-ID: <m2a517a1u1.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2a00:1450:4864:20::434;
envelope-from=gerd.moellmann@HIDDEN; helo=mail-wr1-x434.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)
This is feature/igc on macOS, commit id
960f2f8287d origin/feature/igc upstream/feature/igc Use a strong Lisp hash table as a weak hash table's strong part
Configured with
$ /Users/gerd/emacs/github/igc/configure --without-ns --without-x --cache-file /var/folders/1d/k_6t25f94sl83szqbf8gpkrh0000gn/T//config.cache.igc --enable-checking=yes,igc_debug --with-native-compilation=aot --with-mps=yes CC=clang 'CFLAGS=-Wgnu-imaginary-constant -Wunused-result -g -g -O0 -Wno-ignored-attributes -Wno-flag-enum -Wno-missing-method-return-type -Wno-variadic-macros -Wno-strict-prototypes -Wno-availability -Wno-nullability-completeness' --prefix=/Users/gerd/.local
Build fails with
rm -f bootstrap-emacs.pdmp
./temacs --batch -l loadup --temacs=pbootstrap \
--bin-dest '/Users/gerd/.local/bin/' --eln-dest '/Users/gerd/.local/lib/emacs/31.0.50/'
igc.c:773: Emacs fatal error: assertion failed: type == IGC_OBJ_PAD || nbytes >= sizeof (struct igc_fwd)
Fatal error 6: Aborted
Backtrace:
0 temacs 0x000000010466b514 emacs_backtrace + 180
1 temacs 0x00000001049400c4 terminate_due_to_signal + 352
2 temacs 0x000000010481f54c set_state + 296
3 temacs 0x0000000104819438 igc_assert_fail + 88
4 temacs 0x0000000104818064 set_header + 88
5 temacs 0x000000010481cf84 alloc_multi + 508
6 temacs 0x000000010481cd5c igc_alloc_weak_hash_table_strong_part + 360
7 temacs 0x000000010475a18c allocate_weak_hash_table_parts + 104
8 temacs 0x000000010475a114 allocate_weak_hash_table + 68
9 temacs 0x000000010474f8dc make_weak_hash_table + 344
10 temacs 0x000000010474f4dc make_hash_table + 208
11 temacs 0x0000000104753b84 Fmake_hash_table + 1020
12 temacs 0x0000000104821778 syms_of_igc + 504
13 temacs 0x000000010462bfec main + 3880
14 dyld 0x000000019f849d54 start + 7184
gmake[2]: *** [Makefile:984: bootstrap-emacs.pdmp] Abort trap: 6
gmake[1]: *** [Makefile:546: src] Error 2
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Subject: bug#79736: Acknowledgement (31.0.50; igc: build failure with checking enabled) Message-ID: <handler.79736.B.176190088710522.ack <at> debbugs.gnu.org> References: <m2a517a1u1.fsf@HIDDEN> X-Gnu-PR-Message: ack 79736 X-Gnu-PR-Package: emacs Reply-To: 79736 <at> debbugs.gnu.org Date: Fri, 31 Oct 2025 08:55:03 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 79736 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 79736: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D79736 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#79736: 31.0.50; igc: build failure with checking enabled
Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 31 Oct 2025 09:18:02 +0000
Resent-Message-ID: <handler.79736.B79736.176190226115354 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 79736 <at> debbugs.gnu.org
Cc: Pip Cet <pipcet@HIDDEN>, Helmut Eller <eller.helmut@HIDDEN>
Received: via spool by 79736-submit <at> debbugs.gnu.org id=B79736.176190226115354
(code B ref 79736); Fri, 31 Oct 2025 09:18:02 +0000
Received: (at 79736) by debbugs.gnu.org; 31 Oct 2025 09:17:41 +0000
Received: from localhost ([127.0.0.1]:40457 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vElGO-0003zZ-Ij
for submit <at> debbugs.gnu.org; Fri, 31 Oct 2025 05:17:41 -0400
Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:53349)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>)
id 1vElGA-0003z7-8P
for 79736 <at> debbugs.gnu.org; Fri, 31 Oct 2025 05:17:33 -0400
Received: by mail-wm1-x32d.google.com with SMTP id
5b1f17b1804b1-475dae5d473so16042685e9.2
for <79736 <at> debbugs.gnu.org>; Fri, 31 Oct 2025 02:17:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1761902238; x=1762507038; darn=debbugs.gnu.org;
h=content-transfer-encoding:mime-version:user-agent:message-id:date
:references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to;
bh=5Y7ed6UP7q8iydRPgdArlqVVndvM+d1k9tHor8bWnks=;
b=LK4ZzfRuWBq9HKKO6e10z3YFyylJ/A5fiu2lEFTLfor+tQqqwwooXvAS5Me1/2Nj+6
NJSiIYXE4VjDRpNSjQHPxnJu8AVZj7pJhEkWxYumK33wcouQN0zjzX3l5Iwr+UG/o18W
qtSbAPxi5GbyO8z4iUngpe0qvODQRRUGiI6IxIEq8v+wcBYioUwom6Hrfqv2HmkIf1cs
byLe33kPOXxXS8WCG8gqh27lBcu4+nrchviYkFJsOJMtCaxjWVpVRUtRupxNqgvC/IFR
9wen7KftTW9cCKyZvAVAnsL7lwFZdEXaPzuNkBRztPM+vT3Ya5pTEY3Th6sgaDxFLMJW
SAjA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1761902238; x=1762507038;
h=content-transfer-encoding:mime-version:user-agent:message-id:date
:references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to;
bh=5Y7ed6UP7q8iydRPgdArlqVVndvM+d1k9tHor8bWnks=;
b=q9OegjK8xm1zIpCg0k2aaLWRKToR8H0fdi71PARRfJ/thYVs3tJl4aBOgFDv6jjHcS
1BM1qp2yipi0+WT8Yco9fGjPiiJfu3dLS24xLh/PjvOxZzc+1McO8po7axoNGpXv9r/U
EBrt/8t6eoaRKHiGbPVUlxdRnbGAtZYByoG6BMVnqP9q7eQvl1X3+c48hS/4IpAyoZb6
Wku0xaTQxwK73yxja+hrxa9WNPAAsQOKdNP4hudTzh6Bx3wKcn2xZuMphKqh/xpZYRPx
d63PfQt2Q6dvVv+F4emt1msn7zoW6FkaiXO96NOAaQ3QBTZmjxwQP+R75s7+nY65lw1z
dx7Q==
X-Gm-Message-State: AOJu0YyKgejc4ee0jXEsLQj7lcVqAYHHSgbLEY8bImZzR4WYgGExtlcO
gd82kKTt1IgWEltVVxQ2IdFiQ1O5Hq4ay0aYx/u1zf2OyIt8ue+d9Log
X-Gm-Gg: ASbGncsuWHNuX3t2qI3Be0/owEKTI9YH7ihxo7ZIwk1F10Q6metUgzT/Hmir4fG82cg
t+AzAM0wFgf/e4nDrCnwaZX+okDBDZw2+SXWUiWtLO/SDM0jHW/LswF/uHz7g90ZYzOTYKMtKD1
upBWxO5Un9RdtffqJShwGrLE9yUQv/5NLp2aEixCXI5aX/zv0Ef+HUc8RGvqsaUs/6zv7ip14v+
8Yy84HtbzKJR51pFb6BnNnUIeCRcOa/xmaoS2F0cGewSTowGX2YqFv0/B6mOa7sXpXh3ndu6y5Y
tWRR3J3zIwYHHaGktvPB/ScgCdinOHP/46pyj9e71jqvQNSWXfjfKMZNrRfPrVJm7U/0rxRpEPh
XfY033/4q+cOm6uEwkMUq58L0+Zyk7Ad82JRWuRy0HsqNbZWuaACp9KeomCmOydCDtzfVY5yQmp
YR3zzw8t98PKJVpa3PMfJ1Xw0vDwbweevrbKSakYhW2NIyu6vrzCKX8mRmMS6kJd5XgVaMXUWWL
JIdzAsAulvy
X-Google-Smtp-Source: AGHT+IHmSetuj8G7VTjlVfQDZASideMzApgzpJr4GK9AdMON1EXdTgcZIYdy7IG6gYFOeL+II7qDEQ==
X-Received: by 2002:a05:600c:8705:b0:475:dbb5:239e with SMTP id
5b1f17b1804b1-477302e8493mr24699995e9.0.1761902238332;
Fri, 31 Oct 2025 02:17:18 -0700 (PDT)
Received: from pro4 (p200300e0b738df00b42a37bac059b60a.dip0.t-ipconnect.de.
[2003:e0:b738:df00:b42a:37ba:c059:b60a])
by smtp.gmail.com with ESMTPSA id
ffacd0b85a97d-429c13e0311sm2370280f8f.30.2025.10.31.02.17.17
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 31 Oct 2025 02:17:17 -0700 (PDT)
From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
In-Reply-To: <m2a517a1u1.fsf@HIDDEN>
References: <m2a517a1u1.fsf@HIDDEN>
Date: Fri, 31 Oct 2025 10:17:17 +0100
Message-ID: <m27bwba0rm.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> writes:
> This is feature/igc on macOS, commit id
>
> 960f2f8287d origin/feature/igc upstream/feature/igc Use a strong Lisp h=
ash table as a weak hash table's strong part
>
> Configured with
>
> $ /Users/gerd/emacs/github/igc/configure --without-ns --without-x --cac=
he-file /var/folders/1d/k_6t25f94sl83szqbf8gpkrh0000gn/T//config.cache.igc =
--enable-checking=3Dyes,igc_debug --with-native-compilation=3Daot --with-mp=
s=3Dyes CC=3Dclang 'CFLAGS=3D-Wgnu-imaginary-constant -Wunused-result -g -g=
-O0 -Wno-ignored-attributes -Wno-flag-enum -Wno-missing-method-return-type=
-Wno-variadic-macros -Wno-strict-prototypes -Wno-availability -Wno-nullabi=
lity-completeness' --prefix=3D/Users/gerd/.local
>
> Build fails with
>
> rm -f bootstrap-emacs.pdmp
> ./temacs --batch -l loadup --temacs=3Dpbootstrap \
> --bin-dest '/Users/gerd/.local/bin/' --eln-dest '/Users/gerd/.local/lib/=
emacs/31.0.50/'
>
> igc.c:773: Emacs fatal error: assertion failed: type =3D=3D IGC_OBJ_PAD |=
| nbytes >=3D sizeof (struct igc_fwd)
> Fatal error 6: Aborted
> Backtrace:
> 0 temacs 0x000000010466b514 emacs_backtrac=
e + 180
> 1 temacs 0x00000001049400c4 terminate_due_=
to_signal + 352
> 2 temacs 0x000000010481f54c set_state + 296
> 3 temacs 0x0000000104819438 igc_assert_fai=
l + 88
> 4 temacs 0x0000000104818064 set_header + 88
> 5 temacs 0x000000010481cf84 alloc_multi + =
508
> 6 temacs 0x000000010481cd5c igc_alloc_weak=
_hash_table_strong_part + 360
> 7 temacs 0x000000010475a18c allocate_weak_=
hash_table_parts + 104
> 8 temacs 0x000000010475a114 allocate_weak_=
hash_table + 68
> 9 temacs 0x000000010474f8dc make_weak_hash=
_table + 344
> 10 temacs 0x000000010474f4dc make_hash_tabl=
e + 208
> 11 temacs 0x0000000104753b84 Fmake_hash_tab=
le + 1020
> 12 temacs 0x0000000104821778 syms_of_igc + =
504
> 13 temacs 0x000000010462bfec main + 3880
> 14 dyld 0x000000019f849d54 start + 7184
> gmake[2]: *** [Makefile:984: bootstrap-emacs.pdmp] Abort trap: 6
> gmake[1]: *** [Makefile:546: src] Error 2
That is n set_header because the nbytes oaram is 12 wh8ch is < sizeof
(igc_fwd). It is called from here
igc.c:
4407 static void
4408 alloc_multi (ptrdiff_t count, mps_addr_t ret[count],
4409 size_t sizes[count], enum igc_obj_type types[count],
4410 mps_ap_t ap)
4411 {
4412 mps_addr_t p UNINIT;
4413 size_t size =3D 0;
4414 for (ptrdiff_t i =3D 0; i < count; i++)
4415 size +=3D alloc_size (sizes[i]);
4416 switch (igc_state)
4417 {
4418 case IGC_STATE_USABLE_PARKED:
4419 case IGC_STATE_USABLE:
4420 do
4421 {
4422 mps_res_t res =3D mps_reserve (&p, ap, size);
4423 ptrdiff_t off =3D 0;
4424 if (res !=3D MPS_RES_OK)
4425 memory_full (0);
4426 /* Object _must_ have valid contents before commit. */
4427 memclear (p, size);
4428 for (ptrdiff_t i =3D 0; i < count; i++)
4429 {
4430 set_header ((struct igc_header *) ((char *) p + off), t=
ypes[i],
4431 (i =3D=3D 0) ? size : sizes[i],
4432 alloc_hash ());
^^^^^^^^^^^^
which seems to be a new function. I'm not yet sure how it works. Pip knows.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Pip Cet <pipcet@HIDDEN>
Subject: bug#79736: closed (31.0.50; igc: build failure with checking enabled)
CC: tracker <at> debbugs.gnu.org
Message-ID: <handler.79736.D79736.176192022930698.ackdone <at> debbugs.gnu.org>
References: <87o6pn88f5.fsf@HIDDEN> <m2a517a1u1.fsf@HIDDEN>
X-Gnu-PR-Message: closed 79736
X-Gnu-PR-Package: emacs
Date: Fri, 31 Oct 2025 14:18:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1761920282-30730-0"
This is a multi-part message in MIME format...
------------=_1761920282-30730-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8
Your message dated Fri, 31 Oct 2025 14:16:44 +0000
with message-id <87o6pn88f5.fsf@HIDDEN>
and subject line Re: bug#79736: 31.0.50; igc: build failure with checking e=
nabled
has caused the debbugs.gnu.org bug report #79736,
regarding 31.0.50; igc: build failure with checking enabled
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs@HIDDEN)
--=20
79736: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D79736
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems
------------=_1761920282-30730-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by debbugs.gnu.org; 31 Oct 2025 08:54:47 +0000
Received: from localhost ([127.0.0.1]:40378 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vEkuE-0002jd-K8
for submit <at> debbugs.gnu.org; Fri, 31 Oct 2025 04:54:47 -0400
Received: from lists.gnu.org ([2001:470:142::17]:37186)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>)
id 1vEku3-0002j8-Ba
for submit <at> debbugs.gnu.org; Fri, 31 Oct 2025 04:54:41 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <gerd.moellmann@HIDDEN>)
id 1vEktt-000183-3j
for bug-gnu-emacs@HIDDEN; Fri, 31 Oct 2025 04:54:25 -0400
Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <gerd.moellmann@HIDDEN>)
id 1vEktm-0006qi-Fa
for bug-gnu-emacs@HIDDEN; Fri, 31 Oct 2025 04:54:24 -0400
Received: by mail-wr1-x434.google.com with SMTP id
ffacd0b85a97d-3ecdf2b1751so1290511f8f.0
for <bug-gnu-emacs@HIDDEN>; Fri, 31 Oct 2025 01:54:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1761900855; x=1762505655; darn=gnu.org;
h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject
:date:message-id:reply-to;
bh=pmpLxaUDwrKMe1vG8EyBRz0EFpwW6XUupwlHINdxrXg=;
b=dWZws5vb/Gr8CDgiRF6k4vNYuUkjUby2nmVkn2Y024m+RDWSeyfHwEztzftbkk82ka
c73yUmfOYbn69Lo5vlAq1Hhs+b0m8PTw252jY5ns5G+MNDqx/VxyueN2yDvqLAiMCmMU
LMTXU/IszyjZo5HZnMa6BaTm4V4l+r+31go29bKQ91TNzTz9Qj+ZT7at7wPsUlReHUnO
HVXFbo1+t1glWHThMk9jw9H4CDbFY+P6cT/lh/csvIht/Ls/wpZ0OQKd0sGhIGDki2lG
jt6jeYo1PhGP0f3pVC7Miia6cERjwnQO+0eZ5VMOZFbiXE3+vaqMAE68A2h+ef+eBgrt
i8Mg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1761900855; x=1762505655;
h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=pmpLxaUDwrKMe1vG8EyBRz0EFpwW6XUupwlHINdxrXg=;
b=Ge7lnZG9bN5ZUayGA9NdQ0JddtYwpUAD7s10vDJYGLY8BSPBA0WHwu8Ef5OOux+Gcy
FFJ6llaZ4L6TQR4jUuKOzUSRI7Cyp3zAnxN97hMgh6dfgwFXXIuD5F8RMJgbDwstkCTg
t8jSCoSaWUpbZ7uABMj1eVbqr93Va2o5wtJsbWjBhOPyn5XpFZ7POT1+4p+VbnHzrCIa
nF6+HUScN5bLSqaC5GkfytWzWdukcQ3Xb9JqOZOaLP2llr7Q47i+fF1py8jQ5ipZswGD
/XomvbXqt8NltwhnQLdIRf/1IlIcAi07Pz1xrOgkrc04vTS9/x01P1inXt8g+sBtwEup
Qw+g==
X-Gm-Message-State: AOJu0YxkPCGyNbWOBJW33oFUaQ9pJh91an3jU8JL5dQO5Jv9Q808OKj6
JoSSxpB88fHFeyepyD/O5GF5szYWsku1aw1u853hoVjJp6X/ieveklebFKbEMbt6
X-Gm-Gg: ASbGncudLAJ3hOci0zUnGGuIwhcV0rYL3W1D4C+MCXECGGJgN+nxpe3ncsVrg7kUSd6
z/BpFOR8r21LNq7J1TdkRn06a0BLB3iX/ozELvuMSu4oKQcWKOFe5T2bipuhN5opN0cJI4lZ+Nk
h3/j/p0Xb0uExVvkT4CEjtJrVoqY01/MtBrDbl6T/EPDAI2kcalxLi/bbgfMkXPf7ApFoH/OxBj
2qlnC9KOvSYgXqzudhvaTCCpNrBLu/3JFkonNPMekgdLpumhOTc71XVyFnTPJEJmf3yzgYOIcE5
Sq90FGNucwZBi5+sXvPCV2bTtApLnML9XMCPg4Z3jvuB0dNRdulqjAPtjMqWA431mTbJGxrVMlI
toly25RN9+Gkz2t/QTAdMlIcASZAs65Q4i29LOtz6ZWF/x/8LALq9Rc+VEHiSl2H+xhRG64mbgF
u6AB/eBQSiaXMEYkwo+DQChiiMQeLZhSCp+PsWmCXHT/rFwJHJSuHFyKBHNeOwx+JjAxY2ufTa9
F/fMm7rX6CC7cy/+bMFnZM=
X-Google-Smtp-Source: AGHT+IF5bBY/cFwm3e10/jX4viLclC2xfHr0Vpp5OoBJP9AhlYI5yd0eOGDU/cRfd27E3wnDerKZDQ==
X-Received: by 2002:a05:6000:400a:b0:427:e1bf:13db with SMTP id
ffacd0b85a97d-429bd6c1eb4mr1931624f8f.54.1761900855257;
Fri, 31 Oct 2025 01:54:15 -0700 (PDT)
Received: from pro4 (p200300e0b738df00b42a37bac059b60a.dip0.t-ipconnect.de.
[2003:e0:b738:df00:b42a:37ba:c059:b60a])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-477289adaf8sm92872225e9.7.2025.10.31.01.54.14
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 31 Oct 2025 01:54:14 -0700 (PDT)
From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 31.0.50; igc: build failure with checking enabled
X-Debbugs-Cc:
Date: Fri, 31 Oct 2025 09:54:14 +0100
Message-ID: <m2a517a1u1.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2a00:1450:4864:20::434;
envelope-from=gerd.moellmann@HIDDEN; helo=mail-wr1-x434.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
Cc: Pip Cet <pipcet@HIDDEN>, Helmut Eller <eller.helmut@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)
This is feature/igc on macOS, commit id
960f2f8287d origin/feature/igc upstream/feature/igc Use a strong Lisp hash table as a weak hash table's strong part
Configured with
$ /Users/gerd/emacs/github/igc/configure --without-ns --without-x --cache-file /var/folders/1d/k_6t25f94sl83szqbf8gpkrh0000gn/T//config.cache.igc --enable-checking=yes,igc_debug --with-native-compilation=aot --with-mps=yes CC=clang 'CFLAGS=-Wgnu-imaginary-constant -Wunused-result -g -g -O0 -Wno-ignored-attributes -Wno-flag-enum -Wno-missing-method-return-type -Wno-variadic-macros -Wno-strict-prototypes -Wno-availability -Wno-nullability-completeness' --prefix=/Users/gerd/.local
Build fails with
rm -f bootstrap-emacs.pdmp
./temacs --batch -l loadup --temacs=pbootstrap \
--bin-dest '/Users/gerd/.local/bin/' --eln-dest '/Users/gerd/.local/lib/emacs/31.0.50/'
igc.c:773: Emacs fatal error: assertion failed: type == IGC_OBJ_PAD || nbytes >= sizeof (struct igc_fwd)
Fatal error 6: Aborted
Backtrace:
0 temacs 0x000000010466b514 emacs_backtrace + 180
1 temacs 0x00000001049400c4 terminate_due_to_signal + 352
2 temacs 0x000000010481f54c set_state + 296
3 temacs 0x0000000104819438 igc_assert_fail + 88
4 temacs 0x0000000104818064 set_header + 88
5 temacs 0x000000010481cf84 alloc_multi + 508
6 temacs 0x000000010481cd5c igc_alloc_weak_hash_table_strong_part + 360
7 temacs 0x000000010475a18c allocate_weak_hash_table_parts + 104
8 temacs 0x000000010475a114 allocate_weak_hash_table + 68
9 temacs 0x000000010474f8dc make_weak_hash_table + 344
10 temacs 0x000000010474f4dc make_hash_table + 208
11 temacs 0x0000000104753b84 Fmake_hash_table + 1020
12 temacs 0x0000000104821778 syms_of_igc + 504
13 temacs 0x000000010462bfec main + 3880
14 dyld 0x000000019f849d54 start + 7184
gmake[2]: *** [Makefile:984: bootstrap-emacs.pdmp] Abort trap: 6
gmake[1]: *** [Makefile:546: src] Error 2
------------=_1761920282-30730-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 79736-done) by debbugs.gnu.org; 31 Oct 2025 14:17:09 +0000
Received: from localhost ([127.0.0.1]:41878 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vEpwD-0007yy-2a
for submit <at> debbugs.gnu.org; Fri, 31 Oct 2025 10:17:09 -0400
Received: from mail-24418.protonmail.ch ([109.224.244.18]:12197)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <pipcet@HIDDEN>)
id 1vEpw3-0007yW-En
for 79736-done <at> debbugs.gnu.org; Fri, 31 Oct 2025 10:17:04 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
s=protonmail3; t=1761920209; x=1762179409;
bh=mJzjs3rVaPr3+hd2mHfDAK9mf9glOme01HysmmX8q2I=;
h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References:
Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID:
Message-ID:BIMI-Selector;
b=a6oBjwQt/Sk1DlT1ALokfz8NDGpxdaSLryLlROg65bFCnJQhajMqXhZHVFFQUTE2y
gh7NFuFpZPWjUnJOKI5i79EMbge1q9QMtVvC0LF8H1dw71FftTytfDR0BDgKUMqxv6
mGL1ee+kshZTVbZFQizm2VBSG3YN6yrigxgHUlZeNYAgskL2RZyyE1lvui2oDzdwSH
YXZJbhgXtyG9W5pnJ4qhEXpjCioqh0g8GH+zlbsfg0CLkFgskT8K6vBhLJqVOOSyxz
ckPc2XGehJrjLSToxMbQj/zqCNKjVDyU1JMl4VGmaratiM79DFDrq8uIWzH7n1ChTp
WqBd74xMsvcCw==
Date: Fri, 31 Oct 2025 14:16:44 +0000
To: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
From: Pip Cet <pipcet@HIDDEN>
Subject: Re: bug#79736: 31.0.50; igc: build failure with checking enabled
Message-ID: <87o6pn88f5.fsf@HIDDEN>
In-Reply-To: <m27bwba0rm.fsf@HIDDEN>
References: <m2a517a1u1.fsf@HIDDEN> <m27bwba0rm.fsf@HIDDEN>
Feedback-ID: 112775352:user:proton
X-Pm-Message-ID: 20152e5c65335518cc8c1d7b7715ad8b8d17c6c2
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 79736-done
Cc: 79736-done <at> debbugs.gnu.org, Helmut Eller <eller.helmut@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> writes:
> Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> writes:
>
>> This is feature/igc on macOS, commit id
>>
>> 960f2f8287d origin/feature/igc upstream/feature/igc Use a strong Lisp =
hash table as a weak hash table's strong part
>>
>> Configured with
>>
>> $ /Users/gerd/emacs/github/igc/configure --without-ns --without-x --ca=
che-file /var/folders/1d/k_6t25f94sl83szqbf8gpkrh0000gn/T//config.cache.igc=
--enable-checking=3Dyes,igc_debug --with-native-compilation=3Daot --with-m=
ps=3Dyes CC=3Dclang 'CFLAGS=3D-Wgnu-imaginary-constant -Wunused-result -g -=
g -O0 -Wno-ignored-attributes -Wno-flag-enum -Wno-missing-method-return-typ=
e -Wno-variadic-macros -Wno-strict-prototypes -Wno-availability -Wno-nullab=
ility-completeness' --prefix=3D/Users/gerd/.local
>>
>> Build fails with
>>
>> rm -f bootstrap-emacs.pdmp
>> ./temacs --batch -l loadup --temacs=3Dpbootstrap \
>> =09--bin-dest '/Users/gerd/.local/bin/' --eln-dest '/Users/gerd/.local/l=
ib/emacs/31.0.50/'
>>
>> igc.c:773: Emacs fatal error: assertion failed: type =3D=3D IGC_OBJ_PAD =
|| nbytes >=3D sizeof (struct igc_fwd)
>> Fatal error 6: Aborted
>> Backtrace:
>> 0 temacs 0x000000010466b514 emacs_backtra=
ce + 180
>> 1 temacs 0x00000001049400c4 terminate_due=
_to_signal + 352
>> 2 temacs 0x000000010481f54c set_state + 2=
96
>> 3 temacs 0x0000000104819438 igc_assert_fa=
il + 88
>> 4 temacs 0x0000000104818064 set_header + =
88
>> 5 temacs 0x000000010481cf84 alloc_multi +=
508
>> 6 temacs 0x000000010481cd5c igc_alloc_wea=
k_hash_table_strong_part + 360
>> 7 temacs 0x000000010475a18c allocate_weak=
_hash_table_parts + 104
>> 8 temacs 0x000000010475a114 allocate_weak=
_hash_table + 68
>> 9 temacs 0x000000010474f8dc make_weak_has=
h_table + 344
>> 10 temacs 0x000000010474f4dc make_hash_tab=
le + 208
>> 11 temacs 0x0000000104753b84 Fmake_hash_ta=
ble + 1020
>> 12 temacs 0x0000000104821778 syms_of_igc +=
504
>> 13 temacs 0x000000010462bfec main + 3880
>> 14 dyld 0x000000019f849d54 start + 7184
>> gmake[2]: *** [Makefile:984: bootstrap-emacs.pdmp] Abort trap: 6
>> gmake[1]: *** [Makefile:546: src] Error 2
>
> That is n set_header because the nbytes oaram is 12 wh8ch is < sizeof
> (igc_fwd). It is called from here
>
> igc.c:
> 4407 static void
> 4408 alloc_multi (ptrdiff_t count, mps_addr_t ret[count],
> 4409 size_t sizes[count], enum igc_obj_type types[count],
> 4410 mps_ap_t ap)
> 4411 {
> 4412 mps_addr_t p UNINIT;
> 4413 size_t size =3D 0;
> 4414 for (ptrdiff_t i =3D 0; i < count; i++)
> 4415 size +=3D alloc_size (sizes[i]);
> 4416 switch (igc_state)
> 4417 {
> 4418 case IGC_STATE_USABLE_PARKED:
> 4419 case IGC_STATE_USABLE:
> 4420 do
> 4421 {
> 4422 mps_res_t res =3D mps_reserve (&p, ap, size);
> 4423 ptrdiff_t off =3D 0;
> 4424 if (res !=3D MPS_RES_OK)
> 4425 memory_full (0);
> 4426 /* Object _must_ have valid contents before commit. */
> 4427 memclear (p, size);
> 4428 for (ptrdiff_t i =3D 0; i < count; i++)
> 4429 {
> 4430 set_header ((struct igc_header *) ((char *) p + off),=
types[i],
> 4431 (i =3D=3D 0) ? size : sizes[i],
> 4432 alloc_hash ());
> ^^^^^^^^^^^^
>
> which seems to be a new function. I'm not yet sure how it works. Pip know=
s.
Fixed now, closing (reopen if necessary, of course). It's annoying, but
alloc_multi is necessary unless we want to modify AWL0 to allow several
linked objects.
Pip
------------=_1761920282-30730-0--
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
Subject: bug#79736: closed (Re: bug#79736: 31.0.50; igc: build failure
with checking enabled)
Message-ID: <handler.79736.D79736.176192022930698.notifdone <at> debbugs.gnu.org>
References: <87o6pn88f5.fsf@HIDDEN> <m2a517a1u1.fsf@HIDDEN>
X-Gnu-PR-Message: they-closed 79736
X-Gnu-PR-Package: emacs
Reply-To: 79736 <at> debbugs.gnu.org
Date: Fri, 31 Oct 2025 14:18:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1761920282-30730-1"
This is a multi-part message in MIME format...
------------=_1761920282-30730-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
Your bug report
#79736: 31.0.50; igc: build failure with checking enabled
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 79736 <at> debbugs.gnu.org.
--=20
79736: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D79736
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems
------------=_1761920282-30730-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 79736-done) by debbugs.gnu.org; 31 Oct 2025 14:17:09 +0000
Received: from localhost ([127.0.0.1]:41878 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vEpwD-0007yy-2a
for submit <at> debbugs.gnu.org; Fri, 31 Oct 2025 10:17:09 -0400
Received: from mail-24418.protonmail.ch ([109.224.244.18]:12197)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <pipcet@HIDDEN>)
id 1vEpw3-0007yW-En
for 79736-done <at> debbugs.gnu.org; Fri, 31 Oct 2025 10:17:04 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
s=protonmail3; t=1761920209; x=1762179409;
bh=mJzjs3rVaPr3+hd2mHfDAK9mf9glOme01HysmmX8q2I=;
h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References:
Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID:
Message-ID:BIMI-Selector;
b=a6oBjwQt/Sk1DlT1ALokfz8NDGpxdaSLryLlROg65bFCnJQhajMqXhZHVFFQUTE2y
gh7NFuFpZPWjUnJOKI5i79EMbge1q9QMtVvC0LF8H1dw71FftTytfDR0BDgKUMqxv6
mGL1ee+kshZTVbZFQizm2VBSG3YN6yrigxgHUlZeNYAgskL2RZyyE1lvui2oDzdwSH
YXZJbhgXtyG9W5pnJ4qhEXpjCioqh0g8GH+zlbsfg0CLkFgskT8K6vBhLJqVOOSyxz
ckPc2XGehJrjLSToxMbQj/zqCNKjVDyU1JMl4VGmaratiM79DFDrq8uIWzH7n1ChTp
WqBd74xMsvcCw==
Date: Fri, 31 Oct 2025 14:16:44 +0000
To: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
From: Pip Cet <pipcet@HIDDEN>
Subject: Re: bug#79736: 31.0.50; igc: build failure with checking enabled
Message-ID: <87o6pn88f5.fsf@HIDDEN>
In-Reply-To: <m27bwba0rm.fsf@HIDDEN>
References: <m2a517a1u1.fsf@HIDDEN> <m27bwba0rm.fsf@HIDDEN>
Feedback-ID: 112775352:user:proton
X-Pm-Message-ID: 20152e5c65335518cc8c1d7b7715ad8b8d17c6c2
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 79736-done
Cc: 79736-done <at> debbugs.gnu.org, Helmut Eller <eller.helmut@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> writes:
> Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> writes:
>
>> This is feature/igc on macOS, commit id
>>
>> 960f2f8287d origin/feature/igc upstream/feature/igc Use a strong Lisp =
hash table as a weak hash table's strong part
>>
>> Configured with
>>
>> $ /Users/gerd/emacs/github/igc/configure --without-ns --without-x --ca=
che-file /var/folders/1d/k_6t25f94sl83szqbf8gpkrh0000gn/T//config.cache.igc=
--enable-checking=3Dyes,igc_debug --with-native-compilation=3Daot --with-m=
ps=3Dyes CC=3Dclang 'CFLAGS=3D-Wgnu-imaginary-constant -Wunused-result -g -=
g -O0 -Wno-ignored-attributes -Wno-flag-enum -Wno-missing-method-return-typ=
e -Wno-variadic-macros -Wno-strict-prototypes -Wno-availability -Wno-nullab=
ility-completeness' --prefix=3D/Users/gerd/.local
>>
>> Build fails with
>>
>> rm -f bootstrap-emacs.pdmp
>> ./temacs --batch -l loadup --temacs=3Dpbootstrap \
>> =09--bin-dest '/Users/gerd/.local/bin/' --eln-dest '/Users/gerd/.local/l=
ib/emacs/31.0.50/'
>>
>> igc.c:773: Emacs fatal error: assertion failed: type =3D=3D IGC_OBJ_PAD =
|| nbytes >=3D sizeof (struct igc_fwd)
>> Fatal error 6: Aborted
>> Backtrace:
>> 0 temacs 0x000000010466b514 emacs_backtra=
ce + 180
>> 1 temacs 0x00000001049400c4 terminate_due=
_to_signal + 352
>> 2 temacs 0x000000010481f54c set_state + 2=
96
>> 3 temacs 0x0000000104819438 igc_assert_fa=
il + 88
>> 4 temacs 0x0000000104818064 set_header + =
88
>> 5 temacs 0x000000010481cf84 alloc_multi +=
508
>> 6 temacs 0x000000010481cd5c igc_alloc_wea=
k_hash_table_strong_part + 360
>> 7 temacs 0x000000010475a18c allocate_weak=
_hash_table_parts + 104
>> 8 temacs 0x000000010475a114 allocate_weak=
_hash_table + 68
>> 9 temacs 0x000000010474f8dc make_weak_has=
h_table + 344
>> 10 temacs 0x000000010474f4dc make_hash_tab=
le + 208
>> 11 temacs 0x0000000104753b84 Fmake_hash_ta=
ble + 1020
>> 12 temacs 0x0000000104821778 syms_of_igc +=
504
>> 13 temacs 0x000000010462bfec main + 3880
>> 14 dyld 0x000000019f849d54 start + 7184
>> gmake[2]: *** [Makefile:984: bootstrap-emacs.pdmp] Abort trap: 6
>> gmake[1]: *** [Makefile:546: src] Error 2
>
> That is n set_header because the nbytes oaram is 12 wh8ch is < sizeof
> (igc_fwd). It is called from here
>
> igc.c:
> 4407 static void
> 4408 alloc_multi (ptrdiff_t count, mps_addr_t ret[count],
> 4409 size_t sizes[count], enum igc_obj_type types[count],
> 4410 mps_ap_t ap)
> 4411 {
> 4412 mps_addr_t p UNINIT;
> 4413 size_t size =3D 0;
> 4414 for (ptrdiff_t i =3D 0; i < count; i++)
> 4415 size +=3D alloc_size (sizes[i]);
> 4416 switch (igc_state)
> 4417 {
> 4418 case IGC_STATE_USABLE_PARKED:
> 4419 case IGC_STATE_USABLE:
> 4420 do
> 4421 {
> 4422 mps_res_t res =3D mps_reserve (&p, ap, size);
> 4423 ptrdiff_t off =3D 0;
> 4424 if (res !=3D MPS_RES_OK)
> 4425 memory_full (0);
> 4426 /* Object _must_ have valid contents before commit. */
> 4427 memclear (p, size);
> 4428 for (ptrdiff_t i =3D 0; i < count; i++)
> 4429 {
> 4430 set_header ((struct igc_header *) ((char *) p + off),=
types[i],
> 4431 (i =3D=3D 0) ? size : sizes[i],
> 4432 alloc_hash ());
> ^^^^^^^^^^^^
>
> which seems to be a new function. I'm not yet sure how it works. Pip know=
s.
Fixed now, closing (reopen if necessary, of course). It's annoying, but
alloc_multi is necessary unless we want to modify AWL0 to allow several
linked objects.
Pip
------------=_1761920282-30730-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by debbugs.gnu.org; 31 Oct 2025 08:54:47 +0000
Received: from localhost ([127.0.0.1]:40378 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vEkuE-0002jd-K8
for submit <at> debbugs.gnu.org; Fri, 31 Oct 2025 04:54:47 -0400
Received: from lists.gnu.org ([2001:470:142::17]:37186)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>)
id 1vEku3-0002j8-Ba
for submit <at> debbugs.gnu.org; Fri, 31 Oct 2025 04:54:41 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <gerd.moellmann@HIDDEN>)
id 1vEktt-000183-3j
for bug-gnu-emacs@HIDDEN; Fri, 31 Oct 2025 04:54:25 -0400
Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <gerd.moellmann@HIDDEN>)
id 1vEktm-0006qi-Fa
for bug-gnu-emacs@HIDDEN; Fri, 31 Oct 2025 04:54:24 -0400
Received: by mail-wr1-x434.google.com with SMTP id
ffacd0b85a97d-3ecdf2b1751so1290511f8f.0
for <bug-gnu-emacs@HIDDEN>; Fri, 31 Oct 2025 01:54:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1761900855; x=1762505655; darn=gnu.org;
h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject
:date:message-id:reply-to;
bh=pmpLxaUDwrKMe1vG8EyBRz0EFpwW6XUupwlHINdxrXg=;
b=dWZws5vb/Gr8CDgiRF6k4vNYuUkjUby2nmVkn2Y024m+RDWSeyfHwEztzftbkk82ka
c73yUmfOYbn69Lo5vlAq1Hhs+b0m8PTw252jY5ns5G+MNDqx/VxyueN2yDvqLAiMCmMU
LMTXU/IszyjZo5HZnMa6BaTm4V4l+r+31go29bKQ91TNzTz9Qj+ZT7at7wPsUlReHUnO
HVXFbo1+t1glWHThMk9jw9H4CDbFY+P6cT/lh/csvIht/Ls/wpZ0OQKd0sGhIGDki2lG
jt6jeYo1PhGP0f3pVC7Miia6cERjwnQO+0eZ5VMOZFbiXE3+vaqMAE68A2h+ef+eBgrt
i8Mg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1761900855; x=1762505655;
h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=pmpLxaUDwrKMe1vG8EyBRz0EFpwW6XUupwlHINdxrXg=;
b=Ge7lnZG9bN5ZUayGA9NdQ0JddtYwpUAD7s10vDJYGLY8BSPBA0WHwu8Ef5OOux+Gcy
FFJ6llaZ4L6TQR4jUuKOzUSRI7Cyp3zAnxN97hMgh6dfgwFXXIuD5F8RMJgbDwstkCTg
t8jSCoSaWUpbZ7uABMj1eVbqr93Va2o5wtJsbWjBhOPyn5XpFZ7POT1+4p+VbnHzrCIa
nF6+HUScN5bLSqaC5GkfytWzWdukcQ3Xb9JqOZOaLP2llr7Q47i+fF1py8jQ5ipZswGD
/XomvbXqt8NltwhnQLdIRf/1IlIcAi07Pz1xrOgkrc04vTS9/x01P1inXt8g+sBtwEup
Qw+g==
X-Gm-Message-State: AOJu0YxkPCGyNbWOBJW33oFUaQ9pJh91an3jU8JL5dQO5Jv9Q808OKj6
JoSSxpB88fHFeyepyD/O5GF5szYWsku1aw1u853hoVjJp6X/ieveklebFKbEMbt6
X-Gm-Gg: ASbGncudLAJ3hOci0zUnGGuIwhcV0rYL3W1D4C+MCXECGGJgN+nxpe3ncsVrg7kUSd6
z/BpFOR8r21LNq7J1TdkRn06a0BLB3iX/ozELvuMSu4oKQcWKOFe5T2bipuhN5opN0cJI4lZ+Nk
h3/j/p0Xb0uExVvkT4CEjtJrVoqY01/MtBrDbl6T/EPDAI2kcalxLi/bbgfMkXPf7ApFoH/OxBj
2qlnC9KOvSYgXqzudhvaTCCpNrBLu/3JFkonNPMekgdLpumhOTc71XVyFnTPJEJmf3yzgYOIcE5
Sq90FGNucwZBi5+sXvPCV2bTtApLnML9XMCPg4Z3jvuB0dNRdulqjAPtjMqWA431mTbJGxrVMlI
toly25RN9+Gkz2t/QTAdMlIcASZAs65Q4i29LOtz6ZWF/x/8LALq9Rc+VEHiSl2H+xhRG64mbgF
u6AB/eBQSiaXMEYkwo+DQChiiMQeLZhSCp+PsWmCXHT/rFwJHJSuHFyKBHNeOwx+JjAxY2ufTa9
F/fMm7rX6CC7cy/+bMFnZM=
X-Google-Smtp-Source: AGHT+IF5bBY/cFwm3e10/jX4viLclC2xfHr0Vpp5OoBJP9AhlYI5yd0eOGDU/cRfd27E3wnDerKZDQ==
X-Received: by 2002:a05:6000:400a:b0:427:e1bf:13db with SMTP id
ffacd0b85a97d-429bd6c1eb4mr1931624f8f.54.1761900855257;
Fri, 31 Oct 2025 01:54:15 -0700 (PDT)
Received: from pro4 (p200300e0b738df00b42a37bac059b60a.dip0.t-ipconnect.de.
[2003:e0:b738:df00:b42a:37ba:c059:b60a])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-477289adaf8sm92872225e9.7.2025.10.31.01.54.14
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 31 Oct 2025 01:54:14 -0700 (PDT)
From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 31.0.50; igc: build failure with checking enabled
X-Debbugs-Cc:
Date: Fri, 31 Oct 2025 09:54:14 +0100
Message-ID: <m2a517a1u1.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2a00:1450:4864:20::434;
envelope-from=gerd.moellmann@HIDDEN; helo=mail-wr1-x434.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
Cc: Pip Cet <pipcet@HIDDEN>, Helmut Eller <eller.helmut@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)
This is feature/igc on macOS, commit id
960f2f8287d origin/feature/igc upstream/feature/igc Use a strong Lisp hash table as a weak hash table's strong part
Configured with
$ /Users/gerd/emacs/github/igc/configure --without-ns --without-x --cache-file /var/folders/1d/k_6t25f94sl83szqbf8gpkrh0000gn/T//config.cache.igc --enable-checking=yes,igc_debug --with-native-compilation=aot --with-mps=yes CC=clang 'CFLAGS=-Wgnu-imaginary-constant -Wunused-result -g -g -O0 -Wno-ignored-attributes -Wno-flag-enum -Wno-missing-method-return-type -Wno-variadic-macros -Wno-strict-prototypes -Wno-availability -Wno-nullability-completeness' --prefix=/Users/gerd/.local
Build fails with
rm -f bootstrap-emacs.pdmp
./temacs --batch -l loadup --temacs=pbootstrap \
--bin-dest '/Users/gerd/.local/bin/' --eln-dest '/Users/gerd/.local/lib/emacs/31.0.50/'
igc.c:773: Emacs fatal error: assertion failed: type == IGC_OBJ_PAD || nbytes >= sizeof (struct igc_fwd)
Fatal error 6: Aborted
Backtrace:
0 temacs 0x000000010466b514 emacs_backtrace + 180
1 temacs 0x00000001049400c4 terminate_due_to_signal + 352
2 temacs 0x000000010481f54c set_state + 296
3 temacs 0x0000000104819438 igc_assert_fail + 88
4 temacs 0x0000000104818064 set_header + 88
5 temacs 0x000000010481cf84 alloc_multi + 508
6 temacs 0x000000010481cd5c igc_alloc_weak_hash_table_strong_part + 360
7 temacs 0x000000010475a18c allocate_weak_hash_table_parts + 104
8 temacs 0x000000010475a114 allocate_weak_hash_table + 68
9 temacs 0x000000010474f8dc make_weak_hash_table + 344
10 temacs 0x000000010474f4dc make_hash_table + 208
11 temacs 0x0000000104753b84 Fmake_hash_table + 1020
12 temacs 0x0000000104821778 syms_of_igc + 504
13 temacs 0x000000010462bfec main + 3880
14 dyld 0x000000019f849d54 start + 7184
gmake[2]: *** [Makefile:984: bootstrap-emacs.pdmp] Abort trap: 6
gmake[1]: *** [Makefile:546: src] Error 2
------------=_1761920282-30730-1--
X-Loop: help-debbugs@HIDDEN
Subject: bug#79736: 31.0.50; igc: build failure with checking enabled
Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 31 Oct 2025 15:57:01 +0000
Resent-Message-ID: <handler.79736.D79736.176192619529709 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Pip Cet <pipcet@HIDDEN>
Cc: 79736-done <at> debbugs.gnu.org, Helmut Eller <eller.helmut@HIDDEN>, Stefan Monnier <monnier@HIDDEN>
Received: via spool by 79736-done <at> debbugs.gnu.org id=D79736.176192619529709
(code D ref 79736); Fri, 31 Oct 2025 15:57:01 +0000
Received: (at 79736-done) by debbugs.gnu.org; 31 Oct 2025 15:56:35 +0000
Received: from localhost ([127.0.0.1]:42909 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vErUQ-0007j7-Bd
for submit <at> debbugs.gnu.org; Fri, 31 Oct 2025 11:56:35 -0400
Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:51306)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>)
id 1vErUJ-0007hP-0R
for 79736-done <at> debbugs.gnu.org; Fri, 31 Oct 2025 11:56:30 -0400
Received: by mail-wm1-x32d.google.com with SMTP id
5b1f17b1804b1-4711810948aso18112195e9.2
for <79736-done <at> debbugs.gnu.org>; Fri, 31 Oct 2025 08:56:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1761926153; x=1762530953; darn=debbugs.gnu.org;
h=content-transfer-encoding:mime-version:user-agent:message-id:date
:references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to;
bh=pnzb1ea+OD+uKJLjAPL97bDJZWgHvq/kyLecGhQwbIo=;
b=NnB9Qx2u0YnU7LeTF0CvsS25rL7lM3iBGAXfykwcwT8iUEvxX0mfxKZczG2PFYLlhR
uoV4OibYA/9r5hder4DWOwqMjIqXGuPz8J+4lQ5r9pTnavsdZWmS0kqBJRGPwU8Jn1KO
xeIOdMKAiJvFJRwAdS79N1zvfdYACYz7HwDVY84h5OZDc6ZDy9lLm3C1/gSr8GTtafFe
NYrgnu6xYULSpmEojCB3/Z09Sxjn+tGKdkDyNevFP0pJ/Ag/6qK95fzGkmOaMaL3LO0S
3FXZKnleOjMe1kwB88+EN3b1Nn8O0KMt/euD/btmFXMN9f3Ss3yH2tnY31S+fyOvkwE/
wVyg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1761926153; x=1762530953;
h=content-transfer-encoding:mime-version:user-agent:message-id:date
:references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to;
bh=pnzb1ea+OD+uKJLjAPL97bDJZWgHvq/kyLecGhQwbIo=;
b=YD2OSHDLAaY64AGmjsuT2I4TEgQ4LGMXYH+5/UEDZYHpnbnPTwee6h8Ot7o+sc65xN
A6mV2cvtOpgpWSF1ahubEXXjViXsqx8uz4GUTTk6sibJ+i7sJwXRnh/tO3gV4cNcWypW
Ur6s88IlDUbWJa1bfQeHzmVEXM6Uy/w6+JkLCnx3flkDz5LZLr1bbdHklukhkeH1NAN3
aaQVxN/TiVbiEmuukDGKpKaKpKQSoT10HoVbZAsuV+I5AWPHXBVTFzg+gvo5byQIUKhG
sqeN2r6VlYL7p1DghQK+6KG2IjBSecsCRK+mqnn6rxH9K65rjzoFMzbCst30jZr0eR1j
1c8Q==
X-Gm-Message-State: AOJu0YzG68iARKY9OmzbQsnlOBUrUwhTw6vHj2n7JglzJE5oG2Ri3IEx
UqPc6CB1I3Z7BL2v/jPKc2N8xVjGaRv4uy3BuVVBt9YgE0pyToE/ndHn
X-Gm-Gg: ASbGncvd26mfE/J2BExR5Kq0z1oTzyLQzlansPm9wV+HhmgPpxQA0XbK1ll/XDizFgA
9b9n8Kp+RwtfHBvhz9JPI4a/kGLfd0Qc0WkErUkRKBhBiO9wjB2tXJFGIbTM40FVll9kCSwOlow
fSq8nRf8UCxlT3vX2jz+tfNlfg7hWNfeAKY+4drXCCGae7GbLdHzVP5OSeJAqPsE/0PAfjQMBrB
PDZz8nL+djYuOqWfdj25512d+UFSTl0U3D/I9hOsgAPlLJLgy0BMyUjDFBcjC8ccTOQjUhDtTdh
4YdTu09Y6TW5fnB2STRGXl/uNf1kKDkB2wnosCoie2MFkbFSrt2XIfuSUjgc4q87abBAor90nZZ
E5MbMBGXZ4+6TJ8tFmAh1yUY2mbTwfd+a5/ZRsjGipl9SeRgdXpeGD++qObogx6AaQ0IWd8fcj4
VMPFE38bA79++lC0jYczGL6+jkSM0LuIYuCkZjU8/xxZGFioARI7qB4ItbGY40O6Zzxpn+BZXmw
U3xFWUY65Li
X-Google-Smtp-Source: AGHT+IF41vLO8EGMaeT206xtS10OYyBzgv2EsQfL41v2kaa+UZzL+usyRxt8RRoMPPv+srGu4ROrKw==
X-Received: by 2002:a05:600c:538e:b0:46e:33b2:c8da with SMTP id
5b1f17b1804b1-47730890e99mr40584545e9.32.1761926152679;
Fri, 31 Oct 2025 08:55:52 -0700 (PDT)
Received: from pro4 (p200300e0b738df00b42a37bac059b60a.dip0.t-ipconnect.de.
[2003:e0:b738:df00:b42a:37ba:c059:b60a])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-4773c4ac18bsm3071705e9.5.2025.10.31.08.55.51
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 31 Oct 2025 08:55:51 -0700 (PDT)
From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
In-Reply-To: <87o6pn88f5.fsf@HIDDEN>
References: <m2a517a1u1.fsf@HIDDEN> <m27bwba0rm.fsf@HIDDEN>
<87o6pn88f5.fsf@HIDDEN>
Date: Fri, 31 Oct 2025 16:55:50 +0100
Message-ID: <m2ldkrnjzt.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Pip Cet <pipcet@HIDDEN> writes:
> Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> writes:
>
>> Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> writes:
>>
>>> This is feature/igc on macOS, commit id
>>>
>>> 960f2f8287d origin/feature/igc upstream/feature/igc Use a strong Lisp=
hash table as a weak hash table's strong part
>>>
>>> Configured with
>>>
>>> $ /Users/gerd/emacs/github/igc/configure --without-ns --without-x --c=
ache-file /var/folders/1d/k_6t25f94sl83szqbf8gpkrh0000gn/T//config.cache.ig=
c --enable-checking=3Dyes,igc_debug --with-native-compilation=3Daot --with-=
mps=3Dyes CC=3Dclang 'CFLAGS=3D-Wgnu-imaginary-constant -Wunused-result -g =
-g -O0 -Wno-ignored-attributes -Wno-flag-enum -Wno-missing-method-return-ty=
pe -Wno-variadic-macros -Wno-strict-prototypes -Wno-availability -Wno-nulla=
bility-completeness' --prefix=3D/Users/gerd/.local
>>>
>>> Build fails with
>>>
>>> rm -f bootstrap-emacs.pdmp
>>> ./temacs --batch -l loadup --temacs=3Dpbootstrap \
>>> --bin-dest '/Users/gerd/.local/bin/' --eln-dest '/Users/gerd/.local/li=
b/emacs/31.0.50/'
>>>
>>> igc.c:773: Emacs fatal error: assertion failed: type =3D=3D IGC_OBJ_PAD=
|| nbytes >=3D sizeof (struct igc_fwd)
>>> Fatal error 6: Aborted
>>> Backtrace:
>>> 0 temacs 0x000000010466b514 emacs_backtr=
ace + 180
>>> 1 temacs 0x00000001049400c4 terminate_du=
e_to_signal + 352
>>> 2 temacs 0x000000010481f54c set_state + =
296
>>> 3 temacs 0x0000000104819438 igc_assert_f=
ail + 88
>>> 4 temacs 0x0000000104818064 set_header +=
88
>>> 5 temacs 0x000000010481cf84 alloc_multi =
+ 508
>>> 6 temacs 0x000000010481cd5c igc_alloc_we=
ak_hash_table_strong_part + 360
>>> 7 temacs 0x000000010475a18c allocate_wea=
k_hash_table_parts + 104
>>> 8 temacs 0x000000010475a114 allocate_wea=
k_hash_table + 68
>>> 9 temacs 0x000000010474f8dc make_weak_ha=
sh_table + 344
>>> 10 temacs 0x000000010474f4dc make_hash_ta=
ble + 208
>>> 11 temacs 0x0000000104753b84 Fmake_hash_t=
able + 1020
>>> 12 temacs 0x0000000104821778 syms_of_igc =
+ 504
>>> 13 temacs 0x000000010462bfec main + 3880
>>> 14 dyld 0x000000019f849d54 start + 7184
>>> gmake[2]: *** [Makefile:984: bootstrap-emacs.pdmp] Abort trap: 6
>>> gmake[1]: *** [Makefile:546: src] Error 2
>>
>> That is n set_header because the nbytes oaram is 12 wh8ch is < sizeof
>> (igc_fwd). It is called from here
>>
>> igc.c:
>> 4407 static void
>> 4408 alloc_multi (ptrdiff_t count, mps_addr_t ret[count],
>> 4409 size_t sizes[count], enum igc_obj_type types[count],
>> 4410 mps_ap_t ap)
>> 4411 {
>> 4412 mps_addr_t p UNINIT;
>> 4413 size_t size =3D 0;
>> 4414 for (ptrdiff_t i =3D 0; i < count; i++)
>> 4415 size +=3D alloc_size (sizes[i]);
>> 4416 switch (igc_state)
>> 4417 {
>> 4418 case IGC_STATE_USABLE_PARKED:
>> 4419 case IGC_STATE_USABLE:
>> 4420 do
>> 4421 {
>> 4422 mps_res_t res =3D mps_reserve (&p, ap, size);
>> 4423 ptrdiff_t off =3D 0;
>> 4424 if (res !=3D MPS_RES_OK)
>> 4425 memory_full (0);
>> 4426 /* Object _must_ have valid contents before commit. */
>> 4427 memclear (p, size);
>> 4428 for (ptrdiff_t i =3D 0; i < count; i++)
>> 4429 {
>> 4430 set_header ((struct igc_header *) ((char *) p + off)=
, types[i],
>> 4431 (i =3D=3D 0) ? size : sizes[i],
>> 4432 alloc_hash ());
>> ^^^^^^^^^^^^
>>
>> which seems to be a new function. I'm not yet sure how it works. Pip kno=
ws.
>
> Fixed now, closing (reopen if necessary, of course). It's annoying, but
> alloc_multi is necessary unless we want to modify AWL0 to allow several
> linked objects.
>
> Pip
Thanks! The original problem is fixed by that, but the same config/build
now aborts when building cl-generic.el. IIRC generic functions use a
weak table in a "weird" way that surprised me a long time ago. Don't
remember details anymore, though. Stef should be able to help, I think
(in CC).
ELC+ELN ../lisp/emacs-lisp/cl-generic.elc
./lisp.h:1672: Emacs fatal error: assertion failed: STRINGP (a)
Backtrace:
0 bootstrap-emacs 0x000000010031b514 emacs_backtrace =
+ 180
1 bootstrap-emacs 0x00000001005f010c terminate_due_to=
_signal + 352
2 bootstrap-emacs 0x00000001005f0964 string_overflow =
+ 0
3 bootstrap-emacs 0x0000000100425bdc XSTRING + 80
4 bootstrap-emacs 0x0000000100425ae4 SBYTES + 24
5 bootstrap-emacs 0x000000010042ae78 print_object + 2=
728
6 bootstrap-emacs 0x000000010042586c print + 668
7 bootstrap-emacs 0x0000000100425348 Fprin1 + 168
8 bootstrap-emacs 0x00000001003df760 eval_sub + 2012
9 bootstrap-emacs 0x00000001003dfd80 Fprogn + 96
10 bootstrap-emacs 0x00000001003dfd08 Fif + 116
11 bootstrap-emacs 0x00000001003df3cc eval_sub + 1096
12 bootstrap-emacs 0x00000001003dfd80 Fprogn + 96
13 bootstrap-emacs 0x00000001003e896c funcall_lambda +=
1716
14 bootstrap-emacs 0x00000001003e6b64 apply_lambda + 3=
84
15 bootstrap-emacs 0x00000001003df8ac eval_sub + 2344
16 bootstrap-emacs 0x00000001003dfcec Fif + 88
17 bootstrap-emacs 0x00000001003df3cc eval_sub + 1096
18 bootstrap-emacs 0x00000001003dfd80 Fprogn + 96
19 bootstrap-emacs 0x00000001003e896c funcall_lambda +=
1716
20 bootstrap-emacs 0x00000001003e7ba8 funcall_general =
+ 256
21 bootstrap-emacs 0x00000001003e0ca8 Ffuncall + 448
22 bootstrap-emacs 0x00000001003e504c signal_or_quit +=
1136
23 bootstrap-emacs 0x00000001005f13b4 Fsignal + 112
24 bootstrap-emacs 0x00000001003e7f50 funcall_subr + 6=
12
25 bootstrap-emacs 0x00000001003e7b60 funcall_general =
+ 184
26 bootstrap-emacs 0x00000001003e0ca8 Ffuncall + 448
27 comp-7672a6ed-2156704a.eln 0x0000000101f9c704 F636f6d702d2d6e6=
1746976652d636f6d70696c65_comp__native_compile_0 + 2492
28 bootstrap-emacs 0x00000001003e7f7c funcall_subr + 6=
56
29 bootstrap-emacs 0x00000001003e7b60 funcall_general =
+ 184
30 bootstrap-emacs 0x00000001003e0ca8 Ffuncall + 448
31 comp-7672a6ed-2156704a.eln 0x0000000101f9cfb4 F62617463682d6e6=
1746976652d636f6d70696c652d31_batch_native_compile_1_0 + 336
32 bootstrap-emacs 0x00000001003e7f2c funcall_subr + 5=
76
33 bootstrap-emacs 0x00000001003e7b60 funcall_general =
+ 184
34 bootstrap-emacs 0x00000001003e0ca8 Ffuncall + 448
35 comp-7672a6ed-2156704a.eln 0x0000000101f9d200 F62617463682d6e6=
1746976652d636f6d70696c65_batch_native_compile_0 + 348
36 bootstrap-emacs 0x00000001003e7f2c funcall_subr + 5=
76
37 bootstrap-emacs 0x00000001003e7b60 funcall_general =
+ 184
38 bootstrap-emacs 0x00000001003e0ca8 Ffuncall + 448
39 comp-7672a6ed-2156704a.eln 0x0000000101f9d558 F62617463682d627=
974652b6e61746976652d636f6d70696c65_batch_bytenative_compile_0 + 308
40 bootstrap-emacs 0x00000001003e7f10 funcall_subr + 5=
48
41 bootstrap-emacs 0x00000001003e7b60 funcall_general =
+ 184
42 bootstrap-emacs 0x00000001003e0ca8 Ffuncall + 448
43 bootstrap-emacs 0x00000001003df578 eval_sub + 1524
44 bootstrap-emacs 0x00000001003dfd80 Fprogn + 96
45 bootstrap-emacs 0x00000001003dfd08 Fif + 116
46 bootstrap-emacs 0x00000001003df3cc eval_sub + 1096
47 bootstrap-emacs 0x00000001003dfd80 Fprogn + 96
48 bootstrap-emacs 0x00000001003dfe44 Fcond + 172
49 bootstrap-emacs 0x00000001003df3cc eval_sub + 1096
50 bootstrap-emacs 0x00000001003dfd80 Fprogn + 96
51 bootstrap-emacs 0x00000001003e2658 FletX + 780
52 bootstrap-emacs 0x00000001003df3cc eval_sub + 1096
53 bootstrap-emacs 0x00000001003dfd80 Fprogn + 96
54 bootstrap-emacs 0x00000001003dfe8c prog_ignore + 24
55 bootstrap-emacs 0x00000001003e2d90 Fwhile + 104
56 bootstrap-emacs 0x00000001003df3cc eval_sub + 1096
57 bootstrap-emacs 0x00000001003dfd80 Fprogn + 96
58 bootstrap-emacs 0x00000001003e2658 FletX + 780
59 bootstrap-emacs 0x00000001003df3cc eval_sub + 1096
60 bootstrap-emacs 0x00000001003dfd80 Fprogn + 96
61 bootstrap-emacs 0x00000001003df3cc eval_sub + 1096
62 bootstrap-emacs 0x00000001003dfcec Fif + 88
63 bootstrap-emacs 0x00000001003df3cc eval_sub + 1096
64 bootstrap-emacs 0x00000001003dfd80 Fprogn + 96
65 bootstrap-emacs 0x00000001003e2c10 Flet + 1028
66 bootstrap-emacs 0x00000001003df3cc eval_sub + 1096
67 bootstrap-emacs 0x00000001003dfd80 Fprogn + 96
68 bootstrap-emacs 0x00000001003e2c10 Flet + 1028
69 bootstrap-emacs 0x00000001003df3cc eval_sub + 1096
70 bootstrap-emacs 0x00000001003dfd80 Fprogn + 96
71 bootstrap-emacs 0x00000001003e896c funcall_lambda +=
1716
72 bootstrap-emacs 0x00000001003e6b64 apply_lambda + 3=
84
73 bootstrap-emacs 0x00000001003df8ac eval_sub + 2344
74 bootstrap-emacs 0x00000001003dfd80 Fprogn + 96
75 bootstrap-emacs 0x00000001003e2c10 Flet + 1028
76 bootstrap-emacs 0x00000001003df3cc eval_sub + 1096
77 bootstrap-emacs 0x00000001003dfd80 Fprogn + 96
78 bootstrap-emacs 0x00000001003e896c funcall_lambda +=
1716
79 bootstrap-emacs 0x00000001003e6b64 apply_lambda + 3=
84
80 bootstrap-emacs 0x00000001003df8ac eval_sub + 2344
81 bootstrap-emacs 0x00000001003e38b0 Funwind_protect =
+ 64
82 bootstrap-emacs 0x00000001003df3cc eval_sub + 1096
83 bootstrap-emacs 0x00000001003dfd80 Fprogn + 96
84 bootstrap-emacs 0x00000001003e2c10 Flet + 1028
85 bootstrap-emacs 0x00000001003df3cc eval_sub + 1096
86 bootstrap-emacs 0x00000001003dfd80 Fprogn + 96
87 bootstrap-emacs 0x00000001003dfd08 Fif + 116
88 bootstrap-emacs 0x00000001003df3cc eval_sub + 1096
89 bootstrap-emacs 0x00000001003dfd80 Fprogn + 96
90 bootstrap-emacs 0x00000001003e896c funcall_lambda +=
1716
91 bootstrap-emacs 0x00000001003e6b64 apply_lambda + 3=
84
92 bootstrap-emacs 0x00000001003df8ac eval_sub + 2344
93 bootstrap-emacs 0x00000001003e6390 Feval + 144
94 bootstrap-emacs 0x00000001002fd350 top_level_2 + 128
95 bootstrap-emacs 0x00000001003e43ac internal_conditi=
on_case + 132
96 bootstrap-emacs 0x00000001002fd26c top_level_1 + 88
97 bootstrap-emacs 0x00000001003e36fc internal_catch +=
72
98 bootstrap-emacs 0x00000001002dfde4 command_loop + 2=
64
99 bootstrap-emacs 0x00000001002dfc10 recursive_edit_1=
+ 276
100 bootstrap-emacs 0x00000001002e015c Frecursive_edit =
+ 464
101 bootstrap-emacs 0x00000001002dc9a8 main + 6372
102 dyld 0x000000019f849d54 start + 7184
gmake[3]: *** [Makefile:286: ../lisp/emacs-lisp/cl-generic.elc] Abort trap:=
6
X-Loop: help-debbugs@HIDDEN
Subject: bug#79736: 31.0.50; igc: build failure with checking enabled
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 31 Oct 2025 19:22:01 +0000
Resent-Message-ID: <handler.79736.D79736.1761938464549 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
Cc: 79736-done <at> debbugs.gnu.org, Pip Cet <pipcet@HIDDEN>, Helmut Eller <eller.helmut@HIDDEN>
Received: via spool by 79736-done <at> debbugs.gnu.org id=D79736.1761938464549
(code D ref 79736); Fri, 31 Oct 2025 19:22:01 +0000
Received: (at 79736-done) by debbugs.gnu.org; 31 Oct 2025 19:21:04 +0000
Received: from localhost ([127.0.0.1]:44236 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vEugJ-00008n-Od
for submit <at> debbugs.gnu.org; Fri, 31 Oct 2025 15:21:04 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:64050)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <monnier@HIDDEN>)
id 1vEugE-000081-F9
for 79736-done <at> debbugs.gnu.org; Fri, 31 Oct 2025 15:20:59 -0400
Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 864FB81697;
Fri, 31 Oct 2025 15:20:51 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
s=mail; t=1761938450;
bh=XiPLF5HZJqO5PrigWl80rmgK2ZzwqAofD4oaqj6SElM=;
h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
b=CvSd046mMxmJCw/M1OvBqyMEeU1mHQly9DKolj5Adhu9iw9K+HM3uFn4oZQgOjB9l
oT4csvhJGTP6WfKmHRcTA+eTtKbZrQsje7DK7dh0b6tzYl857azoejFfCYwEzpSbh1
sAKywvZNyVi234Msabh7/aEGXlSOjhd/Fjn6SevgE9R/3ZdIqh1bq4WMyuRsRGL8Hj
BU4oR9kuM6B7IaGQZ7H2XmtaPq0JXJdi71dpkrz2gdfxVAmlS+Nht1ScAHIzSnzakT
zCdWWIB9UYz4xMVXVgS1Dge27BmO3PSYWk2eWCf94FDGMAymNL7vNubt0Csbhjjd/U
iPknOTnIZIRDg==
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 7DC9E81666;
Fri, 31 Oct 2025 15:20:50 -0400 (EDT)
Received: from asado (unknown [181.28.45.30])
by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id ED6901203AB;
Fri, 31 Oct 2025 15:20:48 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
In-Reply-To: <m2ldkrnjzt.fsf@HIDDEN>
Message-ID: <jwvwm4ac2es.fsf-monnier+emacs@HIDDEN>
References: <m2a517a1u1.fsf@HIDDEN> <m27bwba0rm.fsf@HIDDEN>
<87o6pn88f5.fsf@HIDDEN> <m2ldkrnjzt.fsf@HIDDEN>
Date: Fri, 31 Oct 2025 15:20:45 -0400
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results: 0
ALL_TRUSTED -1 Passed through trusted hosts only via SMTP
AWL -0.199 Adjusted score from AWL reputation of From: address
BAYES_00 -1.9 Bayes spam probability is 0 to 1%
DKIM_SIGNED 0.1 Message has a DKIM or DK signature,
not necessarily valid
DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
domain
DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
domain
X-SPAM-LEVEL:
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> Thanks! The original problem is fixed by that, but the same
> config/build now aborts when building cl-generic.el. IIRC generic
> functions use a weak table in a "weird" way that surprised me a long
> time ago. Don't remember details anymore, though. Stef should be
> able to help, I think (in CC).
Hmm... not sure how I can help or what's weird about it: the only
relevant table I can see is `cl--generic-combined-method-memoization`
which is an `equal` hash table whose keys are strong but values
are weak.
Maybe the weird part is that the values are weak?
The only other odd aspect is that the keys gets mutated in-place, so
it's somewhat common to have keys that are "mis-placed" in the
hash-table because their hash has changed (via mutation) since the entry
was added.
Can't see how that could make the C code crash.
Stefan
X-Loop: help-debbugs@HIDDEN
Subject: bug#79736: 31.0.50; igc: build failure with checking enabled
Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 31 Oct 2025 19:34:02 +0000
Resent-Message-ID: <handler.79736.D79736.17619392381916 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Stefan Monnier <monnier@HIDDEN>
Cc: 79736-done <at> debbugs.gnu.org, Pip Cet <pipcet@HIDDEN>, Helmut Eller <eller.helmut@HIDDEN>
Received: via spool by 79736-done <at> debbugs.gnu.org id=D79736.17619392381916
(code D ref 79736); Fri, 31 Oct 2025 19:34:02 +0000
Received: (at 79736-done) by debbugs.gnu.org; 31 Oct 2025 19:33:58 +0000
Received: from localhost ([127.0.0.1]:44310 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vEuso-0000Uq-Bq
for submit <at> debbugs.gnu.org; Fri, 31 Oct 2025 15:33:58 -0400
Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:59734)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>)
id 1vEusj-0000Uh-UJ
for 79736-done <at> debbugs.gnu.org; Fri, 31 Oct 2025 15:33:55 -0400
Received: by mail-wm1-x32d.google.com with SMTP id
5b1f17b1804b1-47118259fd8so20081095e9.3
for <79736-done <at> debbugs.gnu.org>; Fri, 31 Oct 2025 12:33:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1761939225; x=1762544025; darn=debbugs.gnu.org;
h=mime-version:user-agent:message-id:date:references:in-reply-to
:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
bh=8J1aa0wM6UysGSnY8VU8Ots9RBn8e1WSVBYHg3ACsB0=;
b=CCA3rCu/VQRGkpOdUOigBeL+ZivqwAGWDcuZGiDNrXnesoH0noJjOFhct36oVAzeOl
VFF5IrNvYvy9hFOxjYoQ9rm8FiPmr9gZ9fH9m6WQJtmwIrA9NUk1KfWxMTxDBGreCw2s
2oGb/8E339LAPZjaGexaoohv9K+5zxFCA6GlGyh6k731RjkPLvZnLeQcfRwIG17OtPub
01Umy2uCTZw/lF0G/UZyg+uG/JEPWO4gGkDhy26rEqQa7ncrcxjoLe6VGEFfEF+f61qN
kF3nfS+pf3UrFNdcdF7FSAcc4RhxBr239qe6J5pQF+oAEf+t+Z311hPAXKUaU4zanc9M
ZNqQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1761939225; x=1762544025;
h=mime-version:user-agent:message-id:date:references:in-reply-to
:subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to;
bh=8J1aa0wM6UysGSnY8VU8Ots9RBn8e1WSVBYHg3ACsB0=;
b=IjjaUgRxXk9pT0ttL43NFlmHWSf0tKvQQ9Ht9/BF6kOvo0fgVaoZTqZBft6goDZVOf
c6uYKI3y/vz+8i/BGItaeYJ9NMJkIceH6IUvrb3o7Vit9Rb+rTiBntFAVkZMd5FomIvu
Fxeu4qG64LJWIL9623Ft26RTbc3Le8bBwOlql3WSc1aC6Liyj5DPWu41PT5DW2ytjUAl
gfKzbxTVC2Gne8kQwx/KqQE7vzAUPA9+1a1NtsAbEpQAuqUF/MPyTKXOBgE0OrUraLxb
qOuFLu2k5SsWRa6q2jH1k5GITQosaKeR7yu+AA1hQFaBbClbCnKs6R7XFUUqh7jWa9s7
aHzg==
X-Forwarded-Encrypted: i=1;
AJvYcCX81yweMJMtBoMHIZszOsGI95cL/6y7QtoObDJU9pUmUlhQSFXfMaYrxcBdnGEzJDHaimrl6JMRLrhY <at> debbugs.gnu.org
X-Gm-Message-State: AOJu0YySC80wuypqRxyT4WkG9VXuelu96Ra40r17tuxpUVZ0mhSDzCSL
nfZ3RJElDpKtBsdUzuY/0c9fIwA7dzvVGjq9dZ6MFuurG13J2oQUcsCZ
X-Gm-Gg: ASbGncuMYGjxrSO5XdSaGrXOpp4/kVZqrc2kfuYPA9ShaBY9nfiks8QtS1vrnRbwAeN
JtKXXp+VaA09yk+CsC2Cn1uGPSx+6QthC/TFpmuuJ5eCCh2N+M0EBcvTWNZn7wHO9K3fGxAvgIF
u425EOkrtlRLHsJrVoWUjlpV4ZqMQZ2lEFnG5/08n5HT1LOySj9Jce/dlrXujbV/WvB0mEwEIz2
43qXxEIg8T1DNZyPqnjuRw3pFZJihCFVDiosirSXTYcKcdNY7dJo9DWbW34O/FmErZ4dAY+Zu5N
b79eNlZskRjk8ljxsVmpCsUpwhdaXaaCEyUNMZ/UtHIdePMGCt/BAmb0xOyhBz9WemHHP6Hipx3
37pew7Zdu7+jybtV00m3GgGqIlGv3ZiFuSIECVdcMqezvKNvgkYP5r1B9c+fZ0owiJwuNR0zWzN
WyXv/iBjgbhqBELple+cmzIDMihdgMaaDm30NhYiO66XV9rmGb1DIhbs5PD4mm8VboRuLlyYX5X
h7RWAMdTuAd1Fib/jDXyB8=
X-Google-Smtp-Source: AGHT+IG9MAj+pLzmSYkF9vOUkhBMHdtGmybvjHeDCCHHHRWKKswPwW688YupyCmc0/Ie1Yskm2u5fQ==
X-Received: by 2002:a05:600c:3d97:b0:471:d2f:7987 with SMTP id
5b1f17b1804b1-477308a159cmr37278035e9.26.1761939225121;
Fri, 31 Oct 2025 12:33:45 -0700 (PDT)
Received: from pro4 (p200300e0b738df00b42a37bac059b60a.dip0.t-ipconnect.de.
[2003:e0:b738:df00:b42a:37ba:c059:b60a])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-4773c374f84sm11547115e9.0.2025.10.31.12.33.44
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 31 Oct 2025 12:33:44 -0700 (PDT)
From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
In-Reply-To: <jwvwm4ac2es.fsf-monnier+emacs@HIDDEN>
References: <m2a517a1u1.fsf@HIDDEN> <m27bwba0rm.fsf@HIDDEN>
<87o6pn88f5.fsf@HIDDEN> <m2ldkrnjzt.fsf@HIDDEN>
<jwvwm4ac2es.fsf-monnier+emacs@HIDDEN>
Date: Fri, 31 Oct 2025 20:33:43 +0100
Message-ID: <m2cy62ooh4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Stefan Monnier <monnier@HIDDEN> writes:
>> Thanks! The original problem is fixed by that, but the same
>> config/build now aborts when building cl-generic.el. IIRC generic
>> functions use a weak table in a "weird" way that surprised me a long
>> time ago. Don't remember details anymore, though. Stef should be
>> able to help, I think (in CC).
>
> Hmm... not sure how I can help or what's weird about it: the only
> relevant table I can see is `cl--generic-combined-method-memoization`
> which is an `equal` hash table whose keys are strong but values
> are weak.
>
> Maybe the weird part is that the values are weak?
>
> The only other odd aspect is that the keys gets mutated in-place, so
> it's somewhat common to have keys that are "mis-placed" in the
> hash-table because their hash has changed (via mutation) since the entry
> was added.
Ah, that was it, the modified keys! Thanks!
> Can't see how that could make the C code crash.
It shouldn't. Thing is that Pip modified the weak hash tables in
feature/igc and it's not 100% working as before yet, here when compiling
cl-generic.el. And for me cl-generic + weak tables => caution, and
maybe a hint. Or not, of course.
X-Loop: help-debbugs@HIDDEN
Subject: bug#79736: 31.0.50; igc: build failure with checking enabled
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 31 Oct 2025 20:26:02 +0000
Resent-Message-ID: <handler.79736.D79736.176194233511941 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
Cc: 79736-done <at> debbugs.gnu.org, Pip Cet <pipcet@HIDDEN>, Helmut Eller <eller.helmut@HIDDEN>
Received: via spool by 79736-done <at> debbugs.gnu.org id=D79736.176194233511941
(code D ref 79736); Fri, 31 Oct 2025 20:26:02 +0000
Received: (at 79736-done) by debbugs.gnu.org; 31 Oct 2025 20:25:35 +0000
Received: from localhost ([127.0.0.1]:44665 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vEvgk-00036X-NO
for submit <at> debbugs.gnu.org; Fri, 31 Oct 2025 16:25:35 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:56373)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <monnier@HIDDEN>)
id 1vEvgg-00035x-GZ
for 79736-done <at> debbugs.gnu.org; Fri, 31 Oct 2025 16:25:31 -0400
Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1])
by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 3F61F441A66;
Fri, 31 Oct 2025 16:25:23 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
s=mail; t=1761942322;
bh=HpWhOURAaaGWNuele8uEgwMh8rF6WkaR+CLl1lUzVaQ=;
h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
b=SmGzZR8pH+ysh28qMqA4tV05/DGK8DlIRlm36fx8DcYU5OMrIltH/tshgLftfTAey
JGu8bZSKZuXtlyxPoK+IAvr0PQXnX4gZEr06UjQey65tHejekJD3BM389Nv3HctOVo
yOCXhQk4p4fYyxT5JdCPLnJ0ybpVJKrt1wKO+AuvtwW5clY57inlTuHUuCmb1v7+kj
d4aO3OmwPEyqNlmnibJdxRNMOu98LKaeNJ0GkzZXNRIq474VK7rew8tAheFGQxyTXw
5m054WGR9LimQy96ksiJjDVajW7zj4lG+Ytkgst8wa/0PDKgZpl1zmg/yzFfBoTL5p
OvfgM+yME/82Q==
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 332A6440A90;
Fri, 31 Oct 2025 16:25:22 -0400 (EDT)
Received: from asado (unknown [181.28.45.30])
by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 699681201B6;
Fri, 31 Oct 2025 16:25:20 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
In-Reply-To: <m2cy62ooh4.fsf@HIDDEN>
Message-ID: <jwv4irebz0c.fsf-monnier+emacs@HIDDEN>
References: <m2a517a1u1.fsf@HIDDEN> <m27bwba0rm.fsf@HIDDEN>
<87o6pn88f5.fsf@HIDDEN> <m2ldkrnjzt.fsf@HIDDEN>
<jwvwm4ac2es.fsf-monnier+emacs@HIDDEN> <m2cy62ooh4.fsf@HIDDEN>
Date: Fri, 31 Oct 2025 16:25:17 -0400
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results: 0
ALL_TRUSTED -1 Passed through trusted hosts only via SMTP
AWL -0.005 Adjusted score from AWL reputation of From: address
BAYES_00 -1.9 Bayes spam probability is 0 to 1%
DKIM_SIGNED 0.1 Message has a DKIM or DK signature,
not necessarily valid
DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
domain
DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
domain
X-SPAM-LEVEL:
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> It shouldn't. Thing is that Pip modified the weak hash tables in
> feature/igc and it's not 100% working as before yet, here when compiling
> cl-generic.el. And for me cl-generic + weak tables => caution, and
> maybe a hint. Or not, of course.
Try and make that table not-weak, just to see if the problem
is elsewhere?
Stefan
X-Loop: help-debbugs@HIDDEN
Subject: bug#79736: 31.0.50; igc: build failure with checking enabled
Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 31 Oct 2025 20:54:02 +0000
Resent-Message-ID: <handler.79736.D79736.176194402618715 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Stefan Monnier <monnier@HIDDEN>
Cc: 79736-done <at> debbugs.gnu.org, Pip Cet <pipcet@HIDDEN>, Helmut Eller <eller.helmut@HIDDEN>
Received: via spool by 79736-done <at> debbugs.gnu.org id=D79736.176194402618715
(code D ref 79736); Fri, 31 Oct 2025 20:54:02 +0000
Received: (at 79736-done) by debbugs.gnu.org; 31 Oct 2025 20:53:46 +0000
Received: from localhost ([127.0.0.1]:44904 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vEw81-0004rn-Gj
for submit <at> debbugs.gnu.org; Fri, 31 Oct 2025 16:53:45 -0400
Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:50599)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>)
id 1vEw7w-0004rf-Lh
for 79736-done <at> debbugs.gnu.org; Fri, 31 Oct 2025 16:53:42 -0400
Received: by mail-wm1-x32c.google.com with SMTP id
5b1f17b1804b1-47117f92e32so23240615e9.1
for <79736-done <at> debbugs.gnu.org>; Fri, 31 Oct 2025 13:53:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1761944013; x=1762548813; darn=debbugs.gnu.org;
h=mime-version:user-agent:message-id:date:references:in-reply-to
:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
bh=5aMym253QFF7NQw5tqJZV4YsHAOyqbckfVb5y4i4LmI=;
b=eyv3tbhFyec8X5+MMw4dOhy1fMZATp01qvxEchmYX0+hTz9w+9xEUOVaEdIV0vwkuZ
8dp65tHQCuL2WPNa4FtF5onP/I59324qDjNu1etMmP/Puw8F1CVmqJca55fVHYBxL/Ql
we0183PP7eO+9k9gZXvKcLT8FlGUxDwv4oeRJq4ej5INz7FEGBKTHAkNhFSoAmh4DVr6
bWMYSgIEfphhzN3YtVeD/fN3dRV8XazXVZGuIJV3SaYxU+Xw4YCvjsnilHmQm06dG4iP
o0SvVPL4wLc2jby36S2HTzXYJAdx/AyilponaiVSOnCqU5266PmioDY9zL9fE/I0TFWn
TBkA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1761944013; x=1762548813;
h=mime-version:user-agent:message-id:date:references:in-reply-to
:subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to;
bh=5aMym253QFF7NQw5tqJZV4YsHAOyqbckfVb5y4i4LmI=;
b=G9QEUKDrBzc/8eTFJui+Xb6upmQ+WtrHsaXktmEb3oUiMCBdrfFpdMRANdXwr/Pff+
rN5FA0DeDUaBS+vP22u6VqOsufTUqIwyAVU+6mQ2wNNVQAe6iDMwUzktBd0mMZKWFt1L
/hM9P1Y9NMiqcjYAILWJxI3UE8EZjBc2fAUVDuVjIeybWpnrZvRXiebTIxtsv2VUraRc
fMdT5pwW1EGlHNwHKHIArKOfZwoxjzZsOuz94qRTan5/5cjRWAJP3kD+swMZ//nPFqK0
YH0PYY1VebtrrINQHSadim0l7DV1e5St51TklES4Sa5ZUIt0zkj9E5MejZgwUbv+n/uX
0c6w==
X-Forwarded-Encrypted: i=1;
AJvYcCWrNENVkotM4WHrCdVJ4jM0azMjlXyrHTfJ8NDDIpxtC6DQL4BJZSgZrj1LHlLFKMjn6luAVUadC+JX <at> debbugs.gnu.org
X-Gm-Message-State: AOJu0Yww6ChgBBDcCTrU8l4qLsuDXaSqt6l/EXZ17K/EC0+ACsrS8man
QF9mBXUAXap7usM4Nn7uPJZRr1646uh0eBNoHOWWZ2Elw7kk2aB1hlQi
X-Gm-Gg: ASbGncsYGL1OXRl9iPWJ3gHn6PuZh8h0NUA8oRNGX6Mt4duukFyGyURw9qElznzlcEn
0i+tGZwdkGHVjqVsUhx+5QCaiVimWAO94A3IqLnKw/Jd5YifJQclo7PgIeBNt1ZSdsFbO4bJ5ll
Y0J2IWEKmkBnhGIKch1mkV8+OsoBHHZJ+YmupOvRhIzHPPoxx6uonBwVlxutPsb6Y1DfT/wBZ65
SOiuaZv+vldKDUjBlbFiiKdLIf5ohpQLWO/lz1/+p6MSU47xAFCSbswc85twC3Fsr6/yadSEvWR
iMIxA3DHn5aDXOMR7/x9iHp+IjBSVE8OKM9kfs/Kzj7CEAhXQqpkPpvwO4Zd3xbH0ky27iIPON3
NzltAqEoAI8fGl4t0jUY6qbIuw2pdYA6G7Fq7TV1sGc0f++svZHYJyN7kYagD5J7mEHcoHHiCI/
AU2RlxAa+Rrx1GWnYBhTc2c6gHktuIKd29u5n09qNMwa4+BF+GQSyoanbwgQpeAnl/GmzFMw2Wy
iBnoITL6os9
X-Google-Smtp-Source: AGHT+IFPq61tio2Q8qQFGVDX0ACqlWr9rw1rbnBp4qFM/4pNVSV2hzhhVxpvGdQQeFeBHvcLY1Lb+g==
X-Received: by 2002:a05:600c:a345:b0:45d:dc85:c009 with SMTP id
5b1f17b1804b1-477307c3595mr30508965e9.10.1761944013104;
Fri, 31 Oct 2025 13:53:33 -0700 (PDT)
Received: from pro4 (p200300e0b738df00b42a37bac059b60a.dip0.t-ipconnect.de.
[2003:e0:b738:df00:b42a:37ba:c059:b60a])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-4773c5647e1sm12975275e9.15.2025.10.31.13.53.32
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 31 Oct 2025 13:53:32 -0700 (PDT)
From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
In-Reply-To: <jwv4irebz0c.fsf-monnier+emacs@HIDDEN>
References: <m2a517a1u1.fsf@HIDDEN> <m27bwba0rm.fsf@HIDDEN>
<87o6pn88f5.fsf@HIDDEN> <m2ldkrnjzt.fsf@HIDDEN>
<jwvwm4ac2es.fsf-monnier+emacs@HIDDEN> <m2cy62ooh4.fsf@HIDDEN>
<jwv4irebz0c.fsf-monnier+emacs@HIDDEN>
Date: Fri, 31 Oct 2025 21:53:31 +0100
Message-ID: <m28qgqoks4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Stefan Monnier <monnier@HIDDEN> writes:
>> It shouldn't. Thing is that Pip modified the weak hash tables in
>> feature/igc and it's not 100% working as before yet, here when compiling
>> cl-generic.el. And for me cl-generic + weak tables => caution, and
>> maybe a hint. Or not, of course.
>
> Try and make that table not-weak, just to see if the problem
> is elsewhere?
No luck, I'm afraid. With this:
modified lisp/emacs-lisp/cl-generic.el
@@ -780,7 +780,7 @@ cl--generic-make-next-function
(funcall dispatcher generic dispatches methods)))))
(defvar cl--generic-combined-method-memoization
- (make-hash-table :test #'equal :weakness 'value)
+ (make-hash-table :test #'equal)
"Table storing previously built combined-methods.
This is particularly useful when many different tags select the same set
of methods, since this table then allows us to share a single combined-method
Same error:
ELC+ELN ../lisp/emacs-lisp/cl-generic.elc
./lisp.h:1672: Emacs fatal error: assertion failed: STRINGP (a)
Backtrace:
0 bootstrap-emacs 0x000000010057b514 emacs_backtrace + 180
1 bootstrap-emacs 0x000000010085010c terminate_due_to_signal + 352
2 bootstrap-emacs 0x0000000100850964 string_overflow + 0
3 bootstrap-emacs 0x0000000100685bdc XSTRING + 80
4 bootstrap-emacs 0x0000000100685ae4 SBYTES + 24
X-Loop: help-debbugs@HIDDEN
Subject: bug#79736: 31.0.50; igc: build failure with checking enabled
Resent-From: Pip Cet <pipcet@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 01 Nov 2025 06:55:02 +0000
Resent-Message-ID: <handler.79736.D79736.176198006628382 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
Cc: 79736-done <at> debbugs.gnu.org, Helmut Eller <eller.helmut@HIDDEN>, Stefan Monnier <monnier@HIDDEN>
Received: via spool by 79736-done <at> debbugs.gnu.org id=D79736.176198006628382
(code D ref 79736); Sat, 01 Nov 2025 06:55:02 +0000
Received: (at 79736-done) by debbugs.gnu.org; 1 Nov 2025 06:54:26 +0000
Received: from localhost ([127.0.0.1]:49078 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vF5VK-0007Ni-5q
for submit <at> debbugs.gnu.org; Sat, 01 Nov 2025 02:54:26 -0400
Received: from mail-4322.protonmail.ch ([185.70.43.22]:51499)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <pipcet@HIDDEN>)
id 1vF5VH-0007NS-72
for 79736-done <at> debbugs.gnu.org; Sat, 01 Nov 2025 02:54:24 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
s=protonmail3; t=1761980056; x=1762239256;
bh=mJ22FHIg/Fmeh7o/CLtJKSCV2OMoU6dk9wiIiZOX4f4=;
h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References:
Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID:
Message-ID:BIMI-Selector;
b=bPY8HfAqSyTmtiSVz5YC517NwpyvLq1eftBeQH+DaFtxBklfWErO/VPQFkPu1ft3e
eFaaFHgH+u8NTHLwEgPDhoLFkAcRYwyULlo9HPUVeyhet8Ene+6v9a4K3EwWkT0OiK
LIfYEdmhuIzTl+txJp8ake0K19sRfVTImXuyEZkUk2NfxxsK1bDn7OZI7qwS5pjLTs
VGjFyT9tUnz3L5e0AMwNpJsriMaFVUNqxLyawl1dd+5Wdur3WvC/Bc5bTCqQaqoMAg
xPWz0ewliomlWRQrgRSlR/+XNCWtUsbG52fOUvF7l9c0KdmSyBCb/oqdAbxs6KoOGI
KQPvC4c296AoA==
Date: Sat, 01 Nov 2025 06:54:11 +0000
From: Pip Cet <pipcet@HIDDEN>
Message-ID: <871pmi8ct9.fsf@HIDDEN>
In-Reply-To: <m2cy62ooh4.fsf@HIDDEN>
References: <m2a517a1u1.fsf@HIDDEN> <m27bwba0rm.fsf@HIDDEN>
<87o6pn88f5.fsf@HIDDEN> <m2ldkrnjzt.fsf@HIDDEN>
<jwvwm4ac2es.fsf-monnier+emacs@HIDDEN> <m2cy62ooh4.fsf@HIDDEN>
Feedback-ID: 112775352:user:proton
X-Pm-Message-ID: 13d7a786cb3f74a88d080250efee0de76d5b9440
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> writes:
> Stefan Monnier <monnier@HIDDEN> writes:
>
>>> Thanks! The original problem is fixed by that, but the same
>>> config/build now aborts when building cl-generic.el. IIRC generic
>>> functions use a weak table in a "weird" way that surprised me a long
>>> time ago. Don't remember details anymore, though. Stef should be
>>> able to help, I think (in CC).
>>
>> Hmm... not sure how I can help or what's weird about it: the only
>> relevant table I can see is `cl--generic-combined-method-memoization`
>> which is an `equal` hash table whose keys are strong but values
>> are weak.
>>
>> Maybe the weird part is that the values are weak?
>>
>> The only other odd aspect is that the keys gets mutated in-place, so
>> it's somewhat common to have keys that are "mis-placed" in the
>> hash-table because their hash has changed (via mutation) since the entry
>> was added.
>
> Ah, that was it, the modified keys! Thanks!
TBH, I'm not sure that it should affect us when all we do is compile
cl-generic.el. I've been trying to exercise the weak hash table code,
and I did see a crash, but it wasn't reproducible and I didn't have core
dumps enabled. I looked up the addresses in the Emacs binary and it
seems to be the AWL scanning code, so likely my fault :-)
But you are right that there are weird weak hash tables, such as
weak-key tables with test equal. I was tempted to change behavior for
those, because I think that (progn (puthash x y ht) (gethash x ht))
should always return y, but since they're used quite a bit I didn't want
to make that incompatible change.
>> Can't see how that could make the C code crash.
>
> It shouldn't. Thing is that Pip modified the weak hash tables in
> feature/igc and it's not 100% working as before yet, here when compiling
> cl-generic.el. And for me cl-generic + weak tables =3D> caution, and
> maybe a hint. Or not, of course.
Thank you! As I said, I did see a crash in the AWL code, and both that
crash and your crash could conceivably be explained by my changes.
My main suspect is the no-interior-pointers-in-AWL thing. It's actually
worse than that: ambiguous interior pointers to AWL objects are allowed,
but they don't keep their objects alive. They do keep them fixed, I
think, if they're otherwise reachable, but only if they're aligned
properly. I don't fully understand it.
How reproducible is this? As I said, I've only seen a single crash here,
and that was when stress-testing the code and possibly caused by the
changes to increase GC load.
I have two suspects:
1. the resizing code. Maybe our "strong" pointer gets turned into an
interior pointer and we access unfixed data somehow?
2. Ouch! When we call fix_lisp_obj on a HASH_UNUSED_ENTRY_KEY, it looks
like we might sometimes turn the object into Qnil (if MPS_FIX1 gives us
a "false" positive). That would result in a new key=3DQnil, value=3DQnil
entry appearing in the hash table.
(2) couldn't happen with the old code, but it can with the current
code. I think I'll fix it and we can see whether the bug goes away...
Pip
X-Loop: help-debbugs@HIDDEN
Subject: bug#79736: 31.0.50; igc: build failure with checking enabled
Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 01 Nov 2025 07:47:02 +0000
Resent-Message-ID: <handler.79736.D79736.17619832107993 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Pip Cet <pipcet@HIDDEN>
Cc: 79736-done <at> debbugs.gnu.org, Helmut Eller <eller.helmut@HIDDEN>, Stefan Monnier <monnier@HIDDEN>
Received: via spool by 79736-done <at> debbugs.gnu.org id=D79736.17619832107993
(code D ref 79736); Sat, 01 Nov 2025 07:47:02 +0000
Received: (at 79736-done) by debbugs.gnu.org; 1 Nov 2025 07:46:50 +0000
Received: from localhost ([127.0.0.1]:49443 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vF6K1-00024n-R0
for submit <at> debbugs.gnu.org; Sat, 01 Nov 2025 03:46:50 -0400
Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:54444)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>)
id 1vF6Jz-00024R-KT
for 79736-done <at> debbugs.gnu.org; Sat, 01 Nov 2025 03:46:48 -0400
Received: by mail-wr1-x42b.google.com with SMTP id
ffacd0b85a97d-429bccca1e8so1129066f8f.0
for <79736-done <at> debbugs.gnu.org>; Sat, 01 Nov 2025 00:46:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1761983200; x=1762588000; darn=debbugs.gnu.org;
h=mime-version:user-agent:message-id:date:references:in-reply-to
:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
bh=bdPBYtUqydYiAu8trzf4o+a7cPsq7y24dLwPJNyiJmc=;
b=Fs6YceieT3ZEQD9BrAYMKVmHRQciPPjZQs0vPjnLeLy8BP0u8BUNPSxot3W75YPDlI
2YvKbDob1zJRaCZLbRj6tG/eChfDiR1pm6tnw2sTFTqDzPrv/l2fs894ji8lGeBjaetF
0X+egMK4Wk+Zr8NNhdJnnhtxMDxAJLh5CMsVdElrCXohzxjiK5ER8BoknmJu0ZzuTs1u
cXp3AjVxyRiMrGV7sKvKUKV9mRLSqYaCZau87/UYt6XEOw5kba/Jm/qqT8evYepKW3V8
tQN6Wmhnp/eGRras2143ohAgp4X4rzoKlqVXvIbqRL3kav2fRoCeMj351BZBKRlD0+lF
yPFQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1761983200; x=1762588000;
h=mime-version:user-agent:message-id:date:references:in-reply-to
:subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to;
bh=bdPBYtUqydYiAu8trzf4o+a7cPsq7y24dLwPJNyiJmc=;
b=wCbVvUFd4zrHg4AabEM/fclHIsXEWYyhunlq1NQCEYiDuowG9FKwWUWqN4Ev2sVSCe
ZE183U5fldU3IiMpmZw0Sw981z7z3khQtIk1SClbJfUY2qXGelcxfqVwRQz5xx8UsvR1
ZdkiF3s4BIk/wmMt747kF3i3VCrz971uj8VCuoHro+CukzyfmJ3DHaFGww9pzZLQEojK
306NVxRL59+OR4A7CRnXHYRXY5Bu/HXSoRWXtt8CCP95tyGEk8yf8+fo7HiK6thtbAzh
TPeCXE0I7t83s3aFwOjf+bAWTZl6l/bycr8lS7e3rOrRvsVv/SYwOjG9MdRfbkqPlXH8
qewA==
X-Forwarded-Encrypted: i=1;
AJvYcCVXSkAS9TtyP/75+FJFYKmRsTN8JrtndmvZwXuy7yQPDC2UIMOILdPB9X4EEmVTrpyZdXt2/8GX52Ju <at> debbugs.gnu.org
X-Gm-Message-State: AOJu0Yxq4fZpDmFANd0N3G5PIM5TgRwKAR5STzbX/d2VraTkHEe7uLtp
xuWrYS03CRjCxwpsJJ18ApvXagIfHSmWs1WGODuji3rp4tLR8eEY/Jlq
X-Gm-Gg: ASbGncs47DT/IA4Ub7st622/YUyol4QTNhHLRYneLU2QL8eh0fIqIOSgkooCHNDU+kv
iBIEMYPXs3Ma1Mwv2XqA+LqcJUbe9e1OKLsIgE8Vk3/91AA6B4B2ySJwVb2EUGw9r5ftSHeJDCS
mdQYfm5ozwxW3pvbaD5wxkOF+LdFsb3aO5w2i9cpBeDUMuyMgwktkkr0Jtfv65Y5k7uaZSGX6UC
QuQUBWjRbm+YJAETc5L2yCuAIzQsXjP6qBP3b0FG/fSn5CkyRMYisj38hb1hhh26yULcAjcFS4z
kBjLjIfFehUpV9w+kVRWEq8d5DnZyUMyr+8UwxfM3JHWaNxACYZmg+Hx6afrbiN2YCAQiA3cc60
LtvVd3TEgjy5JmyBS38A4zrhqzBdSYMTdanMwm4PIq0Woefrk+Hh7hvM13CtCSBQ89egliDdaOY
iLa6/E9A0zKhR4drNWUv3CZm2ZEXiAhf74i2HcgVM6QVff1QyuQpUlZ4LasBuLfeI1Tc15VISvH
1zvMZ/XM7k=
X-Google-Smtp-Source: AGHT+IHepTDXKLKVZCTKRki3Y5AXuX30Q5oBQcPs0SbOFRxFU9xZHKpLDYBEj5axBzQ2BWCuIvBztg==
X-Received: by 2002:a05:6000:2088:b0:425:769e:515a with SMTP id
ffacd0b85a97d-429bd6a795bmr5132274f8f.42.1761983200218;
Sat, 01 Nov 2025 00:46:40 -0700 (PDT)
Received: from pro4 (p200300e0b73e8600088e7df2e5f18ee7.dip0.t-ipconnect.de.
[2003:e0:b73e:8600:88e:7df2:e5f1:8ee7])
by smtp.gmail.com with ESMTPSA id
ffacd0b85a97d-429c85ad08esm1812942f8f.19.2025.11.01.00.46.39
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sat, 01 Nov 2025 00:46:39 -0700 (PDT)
From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
In-Reply-To: <871pmi8ct9.fsf@HIDDEN>
References: <m2a517a1u1.fsf@HIDDEN> <m27bwba0rm.fsf@HIDDEN>
<87o6pn88f5.fsf@HIDDEN> <m2ldkrnjzt.fsf@HIDDEN>
<jwvwm4ac2es.fsf-monnier+emacs@HIDDEN> <m2cy62ooh4.fsf@HIDDEN>
<871pmi8ct9.fsf@HIDDEN>
Date: Sat, 01 Nov 2025 08:46:38 +0100
Message-ID: <m2wm4ambz5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Pip Cet <pipcet@HIDDEN> writes:
> But you are right that there are weird weak hash tables, such as
> weak-key tables with test equal. I was tempted to change behavior for
> those, because I think that (progn (puthash x y ht) (gethash x ht))
> should always return y, but since they're used quite a bit I didn't want
> to make that incompatible change.
Yeah.
>
>>> Can't see how that could make the C code crash.
>>
>> It shouldn't. Thing is that Pip modified the weak hash tables in
>> feature/igc and it's not 100% working as before yet, here when compiling
>> cl-generic.el. And for me cl-generic + weak tables => caution, and
>> maybe a hint. Or not, of course.
>
> Thank you! As I said, I did see a crash in the AWL code, and both that
> crash and your crash could conceivably be explained by my changes.
>
> My main suspect is the no-interior-pointers-in-AWL thing. It's actually
> worse than that: ambiguous interior pointers to AWL objects are allowed,
> but they don't keep their objects alive. They do keep them fixed, I
> think, if they're otherwise reachable, but only if they're aligned
> properly. I don't fully understand it.
>
> How reproducible is this? As I said, I've only seen a single crash here,
> and that was when stress-testing the code and possibly caused by the
> changes to increase GC load.
>
> I have two suspects:
>
> 1. the resizing code. Maybe our "strong" pointer gets turned into an
> interior pointer and we access unfixed data somehow?
>
> 2. Ouch! When we call fix_lisp_obj on a HASH_UNUSED_ENTRY_KEY, it looks
> like we might sometimes turn the object into Qnil (if MPS_FIX1 gives us
> a "false" positive). That would result in a new key=Qnil, value=Qnil
> entry appearing in the hash table.
>
> (2) couldn't happen with the old code, but it can with the current
> code. I think I'll fix it and we can see whether the bug goes away...
>
I think I also have something. I tried various build configurations,
branches (master, feature/igc), and commits in feature/igc today. Always
with --enable-checking=yes,igc_debug. And I found that
- I see problems only --with-native-compilation
- No problems in master
- Problems also with older commits in feature/igc, back to d576b11eeaa
- Problems vary: eassert, igc_assert, segv, bus error...
In the end, I had a strong feeling that something is wrong with native
compilation, and I tried with
modified lisp/emacs-lisp/comp.el
@@ -55,7 +55,7 @@ comp
"Emacs Lisp native compiler."
:group 'lisp)
-(defcustom native-comp-speed 2
+(defcustom native-comp-speed 0
"Optimization level for native compilation, a number between -1 and 3.
-1 functions are kept in bytecode form and no native compilation is performed
(but *.eln files are still produced, and include the compiled code in
And guess what - it builds. That was half an hour ago, and I have to
repeat that a few times to be sure, but anyway.
My libgccjit is 15.2.0 BTW. Arm64 on macOS Tahoe.
I'm taking a break now. Hopefully that's not a problem like with GCC 14
againk :-(.
Are you on Intel? Could you perhaps try with native compilation +
assertions?
X-Loop: help-debbugs@HIDDEN
Subject: bug#79736: 31.0.50; igc: build failure with checking enabled
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 01 Nov 2025 09:41:02 +0000
Resent-Message-ID: <handler.79736.B79736.176199002730954 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>, Andrea Corallo <acorallo@HIDDEN>
Cc: pipcet@HIDDEN, eller.helmut@HIDDEN, monnier@HIDDEN, 79736 <at> debbugs.gnu.org
Received: via spool by 79736-submit <at> debbugs.gnu.org id=B79736.176199002730954
(code B ref 79736); Sat, 01 Nov 2025 09:41:02 +0000
Received: (at 79736) by debbugs.gnu.org; 1 Nov 2025 09:40:27 +0000
Received: from localhost ([127.0.0.1]:50055 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vF85y-00083C-KG
for submit <at> debbugs.gnu.org; Sat, 01 Nov 2025 05:40:26 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:32848)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1vF85v-00082L-Fp
for 79736 <at> debbugs.gnu.org; Sat, 01 Nov 2025 05:40:24 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1vF85p-0007Ok-Nn; Sat, 01 Nov 2025 05:40:17 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
Date; bh=rVupPMx3CQ/D0ZTufz4YmnQ9skSDW/mrJsv0OnaXl84=; b=MJYby7kjeqlfN0GY+dpH
GLPDRb/DsPHamUqraDdSlPREyK2k4NLKGlJs+sebEypDHO/Dlqxq+4auegR0p/KAPxQAsr5rafIGm
5qC46mH6NsvWcOV0rwytL6rNejvIqzNzDLcxxLeUkxpNYq578Y49Ih+AkM+NbAkKJqtw8ZCVR5mGE
vcZdm37rLdoZ9NuWr1pfRTuMuvzDZzeW6nA8at8EHHdA9tENlbmy97KKiGNJ8Z2lPd48Al3M9exx6
DREqeh+zjXqV40gxpRGzURuTokpl8NYuhTsgr63Y4U22T/wjEqh0O6+XCmXUaAFrw6uzsrZMXME9y
dBlsYjPJZCaA1g==;
Date: Sat, 01 Nov 2025 11:40:12 +0200
Message-Id: <86y0oqhz0j.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <m2wm4ambz5.fsf@HIDDEN> (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Sat, 01 Nov 2025 08:46:38 +0100)
References: <m2a517a1u1.fsf@HIDDEN> <m27bwba0rm.fsf@HIDDEN>
<87o6pn88f5.fsf@HIDDEN> <m2ldkrnjzt.fsf@HIDDEN>
<jwvwm4ac2es.fsf-monnier+emacs@HIDDEN> <m2cy62ooh4.fsf@HIDDEN>
<871pmi8ct9.fsf@HIDDEN> <m2wm4ambz5.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> Cc: 79736-done <at> debbugs.gnu.org, Helmut Eller <eller.helmut@HIDDEN>,
> Stefan Monnier <monnier@HIDDEN>
> From: Gerd Möllmann <gerd.moellmann@HIDDEN>
> Date: Sat, 01 Nov 2025 08:46:38 +0100
>
> I think I also have something. I tried various build configurations,
> branches (master, feature/igc), and commits in feature/igc today. Always
> with --enable-checking=yes,igc_debug. And I found that
>
> - I see problems only --with-native-compilation
> - No problems in master
> - Problems also with older commits in feature/igc, back to d576b11eeaa
> - Problems vary: eassert, igc_assert, segv, bus error...
>
> In the end, I had a strong feeling that something is wrong with native
> compilation, and I tried with
>
> modified lisp/emacs-lisp/comp.el
> @@ -55,7 +55,7 @@ comp
> "Emacs Lisp native compiler."
> :group 'lisp)
>
> -(defcustom native-comp-speed 2
> +(defcustom native-comp-speed 0
> "Optimization level for native compilation, a number between -1 and 3.
> -1 functions are kept in bytecode form and no native compilation is performed
> (but *.eln files are still produced, and include the compiled code in
>
> And guess what - it builds. That was half an hour ago, and I have to
> repeat that a few times to be sure, but anyway.
>
> My libgccjit is 15.2.0 BTW. Arm64 on macOS Tahoe.
Can you follow the procedure described in etc/DEBUG under "Debugging
problems with native-compiled Lisp", including (if needed) creating
the reproducer, and post that file?
X-Loop: help-debbugs@HIDDEN
Subject: bug#79736: 31.0.50; igc: build failure with checking enabled
Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 01 Nov 2025 10:18:02 +0000
Resent-Message-ID: <handler.79736.D79736.17619922445778 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Pip Cet <pipcet@HIDDEN>
Cc: 79736-done <at> debbugs.gnu.org, Helmut Eller <eller.helmut@HIDDEN>, Stefan Monnier <monnier@HIDDEN>
Received: via spool by 79736-done <at> debbugs.gnu.org id=D79736.17619922445778
(code D ref 79736); Sat, 01 Nov 2025 10:18:02 +0000
Received: (at 79736-done) by debbugs.gnu.org; 1 Nov 2025 10:17:24 +0000
Received: from localhost ([127.0.0.1]:50155 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vF8fj-0001V8-Aj
for submit <at> debbugs.gnu.org; Sat, 01 Nov 2025 06:17:23 -0400
Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:50566)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>)
id 1vF8ff-0001V2-Aj
for 79736-done <at> debbugs.gnu.org; Sat, 01 Nov 2025 06:17:20 -0400
Received: by mail-wr1-x433.google.com with SMTP id
ffacd0b85a97d-429c82bf86bso268923f8f.1
for <79736-done <at> debbugs.gnu.org>; Sat, 01 Nov 2025 03:17:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1761992232; x=1762597032; darn=debbugs.gnu.org;
h=content-transfer-encoding:mime-version:user-agent:message-id:date
:references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to;
bh=BLf9Wc3lUiDr5HwbJLlT0MpFHOWVk6HDlVLnKVMfhxs=;
b=G+e+vohI6EFxYi72ItSaHksCELv1cSlNBDjGuiBoTadeNXwV+SBFm+8FsTeMpZteW4
j0agoK10TlL2hge/sDv4ThjwtfpwwaCqpPRBWig6FyVwxOtKZTk6Vr9NEcU9UxvbmaLn
HCuvkA0oPktKj51eFy7Sdp9MGuJ7oPNmQI2JTtm3oDU84nhlpdbpy1sAEjSU9dFA3/8d
RN6ZHsFRHrnPHksGq4kmwMfwApChp7/DIdfaEQXIsI30Y5voEc/7Pbnld+Nq/Oou2SeL
61dVvHDUZpsSWPjM3eSH1uxJI5WpRkCudN9NgKmPvty85lxmw6ALU23NWOMYzuKfKSC2
jgQg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1761992232; x=1762597032;
h=content-transfer-encoding:mime-version:user-agent:message-id:date
:references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to;
bh=BLf9Wc3lUiDr5HwbJLlT0MpFHOWVk6HDlVLnKVMfhxs=;
b=GIv1Zf53i8CFjnFbI9BNT2G9afQrSp7YaDbXmrYTXh0GUBB+A54uKsh3j3emOz3uzA
tbt2QHUkHQD2EtTJ8RQpskHnsLtWMySqpqeCjWjAIpziXTafXYhGqP1VXKwOcvRp6djf
iPea2gkW4aXmN45PmB+Q6LIhCx/zXCCrV/nwBNronjLEnARnBmk6uKBGZVMQPSCoYW5H
jt3ceKdBrej4gt9quDnPu7oA6Jo2TmCyTyc5Tk1U5kKDW4lSk8Rlsxtmh203nijdP07j
eRbFey3GJLRbc1rzYbOB+rNOMaADtFlVYd9Wb1t/f5hLN7tSBdtnMfb05JhpcMZs7ztH
hloA==
X-Forwarded-Encrypted: i=1;
AJvYcCWGrQfjMoWLd3Z0v/vf3+Kk/hfVWmwdrkVV8wWdIkHrh25slt5KUCBS/Epa0oq0Fbb0N05JMRpDrW12 <at> debbugs.gnu.org
X-Gm-Message-State: AOJu0YxOCvpQ+lLMO+nHbrax678vusf5ogulHXKVU2xACM4IUmIkg+a2
0apeR4WPJpngvPouxBwoGv36G0CjsDWGD4NB3zIyNHIzP6CIg4jRhsLr
X-Gm-Gg: ASbGncthv0C7/Dkl1TqtPOYEsXseDScwVcgE8ktC5Gj5nOdJaYX30BFfQxU33qKst5a
8ZK/0dFJsuM693HYtS2zUodgXfGe5Rd7hvanIG627QVpGH4ShkTf6CTGfmoZpuGlxCttAMc71Po
Cnw6BnaG8fvfZM1iKn6bE9xNOxHq1u42XcOMNgeTqhnoHRzio8OEA62MTCZOgkIH91STZGhAYXy
VrA7seQDAI2ZIMLJiErasCpTVH39UHMTieHavNBNaP45Hw6mPaBMUMwF+EbzXULcJlgr6h1xzdm
bbRpadDqHU+JqCr6G8MOlfI/ebGIuH/WsNYHqKlr8i/lKOESJflDDgsXZFlQgkjd0k7o/hH6n9j
DdC9RsQYeuaHSfC2etU4OUHu/LfpUCLPBBg2VD4tzORBYQzZhcGHD71Qzp0XmnwR9Pui6hQR5JM
KJAX32r2O9LPxuDR83dChG1l9B3uWE0twYFTLU34p238/6EfW2XjkUW6tnFpCNHD6EYQ9i8SL/1
gA9X1WR17Hw
X-Google-Smtp-Source: AGHT+IEdOqhXEeVRsItN41L1zIsmFIYbqY9y6xoQx5vQWmE9x2McBBKTxXfad1ih825j4P+QPCx+Zg==
X-Received: by 2002:a05:6000:240a:b0:425:75ab:cce5 with SMTP id
ffacd0b85a97d-429bd688782mr6685990f8f.5.1761992232279;
Sat, 01 Nov 2025 03:17:12 -0700 (PDT)
Received: from pro4 (p200300e0b73e860034627e7122d7e37e.dip0.t-ipconnect.de.
[2003:e0:b73e:8600:3462:7e71:22d7:e37e])
by smtp.gmail.com with ESMTPSA id
ffacd0b85a97d-429c110037asm8865903f8f.3.2025.11.01.03.17.11
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sat, 01 Nov 2025 03:17:11 -0700 (PDT)
From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
In-Reply-To: <m2wm4ambz5.fsf@HIDDEN>
References: <m2a517a1u1.fsf@HIDDEN> <m27bwba0rm.fsf@HIDDEN>
<87o6pn88f5.fsf@HIDDEN> <m2ldkrnjzt.fsf@HIDDEN>
<jwvwm4ac2es.fsf-monnier+emacs@HIDDEN> <m2cy62ooh4.fsf@HIDDEN>
<871pmi8ct9.fsf@HIDDEN> <m2wm4ambz5.fsf@HIDDEN>
Date: Sat, 01 Nov 2025 11:17:10 +0100
Message-ID: <m25xbu5a6x.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> writes:
> Pip Cet <pipcet@HIDDEN> writes:
>
>> But you are right that there are weird weak hash tables, such as
>> weak-key tables with test equal. I was tempted to change behavior for
>> those, because I think that (progn (puthash x y ht) (gethash x ht))
>> should always return y, but since they're used quite a bit I didn't want
>> to make that incompatible change.
>
> Yeah.
>
>>
>>>> Can't see how that could make the C code crash.
>>>
>>> It shouldn't. Thing is that Pip modified the weak hash tables in
>>> feature/igc and it's not 100% working as before yet, here when compiling
>>> cl-generic.el. And for me cl-generic + weak tables =3D> caution, and
>>> maybe a hint. Or not, of course.
>>
>> Thank you! As I said, I did see a crash in the AWL code, and both that
>> crash and your crash could conceivably be explained by my changes.
>>
>> My main suspect is the no-interior-pointers-in-AWL thing. It's actually
>> worse than that: ambiguous interior pointers to AWL objects are allowed,
>> but they don't keep their objects alive. They do keep them fixed, I
>> think, if they're otherwise reachable, but only if they're aligned
>> properly. I don't fully understand it.
>>
>> How reproducible is this? As I said, I've only seen a single crash here,
>> and that was when stress-testing the code and possibly caused by the
>> changes to increase GC load.
>>
>> I have two suspects:
>>
>> 1. the resizing code. Maybe our "strong" pointer gets turned into an
>> interior pointer and we access unfixed data somehow?
>>
>> 2. Ouch! When we call fix_lisp_obj on a HASH_UNUSED_ENTRY_KEY, it looks
>> like we might sometimes turn the object into Qnil (if MPS_FIX1 gives us
>> a "false" positive). That would result in a new key=3DQnil, value=3DQnil
>> entry appearing in the hash table.
>>
>> (2) couldn't happen with the old code, but it can with the current
>> code. I think I'll fix it and we can see whether the bug goes away...
>>
>
> I think I also have something. I tried various build configurations,
> branches (master, feature/igc), and commits in feature/igc today. Always
> with --enable-checking=3Dyes,igc_debug. And I found that
>
> - I see problems only --with-native-compilation
> - No problems in master
> - Problems also with older commits in feature/igc, back to d576b11eeaa
> - Problems vary: eassert, igc_assert, segv, bus error...
>
> In the end, I had a strong feeling that something is wrong with native
> compilation, and I tried with
>
> modified lisp/emacs-lisp/comp.el
> @@ -55,7 +55,7 @@ comp
> "Emacs Lisp native compiler."
> :group 'lisp)
>=20=20
> -(defcustom native-comp-speed 2
> +(defcustom native-comp-speed 0
> "Optimization level for native compilation, a number between -1 and 3.
> -1 functions are kept in bytecode form and no native compilation is per=
formed
> (but *.eln files are still produced, and include the compiled code in
>
> And guess what - it builds. That was half an hour ago, and I have to
> repeat that a few times to be sure, but anyway.
>
> My libgccjit is 15.2.0 BTW. Arm64 on macOS Tahoe.
>
> I'm taking a break now. Hopefully that's not a problem like with GCC 14
> againk :-(.
>
> Are you on Intel? Could you perhaps try with native compilation +
> assertions?=20
Break over:
I'm now reasonably sure it's something with a combination of libgccjit +
optimization level + something I don't understand concerning Lisp
objects in constants vectors in .elns.
I see problems only in feature/igc, native-comp-speed 0 works, >0 does
not. (Adding -fno-omit-frame-pointer to driver options has no effect.)
I see no problems in master or in cl-packages (=3D my Emacs) with
the default native-comp-speed 2.
None of the 3 branches has any problem when not native-compiling.
The difference between cl-packages and feature/igc concerning native
compilation is the following:
In feature/igc, Lisp constants used in native code are kept in a vector
in the data segment of the .eln. These vectors are exact roots, i.e. the
Lisp_Objects in the vector can move in memory.
In cl-packages, these vectors in the data segment don't exist. The data
segment contains a pointer to a Lisp vector in MPS memory instead, and
native code uses an additional indirection to access constants. The
vector itself is pinned in memory, the vector elements are not, so these
can also move in memory.
What the heck?
P.S.
I'm so far _very_ content with the additional indirection method in
cl-packages. I don't see noticeable differences in AOT build times, so
it can't be slow, and the resulting Emacs feels noticeably
"light-weight" while it feels "heavy" with the old method, probably
because of igc latency with additional 1.5 MB roots with my init file.
X-Loop: help-debbugs@HIDDEN
Subject: bug#79736: 31.0.50; igc: build failure with checking enabled
Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 01 Nov 2025 10:30:02 +0000
Resent-Message-ID: <handler.79736.B79736.17619929768027 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: pipcet@HIDDEN, Andrea Corallo <acorallo@HIDDEN>, eller.helmut@HIDDEN, monnier@HIDDEN, 79736 <at> debbugs.gnu.org
Received: via spool by 79736-submit <at> debbugs.gnu.org id=B79736.17619929768027
(code B ref 79736); Sat, 01 Nov 2025 10:30:02 +0000
Received: (at 79736) by debbugs.gnu.org; 1 Nov 2025 10:29:36 +0000
Received: from localhost ([127.0.0.1]:50180 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vF8rX-00025P-SU
for submit <at> debbugs.gnu.org; Sat, 01 Nov 2025 06:29:36 -0400
Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:42253)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>)
id 1vF8rU-00025F-2S
for 79736 <at> debbugs.gnu.org; Sat, 01 Nov 2025 06:29:33 -0400
Received: by mail-wm1-x32d.google.com with SMTP id
5b1f17b1804b1-47721293fd3so16999745e9.1
for <79736 <at> debbugs.gnu.org>; Sat, 01 Nov 2025 03:29:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1761992965; x=1762597765; darn=debbugs.gnu.org;
h=content-transfer-encoding:mime-version:user-agent:message-id:date
:references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to;
bh=8dhRvGidJ4RJcPeazuULKi0aypw1kbjZQjpmKQDdwRo=;
b=QXKCKW6FFCbZgKrL60+SPynCmAL8LdJauKw2qtKYgu+EJ6YBbbk8bGEc6avPDdNeHH
lncmepLQHJNoMajXe/q2CTxClZwz0RABkFeI+gFUwpL/hZFE2gCGjixfbsWtrIDFP3wG
C8M9dR6SKIWBdUC/K75mr9HwNR7o27H4jwSXKgG5zuJz8BIb6Uxd9IxTdwB0d+/c4iE2
RDuex33J+6SSEvf74j677qRy922W6TWjQyfPJhUa5Wi6By9jzfHW7VxtDIo7PML4QicF
TwovPPrn5d+7G4hKY9iUBjLVohg8e0RzpoWScV30nRPiz3FNwV1JIzdkdWkNjKDN1+Rq
wfHw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1761992965; x=1762597765;
h=content-transfer-encoding:mime-version:user-agent:message-id:date
:references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to;
bh=8dhRvGidJ4RJcPeazuULKi0aypw1kbjZQjpmKQDdwRo=;
b=Y7M5LRm/oMzk5j56ztI2cXG4nWd7eon9z/Fg2c+5Fjb2Xw3WTlsU+3SxEEJw4QB3om
2S8wEQZESK8RR1yZfBjTsbxxfr+DimzVON+hZ3F0unySF9tN5a7q0Fo5IwDegXOirJzt
Glc/XqEqHYoRUSTHwyPhB0YBPgzplWGXg2MRFN1IzqkLufG4vxbLq9u67/Nyet7+tZUr
drRdTOVR4h8Z0AhgPVNFy46vSWtBNTd5makWKHbJ0powtPD7QsDbrzb8hAdt8RZthbTL
NWuJpZfnBUXpJRCX+FAGbT/MKITNNfCOLs0U/aauBhzFB+8I5Lkaay/EFjD4pQpHcuLx
ozEQ==
X-Forwarded-Encrypted: i=1;
AJvYcCXx63HSq5wIKJ/U8srFe20rgqh5heNpbo0JVU1Se7k5YGYe/YHXWwBQwrseE1LqCQfSpgJyuQ==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YxIa9Y2E6IAWOESnWI+J2BLm0Ged0AfkaLFhrw38DrsE2gajq+x
o3LWCR4py5fni+tsEGiWJEIvq10a+ocJrhUp1Q4qyBkrO/s9ZfbzxEOQ
X-Gm-Gg: ASbGncu56uoWWitDHi+k1FVEaf4pg2qgivaApiNNlCBihLH6Ef/k0mS/dQD5NMM/TxE
5ChA34WOdJ/2w8Uxc9/BqlJ5r+H0zTMqO6+I9hElTOAY9y8olR9G9N2Ea59uexg070LxY1sGNKU
IiaZV9aiCKqBsRTecRBMjcydEy0PxsIp+m+G6WSsZklVT8B1z+Ite4FsWQHnjdddULyUVlwo5Nk
LoiMPxtdjsJIWnd/+6HJApDw3pCogdyp8R+rWPr2vSo79oUl4+CKrFOrq+ehsS3DmSic9fm/GFk
e/S4y6o/sTOl1RH3HEA3HzA9Blr/Nu7E0tZxaX5rOIJKC2kCTtiCWyFPEkjIbvci8hql6Kq2XEN
t75wBNS+bwnkzGAQXtiN/otj0AgKQPeCmcqKs1J0UpCDo1ae44jZJw/jgYLrhvoWhsU+4+VK8HL
UL+KIWLOlIxdrNZfJs1A5LIfCfL1uicy+7xzebyGmOTDXA5GATC3cNiS7PZzEuOeRFnyXkR2Xqz
mfgj/xZGOGD
X-Google-Smtp-Source: AGHT+IF+7SrQBuYDmnvBmObqRZ8i2B07OV3jV65uKaGoEnO1KjXjGC/3NR6blIX8OkqNW24CsJdw9w==
X-Received: by 2002:a05:600d:8396:b0:46e:6339:79c5 with SMTP id
5b1f17b1804b1-477346cf90bmr34221715e9.5.1761992965434;
Sat, 01 Nov 2025 03:29:25 -0700 (PDT)
Received: from pro4 (p200300e0b73e860034627e7122d7e37e.dip0.t-ipconnect.de.
[2003:e0:b73e:8600:3462:7e71:22d7:e37e])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-4773c383b75sm48406585e9.11.2025.11.01.03.29.24
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sat, 01 Nov 2025 03:29:24 -0700 (PDT)
From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
In-Reply-To: <86y0oqhz0j.fsf@HIDDEN>
References: <m2a517a1u1.fsf@HIDDEN> <m27bwba0rm.fsf@HIDDEN>
<87o6pn88f5.fsf@HIDDEN> <m2ldkrnjzt.fsf@HIDDEN>
<jwvwm4ac2es.fsf-monnier+emacs@HIDDEN> <m2cy62ooh4.fsf@HIDDEN>
<871pmi8ct9.fsf@HIDDEN> <m2wm4ambz5.fsf@HIDDEN>
<86y0oqhz0j.fsf@HIDDEN>
Date: Sat, 01 Nov 2025 11:29:23 +0100
Message-ID: <m21pmi59mk.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Eli Zaretskii <eliz@HIDDEN> writes:
>> Cc: 79736-done <at> debbugs.gnu.org, Helmut Eller <eller.helmut@HIDDEN>,
>> Stefan Monnier <monnier@HIDDEN>
>> From: Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN>
>> Date: Sat, 01 Nov 2025 08:46:38 +0100
>>=20
>> I think I also have something. I tried various build configurations,
>> branches (master, feature/igc), and commits in feature/igc today. Always
>> with --enable-checking=3Dyes,igc_debug. And I found that
>>=20
>> - I see problems only --with-native-compilation
>> - No problems in master
>> - Problems also with older commits in feature/igc, back to d576b11eeaa
>> - Problems vary: eassert, igc_assert, segv, bus error...
>>=20
>> In the end, I had a strong feeling that something is wrong with native
>> compilation, and I tried with
>>=20
>> modified lisp/emacs-lisp/comp.el
>> @@ -55,7 +55,7 @@ comp
>> "Emacs Lisp native compiler."
>> :group 'lisp)
>>=20=20
>> -(defcustom native-comp-speed 2
>> +(defcustom native.-comp-speed 0
>> "Optimization level for native compilation, a number between -1 and 3.
>> -1 functions are kept in bytecode form and no native compilation is pe=
rformed
>> (but *.eln files are still produced, and include the compiled code =
in
>>=20
>> And guess what - it builds. That was half an hour ago, and I have to
>> repeat that a few times to be sure, but anyway.
>>=20
>> My libgccjit is 15.2.0 BTW. Arm64 on macOS Tahoe.
>
> Can you follow the procedure described in etc/DEBUG under "Debugging
> problems with native-compiled Lisp", including (if needed) creating
> the reproducer, and post that file?
I'm afraid I don't even know how ATM. I've tried, at times of problems
with GCC 14, to produce assembly/C files with different settings, to
diff them, but that was totally impossible, for me at least.
X-Loop: help-debbugs@HIDDEN
Subject: bug#79736: 31.0.50; igc: build failure with checking enabled
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 01 Nov 2025 10:49:02 +0000
Resent-Message-ID: <handler.79736.B79736.176199409712216 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
Cc: pipcet@HIDDEN, acorallo@HIDDEN, eller.helmut@HIDDEN, monnier@HIDDEN, 79736 <at> debbugs.gnu.org
Received: via spool by 79736-submit <at> debbugs.gnu.org id=B79736.176199409712216
(code B ref 79736); Sat, 01 Nov 2025 10:49:02 +0000
Received: (at 79736) by debbugs.gnu.org; 1 Nov 2025 10:48:17 +0000
Received: from localhost ([127.0.0.1]:50241 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vF99c-0003Ay-W0
for submit <at> debbugs.gnu.org; Sat, 01 Nov 2025 06:48:17 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44054)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1vF99a-0003Ao-59
for 79736 <at> debbugs.gnu.org; Sat, 01 Nov 2025 06:48:15 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1vF99T-0001el-U9; Sat, 01 Nov 2025 06:48:07 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
Date; bh=ZpUepuRVuMUpL3Hx3rYM1L3913YUu4jS2aos2tZZZ8M=; b=SjUweGGSJtHsY41SCZ6l
5DUdtzTjY7DYcP9lopSOfWyXjikiZxdYYp3FQQ6OEL5ZItOruo6B9HVYTaC/kNH+0njn13soImF8A
1W8fLWNwTqADZ7vMk/kr0ladVaE7BYcFkMyIzxd8AqopidnoisGz8G8ppcwG9Ij8LYdiPW5j1Hl4f
uh1cYsRloo/cx3pCC+eZXopl2zuq85JQVsUmjZ5mrbzDcE/HxmyrgrUCQ9+wQ66dkv6ORJZvLI++B
+9pguuh7UeCT2Wv1hDm010RD2sbEilsk/rwJi3x+3pk9IE1ZF4HLKxsXV4e0t+GcdpadQVYikpASl
S+q2vcqjNEMnmw==;
Date: Sat, 01 Nov 2025 12:48:03 +0200
Message-Id: <86tszehvvg.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <m21pmi59mk.fsf@HIDDEN> (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Sat, 01 Nov 2025 11:29:23 +0100)
References: <m2a517a1u1.fsf@HIDDEN> <m27bwba0rm.fsf@HIDDEN>
<87o6pn88f5.fsf@HIDDEN> <m2ldkrnjzt.fsf@HIDDEN>
<jwvwm4ac2es.fsf-monnier+emacs@HIDDEN> <m2cy62ooh4.fsf@HIDDEN>
<871pmi8ct9.fsf@HIDDEN> <m2wm4ambz5.fsf@HIDDEN>
<86y0oqhz0j.fsf@HIDDEN> <m21pmi59mk.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Gerd Möllmann <gerd.moellmann@HIDDEN>
> Cc: Andrea Corallo <acorallo@HIDDEN>, pipcet@HIDDEN,
> 79736 <at> debbugs.gnu.org, eller.helmut@HIDDEN, monnier@HIDDEN
> Date: Sat, 01 Nov 2025 11:29:23 +0100
>
> Eli Zaretskii <eliz@HIDDEN> writes:
>
> >> My libgccjit is 15.2.0 BTW. Arm64 on macOS Tahoe.
> >
> > Can you follow the procedure described in etc/DEBUG under "Debugging
> > problems with native-compiled Lisp", including (if needed) creating
> > the reproducer, and post that file?
>
> I'm afraid I don't even know how ATM. I've tried, at times of problems
> with GCC 14, to produce assembly/C files with different settings, to
> diff them, but that was totally impossible, for me at least.
??? etc/DEBUG tells you how to produce the reproducer file, it's a
matter of setting a single Lisp variable.
X-Loop: help-debbugs@HIDDEN
Subject: bug#79736: 31.0.50; igc: build failure with checking enabled
Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 01 Nov 2025 10:58:01 +0000
Resent-Message-ID: <handler.79736.B79736.176199463014285 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: pipcet@HIDDEN, acorallo@HIDDEN, eller.helmut@HIDDEN, monnier@HIDDEN, 79736 <at> debbugs.gnu.org
Received: via spool by 79736-submit <at> debbugs.gnu.org id=B79736.176199463014285
(code B ref 79736); Sat, 01 Nov 2025 10:58:01 +0000
Received: (at 79736) by debbugs.gnu.org; 1 Nov 2025 10:57:10 +0000
Received: from localhost ([127.0.0.1]:50263 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vF9ID-0003iK-Gt
for submit <at> debbugs.gnu.org; Sat, 01 Nov 2025 06:57:09 -0400
Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:60632)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>)
id 1vF9IA-0003hh-WA
for 79736 <at> debbugs.gnu.org; Sat, 01 Nov 2025 06:57:07 -0400
Received: by mail-wm1-x32d.google.com with SMTP id
5b1f17b1804b1-4771b03267bso20348625e9.0
for <79736 <at> debbugs.gnu.org>; Sat, 01 Nov 2025 03:57:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1761994620; x=1762599420; darn=debbugs.gnu.org;
h=content-transfer-encoding:mime-version:user-agent:message-id:date
:references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to;
bh=z3xEE9eTA6J9jBRnZLjP6mjvEnyVkDVErH5lw2Ii72I=;
b=HccTRDkKqZ1QfkJ/Vqx8LOmzrgYpBADvETEskbD/lkBb+EqrbgAnKaFMEpUUUckHvy
gQIUgofQHYpTlP+cHbtYPwcOvpCNZWau+R21rW83waclde/apte7HuDQScm8uWiOqWKr
6APjom590b62BUOGnd2QQKyXf5BV2bUDyWkz6/t+EZ933K3BC5/AyQYCiV5fQvTq/uC+
Nx/xnYjgq69aPl7t2CbUMuQgfvu9nKmIhDH59ogxIxHyNjUwC1BBfVAlGgPYQhuhsutn
73dAZiv0SUkyUgN1F7pxMTawhjYQsnlQy2NkQlnw+rlfbW7zeVvkTI6yiRBfq77cgzuB
aRQw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1761994620; x=1762599420;
h=content-transfer-encoding:mime-version:user-agent:message-id:date
:references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to;
bh=z3xEE9eTA6J9jBRnZLjP6mjvEnyVkDVErH5lw2Ii72I=;
b=IwmkyUTMu3qOt5wsNGsu5/5r7l8CXjQDRZnJD5J0LESjloD+SnHtl89JTLDfbyEo2G
Uyn7RXEZE80Gm6JupOd/Z5E74z8FalUWpn9n7jJyswV+kwqWSLMFU2a6PKmCA6AynZlA
/N/ihXaBT5YvLab0exL/DWYaNDJ5KOZqiasdm4kV5jKvT45gMxhvbNd6fABENAhURWGU
eD7vK24Zz+VSi6r5Yjm/7lCgWgUyjKgF0qZIvOS71HFic6ehxCIvOC2Q5nWPimHGYUKJ
DY9JJQkKz4KBa2v5p2hAEzynLFSl8Blp7Df3SLbT9POnbcGDJ/e+w7j9sZojV7pe8Pju
p3rQ==
X-Forwarded-Encrypted: i=1;
AJvYcCWFTt/SfuN579I8aF2de5NG/StaFe/CWesv5JJ1RBS5rXxktxZXdjinHdgIXgVsR7dc4MCr+A==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YylK+S8Fb3r48gsAr4oDzhBB9PX2qaihKBUeKKXDG0g2GYtMjYn
gIVNcMZIZsNf9+j9vrdwN+pjVIEEN6PuaTCClcawgo0jveho4HdKLQrN
X-Gm-Gg: ASbGncsvBa99Z9ocoEvtTgr7Ae3CIwvvB+ltOEttRsahNQCHufb/wuG2T1HPwab70M4
j77tQJNPPcpdRMPJc2EkRF9LE08dhEwujzvW/4rSoK8ldoA6+hsF9uuPw4FocE1g/eilfFCQJQ5
3odqtfdNhCkKMi09MY3YflyhcFyUt9TOLN7qeB0N/3piSp1f4g2tggtj4xhbrz4yVukwcmP5+f4
BR3Hq6R3bU7/IfJxD9poT2cWuxwkQzB9/bAlhIDaoKC3CiHTr8MSdw5bheYVLOE4UjjYUg4QNUK
cvG/MsfWMlkDlfO5Czw73kZcn4Bt91hlMgJRNpqMmQrSQlXt0yF1h0p7RB5ZSMl7rhcdJyW0QUg
bivBnVWeLp8ul2yj1SIDLKXtzKdjGUdmUjiu+Ycq7oTJOmevgpAYVABqExFhdeo5Tb50eCP8qNJ
ir67KFQ+H1Olfnc5T1aMQNirVRU2upLSX9QLzf/fNO7vknu8PsCUvKJd4kpNlsTnAn9KfEhEbce
Ipq3IxtTFlH
X-Google-Smtp-Source: AGHT+IFp+lvVJ0UeIAUYDj9VPa1V07tnwG2+Qn+l+j7Z05kWtfxZC4iDnkK1HETfJL2DHUHDKzFDCA==
X-Received: by 2002:a05:600c:5307:b0:45b:9a46:69e9 with SMTP id
5b1f17b1804b1-47730890cd5mr68169735e9.31.1761994620240;
Sat, 01 Nov 2025 03:57:00 -0700 (PDT)
Received: from pro4 (p200300e0b73e860034627e7122d7e37e.dip0.t-ipconnect.de.
[2003:e0:b73e:8600:3462:7e71:22d7:e37e])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-4773c383ba6sm43053035e9.10.2025.11.01.03.56.59
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sat, 01 Nov 2025 03:56:59 -0700 (PDT)
From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
In-Reply-To: <86tszehvvg.fsf@HIDDEN>
References: <m2a517a1u1.fsf@HIDDEN> <m27bwba0rm.fsf@HIDDEN>
<87o6pn88f5.fsf@HIDDEN> <m2ldkrnjzt.fsf@HIDDEN>
<jwvwm4ac2es.fsf-monnier+emacs@HIDDEN> <m2cy62ooh4.fsf@HIDDEN>
<871pmi8ct9.fsf@HIDDEN> <m2wm4ambz5.fsf@HIDDEN>
<86y0oqhz0j.fsf@HIDDEN> <m21pmi59mk.fsf@HIDDEN>
<86tszehvvg.fsf@HIDDEN>
Date: Sat, 01 Nov 2025 11:56:58 +0100
Message-ID: <m2fray2f7p.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Eli Zaretskii <eliz@HIDDEN> writes:
>> From: Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN>
>> Cc: Andrea Corallo <acorallo@HIDDEN>, pipcet@HIDDEN,
>> 79736 <at> debbugs.gnu.org, eller.helmut@HIDDEN, monnier@HIDDEN=
.ca
>> Date: Sat, 01 Nov 2025 11:29:23 +0100
>>=20
>> Eli Zaretskii <eliz@HIDDEN> writes:
>>=20
>> >> My libgccjit is 15.2.0 BTW. Arm64 on macOS Tahoe.
>> >
>> > Can you follow the procedure described in etc/DEBUG under "Debugging
>> > problems with native-compiled Lisp", including (if needed) creating
>> > the reproducer, and post that file?
>>=20
>> I'm afraid I don't even know how ATM. I've tried, at times of problems
>> with GCC 14, to produce assembly/C files with different settings, to
>> diff them, but that was totally impossible, for me at least.
>
> ??? etc/DEBUG tells you how to produce the reproducer file, it's a
> matter of setting a single Lisp variable.
So you have an Emacs that doesn't build with speed 2. It get's an
eassert somewhere, let's say, with a long C backtrace. And now?
X-Loop: help-debbugs@HIDDEN
Subject: bug#79736: 31.0.50; igc: build failure with checking enabled
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 01 Nov 2025 11:26:01 +0000
Resent-Message-ID: <handler.79736.B79736.176199633419158 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
Cc: pipcet@HIDDEN, acorallo@HIDDEN, eller.helmut@HIDDEN, monnier@HIDDEN, 79736 <at> debbugs.gnu.org
Received: via spool by 79736-submit <at> debbugs.gnu.org id=B79736.176199633419158
(code B ref 79736); Sat, 01 Nov 2025 11:26:01 +0000
Received: (at 79736) by debbugs.gnu.org; 1 Nov 2025 11:25:34 +0000
Received: from localhost ([127.0.0.1]:50300 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vF9jh-0004yw-J0
for submit <at> debbugs.gnu.org; Sat, 01 Nov 2025 07:25:33 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52228)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1vF9jb-0004yk-RY
for 79736 <at> debbugs.gnu.org; Sat, 01 Nov 2025 07:25:30 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1vF9jW-0007pA-B6; Sat, 01 Nov 2025 07:25:22 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
Date; bh=/MVRtjulN/ssGHuq/T0PQ2cFKfu/RuRBgGLJeo2Rh9k=; b=fCcq6g0Jge7/vUEsM2MV
qNr0BwZCrXfaqg8fFhaUx/oHpLdruZHwkP/YWyk/xsSB/Ku0wcz7B1mD2PobwCYlxRb7GHT8fNZ27
gwPMemm7J0ipbRJO8BGKk2qUdtXU8U11UvM8fuQg2JHySBJt6qZIF2AZzx/pMoAfU8ZeSFoVjFmaU
rIv/5OlHnatjv4XvMCObJob7IOoWdYIQJjW65kQEVrxgEbJeqJypg/Rp+HO6c64Dj4RZv6GrsFMoy
0nE0sC0kYc+G4EnJUyn6AdTDF8qr9b+DWBlqTXGOeKjg3ylcz2RhbHrAp5qcNrXsOukYm3Q7YmEoi
wbqXzlRcvReURw==;
Date: Sat, 01 Nov 2025 13:24:36 +0200
Message-Id: <86seeyhu6j.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <m2fray2f7p.fsf@HIDDEN> (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Sat, 01 Nov 2025 11:56:58 +0100)
References: <m2a517a1u1.fsf@HIDDEN> <m27bwba0rm.fsf@HIDDEN>
<87o6pn88f5.fsf@HIDDEN> <m2ldkrnjzt.fsf@HIDDEN>
<jwvwm4ac2es.fsf-monnier+emacs@HIDDEN> <m2cy62ooh4.fsf@HIDDEN>
<871pmi8ct9.fsf@HIDDEN> <m2wm4ambz5.fsf@HIDDEN>
<86y0oqhz0j.fsf@HIDDEN> <m21pmi59mk.fsf@HIDDEN>
<86tszehvvg.fsf@HIDDEN> <m2fray2f7p.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Gerd Möllmann <gerd.moellmann@HIDDEN>
> Cc: acorallo@HIDDEN, pipcet@HIDDEN, 79736 <at> debbugs.gnu.org,
> eller.helmut@HIDDEN, monnier@HIDDEN
> Date: Sat, 01 Nov 2025 11:56:58 +0100
>
> Eli Zaretskii <eliz@HIDDEN> writes:
>
> >> From: Gerd Möllmann <gerd.moellmann@HIDDEN>
> >> Cc: Andrea Corallo <acorallo@HIDDEN>, pipcet@HIDDEN,
> >> 79736 <at> debbugs.gnu.org, eller.helmut@HIDDEN, monnier@HIDDEN
> >> Date: Sat, 01 Nov 2025 11:29:23 +0100
> >>
> >> Eli Zaretskii <eliz@HIDDEN> writes:
> >>
> >> >> My libgccjit is 15.2.0 BTW. Arm64 on macOS Tahoe.
> >> >
> >> > Can you follow the procedure described in etc/DEBUG under "Debugging
> >> > problems with native-compiled Lisp", including (if needed) creating
> >> > the reproducer, and post that file?
> >>
> >> I'm afraid I don't even know how ATM. I've tried, at times of problems
> >> with GCC 14, to produce assembly/C files with different settings, to
> >> diff them, but that was totally impossible, for me at least.
> >
> > ??? etc/DEBUG tells you how to produce the reproducer file, it's a
> > matter of setting a single Lisp variable.
>
> So you have an Emacs that doesn't build with speed 2. It get's an
> eassert somewhere, let's say, with a long C backtrace. And now?
Build it with speed zero, then do what etc/DEBUG says to reproduce the
problematic .eln file while generating the reproducer C file.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.