unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / Atom feed
* libgccjit and gccemacs
@ 2020-03-17  8:46 Andrea Corallo
  2020-11-21  9:19 ` John Soo
  0 siblings, 1 reply; 3+ messages in thread
From: Andrea Corallo @ 2020-03-17  8:46 UTC (permalink / raw)
  To: guix-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: libgccjit and gccemacs
  2020-03-17  8:46 libgccjit and gccemacs Andrea Corallo
@ 2020-11-21  9:19 ` John Soo
  0 siblings, 0 replies; 3+ messages in thread
From: John Soo @ 2020-11-21  9:19 UTC (permalink / raw)
  To: formbi; +Cc: Guix-devel

Hello Andrea, Formbi, and Guix,

I got gccemacs and the no-x version to compile. They do not run
entirely correctly and the closure size is quite large. That said, it
feels snappy!

I submitted patches to issue 44775: https://issues.guix.gnu.org/issue/44775

If someone could investigate the retained closure references and
missing references to the store, that would help a lot!

Thanks and good luck,

John


^ permalink raw reply	[flat|nested] 3+ messages in thread

* libgccjit and gccemacs
@ 2020-03-15 17:30 Formbi
  0 siblings, 0 replies; 3+ messages in thread
From: Formbi @ 2020-03-15 17:30 UTC (permalink / raw)
  To: guix-devel

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-21  9:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-17  8:46 libgccjit and gccemacs Andrea Corallo
2020-11-21  9:19 ` John Soo
  -- strict thread matches above, loose matches on Subject: below --
2020-03-15 17:30 Formbi

unofficial mirror of guix-devel@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-devel/0 guix-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-devel guix-devel/ https://yhetil.org/guix-devel \
		guix-devel@gnu.org
	public-inbox-index guix-devel

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.devel
	nntp://news.gmane.io/gmane.comp.gnu.guix.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git