From patchwork Fri Feb 16 15:09:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 2254 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6421027BBEA; Fri, 16 Feb 2024 15:12:56 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8AA0027BBE9 for ; Fri, 16 Feb 2024 15:12:54 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1raztP-0006cc-K6; Fri, 16 Feb 2024 10:12:47 -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 1raztN-0006bi-0C for guix-patches@gnu.org; Fri, 16 Feb 2024 10:12: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 1raztM-000346-DE for guix-patches@gnu.org; Fri, 16 Feb 2024 10:12:44 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1razte-0004JY-9k; Fri, 16 Feb 2024 10:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67260] [PATCH emacs-team v10 0/7] Preload most of the things References: In-Reply-To: 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: Fri, 16 Feb 2024 15:13: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.170809633516476 (code B ref 67260); Fri, 16 Feb 2024 15:13:02 +0000 Received: (at 67260) by debbugs.gnu.org; 16 Feb 2024 15:12:15 +0000 Received: from localhost ([127.0.0.1]:59894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1razsr-0004Gw-MY for submit@debbugs.gnu.org; Fri, 16 Feb 2024 10:12:15 -0500 Received: from mail-lj1-f179.google.com ([209.85.208.179]:49655) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1razso-0004GX-4C for 67260@debbugs.gnu.org; Fri, 16 Feb 2024 10:12:12 -0500 Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-2d11d17dddeso11776271fa.3 for <67260@debbugs.gnu.org>; Fri, 16 Feb 2024 07:11:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708096245; x=1708701045; darn=debbugs.gnu.org; h=cc:to:content-transfer-encoding:mime-version:subject:date:from :message-id:from:to:cc:subject:date:message-id:reply-to; bh=LB9CoTE5AQsiWXczYyUr2Opnnf0LhRgwzPYhvU1Fg1E=; b=ILaimqPKzMrS4CHrJSauBVLU9drCo7zMjcE5055yI3aIdA8OURlsK1MP5LfMJ2A3E5 2AjGEve4564Du8KzRxUJYqg2jBc1ojJUTYNN0eJBb0RheRarCjmZx70MeVsLJf933Z7d HjQhJ8WVNy9gwRsFfk/LdjQDg06pK9rkC/bIbr9ElfMo4pbJwjuiTYyRKiSobQ4hOLfr 8PRV15ifeEijy0fzQthTKK9DheYpAvNJ5W8q9cD69J1A+CYxANNr+z64qyDrnZJ2FM7H chp38ZIKagWGcbKawDzY6QOKTt99GuA8AOX/KOwbF9L9B/iDICEH+ZzDblH1TPpHSuIt qJGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708096245; x=1708701045; h=cc:to:content-transfer-encoding:mime-version:subject:date:from :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LB9CoTE5AQsiWXczYyUr2Opnnf0LhRgwzPYhvU1Fg1E=; b=O5gJyYe+c67Neb8CzAEgQo/gsELrLN7uH2ICofmtYtXvRzhT9mHfWeZm082Fx76XEg yZgZaRc7tGEV3y/VXjcWYVa11iRlhMQ7lYVF2xGHuXVEBoxdPJiRujIUI6cf25AkQwjk dIYmmryy+63KP5lVZ4biiiEbpvi/U2u2/F0f73P2PSH4dYVEVsfDd3r9PJeehCVggUOY /ypA+yTpJ5fmLGn5GKlDujGPdgUL1a4XgmmO9Yod6joOEgwnP65WedSY0wWfemGecMLh BNFZZMT09J8x7htXKqUTPLNl+qd3IpWyyqfFuhSWbm7oZtzG5N73J3QkMEZ5XzpiYeQ4 Y63Q== X-Gm-Message-State: AOJu0YzwNscOUHwGd+onkATHFjRs95Huypmvq/MhxktLwrMzug1FB0JS B6l1vYPibdp2sw91Nw78v5FpPwfoni2PmZVCWcQLWRaCsKgrvOUx3kCuVWXw X-Google-Smtp-Source: AGHT+IG/WmMg3E51++8ilygfaCZBd0RKv+guADxSNJ1izavBHV8G6CWbp9pyMblxKISwvNC1mPr5IA== X-Received: by 2002:a2e:2416:0:b0:2d0:f265:4412 with SMTP id k22-20020a2e2416000000b002d0f2654412mr3722556ljk.2.1708096244506; Fri, 16 Feb 2024 07:10:44 -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 o21-20020a05600c4fd500b00410ab50f70fsm2596052wmq.15.2024.02.16.07.10.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 07:10:43 -0800 (PST) Message-ID: From: Liliana Marie Prikler Date: Fri, 16 Feb 2024 16:09:58 +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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Am Mittwoch, dem 14.02.2024 um 08:41 +0000 schrieb Suhail: > So I wrote some code to make it easier to report on the state of > native-comp for some of the packages previously mentioned (the *.eln > files for these packages reside under the "preloaded" directory in a > non-Guix distribution). I'm including below both the contents of the > script as well as the results. > [...] > With a non-Guix Emacs results in: > > #+RESULTS: > : [97/97] passed. Success! > > Whereas with the latest patch-series it results in 41 failing cases: > > #+RESULTS: > #+begin_example > [56/97] passed.  41 failing cases below: With this series I get 94/97. The remaining three don't appear to be preloaded through the loadup script, so I have no idea how to catch them or whether it's even worth doing so. Liliana Marie Prikler (7): gnu: emacs: Wrap EMACSNATIVELOADPATH. gnu: emacs: Build trampolines. gnu: emacs: Don't hash file names in native compilation. gnu: emacs: Disable jit compilation. build-system: emacs: Compute relative file names. gnu: emacs-org: Fix native builds. gnu: emacs-magit: Fix native builds. gnu/local.mk | 2 + gnu/packages/emacs-xyz.scm | 10 +- gnu/packages/emacs.scm | 21 +- .../emacs-disable-jit-compilation.patch | 19 + .../emacs-native-comp-fix-filenames.patch | 329 ++++++++++++++++++ guix/build/emacs-utils.scm | 4 +- 6 files changed, 379 insertions(+), 6 deletions(-) create mode 100644 gnu/packages/patches/emacs-disable-jit-compilation.patch create mode 100644 gnu/packages/patches/emacs-native-comp-fix-filenames.patch base-commit: aae61f54ff6acf5cc0e0355dc85babf29f625660