From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.devel Subject: Re: MPS: unable to build due to assertion violation in igc_dump_check_object_starts Date: Wed, 24 Jul 2024 09:54:11 +0000 Message-ID: References: <861q3k9sfb.fsf@gnu.org> <86ikww7zvf.fsf@gnu.org> <86h6cg7y59.fsf@gnu.org> <87v80v6wxd.fsf@gmail.com> <87ed7j6vg8.fsf@gmail.com> <5Z4n8NDDyWUcSL2Pg1-XmEB5D1AgI2y9mNJJeT_jhlKbSmOGD3t_YnhMs2COqpJNIYu7qNwQ0aq1DlBaVI1nAUl1IDhLEtd-agtR1UM6yvA=@protonmail.com> <878qxr6seb.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_INr8GXhO4JTvyb02DUVm5MGwrIGnjzWSDRuAMaOm70" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19738"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , gerd.moellmann@gmail.com, emacs-devel@gnu.org To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jul 24 12:56:21 2024 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 1sWZfP-0004sK-Nr for ged-emacs-devel@m.gmane-mx.org; Wed, 24 Jul 2024 12:56:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWZeI-0002RZ-RL; Wed, 24 Jul 2024 06:55:10 -0400 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 1sWYhS-0005Sx-MH for emacs-devel@gnu.org; Wed, 24 Jul 2024 05:54:22 -0400 Original-Received: from mail-40133.protonmail.ch ([185.70.40.133]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWYhP-00050K-LL for emacs-devel@gnu.org; Wed, 24 Jul 2024 05:54:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1721814857; x=1722074057; bh=ByxxRBGjXbDrOHxzQ8qHr4Dpbfztt79/6WmLE1eDpyg=; 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=ON72p6qDInr67EUc0wZjUYPzAGUWfAV91Dt/egk/k17FPZ3ntb3TGjwP3e4ipkeUK gaAeTg3809xqnmn8p0PvM/eX4AHcEMWeYxBP7vut/OyNiAauvJWRafkTPh9EzaXgKg VmTaxyD2Jwz27vgdTjVDToPjLyeh0azO1C+JFb84pxdkx5ghHdN8QQ4c/YIBBLqKW1 2Y9MRicmFT8XdvLAASdB804iGvmK8XUSsjjHoxMmvwTPq6G1288LdPMKKfZeUH+e6O HX3Bb9hDYlohAkqJVDGXpwBM4AL9ZehrSlbZuk492p2MOR3yDnphyLRsCWPtis7HA1 kAxPaKAolTBHw== In-Reply-To: <878qxr6seb.fsf@gmail.com> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: 5dee92ff32a3a363fb98cc0aca30718a9228a642 Received-SPF: pass client-ip=185.70.40.133; envelope-from=pipcet@protonmail.com; helo=mail-40133.protonmail.ch X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 24 Jul 2024 06:55:06 -0400 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:322036 Archived-At: This is a multi-part message in MIME format. --b1_INr8GXhO4JTvyb02DUVm5MGwrIGnjzWSDRuAMaOm70 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wednesday, July 24th, 2024 at 09:39, Helmut Eller wrote: > On Wed, Jul 24 2024, Pip Cet wrote: >=20 > > Is alignof(struct Lisp_Vector) =3D=3D 4 for you? >=20 > No, it's 8. Because of the GCALIGNED_STRUCT attribute. Thanks for letting me know. Is this in gdb or lldb? lldb shows me alignof= (struct Lisp_Vector) =3D=3D 4 on a similar Debian system, which looks wrong= to me. I've fixed things on that system for now (it was building without = mps, because that requires -pthread in the CFLAGS to link on that machine..= .) Can you try the attached patch? Pip --b1_INr8GXhO4JTvyb02DUVm5MGwrIGnjzWSDRuAMaOm70 Content-Type: text/x-patch; name=0001-mps-aligned.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=0001-mps-aligned.patch ZGlmZiAtLWdpdCBhL3NyYy9saXNwLmggYi9zcmMvbGlzcC5oCmluZGV4IDhhMWIxYWNmNWYwLi5k NDMzMWIzYTRmZiAxMDA2NDQKLS0tIGEvc3JjL2xpc3AuaAorKysgYi9zcmMvbGlzcC5oCkBAIC00 NSw3ICs0NSw3IEBAICNkZWZp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