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: Sat, 25 May 2024 09:37:32 +0200 Message-ID: References: <87ed9u5lbi.fsf@gmail.com> <87ikz56j66.fsf@gmail.com> <87cypc7v8y.fsf@gmail.com> <878r007tpf.fsf@gmail.com> <87y18060y5.fsf@gmail.com> <87r0ds5qrp.fsf@gmail.com> <87y17znvgf.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="9836"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Andrea Corallo , Emacs Devel , Eli Zaretskii To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 25 09:38: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 1sAlym-0002QP-H0 for ged-emacs-devel@m.gmane-mx.org; Sat, 25 May 2024 09:38:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sAlyG-00014M-AF; Sat, 25 May 2024 03:37:40 -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 1sAlyE-00013o-HR for emacs-devel@gnu.org; Sat, 25 May 2024 03:37:38 -0400 Original-Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sAlyD-0005RA-22; Sat, 25 May 2024 03:37:38 -0400 Original-Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-57857e0f462so1496835a12.0; Sat, 25 May 2024 00:37:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716622654; x=1717227454; 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=JQsFAZKBweMG1CfFzTb+uYbkWP11NBgd/Xva3DyywEA=; b=dOoOhjqB3LInJAZilrG7JbhdCwiRcKIPQAg77v8M4vkaZPSzSlitflAEIqroPdukew l4zICMzh6D0StGU7LDrG38bbVggcbzajOQdrL/gP/LXcT0C9wdFTidc/rUzL/eNBFqCn uXwo+tBNnTMHrP4bLBDlg/QxI42Z+DooNMy73E7BTKa3wkN3oLg7A7ai9PkwNi549CHC wnOBWQf73yJrJqg/XCkwZaSjBdyCSQw+0L1w4AJwG4KdwH4KdgrJ0OIBc7Y1IIiobbXK d2XEdS5LeVVHu6gDfWWke6lswqkwjdyURLo6ujfR7ZoyKay8ZqXMv3dnatIFJswxPmBt CaNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716622654; x=1717227454; 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=JQsFAZKBweMG1CfFzTb+uYbkWP11NBgd/Xva3DyywEA=; b=eqwbZ8PlNifKfPSmr6Umile05ow8yO/b9/LoZhDVOclJj6CAf/UWLsgHeJ7G6B7GZc faDl//AY3iRps4UFsk/Kyq9MfbeNOmmaC6mg1BdQwecycRmn0zqngOyTgkXw5Skf/ZBa kTh4Lq9D9GCnAr5rJIFTFmcgVAlmnzCZR2qOA3NFMohwaLTAJKyYSKnDN0fi9zF2ykFH lNaYRC5L+utU6koz70/hQ7L/l7lbAF1c5bqRBsszUGw/HOQDF+CRptHk1dxe816km3j7 k2m8D8KHqom0pj3FUpOZQKiRJElyc9FOAcGLBVpqTkJPWbhq4GrQTmSIO62x/Aa3u8fA PtPw== X-Forwarded-Encrypted: i=1; AJvYcCVj2TEUi2+NjeyyA65gqSqd/QtQSOrwVQHc9CaPjsMGQATBGyWdj+jT+KO+HmcZiHzZwbwX3NpllxgHCoa8BzW+1mzcXqksPuxnRpysn6tkOiU= X-Gm-Message-State: AOJu0YymoV+ZmMI/tOaPo7xqxWzpj7VU2h+xr6deIkQtsnbxzET6/13Y rLYFR/c0jJnEPBIjtN21pW7k4ZxGehHhuiKwxKW7p7gQ0qcqfBTqIko1dw== X-Google-Smtp-Source: AGHT+IHNp+X+a/SHKEwOzPAD1nnZabr/onsjxSGvs+Pn1HsdPQwUmnYBK9DXO+fyTnY6o+6S9tLSAw== X-Received: by 2002:a50:cc05:0:b0:572:315a:b2d3 with SMTP id 4fb4d7f45d1cf-57851955019mr2970727a12.15.1716622654101; Sat, 25 May 2024 00:37:34 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a89b.dip0.t-ipconnect.de. [79.227.168.155]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-578524b5e62sm2851352a12.79.2024.05.25.00.37.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 May 2024 00:37:33 -0700 (PDT) In-Reply-To: <87y17znvgf.fsf@gmail.com> (Helmut Eller's message of "Fri, 24 May 2024 16:19:44 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=gerd.moellmann@gmail.com; helo=mail-ed1-x52d.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:319549 Archived-At: Helmut Eller writes: > On Fri, May 24 2024, Gerd M=C3=B6llmann wrote: > >> Given the choice of either ironing or trying what I described above, I >> evaded ironing. Diff at the end. Effect none. Which lets me update my >> beliefs so that relocs are unlikely to be the cause this time. > > I also think that the problem more likely somewhere else. FWIW, some more factoids: - A native build on macos x64 was successful. - The native build with default speed =3D=3D 2 fails with h->obj_type !=3D IGC_OBJ_FWD. It's a long story, let's just say that I could track that to a cons cell that is pushed onto current-load-list in an eval in byte-compile-eval, gets collected, and reappears again in a call to length. Heaven knows what's going on. The C generated by the native compiler looks correct to me. The arm64 assembly I don't want to read :-). - A native build on arm64 with speed =3D=3D 0 gets much further than the default build with speed =3D=3D 2, but then gets a EXC_BAD_ACCESS in some pretty printing code when compiling char-code.el. It doesn't show the IGC_OBJ_FWD problem. - In bug#70796 I found on arm64 that a native build shows the bug, a elc build does not. I'm beginning to seriously take a libgccjit 14.1 bug on arm64 into account.