From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cIHPINMa3F//FgAA0tVLHw (envelope-from ) for ; Fri, 18 Dec 2020 02:58:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WA1+HNMa3F/EPgAAbx9fmQ (envelope-from ) for ; Fri, 18 Dec 2020 02:58:27 +0000 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 21225940363 for ; Fri, 18 Dec 2020 02:58:27 +0000 (UTC) Received: from localhost ([::1]:32844 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kq5yK-0002tH-MD for larch@yhetil.org; Thu, 17 Dec 2020 21:58:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kq5xy-0002t5-8e for guix-patches@gnu.org; Thu, 17 Dec 2020 21:58:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54111) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kq5xy-0008Fb-0X for guix-patches@gnu.org; Thu, 17 Dec 2020 21:58:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kq5xx-0004Mg-Tq for guix-patches@gnu.org; Thu, 17 Dec 2020 21:58:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44775] [PATCH] WIP: Add gccemacs Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Dec 2020 02:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44775 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: John Soo Received: via spool by 44775-submit@debbugs.gnu.org id=B44775.160826027416765 (code B ref 44775); Fri, 18 Dec 2020 02:58:01 +0000 Received: (at 44775) by debbugs.gnu.org; 18 Dec 2020 02:57:54 +0000 Received: from localhost ([127.0.0.1]:37424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kq5xp-0004ML-LV for submit@debbugs.gnu.org; Thu, 17 Dec 2020 21:57:53 -0500 Received: from mail-wm1-f46.google.com ([209.85.128.46]:33730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kq5xn-0004M7-F5 for 44775@debbugs.gnu.org; Thu, 17 Dec 2020 21:57:52 -0500 Received: by mail-wm1-f46.google.com with SMTP id n16so5074666wmc.0 for <44775@debbugs.gnu.org>; Thu, 17 Dec 2020 18:57:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=04MW20pdJAsYmNmu5J7uCOUvXqIY69GXmXrjXX/GXiQ=; b=DTsXaS2tvH0OXAujYmOBRPi6HpJhaDjBm+oD7Gxvci4IsPmemUrBipvMDA/aPwUe+9 w+TlzCmr3kKqvkA+ZDPZFjPYe/h7xP+g+QkB9bAt6CMnZQH2A6eA6TAYugeQICm+R4co jJOTZM619Gv+FgP1lkLOuWL0ZJs80xyCPhkTGECjjDnZNcQHDupFvk/kdv7KJnNOVSwp tQ7vSj1FlAKxWKjKq3IC7J6v+K/+b61+mT6c+dzbXjZgrE3UgwW31wUj614M8F7ok7n6 4iyZorIjEt+gIkNj2sURQbkt45L7NsqVxnjvH89GiqAO8XrV5BRDZSosnmARt4EIPSFc /Hsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=04MW20pdJAsYmNmu5J7uCOUvXqIY69GXmXrjXX/GXiQ=; b=YVlX2xcLut665UKxMLwBFspzsJkbD7qQZn29HAsVAa2+oBGu2+mWJvcbLx3T3YmV0B CjxF8ezgkmEI3UcfAeeaPIA7QXfDjfCn9kl4kP2kHY/MwxK4U8yuERq0v17t3jY7ALYN lV+U96edo8RBDbfWcNh3v7P9TXmey8DbFV9+aAIbHfdG2ehRA0csYsfzawU3MGbgRD2j vGWxh5nLUksIaiSjczMaz7EEb7ogqz52cdxeGApQFsJcvHGlajkPMheI0FxZGR8G9wid 5QZ8rclkvFjUb9rEUV0rgWkzUo2haj3Jqz2Tbnd97FkxDrlboysPS6b+t1w5D7ZHB/Tb nH9Q== X-Gm-Message-State: AOAM533Qne35CldNl9yrcIdo5W/mjzcbauht6adaYnAR6/ljPdM9k2xp tkR942ja4Q437/YoxUGSOeasU+qCHpU= X-Google-Smtp-Source: ABdhPJyMk9subxjW+k2qpgkuWJneor3tDRaY2FVoSxNsiTbgXiQU/adqRijXIqdTElMq5mNp72zmJw== X-Received: by 2002:a1c:2c4:: with SMTP id 187mr2078084wmc.187.1608260265621; Thu, 17 Dec 2020 18:57:45 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id f9sm12695927wrw.81.2020.12.17.18.57.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Dec 2020 18:57:45 -0800 (PST) From: zimoun In-Reply-To: <87tutex08p.fsf@asu.edu> References: <874kljnk8z.fsf@asu.edu> <86360zvhkw.fsf@gmail.com> <87tutex08p.fsf@asu.edu> Date: Fri, 18 Dec 2020 03:50:18 +0100 Message-ID: <86y2hvn7yt.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Cc: 44775@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.22 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=DTsXaS2t; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 21225940363 X-Spam-Score: -1.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: TsEosKH194Vk Hi John, On Tue, 24 Nov 2020 at 07:06, John Soo wrote: >> Thanks! This motivates me to resume what had been discussed here [1]: >> be able to somehow run: >> >> guix build emacs-magit emacs-foo emacs-bar --with-input=3Demacs=3Dgccem= acs >> >> At least, have a package transformation that allow to rebuild all the >> Emacs packages with the =E2=80=99gccemacs=E2=80=99 VM instead of the cur= rent Emacs 27 one. >> >>> It feels fast but there are bugs and the closure is huge. Also these >>> patches do not use any of the parameterization machinery. >> >> What do you mean by =E2=80=9Cparameterization machinery=E2=80=9D? The n= ew >> =E2=80=99with-parameter=E2=80=99 introduced here [2] or the package tran= sformation that >> replaces all the dependencies (explicit and implicit). > I am referring to https://yhetil.org/guix-devel/87eeku8trb.fsf@gnu.org > > --with-parameter=3Dgccemacs or similar seem to be required since the > native-comp branch requires a different source, configure flags, and > probably native-search-paths at least. I am not convinced that the =E2=80=9Cparameterization machinery=E2=80=9D co= uld help here (aside it is far to be ready :-)) because in this case, =E2=80=9Cgccemacs= =E2=80=9D is not a =C2=ABparameter=C2=BB but an =C2=ABargument=C2=BB of the Emacs build = system. Maybe I miss something. > There appears to be a separate compiled artifact directory under > $out/lib/emacs/$version/native-lisp/$version-triple which has the > compiled native libraries (.eln files). That directory seems to not be > in the search path. That appears to be causing the first error > I see. I am not sure which env variable would be tweaked to pick those > paths up. Thanks for the explanations. All the best, simon