all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Max Brieiev <max.brieiev@gmail.com>
To: guix-devel@gnu.org
Subject: emacs-next native compilation failures
Date: Wed, 12 Oct 2022 11:22:50 +0300	[thread overview]
Message-ID: <874jw9zc11.fsf@gmail.com> (raw)

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?

Note, I don't use Guix to install Emacs packages, for now I use built-in
package.el to install packages from Elpa/Melpa.


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

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-12  8:22 Max Brieiev [this message]
2022-10-12 10:34 ` emacs-next native compilation failures Thompson, David
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=874jw9zc11.fsf@gmail.com \
    --to=max.brieiev@gmail.com \
    --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.