From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.bugs Subject: bug#46256: [feature/native-comp] AOT eln files ignored if run from build tree Date: Tue, 2 Feb 2021 11:11:08 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12072"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 To: 46256@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 02 12:12:13 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1l6tbQ-00032F-CD for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 02 Feb 2021 12:12:12 +0100 Original-Received: from localhost ([::1]:46832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6tbP-0002Ft-C2 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 02 Feb 2021 06:12:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6tbH-0002DY-Py for bug-gnu-emacs@gnu.org; Tue, 02 Feb 2021 06:12:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50908) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6tbG-0006ux-Ht for bug-gnu-emacs@gnu.org; Tue, 02 Feb 2021 06:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l6tbG-00010e-B0 for bug-gnu-emacs@gnu.org; Tue, 02 Feb 2021 06:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andy Moreton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 Feb 2021 11:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46256 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16122642813821 (code B ref -1); Tue, 02 Feb 2021 11:12:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Feb 2021 11:11:21 +0000 Original-Received: from localhost ([127.0.0.1]:34221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6tab-0000zZ-4t for submit@debbugs.gnu.org; Tue, 02 Feb 2021 06:11:21 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:39836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6taY-0000zI-6k for submit@debbugs.gnu.org; Tue, 02 Feb 2021 06:11:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6taX-0001mS-8K for bug-gnu-emacs@gnu.org; Tue, 02 Feb 2021 06:11:17 -0500 Original-Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:50189) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6taU-0006Tt-MO for bug-gnu-emacs@gnu.org; Tue, 02 Feb 2021 06:11:17 -0500 Original-Received: by mail-wm1-x334.google.com with SMTP id 190so2036665wmz.0 for ; Tue, 02 Feb 2021 03:11:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:subject:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=RUBSQxkuDW7tjunoR8zRlVKZqEAo4zF4ZvklaWGHe8o=; b=L/D8mxmS8tdPZ82QVj4Kso61sNRuev2F+ffIVHnvyXVtNgjY85Ox7yn+LYeAWXn5SI 1njapF6JKUCuWOOa86scQ+sGFfEo2/45L0/wp0iGy3n62MTINR0gI8ElKWHAyC6qg2U5 EUi3JczRvZ6YGrWhoE/zsabJdr9Plv5H/37FgEl93hPoqM9prCprqQ3RbuJzaTg+HGUt dC3x9gVqrN9svzrKa8n/2YtswXsb5yGvtx0MSoRPts6x+dxGTUuBmqQQFfgYUemndvV4 ucT9FZPVPUMiHQ4OknaNWssrRk+HYAwe5mMLSUpkaMRL7yDhxdtVCkFPXvhzPHzW9J1W fAfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:subject:from:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=RUBSQxkuDW7tjunoR8zRlVKZqEAo4zF4ZvklaWGHe8o=; b=CdkD9lH1YgVNTjsB9gmzKhvAPeaivGMk54kXUOpiIEhZOVkdXiafrGjZ6nJ/cDcGeB J75xKoTR09rYdqm/hlQuKjBKa48b0P1tkBA+Pu6pWXuE8y31rVnNdp3SFU5BA54Q0PUk DoNkRqBqQeWmyf2XDxMJjXOjKqlsZkTTHYSWvXsyT9tg6U7R++WIrFhZ+k7LMIXgw3bo WGZykYUZucex8RjqO1jLJYnUR+4lJXv4mxSGPYsLlIFYFWO6FeKkKgk/IoeApI/MLe+b QF16lyeMxlI463TcfdAN8kuAuEuMp2W2BMtfYe3VSbwYnE26rP9UjAgdP3SonH654VLy gYiQ== X-Gm-Message-State: AOAM530vnUmoG4QdKQDK0hj52P7yHLyuFabo+y9HiNlkMLXQJ3AkqkjM cxtoXPEcKEqFPC4ZrpTvFPsf+Q0rzgY= X-Google-Smtp-Source: ABdhPJzVBr2hWmcFxiOYzaRSCyau424G3qhq7XhSLVlOMDIBZ1/HYHR9pn/KpLSHhnpUk2jrDr5W8w== X-Received: by 2002:a05:600c:2253:: with SMTP id a19mr3016114wmm.75.1612264272311; Tue, 02 Feb 2021 03:11:12 -0800 (PST) Original-Received: from [192.168.0.5] (82-69-64-228.dsl.in-addr.zen.co.uk. [82.69.64.228]) by smtp.gmail.com with ESMTPSA id q18sm30929648wrr.55.2021.02.02.03.11.10 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Feb 2021 03:11:11 -0800 (PST) Content-Language: en-GB Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=andrewjmoreton@gmail.com; helo=mail-wm1-x334.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: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:199130 Archived-At: Hi, I have built emacs native-comp branch for 64bit Mingw64 with NATIVE_FULL_AOT=1 (out of tree, so build dir != source dir). I notice that if I run the built emacs from the build dir then the prebuilt .eln files are ignored, and async compilation of the .eln file happens again to add them to the user eln-cache dir. The prebuilt .eln files are not found in the user eln-cache (expected) or the installed emacs directory (also expected), but it looks like it does not also check the build dir (relative to the running emacs rather than relative to the install prefix). Running from the build dir without installing is common for developers building from source, so it would be useful to keep this working with native AOT builds. AndyM