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: Mon, 03 Jun 2024 07:35:05 +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="8465"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , Helmut Eller To: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 03 07:36:04 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 1sE0MW-0001ue-6k for ged-emacs-devel@m.gmane-mx.org; Mon, 03 Jun 2024 07:36:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sE0Lh-0002SM-9n; Mon, 03 Jun 2024 01:35:13 -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 1sE0Lg-0002SA-78 for emacs-devel@gnu.org; Mon, 03 Jun 2024 01:35:12 -0400 Original-Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sE0Le-000378-8P; Mon, 03 Jun 2024 01:35:11 -0400 Original-Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-57a30dbdb7fso3845008a12.3; Sun, 02 Jun 2024 22:35:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717392908; x=1717997708; 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=9+6n0SVv1hs5rVUA1y8yWRL+XZMINsHCjqPEfe5EA/o=; b=nXD+HuGpve0htq1KpU3tdSUWiJ63dh562N0avS5+E5tgKN1jJ2+8Cb1AOrlQgs/9p1 3lKn473IDoDYsJlX2GIs1GcoZmMGlnDgkVTCpuNjqmHK9XaXeZUIp9NDCcnPGAkL63wF MSeO0aVkfMAz+RY6uk0OsngbHVAu51Q18oytNTF/LYVXqUL/gKmYKQ5E0diHD5LzBs66 AOdIsqpFRHH6kCwNs6hJ67Fbfa1J9h2xT/cItVWIJxaXZz/3KlpdwAd8ytFpeTGvZpkO 11kxzWWP7y4sYCUhws/BMmg6a5eRkJi/oobBnFvxiE5jTy1CrbQ2LYrmfuLVL0eiertT Hb4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717392908; x=1717997708; 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=9+6n0SVv1hs5rVUA1y8yWRL+XZMINsHCjqPEfe5EA/o=; b=mBgxOyus6yawywcRQkqy4px/Y1eeneQQaQnM+Ew+JAforevoRXfl102wOGpnaH2mbt aaC5KAzhv+1aggbPrYzWVb9OpV3h/jXEJhFjQaLIofelhNAc+JoeZ/OUCbMR8nIn9062 aMW2kTA0EtrHDk257hAPWgAk/H32Ez4PpHv+d+Q0x5e1TAq9Nv4FmjBZxzZi885Hq+AT JhIXb0Y+xAS3ZaTGzXzC9EuzOhqUHOjcJP6c+nBdU49sIhlGkKabmkFiqCLFeRTOuq4+ yCoVb2HdirrFBdHvsn/RPLD4dB3Ks3WUAVRckk/gaJRF9AnO6ba87HczvQeakk4lWS1p 4pVw== X-Gm-Message-State: AOJu0YxUdui0kw/MFK+Tf9gp4UlX7s2GqMx7a0KgszoJ8jzutAJ7b9ey Jyp+6iKuclaSYXxFLskcdYf/+mdkXCDCE7f2CPFFEKYzVLFr7RyYszbOqQ== X-Google-Smtp-Source: AGHT+IEWQfMvXEW2sezk4ujUYaRATPkgloFUQOZCoi2M1N5keVAVi+lov9q1HkBMwfvsL/VaJGfoQw== X-Received: by 2002:a50:d494:0:b0:572:9b20:fa with SMTP id 4fb4d7f45d1cf-57a36449953mr5384231a12.33.1717392907433; Sun, 02 Jun 2024 22:35:07 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3af43.dip0.t-ipconnect.de. [79.227.175.67]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57a31c6d444sm4731656a12.64.2024.06.02.22.35.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 22:35:06 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Tue, 21 May 2024 16:00:08 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=gerd.moellmann@gmail.com; helo=mail-ed1-x52f.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, T_SCC_BODY_TEXT_LINE=-0.01 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:319789 Archived-At: 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 your > 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. An update of what's going on my side. I had and still have problems bulding scratch/igc with native compilation. It builds for example with -lmps but not -lmps-debug, and if it builds depends on the setting of native-comp-speed and so on. I now consider the successful builds just a fluke. If I take such a build and use it interactively it will crash in more or less the same way the unsuccessful builds crash. Even worse is that a build without native compilation also eventually fails when used interactively. It just takes a lot more time. At the moment, the crashes look pretty random and I haven't yet succeeded in making them reproducible and debuggable.