biviosoftware / home-env

MIT License
2 stars 2 forks source link

emacs on centos 7 cannot run jit? #67

Open robnagler opened 1 year ago

robnagler commented 1 year ago

This happens at startup making emacs consume a lot of cpu, and initialization fails so no bindings loaded...

p62652d6275666665722d62696e64696e6773_describe_buffer_bindings_0.eln...
ld: cannot find crtbeginS.o: No such file or directory
ld: cannot find -lgcc
ld: cannot find -lgcc_s
libgccjit.so: error: error invoking gcc driver
Debugger entered--Lisp error: (native-ice "failed to compile" "/home/vagrant/.emacs.d/eln-cache/28.2-f4dd9dda/sub..." "error invoking gcc driver")
  comp--compile-ctxt-to-file("/home/vagrant/.emacs.d/eln-cache/28.2-f4dd9dda/sub...")
  comp-compile-ctxt-to-file("/home/vagrant/.emacs.d/eln-cache/28.2-f4dd9dda/sub...")
  comp-final1()
  load-with-code-conversion("/tmp/emacs-int-comp-subr--trampoline-6465736372696..." "/tmp/emacs-int-comp-subr--trampoline-6465736372696..." nil t)
  command-line-1(("-l" "/tmp/emacs-int-comp-subr--trampoline-6465736372696..."))
  command-line()
  normal-top-level()

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the ‘--debug-init’ option to view a complete error backtrace. Disable showing Disable logging
Warning (comp): libgccjit.so: error: error invoking gcc driver Disable showing Disable logging
Warning (comp): /usr/local/share/emacs/28.2/lisp/url/url-vars.el.gz: Error: Internal native compiler error failed to compile Disable showing Disable logging
Warning (comp): libgccjit.so: error: error invoking gcc driver Disable showing Disable logging
Warning (comp): /usr/local/share/emacs/28.2/lisp/emacs-lisp/map.el.gz: Error: Internal native compiler error failed to compile Disable showing Disable logging
Warning (comp): libgccjit.so: error: error invoking gcc driver Disable showing Disable logging
Warning (comp): /usr/local/share/emacs/28.2/lisp/json.el.gz: Error: Internal native compiler error failed to compile Disable showing Disable logging
robnagler commented 1 year ago

This was emacs-28.2 in /usr/local. I don't understand why this is happening now. I commented out b-lsp and it still happens. I had been using emacs-28 for some time.

e-carlin commented 1 year ago

Can you give me more information on how to reproduce? How did you install emacs-28.2 and what configuration arguments did you use? Or send me details on where you have it installed and I can go there and try.

robnagler commented 1 year ago

I'll demo when we are in the office.