From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CKVaB6hutWWw+AAAe85BDQ:P1 (envelope-from ) for ; Sat, 27 Jan 2024 21:59:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id CKVaB6hutWWw+AAAe85BDQ (envelope-from ) for ; Sat, 27 Jan 2024 21:59:20 +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=T9WgV3yE; 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=1706389160; 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=csikcz5knbe/J7k9lSbAMphRFlG3nCBGf/PGMIkjTgQyoU9w7PvmJEBvzI5u+gKiHQK6cW mtxcjfzK5NFkwueB1gkVwCO2lBn02t3UohR1uBs3k72XoGn8OQfLR4kknplsP0HMchEiGd jSq/sEfY1WkxjHV/Q+XhdJoP8UK7wQdZBJNlkujFxpu9U+PzZCVtH06OmxTTZdz7H6A7US hDj+wuLbo+vWSzw7XL/adbsSdUzRwv2Sc+JzUu9Id74h2FNCv6o30KVqRUOi+VP80R/fws ywU53zzYulue/T831mhQxnDu/ocC7T5hqLdOvpWe+Yk1m4kSNhnWLmyuvGGYtw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=T9WgV3yE; 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=1706389160; a=rsa-sha256; cv=none; b=MYKe8iXAMjU8dyUuyvQr2+09E06bdvbmdRn4P19STrn/1dpoB6nk72bkOlGpGPNs8veAPQ zmApAvPJYpZo6caLlCKzL7an6N7yHI3AEeFMD7N9WuxKyE9ubufhF526KjNZqLV+btoybi jICQDU57IBTv6MMQUY/OhYHkU4jSEbp0yLZ9/ngeizEh0VLXR1W6kZef1xeRBSqyGyM+Bn aYDQpGY3PYGiTxlQ1KBUL48kvakFZrZBqQpMTwLUmvvjSBOM/uZs67jsj1e//qOIes4JQj AGWo4vrfLkNCgHsf5YkpYpJpqt5BGSaBhswJ2fyYSOHX/wi+YA8nakowp2jcLQ== 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 E542B5CC73 for ; Sat, 27 Jan 2024 21:59:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rTplU-0004uN-1n; Sat, 27 Jan 2024 15:59:00 -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 1rTplP-0004sY-Uc for guix-patches@gnu.org; Sat, 27 Jan 2024 15:58:55 -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 1rTplP-0005qR-N4 for guix-patches@gnu.org; Sat, 27 Jan 2024 15:58:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rTplW-00056F-UY for guix-patches@gnu.org; Sat, 27 Jan 2024 15:59:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67260] [PATCH v8 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 20:59: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.170638911219526 (code B ref 67260); Sat, 27 Jan 2024 20:59:02 +0000 Received: (at 67260) by debbugs.gnu.org; 27 Jan 2024 20:58:32 +0000 Received: from localhost ([127.0.0.1]:56040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTpl1-00054k-4D for submit@debbugs.gnu.org; Sat, 27 Jan 2024 15:58:32 -0500 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]:52634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTpko-00053X-Gp for 67260@debbugs.gnu.org; Sat, 27 Jan 2024 15:58:19 -0500 Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-5100409e31eso1997354e87.1 for <67260@debbugs.gnu.org>; Sat, 27 Jan 2024 12:58:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706389085; x=1706993885; 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=T9WgV3yEn+7iYq7JNRJetMek5jTB7fFb8Bj6IqZws6jxMoiyjYVyxFT93tsMYuUazg H3TJf0drbTQiHGJqtpAxCwtTfuivmlNxFmN2+Oy5p5JUslHGAC2W8sr7hBNOZCCUaIB0 4980z+sm8GvD3bzB8lhGFMsgMb0vjFKAEtoyILi9fK51wo2YI/UqrmW54nB32cyZPwWc Ke6mB25r0Ufz0N8TJfWLjHzz6ewb1vpJET9d7Kc5Yjpr1Boo4o7OV8MNr/khBT/871Pt 69iXcVJXDysJjCwIP+CMppU8HSuboqdQWfVqjqYMlbGOaegkx9v+WBHuMmbufTyFiEKk IQBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706389085; x=1706993885; 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=LLtX8HF1NjobfaPqMwRuF29PayJlq3gyT7DnLcM+uVChQ+mcGOcmrugbhCOPsex+5z 4xqe7lMNZ+d4NOxx9F2/XhJBs5I1uKZJX77dDbhrCC9ZsFcH4Ujlu2WBk+TYQm2hqTp+ c5N9OxXckDe35KWVybMoSUHW2XneWKgQGWgb1T0CZm7+5Cj7OjhZMw0ItmKCxDYsMWdq eJbYZH27+QNMaVdYeucAKiDr3j1AIm5qEEKK4qWr743y5rt1HezOnBMhYRsYTFEXJEUt EM4s/K5fJYjwYtR7ZZihmUQMRzZc14uN+855PsYYGHKF/I0hQA9kWpOdVKlZdgIV+2sI 939Q== X-Gm-Message-State: AOJu0Yz0CmnQ9RCkA6CeXBHupoMNn28rto+dqstvWPZ9DRpASvfppQYx ofoUF8XiB0mRLvrDV4W5iCd7t844YxBvJYAihObHcIc3a/n8nQwZ5nxfxCRQ X-Google-Smtp-Source: AGHT+IEgFVDgsmH1E/SGzpQo4t+B97UsLyuTZsn2JhOmqV9MYPUEsh/I9MF98OoOO8VeM5cjtCqTVg== X-Received: by 2002:a19:ac0d:0:b0:510:e05:4361 with SMTP id g13-20020a19ac0d000000b005100e054361mr1295721lfc.3.1706389085106; Sat, 27 Jan 2024 12:58:05 -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 q14-20020a17090622ce00b00a33dbebfd3fsm2081051eja.209.2024.01.27.12.58.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 12:58:04 -0800 (PST) Message-ID: <2a1785ea1709b6bca18fb5c92a506cb373757186.1706389058.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-Queue-Id: E542B5CC73 X-Spam-Score: 4.85 X-Migadu-Scanner: mx11.migadu.com X-TUID: ipz00mvGFgnD * 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