cmacrae / emacs

Nightly custom Emacs builds for macOS Nix environments
MIT License
40 stars 17 forks source link

libgccjit.so: error: error invoking gcc driver #14

Open behaghel opened 1 year ago

behaghel commented 1 year ago

Emacs works fine but the native compilation doesn't. Each time I start it, I get this series of logs for every single .el in my setup:

⛔ Warning (comp): aarch64-apple-darwin-gcc-11.3.0: warning: could not understand version '13.00.00'
⛔ Warning (comp): libgccjit.so: error: error invoking gcc driver
⛔ Warning (comp): /Users/hub/.emacs.d/straight/build/anki-editor/anki-editor.el: Error: Internal native compiler error failed to compile

Looks fairly similar to this discussion: https://github.com/jimeh/build-emacs-for-macos/issues/54

I am on an apple M1 with Ventura 13.2. My installation is verbatim what's in the README.