From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 24 10:06:56 2020 Received: (at 44775) by debbugs.gnu.org; 24 Nov 2020 15:06:56 +0000 Received: from localhost ([127.0.0.1]:60863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khZuC-0004gY-6Y for submit@debbugs.gnu.org; Tue, 24 Nov 2020 10:06:56 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:40520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khZuA-0004gM-MK for 44775@debbugs.gnu.org; Tue, 24 Nov 2020 10:06:55 -0500 Received: by mail-pf1-f196.google.com with SMTP id b6so8311041pfp.7 for <44775@debbugs.gnu.org>; Tue, 24 Nov 2020 07:06:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=uxxddvBLtxJyEgqGOjDbrwaerlWTSoCuuJHm41nl3kk=; b=OyVjb6FELQxVV5PbP3cWqOhDf73i/bp0nDnVV0RY/6ZcfNnsJ+z3h21D16t7NtQLo7 U7eclSNnCo8APCLNze34eU2bOp7IG4O39waAXnv1zoeLMqJr5MOvDsv1cP+MjogD8BI8 Gb85nqONUUsD/P/l5uZehIwjrHKWcfoZnBvBZtfc/jhvAuLcBX1LbPZRD9oNgFYRGvIP jxxxLv4TwbXTZ9UNaZpv799fWAnoUu4A+nIn+znH6MoWtrFu9rwBOgClDWcqajtROpG6 zkB4wuPN7FY88eBWBzCFS4JWASYdZpDu5jxgvlzowZn+mP6rG7glg8RGJsuovrql26mG Srrg== 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:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=uxxddvBLtxJyEgqGOjDbrwaerlWTSoCuuJHm41nl3kk=; b=LyXttVlU5MQdvRF/E1czR7uP3tW4xlbc8s4ntLrj8G8PvN5aUQAe79fHgEMKMQtdqA oaDP/cXF4Sf+xd0cYMvkbp8oMHsugoKuhWg9aS/ihBrks41rW9mzkKMX49VeI1LOBrss Y4ajD+WodDdvGWfalDKtSJOvOhoQCFEuWAkQBfDKzovYGKixdnwEd9rkK+Zce6ZApWJR ldslK6iA5IXZhfoj6C33/8Gl61mXocv4CjwlhSxREE9Q58amqG5G1nSIXVJGQLNbCGac bA/AJNItf7O6Obe8aT7NTrac1x/G12UwxoLxB//I7t2S46pUs9ZS6RdAxXGGvBSqNL8T KDBQ== X-Gm-Message-State: AOAM530SvwJVO1rzYJYXYJHBOYUMdFj/U4LvcKW+0CTzoTb/t9p44PLQ kRUn6v8A1Ge8udUmuJVyqSjKSBHY3R497A== X-Google-Smtp-Source: ABdhPJzm45VN00rkfwEC6UwarbC7Ct9+37hDDXkCi3fIFPmB4jLT+bav6/nGYBb+Vqd5F5Gzz1kPwA== X-Received: by 2002:a63:484d:: with SMTP id x13mr3789577pgk.301.1606230408432; Tue, 24 Nov 2020 07:06:48 -0800 (PST) Received: from ecenter ([2600:1700:83b0:8bd0::7a8]) by smtp.gmail.com with ESMTPSA id q24sm3659035pjd.30.2020.11.24.07.06.46 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Nov 2020 07:06:47 -0800 (PST) From: John Soo To: zimoun Subject: Re: [bug#44775] [PATCH] WIP: Add gccemacs References: <874kljnk8z.fsf@asu.edu> <86360zvhkw.fsf@gmail.com> Date: Tue, 24 Nov 2020 07:06:46 -0800 In-Reply-To: <86360zvhkw.fsf@gmail.com> (zimoun's message of "Mon, 23 Nov 2020 23:22:55 +0100") Message-ID: <87tutex08p.fsf@asu.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) 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 zimoun, zimoun writes: > 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=3Dgccema= cs > > 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 curr= ent 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 new > =E2=80=99with-parameter=E2=80=99 introduced here [2] or the package trans= formation that > replaces all the dependencies (explicit and implicit). > > > 1: > 2: 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. 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. Hope that helps! John