From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: MPS: Please check if scratch/igc builds with native compilation Date: Tue, 21 May 2024 19:02:53 +0200 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="32827"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Emacs Devel , Eli Zaretskii , Helmut Eller To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 21 19:03:41 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 1s9Sto-0008Ja-Td for ged-emacs-devel@m.gmane-mx.org; Tue, 21 May 2024 19:03:40 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9StC-0003oD-Ek; Tue, 21 May 2024 13:03:02 -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 1s9StA-0003nx-SD for emacs-devel@gnu.org; Tue, 21 May 2024 13:03:00 -0400 Original-Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s9St8-0004tm-7b; Tue, 21 May 2024 13:03:00 -0400 Original-Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a59c0a6415fso932195866b.1; Tue, 21 May 2024 10:02:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716310975; x=1716915775; 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=42whB+aq571FOu3ZtiXOfIeaCHL0ne+vuCsFxLjv0nk=; b=TEtlOnfB4ZCFcHzLiR0YOQtFP8bW1XwrIpeskqOD+U+MyFE+OGAztVg8CfG/+kvu7r yTZSP+jQ4pZGyZjiao/VXQ4AnaSIgvP47cwqgFdDOLfXU/91DHzWM2LuXxH1n5md15ah Llv622T4qMUXr0GVrAKlN0ZziKQbCyOH7gP3ttRhOf7o6p9iL5YWeLQbVPci6M6mtZrj xxcQRUA2biy7r+UMC2bNw5IGBZHIfY2yxbO2QS6EacBOQdbHhCNtMOtgvhpa9vwCz256 g2FHLexI4tcxEZFLXjKL8Lt25cZPDvJbIpVkKhcEwNeMZRKrqjAfMOIvv5fHgLHFYmig p4GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716310975; x=1716915775; 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=42whB+aq571FOu3ZtiXOfIeaCHL0ne+vuCsFxLjv0nk=; b=XACkw5YS4CS9v/uY5vU3RDfgmymTe45p66OpT52LLUtkBK3fHzb86CS13q+vEvWHze PzDOEwLHcTCyZM3cJQ6Y3rgsahO17x0TiXKCxQGU2s/fY8LCiuesvEdRbJ0E5yZwsgDA SqXhP1gWhORirBH0vWeZOSvJ1/YdS8L2pSxplO5xOniGLKZSBTpjMMEM3D/NauBzcAt6 AaUsoM7CEie2oPEU0BQFur4vzByGfZFUt1NrnNrlOURFxi02ZHd7cBuCCLjxqSmEwhZ1 DsC+nyhbJ1yrioU99B8wdzN9dIhEX6ESwveZDpCljLtVGDUGUfMSEm71DGNN2IUnwWqq ex4g== X-Forwarded-Encrypted: i=1; AJvYcCW/cKWwsalNRfgU3fWRBfjusvlOc8tlPMABpLNXyyJGUO+4iGZhKLPfPd7QOQ+h3Wx7EonTaYZPM3ReohQ= X-Gm-Message-State: AOJu0Yy0Jin+APgGVGfiAZNst1mQre0S1HG07XEaZYosrJ+qxGz83pwF KYmqSxL38eYlMShNNmgSspcnLRknQTPIZ6wBkmlyLzMmACKAPVt7qrnWug== X-Google-Smtp-Source: AGHT+IElUyIOLQKhUmq51eRCkJySs0TrYWjuxW+d1mMvWAwZKJTla8ssxkTUr9ABNvj20u1ywA8cHg== X-Received: by 2002:a17:906:e8d:b0:a5a:88e8:4229 with SMTP id a640c23a62f3a-a5a88e8441bmr1401250866b.25.1716310974801; Tue, 21 May 2024 10:02:54 -0700 (PDT) Original-Received: from pro2.fritz.box (pd9e36251.dip0.t-ipconnect.de. [217.227.98.81]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a178a9f0fsm1631105066b.69.2024.05.21.10.02.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 10:02:54 -0700 (PDT) In-Reply-To: (Andrea Corallo's message of "Tue, 21 May 2024 12:57:06 -0400") Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x634.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:319446 Archived-At: Andrea Corallo writes: > Gerd M=C3=B6llmann writes: > >> I'm throwing the towel now wrt to native compilation + MPS on macOS. It >> fails here both on arm64 and x86_64 on macOS 14. It's a long story what >> all I tried to debug this, let's me just say I suspect, with the highest >> probability among all the possibilited, a bug in MPS, without me being >> able to point to it. Gut feeling. Anyway - it was an experiment. >> >> What I'd like to ask anyone who can is to try building scratch/igc with >> native compilation (default) and --enable-checking=3Dall. Please tell yo= ur >> OS, and if you get assertion failures. Maybe do 2 or more builds. >> >> This could help to assess if scratch/igc is viable. >> >> I currently think it isn't on macOS, to be honest. > > Hi Gerd, > > I tried bootstrapping scratch/igc (my MPS is latest master) and got the > following assertion triggerd on GNU/Linux x86_64. > > igc.c:345: Emacs fatal error: assertion failed: h->obj_type !=3D IGC_OBJ_= FWD > Fatal error 6: Aborted > > Not sure is the same you see. Thanks, Andrea. That's exactly the assertion I see. > Anyway this is the native compiler that (after being native compiled) is > compiling something else. Same here on macOS, with x86_64 and arm64.