GNU bug report logs

#57878 Emacs native compilation on startup can crash the system

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #52 received at 57878@debbugs.gnu.org (full text, mbox, reply):

Received: (at 57878) by debbugs.gnu.org; 14 Oct 2022 17:38:34 +0000
From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 14 13:38:34 2022
Received: from localhost ([127.0.0.1]:38544 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1ojOdm-0002IE-0S
	for submit@debbugs.gnu.org; Fri, 14 Oct 2022 13:38:34 -0400
Received: from mail-wr1-f51.google.com ([209.85.221.51]:41596)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@gmail.com>) id 1ojOdj-0002Hy-Uh
 for 57878@debbugs.gnu.org; Fri, 14 Oct 2022 13:38:32 -0400
Received: by mail-wr1-f51.google.com with SMTP id bu30so8661453wrb.8
 for <57878@debbugs.gnu.org>; Fri, 14 Oct 2022 10:38:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=Il4RY1Tctqz93Xolc3aH7G8ukJ/RAD9hBjkvv9gr1Xs=;
 b=C5J+ayTiEX2Qr8JGMz6Hapwo1Z9x1othFYSvh3DW1t+LhcAdWR5rQuO2IDOOKOiwQn
 y/2oyJJTMBMP5rzIj8dQtW7MQMlEAFCfdawLH2UbIjtFkyVVGm8ucmSP2kTmrcj0CYdb
 ZHxITEXD55ZVAWvTZjiS2KZmW0q98pTfI5Q2bCFsMWgl3Ei9o1OZRvu/v8CdnlU3ie8B
 FPlrLmJs9F77ROrjGwtbycuxucKq7WW0s5C6yaQImcIAKJ4eB/gZkgdYMl4hiI9Ns6lb
 uOy1W7UaPhwh7yv5fMhMKjm3Em3WG1fmuYJ2zfYKrlQwJQJdWO7FR1d+dGSGNR5JhSJe
 dttA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:mime-version: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=Il4RY1Tctqz93Xolc3aH7G8ukJ/RAD9hBjkvv9gr1Xs=;
 b=TQLFpvUJCkdX7qeS8ZnmS0IivMsvHDmLf2SNBIUr2OjDW6daT978T5/j3RKyRVoRNk
 Fxy77Bn06nxvmgfnneHc7quE20gO/+VFbx8PoTyrSRh1w2NZnuIM0vJBWmvVs8UzKPjG
 duSKfyytfXc/+CPWR/O6U7vhi4slGskhOiqE1mpS8ocO6ZMc4q8lwAtlo3jVp2lF0JEC
 U3uD+QEcqFx4kXtHQfFaSDx3x79AaEqJWqFzdyitWMQens/ikNB3Tx48w0Haw4570+lg
 ejVyzXqCDNS5Z4xMQU8h5NY/Mtz8shdDqCvxC9FfyJ0bUQI7tTUx9Cs/EGt3THoFtIAF
 Xb0w==
X-Gm-Message-State: ACrzQf004+qRzoTlyl7PJI+NNBCYSeJ5kdI6oB/un5Dldj9/V6voetv2
 VhXmeO6ZzPYsOXQOPYzFnNPhECHd4nc=
X-Google-Smtp-Source: AMsMyM4f66GQ02n6YNKR+hNsPGRXwycwhkAVraZbiTvolST28UpEzehETCmTTa0BsZJz+FILensnXQ==
X-Received: by 2002:adf:f011:0:b0:22e:4485:34c2 with SMTP id
 j17-20020adff011000000b0022e448534c2mr4340170wro.593.1665769105824; 
 Fri, 14 Oct 2022 10:38:25 -0700 (PDT)
Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id
 k13-20020a5d6d4d000000b0022ac38fb20asm2321714wri.111.2022.10.14.10.38.24
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 14 Oct 2022 10:38:24 -0700 (PDT)
From: zimoun <zimon.toutoune@gmail.com>
To: Liliana Marie Prikler <liliana.prikler@gmail.com>, Konrad Hinsen
 <konrad.hinsen@fastmail.net>, "Thompson, David" <dthompson2@worcester.edu>
Subject: Re: bug#57878: Minimal reproducible setup
In-Reply-To: <6873fe86a05a548e7427d2de7df04a27a967713a.camel@gmail.com>
References: <m1o7ve2t2a.fsf@fastmail.net> <m1o7vexawf.fsf@fastmail.net>
 <e00fb97ec9fa651b42c7bbbf29760e0d93e6e3e6.camel@gmail.com>
 <12eb8b51fe6c9508517e19bdeed923c389cafe1f.camel@gmail.com>
 <m14jx3q4qy.fsf@fastmail.net> <m1r107iw6t.fsf@fastmail.net>
 <CAJ=RwfbckEBc+7MSTbVtKsoL7EGM_ZYk+CecO-6x0PGDkWfntw@mail.gmail.com>
 <m17d1iskc0.fsf@fastmail.net>
 <6873fe86a05a548e7427d2de7df04a27a967713a.camel@gmail.com>
Date: Fri, 14 Oct 2022 18:07:08 +0200
Message-ID: <871qrapexf.fsf@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57878
Cc: 57878@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Hi Liliana,

On mer., 12 oct. 2022 at 21:42, Liliana Marie Prikler <liliana.prikler@gmail.com> wrote:

> In Guix, this is more or less a user choice – we advertised the
> transformation by which you can opt-in to AOT compilation in a news
> entry.  Also, enforcing ahead-of-time compilation does not fix the more
> pressing issue of packages breaking with native compilation ;)

Indeed, the news entry reads,

--8<---------------cut here---------------start------------->8---
 (entry (commit "11a06d1e49f4d50d6789e05bbf35e2e145ff7838")
        (title
         (en "Emacs now supports native compilation")
         (de "Emacs kann Pakete nun nativ kompilieren")
         (pt "O Emacs agora suporta compilação nativa"))
        (body
         (en "Emacs can now compile packages natively.  Under the default
configuration, this means that Emacs packages will now be just-in-time (JIT)
compiled as you use them, and the results stored in a subdirectory of your
@code{user-emacs-directory}.

Furthermore, the build system for Emacs packages transparently supports native
compilation, but note, that @code{emacs-minimal}---the default Emacs for
building packages---has been configured without native compilation.
To natively compile your emacs packages ahead of time, use a transformation
like @option{--with-input=emacs-minimal=emacs}.")
--8<---------------cut here---------------end--------------->8---

Maybe it could be worth to have that in the manual too, no?  For
example, under ’Application setup, Emacs packages’ [1].

Because it appears to me more than just a simple news if it is more or
less an user choice.

1: <https://guix.gnu.org/manual/devel/en/guix.html#Emacs-Packages-1>


Cheers,
simon




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Mon Sep 8 11:51:17 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.