From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 17 21:57:53 2020 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 To: John Soo Subject: Re: [bug#44775] [PATCH] WIP: Add gccemacs 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44775 Cc: 44775@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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