all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Thompson, David" <dthompson2@worcester.edu>
To: guix-devel <guix-devel@gnu.org>
Subject: Re: emacs-next native compilation failures
Date: Wed, 12 Oct 2022 06:34:42 -0400	[thread overview]
Message-ID: <CAJ=RwfZU4HaZxx4YMfX1qUDZn4BNPR0wS==BO-eUDyWQQvhf+A@mail.gmail.com> (raw)
In-Reply-To: <874jw9zc11.fsf@gmail.com>

Hi Max,

On Wed, Oct 12, 2022 at 4:24 AM Max Brieiev <max.brieiev@gmail.com> wrote:
>
> Hi,
>
> Recently, Guix started building Emacs with native compilation.
>
> I did 'guix pull' few days ago (I hadn't done it for a few months), and
> it broke my Emacs.
>
> The 'guix package -u emacs-next' finished building Emacs successfully.
>
> However, when I start Emacs, the native compiler starts doing it's job
> and I see tons of compilation errors like this:
>
>     Deleting /tmp/comp-lambda-RCGJQI.eln
>     comp--native-compile: Native compiler error: (lambda (&rest arg1) (let ((f #'make-process)) (apply f arg1))), "Compiling /tmp/comp-lambda-RCGJQI.eln...
>     x86_64-unknown-linux-gnu-gcc-10.3.0: fatal error: cannot execute ‘as’: execvp: No such file or directory
>     compilation terminated.
>
> This seems to be something wrong with libgccjit dependency.
>
> If I understand correctly, it did its job successfully during build time
> (since Emacs compiled successfully), but it fails now to compile
> packages during runtime. Is it correct?
>
> How do I fix this?

I don't know of a fix, but Guix is tracking this issue here:
https://issues.guix.gnu.org/issue/57878

I have been unable to upgrade Guix due to this issue.  In my case it
locks down my whole system with endless compilation processes.  I
wouldn't mind seeing native compilation disabled until upstream
improves the experience, but it's been decided that native compilation
is staying on. So, we're stuck on an old Guix until there's a
solution.

- Dave


  reply	other threads:[~2022-10-12 10:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-12  8:22 emacs-next native compilation failures Max Brieiev
2022-10-12 10:34 ` Thompson, David [this message]
2022-10-12 11:44   ` Max Brieiev
2022-10-12 13:40     ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ=RwfZU4HaZxx4YMfX1qUDZn4BNPR0wS==BO-eUDyWQQvhf+A@mail.gmail.com' \
    --to=dthompson2@worcester.edu \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.