From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vibhav Pant Newsgroups: gmane.emacs.devel Subject: HEAD fails to build with --enable-checking=structs Date: Wed, 23 Nov 2022 22:09:56 +0530 Message-ID: <1125b2504a1ac9eccf44352a96837b3d96556a6b.camel@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-x6dCQBeb3YUsew2tyPWK" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12857"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.46.1 To: emacs-devel@gnu.org, Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 23 17:41:10 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oxsoA-0003AH-1x for ged-emacs-devel@m.gmane-mx.org; Wed, 23 Nov 2022 17:41:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxsnR-0007eF-Jm; Wed, 23 Nov 2022 11:40:25 -0500 Original-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 ) id 1oxsnH-0007cX-Jo for emacs-devel@gnu.org; Wed, 23 Nov 2022 11:40:16 -0500 Original-Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oxsnF-0003Jv-Lj for emacs-devel@gnu.org; Wed, 23 Nov 2022 11:40:15 -0500 Original-Received: by mail-wr1-x431.google.com with SMTP id e11so17331685wru.8 for ; Wed, 23 Nov 2022 08:40:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:date:to:from:subject:message-id:from:to:cc :subject:date:message-id:reply-to; bh=SxKA3cNYpYrui1sCZeYLNaLGR0FlKLonQssQxs4Bttw=; b=Kz3Ln6jLlF+lo6HN2lrV6aai8xk7q9ZajW3LwRs9ldK2oBW3dTXSGEiYjG6FCecT5B D6Ctf3p/WCOrS0xQ89eyYzKGVrlvfZY1NGd/4p6vkoFwfLsCo/ESADj/egETcPdxDyj2 s6/Rfn91qRS3FVFZofsyOhSoShXtwJyHHmV0wefprfilKJCOPpAN6kPyyIYxdQAeHyl0 0FPhTLoRFNeJ8v/NTZN54sd0JFqug4iPEHCiKpKS76fm/vApNK5cdm1YuY/ZVgrBPG8V PH7WHgcGCJ0+I2AOMZ9FBWvm+qiVNMYTX7fw+Eel93Oj1PdHZZrK8Pf2uadtVHQugvQz wrZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:date:to:from:subject:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SxKA3cNYpYrui1sCZeYLNaLGR0FlKLonQssQxs4Bttw=; b=NMJyDEr7QiyjlD+r2Fj6e3VHTYUly//u+tQLqu86bX8Fu1ozoAmS8V3hy7TTr5b7KU zHZjVq9W84rqJa6equVJHTlXP7dCj1Y3JrOgqYoq6OPZfKJAePbLuYM1Z6Sq2qrcv5Q2 /NHNYbxSSDYck87AGieDIENDhlUwn9vMJdqZzg2vAXf1vF9zSFtyfzW206KgG1BNLZ3h 9yhEKW6D26EzJsZiEZvDjX6tnp23DXIjJlSNsHuCXkeFxmqszac0bEYYuJ3VVa7ozBan N+7mHNdhp8VA3XyaRPEgEd5TF30IhlepPy0ebGNHD/pteiuwjLWlcxRhOiqWWXHZ5O+D V2DQ== X-Gm-Message-State: ANoB5pkysSHd55udGZv5AJvApnkA8RG1t0dAj7LH3DecTmiCnzVCcXfK 3nJY8qe87m50MW4RfXBOBI1/kf89tDc93A== X-Google-Smtp-Source: AA0mqf6RMzsJDb2FObw7fMiDSTe2mVD/trRDuwN3I4CQ5lyNlipisBK5TfgH3/G0/sPlhzNUdgOJxg== X-Received: by 2002:adf:c64e:0:b0:236:78cd:f3d2 with SMTP id u14-20020adfc64e000000b0023678cdf3d2mr18420094wrg.719.1669221611297; Wed, 23 Nov 2022 08:40:11 -0800 (PST) Original-Received: from [192.168.1.3] ([182.69.179.132]) by smtp.gmail.com with ESMTPSA id b5-20020adff905000000b002366fb99cdasm17199148wrr.50.2022.11.23.08.40.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Nov 2022 08:40:10 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=vibhavp@gmail.com; helo=mail-wr1-x431.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-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300397 Archived-At: --=-x6dCQBeb3YUsew2tyPWK Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, HEAD fails to build when configured with "--enable-checking=3Dstructs" with the following error: pdumper.c: In function =E2=80=98dump_buffer=E2=80=99: pdumper.c:2752:3: error: #error "buffer changed. See CHECK_STRUCTS comment in config.h." 2752 | # error "buffer changed. See CHECK_STRUCTS comment in config.h." | ^~~~~ pdumper.c: In function =E2=80=98dump_vectorlike=E2=80=99: pdumper.c:3004:3: error: #error "pvec_type changed. See CHECK_STRUCTS comment in config.h." 3004 | # error "pvec_type changed. See CHECK_STRUCTS comment in config.h." | ^~~~~ =20 IIUC, this might be due to the tree-sitter changes causing the dmpstruct hash for the respective types to change. pdumper.c should likely be updated with the new hashes and placeholder code to abort/error out if a buffer has associated tree-sitter parsers. Thanks, Vibhav --=20 Vibhav Pant vibhavp@gmail.com GPG: 7ED1 D48C 513C A024 BE3A 785F E3FB 28CB 6AB5 9598 --=-x6dCQBeb3YUsew2tyPWK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEftHUjFE8oCS+Onhf4/soy2q1lZgFAmN+TNwACgkQ4/soy2q1 lZjlfQf/UBGZbt+ucYc4rwAXbKkm6gFcle162ArjQtC2ts2SpiMKer0xUB/hmQw8 G0jkH/Aa25D/+9/Ei1u9y13qt+09nYB7EZJVdeEkLp/Xq+78TTswiOagTLJdYcUh rxJra63E44JwEEGcvvuIqw9HDzdXwEP7s8s0dssy6++2S8VYf0RvbPFw1dFBevXy bPdgoeoiqvadjKW6ox9Fu78f26Qz3O/zfJ+ejdxRK1+HtqMolIk0sCl8hL4H0vaI rC9sKU2qk9mX1FT8pR522+sNy+UtCftPd5VQ6UT6BL5TFYkWFmvIJ9ZiBELd4jNB +v0xuQo9UnSa9BH0ovwfKcpluSpmbg== =qHwm -----END PGP SIGNATURE----- --=-x6dCQBeb3YUsew2tyPWK--