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: Thu, 23 May 2024 20:26:02 +0200 Message-ID: <87r0ds5qrp.fsf@gmail.com> References: <87r0du5rly.fsf@gmail.com> <87le425p8i.fsf@gmail.com> <87ed9u5lbi.fsf@gmail.com> <87ikz56j66.fsf@gmail.com> <87cypc7v8y.fsf@gmail.com> <878r007tpf.fsf@gmail.com> <87y18060y5.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="20876"; 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 Thu May 23 20:27:17 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 1sAD9o-0005Ej-Ve for ged-emacs-devel@m.gmane-mx.org; Thu, 23 May 2024 20:27:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sAD8o-0005zw-Un; Thu, 23 May 2024 14:26:14 -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 1sAD8n-0005zQ-Go for emacs-devel@gnu.org; Thu, 23 May 2024 14:26:13 -0400 Original-Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sAD8k-000398-29; Thu, 23 May 2024 14:26:11 -0400 Original-Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-57851e8b891so106a12.0; Thu, 23 May 2024 11:26:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716488767; x=1717093567; 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=5rzFG4uKY1xuFBL8hlEkSb6n4IbUnspMxxDXfPBaa3g=; b=cD5J5uwKjkQRvZcqBfffv9IwFhGEbmco7roCP4e9EpNnrvF9Nubs/SGTV6Hnrm2XuR Blo0wQx7ijg35C5/PaSvcNKvNdlrLzmQdzvUZL2cdEX67CFoHmLWOz7jMyaLllD7cCKR 0INld0EMPa/mISIQqRLg0+pEczH4ffrd0hrVyCZ/BCiLjBxYUuldHA2ilLHsp5VcpuMh rvKu790D0E9LmHNPUdjNyXdNmyPJvF2EyytnPaBJ944HOBGMHBOzbM8cbB6rcNZ27eFw qVOKfn+hlbyRhp4MihLem8oohBCbg5Tv+SqRXIpNQzjnE/Q1lElHHRSey6yvxUN3iKak hbeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716488767; x=1717093567; 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=5rzFG4uKY1xuFBL8hlEkSb6n4IbUnspMxxDXfPBaa3g=; b=F3QEYzV9jX79agh4y7i328AI+2dS2uKNIY6IDOTtKQwJX1LoG6m2uWlzjRDzhwIefW qEfO3Q7DxDvDwmG7afk+J02iyNFGYs1eZInTDe/IxBwA8x/HFFaGCasHRFLQkI4jE7pi 0/QBp6WpZxM0xnXUE3+4FJc1k5pcDezDfKwuT/jMvL/wHrg3YtlPvL/Yj7PuQGMjC158 o+3Uk4fjSpvTDzORgmEh0KH6b9c5XJfSfZwfZ109wfCCOW0/1RNtkHEN+0NStS+NigmD kLwHaco77vxfSMCae9Q10HsyNDhhJAAKh8eTlHQpMRAAiPRQpLD4W1h4KyvTcQszrmsZ tt2Q== X-Forwarded-Encrypted: i=1; AJvYcCUWF/re00P6WL+bTeBTkm7/y6qFWdFET73CxCbSt/d+O6BXHbWJ7g8XkGGiypkiE664mXdSgmTSSfNG3BYrQQWGPoTQtwwPRNOgySXULdVqvTo= X-Gm-Message-State: AOJu0YzAWZSQxffTAD811mvHViHUZeN8DMjAFn8uYv5v9UBy3PhwYL+f p3CUdBC3NXGLfYWzxNmilGJ6yqlHF5e8JkXoSGU4FOdOAjKiK92vWQ8KJQ== X-Google-Smtp-Source: AGHT+IET8NGk9fw/JZ5q/+csQi+a4xSFi1tr2NPPZBtbMPIe7ebxt1oJ+T52BTMxfPLsFRe5SLORpQ== X-Received: by 2002:a17:906:fd6:b0:a5a:80fd:8fa5 with SMTP id a640c23a62f3a-a62616deff6mr17995366b.5.1716488767407; Thu, 23 May 2024 11:26:07 -0700 (PDT) Original-Received: from caladan (dial-188233.pool.broadband44.net. [212.46.188.233]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a17b015f7sm2008502966b.146.2024.05.23.11.26.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 11:26:03 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Thu, 23 May 2024 18:40:16 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=eller.helmut@gmail.com; helo=mail-ed1-x52a.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:319528 Archived-At: On Thu, May 23 2024, Gerd M=C3=B6llmann wrote: > Thanks, but it didn't help, I'm afraid. There's some checking code in comp.c. Maybe you could add this void check_all_comp_units (void) { igc_collect (); struct Lisp_Hash_Table *h =3D XHASH_TABLE (Vcomp_loaded_comp_units_h); DOHASH (h, k, cu) { eassert (NATIVE_COMP_UNITP (cu)); fprintf (stderr, "key: %s\n", SSDATA (k)); check_comp_unit_relocs (XNATIVE_COMP_UNIT (cu)); } } =20=20 and call it from the debugger. If this check passes then I think the relocs are in pretty good shape.