unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrea Corallo <akrl@sdf.org>
To: guix-devel@gnu.org
Subject: libgccjit and gccemacs
Date: Tue, 17 Mar 2020 08:46:54 +0000	[thread overview]
Message-ID: <xjfmu8fid1d.fsf@sdf.org> (raw)

Formbi wrote:

> Hello!
> 
> I'd like to make gccemacs work in Guix. Joseph LaFreniere made this libgccjit 
> package:
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=40045
> and I made this: https://termbin.com/06cmr
> 
> When I try to build gccemacs, I'm getting errors like this:
> ld: cannot find crtbeginS.o: No such file or directory
> ld: cannot find -lgcc
> ld: cannot find -lgcc
> libgccjit.so: error: error invoking gcc driver
> 
> This seems to be connected to this problem:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87808
> but I don't know how to fix this. I tried adding gcc-toolchain to inputs
> of libgccjit and gccemacs, but it didn't help.

Hi Formbi,

I'm quite ignorant on guix but the libgccjit error is potentially
related to the LIBRARY_PATH value.

Here a nice description of what libgccjit expects to find in that
respect:

https://gcc.gnu.org/onlinedocs/jit/internals/index.html#environment-variables

Hope it helps.

Best Regards

  Andrea

-- 
akrl@sdf.org

             reply	other threads:[~2020-03-17  8:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-17  8:46 Andrea Corallo [this message]
2020-11-21  9:19 ` libgccjit and gccemacs John Soo
  -- strict thread matches above, loose matches on Subject: below --
2020-03-15 17:30 Formbi

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=xjfmu8fid1d.fsf@sdf.org \
    --to=akrl@sdf.org \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).