From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: MPS: Please check if scratch/igc builds with native compilation Date: Wed, 22 May 2024 09:59:13 +0200 Message-ID: <87ed9u5lbi.fsf@gmail.com> References: <87r0du5rly.fsf@gmail.com> <87le425p8i.fsf@gmail.com> 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="32826"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Andrea Corallo , Emacs Devel , Eli Zaretskii To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 22 10:00:12 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 1s9gtO-0008Ia-GL for ged-emacs-devel@m.gmane-mx.org; Wed, 22 May 2024 10:00:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9gsb-0006lc-UC; Wed, 22 May 2024 03:59:21 -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 1s9gsZ-0006lG-Vk for emacs-devel@gnu.org; Wed, 22 May 2024 03:59:19 -0400 Original-Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s9gsY-0006m3-93; Wed, 22 May 2024 03:59:19 -0400 Original-Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-420298ff5b1so54171275e9.1; Wed, 22 May 2024 00:59:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716364755; x=1716969555; darn=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=BizHNTs19o8nD/7WBncqxoJEDe3p8wyramBgW948iHA=; b=D6ZKydrU3YuRd1ytb8Ekg/xl4tRDH9QkeXDUrBRMPuTbn1Ji1qLZgnnHcSBystaDue nl+IJ8M+kHoGsg/DP+95RzNFvCqgtExqo4R0UVZeb148Cj1LlFGtgMz8pbfRjXORXWGY qICVVeGmdziC5IJYLBJNgmb+cuk+D1SfaBp+sD74Xr96mOjpxNKzayFLnAQTs/NPSHUf Uxq6x4Dh7yYRh0mNXYZx9+OfaUigzcsPAN6MOc49tqrXyQY2i4DJtHssfWyVJgD9dU9D 2d9Po0KwXAUTPg2Nyblo+BimQrV9xCp3NtumBsnsmEPof9B97nW4cFmi4CgDPh77JU1u nruA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716364755; x=1716969555; 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=BizHNTs19o8nD/7WBncqxoJEDe3p8wyramBgW948iHA=; b=jNV96JmCLqMjvsA9H82ewBU94NpBDy/tpb+Pqu5gOoQEO62Rr+zSAZAv83ZGowbcuN fRxEbo5/XbFdP7BTUu/IV9BLpP03RZOsYd+kol2knY2o/fm7PfkM1UC4/MKZPSH7slcE 2fQm2CHCtJ2fFm5/K3zf+rUi9qSL4l/z4r8u3LW+JeixSn35etmttqEq7j1m/zaijCvN kzoPbJ/F27h3GhFilKpIH9z6QH40DTUfZXtEx0jPaIZyuq8hwfY6bmXHS9LfrfFka432 XsPd6Mdgp8q0SjX+Y8ymAJjQCW3O+iMsAfizONfirzu0t+zvs7spaB890Q5ziVCRydhw 7TDg== X-Forwarded-Encrypted: i=1; AJvYcCVzSVqyIXUSkLbvOq6DOo1wIBnFNq2Glf8WxP51OZ95RO7952M7giLvSNybWmPst48tttuCyx4fqrob6S6xVRcmTUlY/iYN0Lgn/2U3AMC4BNc= X-Gm-Message-State: AOJu0YyxiG7AFjl7Hm+2yDfOpYuheM1QnhCx7JU3XZk6DUcDd0zpfe4D mAc6BmNMGH2fsYIP1B9rRHUdPyWqlfQY4O1a2Fx101yzuNKoMhkZVJW8bg== X-Google-Smtp-Source: AGHT+IHpF9BtNTZhVwsIOK287iB1BIZ615ShuQCNGM5FfjtyCL3oAn9l/1HiQzhFH2afX4DEn73tHQ== X-Received: by 2002:a05:600c:4fc2:b0:41e:a90d:1216 with SMTP id 5b1f17b1804b1-420fd2f01e8mr10691725e9.3.1716364754968; Wed, 22 May 2024 00:59:14 -0700 (PDT) Original-Received: from caladan (dial-188233.pool.broadband44.net. [212.46.188.233]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-420193b0903sm349307685e9.47.2024.05.22.00.59.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 00:59:14 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Wed, 22 May 2024 08:56:04 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=eller.helmut@gmail.com; helo=mail-wm1-x32b.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:319480 Archived-At: On Wed, May 22 2024, Gerd M=C3=B6llmann wrote: > So, clean build and alas no visible change > > igc.c:345: Emacs fatal error: assertion failed: h->obj_type !=3D IGC_OB= J_FWD > gmake[3]: *** [Makefile:285: ../lisp/files.elc] Abort trap: 6 > gmake[2]: *** [Makefile:933: ../lisp/files.elc] Error 2 > ELC+ELN ../lisp/emacs-lisp/syntax.elc > ELC+ELN ../lisp/emacs-lisp/cconv.elc > ELC+ELN ../lisp/emacs-lisp/tabulated-list.elc > ELC+ELN ../lisp/faces.elc > > igc.c:345: Emacs fatal error: assertion failed: h->obj_type !=3D IGC_OB= J_FWD > gmake[3]: *** [Makefile:285: ../lisp/faces.elc] Abort trap: 6 I don't know why this works for me. Maybe because my machine is nice and slow enough :-) I've seen a different problem, later after all .eln where compiled, during pdumper_load where a hash table in comp_u->lambda_gc_guard_h wasn't traced. But I called igc_collect at the end of load_comp_unit to produce earlier crashes. >>> But, what if we park MPS while we are loading the dump? WDYT? >> >> Is it possible to allocate from a parked arena? > > Yes, that works. It seems to work. But I had to remove the call to igc_collect.