From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KBtZItmn2WV9HAAAe85BDQ:P1 (envelope-from ) for ; Sat, 24 Feb 2024 09:24:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id KBtZItmn2WV9HAAAe85BDQ (envelope-from ) for ; Sat, 24 Feb 2024 09:24:57 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Tr8jc1Zh; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708763097; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=MpYEa4qcmPwoOR3kFnr77cpFNyyFz45jgeYOJ5EioKM=; b=rk7A5lC0xuWLyN3RR7CJsZe+3DKefS4503sO7jCuQJKJAgxpsKynCKNRoV6kC37aArVy9d Zk+zXI0fGvXhq6NzYYZ8If0zUkxmo/fOb3Krab6he+IjiZXqBTAIqsIrtFcXTbBVV4eR1W 7DEJ167ZdZi5JrqAH7t/XRR7Hj8kSnVR0BHmp6rYoxMuu4gI5aTfjTYTLKcNIXg645rNLW dbIYCP7+G4sWr17FjgV9HbWlq4m+c/kTRFhS7if5461D7bi1MbxwM/lZXsYpYRBeyCC0uH va/6dkfqs2vXJ6q2V34zt6I8b7nLy02RTdEjXsDEQbcfakXY1mQCKJ1SV8CfVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Tr8jc1Zh; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708763097; a=rsa-sha256; cv=none; b=o6hijgPXW2auusuRXul9seyxnEFqF5U9AFtX6GTraXjqyg7RKbzZwelRyqABeKMM5I2iNp 8wPXH6hmmHJTV4tLl3T4zJGoEMQcKPkzwa1pf5c5k+VzJiI5NiW45Iw5HMSr6jh7s7ydFn P6hlPDvDO2h5UEfHKWiFktrwIPUX/AkrsffvJQ1/hUD8dZNNxTTyF/iz6qzDDB5hu6Pdth ZFqm+uQan1spE2fxHdCzUkTHlD8L+N3dCv/yLpr63GUEGq+ugFiXylfxhMoq/CZTUG4lRH LrA+MY1hddj93yrSuvu5LOauiqn7oNbHMAAOrzG3hLON8CNITWfk9t06xEcllQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3E36B1C567 for ; Sat, 24 Feb 2024 09:24:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdnKq-0004Ga-6w; Sat, 24 Feb 2024 03:24:40 -0500 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 1rdnKp-0004GF-1U for guix-patches@gnu.org; Sat, 24 Feb 2024 03:24:39 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rdnKo-0006CN-Q6 for guix-patches@gnu.org; Sat, 24 Feb 2024 03:24:38 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rdnLC-0006Tv-NF; Sat, 24 Feb 2024 03:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67260] [PATCH emacs-team v11 4/7] gnu: emacs: Disable jit compilation. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Sat, 24 Feb 2024 08:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67260 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67260@debbugs.gnu.org Cc: Suhail , andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com X-Debbugs-Original-Xcc: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com Received: via spool by 67260-submit@debbugs.gnu.org id=B67260.170876305624734 (code B ref 67260); Sat, 24 Feb 2024 08:25:02 +0000 Received: (at 67260) by debbugs.gnu.org; 24 Feb 2024 08:24:16 +0000 Received: from localhost ([127.0.0.1]:37642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdnKS-0006Qq-0d for submit@debbugs.gnu.org; Sat, 24 Feb 2024 03:24:16 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:58690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdnKQ-0006QE-3A for 67260@debbugs.gnu.org; Sat, 24 Feb 2024 03:24:14 -0500 Received: by mail-wm1-f68.google.com with SMTP id 5b1f17b1804b1-4129ed6f514so511185e9.1 for <67260@debbugs.gnu.org>; Sat, 24 Feb 2024 00:23:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708762964; x=1709367764; darn=debbugs.gnu.org; h=mime-version:cc:to:subject:date:from:references:in-reply-to :message-id:from:to:cc:subject:date:message-id:reply-to; bh=MpYEa4qcmPwoOR3kFnr77cpFNyyFz45jgeYOJ5EioKM=; b=Tr8jc1ZhUeWdZDP7tHkCToa5btxAaHEnhvjDTCTpMXGnXPDbiN3MlhZKg9tga2LZmn j2qshmz8HI1rwR+1HfwfrEtiroLsZlKSe8Ty3QtmTeT7gBYe5IKA1qAW8o7SYVUl6uny QKRbMUkgqJ8TN+sh8YKR9T6e9Z0q/rlL5BwvWhqUHy86n1NJhC3bGd0ao0VijDNjw46d NDRCo40YjTofQaK9nuof0FPSPeEPg43n7ryP7KseM41M9R/gEB+RokaPgAQ8oGIpNHjr RbwuNJcrBProZG1oILQeN2/T03wdf4WvDrQpe8pgpk60TWYPSILI0Rgw2xj7ToQZFnr7 FmJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708762964; x=1709367764; h=mime-version:cc:to:subject:date:from:references:in-reply-to :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MpYEa4qcmPwoOR3kFnr77cpFNyyFz45jgeYOJ5EioKM=; b=EdKOOS6FMt1tIwXs6320ALsJ3jZ+K/f8GVA6pamZizW5q+m1x+bQX50v3NaruwfSZD 1nXcrsfctyQL1y44SxIuLces4VeElEatakwnvdMJ3PK8Osboe3QxaCRF+tQec8FeudpW Bq06nC98Q5QcLSdppRTQeGYyVh2y5BU8aAtzblMm/B+5laR1cyS0Dxeam+ytxTWc1Kqi X961a+TsFU9jrBZjnBHzNiAOVK1SozV9adQoa3SLGP88P43pDkgH5vAjsqLKy29xSvPd 11cxWgQ2eHGPG0EM4/XXjd+ZvPDT99y8So8MFWJ4EtcVF7BvlN+89auJ77YoCOUbHLZA +TKw== X-Gm-Message-State: AOJu0YymvEQgKWZxnLdXcZyl1SErFuLlKNmgJ0/S8dCyqLd4Bji9kFo0 rvNa+DrL7JKJs9CUVriYLLuA1BYV3ht0NYmW/PEkbGES/LRav9K3lj65+OS1VyQ= X-Google-Smtp-Source: AGHT+IEasNkpAt8WPKjqKH4niyZrrKdzseqXs/3TawtvznpK+LS3TCF1RbtmVN2tt8MnmCf42lcCkg== X-Received: by 2002:a05:6402:895:b0:564:813f:7af3 with SMTP id e21-20020a056402089500b00564813f7af3mr1146636edy.18.1708762438667; Sat, 24 Feb 2024 00:13:58 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id fk2-20020a056402398200b00565aed6c2a8sm160945edb.29.2024.02.24.00.13.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 00:13:58 -0800 (PST) Message-ID: <3621493e4cc9f83253d7f191b783fd11212c7045.1708761863.git.liliana.prikler@gmail.com> In-Reply-To: References: From: Liliana Marie Prikler Date: Tue, 13 Feb 2024 19:30:50 +0100 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 5.23 X-Spam-Score: 5.23 X-Migadu-Queue-Id: 3E36B1C567 X-TUID: Qb9hmMMnVyX+ * gnu/packages/patches/emacs-disable-jit-compilation.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it here. * gnu/packages/emacs.scm (emacs-minimal)[patches]: Use it here. --- gnu/local.mk | 1 + gnu/packages/emacs.scm | 3 ++- .../emacs-disable-jit-compilation.patch | 19 +++++++++++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/patches/emacs-disable-jit-compilation.patch diff --git a/gnu/local.mk b/gnu/local.mk index 7e6a0c5006..9121f13b39 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1112,6 +1112,7 @@ dist_patch_DATA = \ %D%/packages/patches/emacs-all-the-icons-remove-duplicate-rs.patch \ %D%/packages/patches/emacs-deferred-fix-number-of-arguments.patch \ %D%/packages/patches/emacs-elpy-dup-test-name.patch \ + %D%/packages/patches/emacs-disable-jit-compilation.patch \ %D%/packages/patches/emacs-exec-path.patch \ %D%/packages/patches/emacs-fix-scheme-indent-function.patch \ %D%/packages/patches/emacs-git-email-missing-parens.patch \ diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index f0200ad27c..e6f2b699ac 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -108,7 +108,8 @@ (define-public emacs-minimal (sha256 (base32 "1p3h4sz8da8vhix5140g2qkdy8mz11d7mmvsym5vy847k1428gbx")) - (patches (search-patches "emacs-exec-path.patch" + (patches (search-patches "emacs-disable-jit-compilation.patch" + "emacs-exec-path.patch" "emacs-fix-scheme-indent-function.patch" "emacs-native-comp-driver-options.patch" "emacs-native-comp-fix-filenames.patch" diff --git a/gnu/packages/patches/emacs-disable-jit-compilation.patch b/gnu/packages/patches/emacs-disable-jit-compilation.patch new file mode 100644 index 0000000000..8b1ac5a9df --- /dev/null +++ b/gnu/packages/patches/emacs-disable-jit-compilation.patch @@ -0,0 +1,19 @@ +Index: emacs-29.2/src/comp.c +=================================================================== +--- emacs-29.2.orig/src/comp.c ++++ emacs-29.2/src/comp.c +@@ -5648,8 +5648,12 @@ For internal use. */); + doc: /* If non-nil, compile loaded .elc files asynchronously. + + After compilation, each function definition is updated to use the +-natively-compiled one. */); +- native_comp_jit_compilation = true; ++natively-compiled one. This variable is enabled by default upstream, ++but disabled in Guix to better make use of precompiled packages. ++Notably, Guix removes the hashes that prevent inadvertent shadowing ++frm the file names of compiled libraries in order to facilitate grafts. ++Enable at your own risk! */); ++ native_comp_jit_compilation = false; + + DEFSYM (Qnative_comp_speed, "native-comp-speed"); + DEFSYM (Qnative_comp_debug, "native-comp-debug"); -- 2.41.0