From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: STatus of MPS branch Date: Sun, 21 Apr 2024 05:08:09 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23441"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 21 11:08:34 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 1ryTBZ-0005ub-PM for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Apr 2024 11:08:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryTBD-0005eM-Sa; Sun, 21 Apr 2024 05:08:11 -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 1ryTBB-0005eD-Uv for emacs-devel@gnu.org; Sun, 21 Apr 2024 05:08:09 -0400 Original-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 ) id 1ryTBB-0005tJ-Lk; Sun, 21 Apr 2024 05:08:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=eueV1xkbJNS6J5H+6/6UHdLuxgjox41OWCBGiBmcjMg=; b=Cu1YhEZy0jo3e8eAjFFj YtfPSQYpMHHxKNRxEDo3MQuZbWRzyyJ5yKF47XMJqbJTOK5HTgG4YtHMfhHCmhWElNoexXg5xhIa1 qPxH8fwePmxLWuf36mMc36tY/F3EfTT/4CpdMCOsEd+mMcsx5I4ibdCuLhm4rj7I3agTuEkCyjeMz 89Erp/LeFmRPH9PPJJKBWUdSCwBCjBazrqQeoGeHW9bloPgcRdHqJaBQQ1k4J+I8RVzs2W2dOfgjY LCczq7fI34yGLYAUPxUN6nX+D9OupuQa9f2UkBGKbrhwrN1Yvot8rg7E0T9CQOwL7h0ABQtuZ5Kst pljJKVgpsJLLzw==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1ryTBB-00024I-9n; Sun, 21 Apr 2024 05:08:09 -0400 In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llmann?= =?utf-8?Q?=22's?= message of "Sun, 21 Apr 2024 10:45:44 +0200") 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:317918 Archived-At: Gerd M=C3=B6llmann writes: > Gerd M=C3=B6llmann writes: > >> Gerd M=C3=B6llmann writes: >> >>> - Run tests with native compilation. >> >> I'm oding that. It currently does not build with native compilation. >> >> Error: native-ice ("emacs-lisp/bytecomp.el" "can't find data in relocati= on containers") >> signal(native-ice ("emacs-lisp/bytecomp.el" "can't find data in reloca= tion containers")) >> comp--native-compile("emacs-lisp/bytecomp.el") >> >> which sounds like it could have to do with moving pointers. > > Ok, as a starter, there are some Lisp_Object members of comp_t that are > not staticpro'd, so something has to be done for a moving collector. > > @Andrea: Don't know, should things like comp_t::driver_options be > staticpro'd for the "normal" GC? If so, things would automatically work > with MPS OOTB. I can't recall any reason why they should not be staticpro'd, so yes I think you can static protect them and see if it works further. >From the changes I see in the branch I think should not be too hard to have native comp working on it (last famous words). Thanks Andrea