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#46494: 28.0.50; [native-comp] Problems with async background compile Date: Sat, 13 Feb 2021 16:58:11 +0000 Message-ID: <52dad420-fd72-fe1c-6f74-f4c114a2deb8@gmail.com> 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="31982"; 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.1 To: 46494@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 13 17:59:15 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 1lAyGJ-0008C6-FX for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Feb 2021 17:59:15 +0100 Original-Received: from localhost ([::1]:53032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAyGI-00027b-Hv for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Feb 2021 11:59:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAyG6-00027H-PI for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 11:59:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51658) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAyG6-0005rY-Hq for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 11:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lAyG6-0007tL-Hp for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 11:59: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: Sat, 13 Feb 2021 16:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46494 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.161323550030270 (code B ref -1); Sat, 13 Feb 2021 16:59:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Feb 2021 16:58:20 +0000 Original-Received: from localhost ([127.0.0.1]:34968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lAyFP-0007sA-TR for submit@debbugs.gnu.org; Sat, 13 Feb 2021 11:58:20 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:53892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lAyFO-0007s2-KK for submit@debbugs.gnu.org; Sat, 13 Feb 2021 11:58:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAyFO-0001lx-BA for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 11:58:18 -0500 Original-Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]:40277) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAyFM-0005hT-Lg for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 11:58:18 -0500 Original-Received: by mail-ed1-x530.google.com with SMTP id q10so3467545edt.7 for ; Sat, 13 Feb 2021 08:58:15 -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=MSsvjSbaa7kbjgRf29ESHK6tkwMS09wCUCHRwWWtz2s=; b=RVktB3U07jeQdxkb6FbLDlexxNWBdX7rukurjZZiomMD/GTB4pHZeT0pXn5zSWC7nX Ftx0pXtZYEYmZIkwtGflqwtYGsMvuNWYqzd+BBBBwfwQ8Gawxv4GeGzlA5eTkxKadmyX yYe1ZID9bavUGy/anWYUerruTO7jLc0pAGeTTt1i6AnoMrtW3omFq4b+wlcmrH2Be+/9 jIZPSRdKC866CdkqQJ1OZ4sNLbxp8j5PI+1KXri+Xy+vrsOflZjj9fs07ad4R9x6SvXZ od0UYkMWjvLmh0VHzlDGBbl2gDtbEzyQucoP0RBo4gtfZDPZb5AAvKDJaV/o0i/F/Wba xixA== 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=MSsvjSbaa7kbjgRf29ESHK6tkwMS09wCUCHRwWWtz2s=; b=dtWbcblFAPr2rvuDCXi+2jVXTzIbM4mJ26MzyJkU+wETM0r6dlpktdCwJ8a9ZRrzrA BZlYuybWRXLOTEISMjhEbSt+cvEbL1XfZUOnuceD780cE3jErze8hwDZndxMld7Hp27/ O1ZPAbCe8QNcSeaLZc6jp5hjydQTs17CQ4iQk5qNKP/EkHtZVH0+1ln9zyrKEgnmp6h6 LfUIXnuc3ZCNoFB5CQnqcdtAbuuxuVKVtdmctnOGa9x7k1eUjv+CBwmpsNvsncl5a4++ VyhVy8KJ5NY8YECQAzt7ERZnnAt8hQ6UJtAaUbNxeSw3R2i7jp65LWMRtvd/FZoP4z/w +kQg== X-Gm-Message-State: AOAM530M2HEtuxT39mJeQf36kiqZmnkS47aSPqr6PWJAkEYPR+PebhNg Fz+ELIPmsm9DlKw9ivS9jBTWMK4DCPo= X-Google-Smtp-Source: ABdhPJwn3oTKEzxdvwAgaJ9ysnaeIu1euKh0x3uwqYL7764x1TBsJphsMaVtjP2REEmgauKZTsstDw== X-Received: by 2002:aa7:c351:: with SMTP id j17mr8364763edr.261.1613235494800; Sat, 13 Feb 2021 08:58:14 -0800 (PST) Original-Received: from [192.168.0.6] (82-69-64-228.dsl.in-addr.zen.co.uk. [82.69.64.228]) by smtp.gmail.com with ESMTPSA id n6sm7800883ejy.123.2021.02.13.08.58.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 13 Feb 2021 08:58:14 -0800 (PST) Content-Language: en-GB Received-SPF: pass client-ip=2a00:1450:4864:20::530; envelope-from=andrewjmoreton@gmail.com; helo=mail-ed1-x530.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:199939 Archived-At: Problems notes with async compile in native-comp branch on Windows: a) Bug #46256 describes problems with AOT compiled native-comp emacs not finding prebuilt .eln files when built for mingw64 64bit on Windows. As a result, emacs complains with an echo area warning for every .eln file that it cannot find in the expected location. The stream of frequent warnings that causes make emacs mostly unresponsive to user input. b) The "background" async compilation of .eln files is CPU intensive and somewhat slow. The default settings run a compile on every available core, which is unfriendly for other workloads running on the same machine. It would be helpful to users to have a command to show the state of the async background compilation, including the running compile processes and the queue of pending compilation requests. c) Quitting emacs when async compilation processes are running sometimes causes crashes in the compile processes, which show the emacs abort dialog (once for each async process). The dialogs disappear after a short delay (presumably due to the parent emacs having exited).