From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 yLT0Li2rtGUyJwEAqHPOHw:P1 (envelope-from ) for ; Sat, 27 Jan 2024 08:05:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id yLT0Li2rtGUyJwEAqHPOHw (envelope-from ) for ; Sat, 27 Jan 2024 08:05:17 +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="Vt++/W1d"; 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=1706339117; 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=HF7XjKiyMTTckXoflgUOp9qTf8klXml8K4zcNdOSbWw+kmxX/2suZPxThLdgtPJ+vDkJ9e O9AAPSsAxyDmg1D1Ub408CdZ9cRwLsZEeMAhFtJOjDhRQq1UvhrsyXYr9jtzkEYxowq2ec SQGayaJbK34X5hW4nghGlhzSp7FQNYN5eH9Mo4/PWZbzb7VwTTTxS/Yw6rtlHZoVYy6vEp 4keHrhh0stIrwMPfPkeKLJnCC3I5Qkyg7Z4B2CKjsOC0b/pDsskgZNZADkdw2oTafhmti8 EGnZexoBq2sA5DI0YH4OScqOCeB27K+sxNspOZk+2+E1xwYB22menRrYbI5raw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="Vt++/W1d"; 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=1706339117; a=rsa-sha256; cv=none; b=H3RlUd5FgjwETX1EiaNmkk+PupR890HOcjb1kaKFAHRo3FkID8GH36qYGjnv6o7UvRkpfv m6+narcbfk5wsF+ZjR+WZ0xVzYLGdZ4BlQZse1NN4CtB1uAOXehegOI2a1rmMduIxk/b4R hsDrTPVh32cZ5x0UvRQCtpllgOOwhfcEywlHTDlRErf/VsK+z25OZlSU5RWovAe3IoQ36C vUAMrJYr1b3co2oNx4l/hB6cBsdOk2/HQz5R8mFh+D2yv1CseYU6cgaUmRR2rvoHccYyfO j6nfvjkSujX5vg0gbzN2MgBCKQjF5nn0A+z+nulHLqTwaNpojsXD0sEhSvrs0Q== 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 8172062E53 for ; Sat, 27 Jan 2024 08:05:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rTckM-00025I-3t; Sat, 27 Jan 2024 02:04:58 -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 1rTckK-00024N-L6 for guix-patches@gnu.org; Sat, 27 Jan 2024 02:04:56 -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 1rTckK-0004zs-Cz for guix-patches@gnu.org; Sat, 27 Jan 2024 02:04:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rTckR-0002YZ-7w for guix-patches@gnu.org; Sat, 27 Jan 2024 02:05: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: Sat, 27 Jan 2024 07:05:03 +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.17063390719739 (code B ref 67260); Sat, 27 Jan 2024 07:05:03 +0000 Received: (at 67260) by debbugs.gnu.org; 27 Jan 2024 07:04:31 +0000 Received: from localhost ([127.0.0.1]:53337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTcju-0002X0-Uq for submit@debbugs.gnu.org; Sat, 27 Jan 2024 02:04:31 -0500 Received: from mail-ej1-x643.google.com ([2a00:1450:4864:20::643]:51355) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTcjk-0002Vk-M1 for 67260@debbugs.gnu.org; Sat, 27 Jan 2024 02:04:21 -0500 Received: by mail-ej1-x643.google.com with SMTP id a640c23a62f3a-a271a28aeb4so98549966b.2 for <67260@debbugs.gnu.org>; Fri, 26 Jan 2024 23:04:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706339048; x=1706943848; 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=Vt++/W1dbR9c56TQb7mnpLXVe1L6Z1scYX4xVYtc++TisR1K/q1RmEWKVBH683hJT+ qOPGTIdLJ4+oYVI4xHqy0OzNFRvp/5uqitbJqXDFL6sWokX3CdS4IsQ2xmK7ilJSjI3d 39K3Nx/2fmH5OOZYV+/My7jlBsKxNnaQ6iEV2LoMv4X6WqKPLSDPctNxjsrw6qq88DVU xcrYbUWIXeYjLD4uOO/Suxi9LuIPVRIW0ZrYKKV7WQss1InBZmQaun/nenyka2ex/6ci nj8w+zVDk5Z26JXnWJa/tJsuGrhgdPI+xAncXwnsEjEGydydq6ZJLmtfUyn4FmyKLhLn tDIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706339048; x=1706943848; 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=m/hKi6BJOGgyoxKzGRKTS3xSCpplj7/GthA5FXCsXlnCzeoog/M6J25gnhP4cVoA8c 5ML75XPz7/8Yzgj2kiMrxq3rSqKIeEr2tlwhjZVGvVd2ThPiMjlW0tca/YlzEsB1Tc7v LTs63IVcM/JeeysWWYD/u0ohbFYXLC/gG3ZhnBAAFQgfdpzNbG8NQx6WWHj0fSZFXmbk smiev1rd2m0DRofg/cjEHdCpWX0ZWH7bmKh4N1Zg2U2Xp8eIIwewoGlCVURuNzI9qlpP DzgrH5VVNH8fg4QLrAwlhbDUhD3WYAO294JyB6AH7OdhTdnWe+GZOxuCqavMX9eF5l7x hgFg== X-Gm-Message-State: AOJu0YzPW3v7T6WrYdL6nnClqGmBq6kEmbPULph+RPj4K8bULglfeI/I dAe5bwp+I8afJYl1dYF65/YKVGc3AasRjsDqvPHHWz02UMAD9TH+AiIfAuxOujI= X-Google-Smtp-Source: AGHT+IFtl7dB5ODfNIrGKoZtJbuuq04x6rLExEOsqDYxCiaPvutTlb9XOw7TRcK4HRuNeU+VmYe37A== X-Received: by 2002:a17:906:470a:b0:a34:e324:c8d5 with SMTP id y10-20020a170906470a00b00a34e324c8d5mr548185ejq.33.1706339047844; Fri, 26 Jan 2024 23:04:07 -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 tx18-20020a1709078e9200b00a3551f727d1sm92626ejc.68.2024.01.26.23.04.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 23:04:07 -0800 (PST) Message-ID: <61d7784b8133fe9e806f0c88a66a88c62772f35d.1706339016.git.liliana.prikler@gmail.com> In-Reply-To: References: From: Liliana Marie Prikler Date: Sun, 21 Jan 2024 15:09:47 +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.85 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: 4.85 X-Migadu-Queue-Id: 8172062E53 X-TUID: z8ykSvvXzyK1 * 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