From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id eFJ8J+jDy2WpLwAA62LTzQ:P1 (envelope-from ) for ; Tue, 13 Feb 2024 20:32:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id eFJ8J+jDy2WpLwAA62LTzQ (envelope-from ) for ; Tue, 13 Feb 2024 20:32:56 +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=A3DWsjBZ; 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=1707852776; 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=/ctDrNEzJER0S3sPc26a6mQerVd1gaaaswhlexld1dw=; b=tCvAsvTm0L4pKPYjWVA0BSl3iXWzbOT2e3LLxHYq72aF++it8M6gPYAc+idUr/KfqZzr1E /u76XxzakZ5rCZmsJFkru1CYuZL0tXJs5QRk0fRXjM7vYRJ5rr/qbkboZdLnSLL+s6hs3W h1C+wZY0E9nb45xoogD6odOnFeOdDuZKCtXoCyQ1nHSoASPiKaQzFGZgePTYPJulDMsz1O 7oPX3jMMIq00C/CtPHIBm0XCnb40Zy2ytquVlql4Mr3hXuct8PiqJnAuoB8thQotuPCTOd LcZB8YkNMFWSbiItj/LM96lVcWyuNcXVxVfn9OL+MQE29Diim3B/WlU86SPxsg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=A3DWsjBZ; 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=1707852776; a=rsa-sha256; cv=none; b=L5tnqdPkEz0F8zN+Gyfdv8Ca/BlFtGr/4+wGqE+xlMm9TiW7oW/v0I1m9co+RFQWYzs2of 10jOxc6T1+6O71kOZ6lfrkUUyNv6/9FdOU9g7LDypw8p5sd7uh9MwxJTbYPSV3WF9/PtIT pXUMwWusaHq222xex7opp4n+yUVOjXMAfvXb9sPTmTTNlI2swy4krnGxgtaDfm+L0LxMiV Ngc+2T83FJY3wj2QBWf8cfEWWbmXC5l24MPTICY1jl8cLWnFW9j0cD3jat7coVUZMEWvCm LH0Ek+Vvdi/tc8slMhmLkuzU8aM4A1AIK6rxXmC0/s+jeGbqYUp0RqkXmdqHZw== 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 5921A50BD3 for ; Tue, 13 Feb 2024 20:32:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZyW8-0007vL-Pa; Tue, 13 Feb 2024 14:32:32 -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 1rZyVX-0007r0-KT for guix-patches@gnu.org; Tue, 13 Feb 2024 14:31:58 -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 1rZyVN-0004Gf-F3 for guix-patches@gnu.org; Tue, 13 Feb 2024 14:31:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZyVf-0004Fy-0F for guix-patches@gnu.org; Tue, 13 Feb 2024 14:32:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67260] [PATCH v7 4/7] gnu: emacs: Disable jit compilation. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Feb 2024 19:32: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: cox.katherine.e+guix@gmail.com, Suhail , andrew@trop.in Received: via spool by 67260-submit@debbugs.gnu.org id=B67260.170785268416263 (code B ref 67260); Tue, 13 Feb 2024 19:32:02 +0000 Received: (at 67260) by debbugs.gnu.org; 13 Feb 2024 19:31:24 +0000 Received: from localhost ([127.0.0.1]:47409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZyV1-0004EE-R6 for submit@debbugs.gnu.org; Tue, 13 Feb 2024 14:31:24 -0500 Received: from mail-ej1-f68.google.com ([209.85.218.68]:50398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZyUv-0004Cv-TL for 67260@debbugs.gnu.org; Tue, 13 Feb 2024 14:31:18 -0500 Received: by mail-ej1-f68.google.com with SMTP id a640c23a62f3a-a38271c0bd5so597782966b.0 for <67260@debbugs.gnu.org>; Tue, 13 Feb 2024 11:31:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707852594; x=1708457394; 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=/ctDrNEzJER0S3sPc26a6mQerVd1gaaaswhlexld1dw=; b=A3DWsjBZx9+0/R70FWM+AN91HMhqnnh9kiwU+sBIaTK08pdUUy65OUxzYBP21wQmvk F7b260fNE0Q+Tn5BbPzC5f60dgLoe7YzpXTnlYqswuxVdmEyp2EEN3RTxWw1b414D596 lApXoqb2nLBTmP7mI2OxciWjlt1eHNEEeqeEEtxHgLcJkACz6ogTNBwg6ZIdpMkSB4J5 abkZe6tgA6bFAEbbQCZj65X7itDsZxCA08Fl/BuxzuGs62WpxbcJ06MAMr+90Lg4oUPG NbjHIcD4IBkZxwVSvC86GmhZLi3TAqSpR3hRmMqvU+JeW/QwHTIyLi88bn9zJEQ7ZeBk b9sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707852594; x=1708457394; 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=/ctDrNEzJER0S3sPc26a6mQerVd1gaaaswhlexld1dw=; b=dXH6IbvblAcOFd3B+FNBtcwhJR3wQY0n5pgwKdBX9hhKvXaFsU1k9dg1MZgu5Lyb+B FlL0ByDRtFjNCF5NmfZgY7peKXuqPLN2MotTp/ZMTBfu++sj9oFBlZlBkIDUeDoYGrzJ 4OsUz/TFjb+rgwmjnh5hduNtyDw/yoIsNQ98XEWCp4xX+SnmaNCwFtjDvWOxqp5InYmu uHca26BzlLeRjGVIo3+qijW2JTPShbMqfPD/exmlNpNjS1bxIHXJCXcuwWDbWDPuz4ht MLHITpnf99gi9XyCtVnNBQwg2b4ZF0BtijV1UKvl7FS4Dxc6ynE58xHoNXtT6rRvKbl7 maOw== X-Gm-Message-State: AOJu0Yz7g9U+Yv7i9yzu8nxnMK387LZRqr2s8MdGjxbutMbwsgo/LehB p8AM26vN/9Jhkm11x/1yrXQOwMIMYQ4GgMht4WmRi945g9tUDv3+fIDaU3RIcg0= X-Google-Smtp-Source: AGHT+IG/2anms+UQ6gr2OBbHpcTAS8r9N00PDt8WAjnPERshcV6H3kfJ8rggSi60O38tjmY3syzRmg== X-Received: by 2002:a17:906:eb50:b0:a3d:765:7bdc with SMTP id mc16-20020a170906eb5000b00a3d07657bdcmr236089ejb.25.1707852594374; Tue, 13 Feb 2024 11:29:54 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUMAHHx8VzazGN/Z7CGqUi0hl+d61cmEMDvwv1qTFxv0kcjA39BANNvDy0ZMqlyUwG9rhfgOOSNaxwzf5d7x7q8DZL2PeI5+jgsMxNxy9/bd/EsYbSUIRZz9MBR1zzP Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id sd18-20020a170906ce3200b00a3c456b0c0esm1573041ejb.108.2024.02.13.11.29.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 11:29:54 -0800 (PST) Message-ID: <2188ddbfcdabbba12df18a4c3af34b123ea8448d.1707852049.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 4.03 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: 4.03 X-Migadu-Queue-Id: 5921A50BD3 X-TUID: 7dkWZlDhByD4 * 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 1caa2cbee0..03c50eba6d 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CJUOItLYy2VqQwEAqHPOHw:P1 (envelope-from ) for ; Tue, 13 Feb 2024 22:02:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id CJUOItLYy2VqQwEAqHPOHw (envelope-from ) for ; Tue, 13 Feb 2024 22:02:10 +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="J66kO/GX"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707858130; a=rsa-sha256; cv=none; b=Pcdv8wKyjyW10s2EaX7BsI6KJetr00DX+Gh8jySlfPATqxAuvArvSI4EEBbsyJrnjh8Zsa rVDlgRnsDfCdRcaaLKnFcsLNvXLNXamnt+H6f+5ncPMnOAxcaWHsBO1Lw8NLQdMnhRS5Os /MIWqCqcdU/29GAEiRWIu0FQGMPRC4ikz+3YMlt4lTLaOJP0ZZr5visUGMQNafrNo4905E iN7qlz7dZETHN4QR/QjCPLKbLwhKlxOKvTRpFK3J+iT+RWqpe/0xo382aSBliUpcET5I54 J5MJvfQ6KBUnt2QkEhq5/3eQhlkIwSu/QgPMFSyIUDPSV8kvprltloI5aGzsrw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="J66kO/GX"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707858130; 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=/ctDrNEzJER0S3sPc26a6mQerVd1gaaaswhlexld1dw=; b=D+ER1L/ijPWI1vl6YeOo3VRs1w0L9TvCdN5eI3F91kGXQvQWhGeXiRhdpbsGVTSJjDX/Ul 8jDDsrkOsQgUjNfdsE3bwlSrHUQQ4ViuIlHJrWgxgrVdJrXxAaIlcte9XSSN2JGHhfiu0u gP5u4R4n4qKRGLKX+Mjus7W5VCVuEmuOAEsUkkdHg3VDSVcFHYjPecuht7nXpUHMZ6dTIE 5xHX05KGzL5YBcsTT91wofkub3jQ4aPRLIZkDgCxVF/XndEZSkaHxSsPUmaghQUukL4CRu 2HZ4JH8TEsPXl3wBBmtX1sv3kZXtlWxSAPyjWuwlySfjwi2dzvfuXKZU8P3JZQ== 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 5F97E9A61 for ; Tue, 13 Feb 2024 22:02:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZzug-0003wV-0A; Tue, 13 Feb 2024 16:02:02 -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 1rZzuT-0003vp-69 for guix-patches@gnu.org; Tue, 13 Feb 2024 16:01:45 -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 1rZzuS-0004QQ-UB for guix-patches@gnu.org; Tue, 13 Feb 2024 16:01:44 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZzuk-0007nk-HM for guix-patches@gnu.org; Tue, 13 Feb 2024 16:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67260] [PATCH v9 4/7] gnu: emacs: Disable jit compilation. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Feb 2024 21:02: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: cox.katherine.e+guix@gmail.com, Suhail , andrew@trop.in Received: via spool by 67260-submit@debbugs.gnu.org id=B67260.170785808729821 (code B ref 67260); Tue, 13 Feb 2024 21:02:02 +0000 Received: (at 67260) by debbugs.gnu.org; 13 Feb 2024 21:01:27 +0000 Received: from localhost ([127.0.0.1]:47906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZzuA-0007ks-8m for submit@debbugs.gnu.org; Tue, 13 Feb 2024 16:01:26 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:50681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZzu3-0007jT-4L for 67260@debbugs.gnu.org; Tue, 13 Feb 2024 16:01:19 -0500 Received: by mail-wm1-f67.google.com with SMTP id 5b1f17b1804b1-411c93e6bfaso6736165e9.1 for <67260@debbugs.gnu.org>; Tue, 13 Feb 2024 13:01:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707857996; x=1708462796; 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=/ctDrNEzJER0S3sPc26a6mQerVd1gaaaswhlexld1dw=; b=J66kO/GXKthJK5eSyHOLF2+0jQ8yWeF/82qIkzshaWP8JdKdcrnKfP3cHYIy+0GCzF /pKcH6vQD42SwVNSzLidkw//pvE0g9velbNz6ruV+Ipo5NLOIKVn2pEkBaJu819h2vuA M33MVbsPTzOPwZNM1QKnyFxXLq9V8uR4gTlayH/9W+Ru9PkSiHYCbTqxrKiogQlPwnj1 v2jnFRyHzqHHXfQc41JUnOiG9fo/0w2JE89YGuQLOU7Dqvjq/QNpxWwnPfDBdGrBGVzF rvND3hyauS4Qpti9ReG20tvG+Fv7kqeVsLGZwlRCt5W4EC64UAYJDph5OfqzMdbeZ50z cN6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707857996; x=1708462796; 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=/ctDrNEzJER0S3sPc26a6mQerVd1gaaaswhlexld1dw=; b=e/FOq+b2Tnf56BvELaHI41pzhx6b3SuxzowuxOyYPVdXbH869NUG0T7axH6m9jQWxs HGvJ4+Oa6r/xpOVWXWWyKQTxBMb4sNIAWOMFNZS+wjsk6NMWAtaULd51UIaUK0odm4JF XYrPGGqhBaNjomJHPckh4+5eug7z03iBk4J5QKZLA1geVV64l3lXrI9kw7lMa9k+lLUR XF5UEeajRZjXVRRPTi1KYInQxH/52tE+FgGo5A1hRDJSmGBW3WDEuQVolVhjJTQFf0bl 754NiC/4qiTru0xq/o87gYJ5Jhb+iZeJ8v0talYxbvjcy7e1V4dfQ3CZ/XlfGk4beLFC t7Zw== X-Gm-Message-State: AOJu0YzDKgRcPM4YLFWxDLfpPopTV7C2VZXb1v6wvqlCF12xMRrZyCxQ 5mP8brdLB+4YY7AdxgsMOCRSqkhpCyF95gbFpJAPfFuV8GcrSEpwnJ2sn9HFZoI= X-Google-Smtp-Source: AGHT+IHk6SmdqoCbi+Kat/xBQN8hEwnsqki+YomvUY5KZo0wdUckxNrVh30fbhSyOaZKtDiJkMVqAg== X-Received: by 2002:a05:6000:24f:b0:337:c729:454c with SMTP id m15-20020a056000024f00b00337c729454cmr291427wrz.18.1707857995784; Tue, 13 Feb 2024 12:59:55 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXOBqZihMezn67bfRzdUZFgcMKbnIoo5MOKOnE5b2tXZxEBob9+q6Il53WGIDsY78inUD88VugUZWVQlBr0spLsP6cQOeODTnFIMhJ2HJd4xhYrHnmBH4ce4pE1aqvY Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id bn5-20020a056000060500b0033b3c03053esm10686642wrb.78.2024.02.13.12.59.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 12:59:55 -0800 (PST) Message-ID: <2188ddbfcdabbba12df18a4c3af34b123ea8448d.1707852049.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -3.88 X-Migadu-Queue-Id: 5F97E9A61 X-Migadu-Spam-Score: -3.88 X-TUID: ptwAhg3QraUC Message-ID: <20240213183050.4dCyVvCu19a1CARd7J5JkdYm9GmAxUtTZ_8rMhrDAWw@z> * 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 1caa2cbee0..03c50eba6d 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