Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emacs on centos 7 cannot run jit? #67

Open
robnagler opened this issue Mar 21, 2023 · 3 comments
Open

emacs on centos 7 cannot run jit? #67

robnagler opened this issue Mar 21, 2023 · 3 comments
Assignees

Comments

@robnagler
Copy link
Member

robnagler commented Mar 21, 2023

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
Copy link
Member Author

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
Copy link
Member

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
Copy link
Member Author

I'll demo when we are in the office.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants