unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Corwin Brust <corwin@bru.st>
Cc: emacs-devel@gnu.org
Subject: Re: Porting my conf to 28.0.60 (MS Windows + native-comp)
Date: Mon, 18 Oct 2021 15:16:31 +0300	[thread overview]
Message-ID: <834k9efrz4.fsf@gnu.org> (raw)
In-Reply-To: <CAJf-WoSoRue4fwAiiCQOL4LFHez_aVQaSL4HOCqM4DG-YhGGJg@mail.gmail.com> (message from Corwin Brust on Sun, 17 Oct 2021 20:51:02 -0500)

> From: Corwin Brust <corwin@bru.st>
> Date: Sun, 17 Oct 2021 20:51:02 -0500
> Cc: Emacs developers <emacs-devel@gnu.org>
> 
> ;; tweaks for native-comp
> ;; https://ddavis.io/posts/emacs-native-centos7/#deferred-and-asynchronous-compilation
> ;; via https://github.com/jwiegley/emacs-async/issues/96
> ;; helper boolean I use here and later in my init.el
> 
> (defconst my-using-native-comp
>   (and (not (version< emacs-version "28.0"))
>        (fboundp 'native-comp-available-p)
>        (native-comp-available-p))
>   "Indicates we are using native compilation (via libgccjit).")
> 
> (when my-using-native-comp
>   (message "Native compilation is avialable; throttling")
>   (setq native-comp-deferred-compilation t)
>   (setq native-comp-async-query-on-exit t)
>   (setq native-comp-async-jobs-number 4)
>   (setq native-comp-async-report-warnings-errors nil))

I see nothing here that could cause Emacs to spawn too many child
processes for native-compilation: you limit the number of simultaneous
sub-processes to 4, which shouldn't be a problem.

So I still think you should try preparing a reproducer for that
strange error message.  When it happens, could you perhaps see how
many network connections does Emacs have (with, for example, netstat)?



  parent reply	other threads:[~2021-10-18 12:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-17 18:50 Porting my conf to 28.0.60 (MS Windows + native-comp) Corwin Brust
2021-10-17 19:20 ` Eli Zaretskii
2021-10-17 23:25   ` Corwin Brust
2021-10-18  1:51   ` Corwin Brust
2021-10-18  8:38     ` Andrea Corallo
2021-10-20  1:13       ` Corwin Brust
2021-10-18 12:16     ` Eli Zaretskii [this message]
2021-10-18 18:59 ` H. Dieter Wilhelm
2021-10-19 18:41   ` H. Dieter Wilhelm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=834k9efrz4.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=corwin@bru.st \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).