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: native comp Date: Tue, 07 May 2024 14:29:37 +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="6222"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org, Helmut Eller To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 07 14:30:36 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 1s4Jxs-0001OQ-8I for ged-emacs-devel@m.gmane-mx.org; Tue, 07 May 2024 14:30:36 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4Jx3-0005Qd-Li; Tue, 07 May 2024 08:29:45 -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 1s4Jx2-0005OX-2Z for emacs-devel@gnu.org; Tue, 07 May 2024 08:29:44 -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 1s4Jx0-0006Zw-6z; Tue, 07 May 2024 08:29:43 -0400 Original-Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a59cf0bda27so230194066b.0; Tue, 07 May 2024 05:29:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715084979; x=1715689779; 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=hGGhKv2FonzDkQ1WOWrmxYjBdE0/f6eJM/dkiFaJqsg=; b=mMnGNI91+7stpOkaKFB5YoAW4rwnP8IMi3AS/kjgDsDwbqcAABC3JXgj1dpmNX3S3y mI+0/WoqFP3mpfnQJXIO1+sRfmFiW2WbchX56BSJIH2e5M5XjZQI8cD/QUR862M2Nx7r Og7bJOQtBi/nE0rWMXC5r9R+crxQNngX2AypoOJUSuxXhrD7c7aH3s2f7y1ZStbV41/c 4CUYHTNfa4oC3H9sNb9V6xENrcv06/w7Q7JeZpBbiQf6ufSGU6F5hQ6Oib5mDp4AKGGk IUgVTTDgBBf/TQuqY+vzdywbuEtCF8YqxoLI7FDUaxVICn+R8R8x34Zz5gknbV50Ueyk uUvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715084979; x=1715689779; 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=hGGhKv2FonzDkQ1WOWrmxYjBdE0/f6eJM/dkiFaJqsg=; b=D8yDu1Emn1YebGeGLg7wBM+rsEMHshwoESWgMdSvbTdH/5xrcK8CfXnnrqo6rSb5X8 O/eY8PI6C8r/GOifB7/uiFh+FANRGscNRGi+rxtlvlXBgEzUEVKSTxaTgRNMKhiePjyJ UDT0KdpSe6vYccQbaIpIhB2Vi8UwiLcdJDEY22LCeROCBgj+jTKVins/QTYuQJQPc0wT oa4j7VNDjQCQlaDssoNecTWVITaRiIt0TaVQDDJYpvAzFhmwMPtVIDt/uSSO2FeDgjxD hTXRx94goBlZpswfV1HngTrW+anrd4FxZPvwjIUWWKvk4J6mRHmxXGGXho8zZRR1w5GT xHoA== X-Forwarded-Encrypted: i=1; AJvYcCU5Q0gc+deNJXc+ann5e7wx+Pof0FBLUIDOiYHCag+gobceLQMPk6OyAnX+pTql7K4evr4KVq+rdr94Tj0LjVT3corL X-Gm-Message-State: AOJu0YwglliWwYy7Zi+w0AaQlnZiFKq5ambea+eDJibY600QRUUMmHIS 35H9rC9ltKtv2c6pzklforZEZT6O4aoRfP29U7utrkKdNu2ObOR+vutAQQ== X-Google-Smtp-Source: AGHT+IHNdiKryGeuF65IpFx1aNeaLEiYkWYFkDQyV20yQv8chxExyS5DXt4n8/tjyhBRY0PlQoFqHQ== X-Received: by 2002:a50:a456:0:b0:56e:c5a:c7a9 with SMTP id v22-20020a50a456000000b0056e0c5ac7a9mr9879300edb.41.1715084979129; Tue, 07 May 2024 05:29:39 -0700 (PDT) Original-Received: from pro2.fritz.box (pd9e36718.dip0.t-ipconnect.de. [217.227.103.24]) by smtp.gmail.com with ESMTPSA id ew11-20020a056402538b00b00572c060396esm6239479edb.78.2024.05.07.05.29.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 05:29:38 -0700 (PDT) In-Reply-To: (Andrea Corallo's message of "Tue, 07 May 2024 06:00:40 -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:318938 Archived-At: Andrea Corallo writes: > Gerd M=C3=B6llmann writes: > >> Hi Andrea, >> >> simply question this time: Could you please point me to where in the >> code a compilation units file, comp_u->file becomes a cons instead of a >> string? >> >> Thanks! > > Hi Gerd, > > sure, should be 'load--fixup-all-elns' defined in loadup.el is called > from pdumper.c :) Thanks! I came to the conclusion now that this has nothing to do with igc. It's some artefact of the build procedure, Short summary what the scenario is: Build from git clean -xdf with native comp. Build fails at some point after native compiling macroexp. Gmake in src/ again. Dumping bootstrap.pdmp fails here: dump_native_comp_unit (struct dump_context *ctx, struct Lisp_Native_Comp_Unit *comp_u) { if (!CONSP (comp_u->file)) error ("trying to dump non fixed-up eln file"); The CU in question is macroexp "/Users/gerd/emacs/github/igc/native-lisp/30_0_50-3a137b7d/preloaded/macr= oexp-2c3e1495-76691d27.eln" Maybe --eln-dest is not set right in this scenario, or whatever it is. In any case, this doesn't look interesting for igc. Maybe one could improve the error message?=20