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 16:38:13 +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="9574"; 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 16:38:52 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 1sAsXs-0002MT-A8 for ged-emacs-devel@m.gmane-mx.org; Sat, 25 May 2024 16:38:52 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sAsXO-0000TC-1R; Sat, 25 May 2024 10:38:22 -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 1sAsXL-0000Sm-EV for emacs-devel@gnu.org; Sat, 25 May 2024 10:38:20 -0400 Original-Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sAsXJ-0008M9-Tw; Sat, 25 May 2024 10:38:19 -0400 Original-Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-356c4e926a3so593168f8f.1; Sat, 25 May 2024 07:38:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716647895; x=1717252695; 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=N75u7w7Y7F2OiIhac3FlZ/7MSVBYX8cmsF041b5CVtE=; b=hZ61LgMOYgN3rWPGidD8M/9a2Ntxs8Sc3IG9sjcuTU1P6tqsqbas6GtTyWTXsKfHdV P6xwluow3AoIiGqevoJHPyuCi+xPUSMUxEk6E004I37N1Mb9srjGYEjI+vBdKBiOBwYT Ah27WkxvaFrxTH2BMH/8KplWk8Enp3XKe6++aAJ/TnW+sAvynoeZozE+KKBFvjBdZPuX k6mm7ut34k1AKflJbyM4kM6aZ0j9trbeoWDSOVq0noQRk6CXKSFA973Oxj0tA4glzoTj cKNQ0Bc7AfKjci57fQccNTXHbkzh0sdM/Hp6a65vlT7tmIXbT1NfwJjthu9OwbuR1gSx 5nEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716647895; x=1717252695; 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=N75u7w7Y7F2OiIhac3FlZ/7MSVBYX8cmsF041b5CVtE=; b=Gt+BcbibzT8NnB++GgqcDi/zhUiCpmmhRShahlgcAkxy6nAQ3+SXePW+iVyYlUte+F ZJnLFjtdIwg4/Lbs+woumaF152fgP4NPoVvrRT61HWZggsc5k1Xvd5umRthRl5sQsuFq gVjiNDGELMUGljV+8AOuhj0w3oS1WirI7oZZWv4xnva2MX9XO+VyhN8rSKboG91nzWFf L/joBTCu5GnP9ApUtGBhY0XAc+3iynHcFd+zptiB8cBgGQLW9FFAFeD0XWVwnavjBL/i KS7IUOhP2HjD0RIlN9GkHM+MfqcCCZjgdaGVUGzgjeTcZd4AmYeC2Mqw+X4naumA+kte 5WsA== X-Forwarded-Encrypted: i=1; AJvYcCXbo10jfvw9xvn7b+Xj6rmd1mtM4jO1Xui5m7S6INrr27IBSDn4HwY3Bs9JkGlaAymqAsiufkjvhh9+RJbaYYSsROmnkqAPWXFIy1T18PVNwpM= X-Gm-Message-State: AOJu0YxZNw/KRmERO4GrbXDVIn4GhPb1jzrwpb12DQO+VdIRmGJmioso e82j6XruZrHtu1ZxSHF9vfcsyd54HAFtRoPmWTyGgHSQ26vYbL8EFMDcnA== X-Google-Smtp-Source: AGHT+IHdfX9F7b4tOi5xZpvnrifBbmIA6K2Ug6+0QZaQLLglEz0bPeIZqyl81QaI0vvRBF5WLnMLBw== X-Received: by 2002:a05:6000:d0a:b0:355:3b7:504e with SMTP id ffacd0b85a97d-3552fdfd69cmr3594233f8f.64.1716647895022; Sat, 25 May 2024 07:38:15 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a89b.dip0.t-ipconnect.de. [79.227.168.155]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35579d7dbadsm4168504f8f.1.2024.05.25.07.38.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 May 2024 07:38:14 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Sat, 25 May 2024 09:37:32 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=gerd.moellmann@gmail.com; helo=mail-wr1-x432.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:319558 Archived-At: Gerd M=C3=B6llmann writes: > 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 so= me > 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. With the latest fix I pushed, a native build with speed =3D=3D 0 also succeeds on arm64. Hm.