Opened 2 years ago
Last modified 5 months ago
#65338 new defect
emacs-mac-app libgccjit.so: error: error invoking gcc driver
Reported by: | lyskov (Sergey Lyskov) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | cooljeanius (Eric Gallager) | |
Port: | emacs-mac-app@9.0_0 |
Description
After installing emacs-mac-app@9.0_0+nativecomp on clean install of MacPorts (no other packages was requested) I am seeing the following errors when starting it when no .emacs
file present:
Warning (comp): libgccjit.so: error: error invoking gcc driver Disable showing Disable logging Warning (comp): /Users/abcdef/Applications/MacPorts.monterey.08.06.2022/EmacsMac.app/Contents/Resources/lisp/emacs-lisp/warnings.el.gz: Error: Internal native compiler error failed to compile Disable showing Disable logging
(These messages got repeated multiple times)
When .emacs
is present then i also see:
Native compiler error: (lambda (&optional) (let ((f #'abort-recursive-edit)) (funcall f))), Compiling /Users/abcdef/.emacs.d/eln-cache/28_1-a5a42585/subr--trampoline-61626f72742d7265637572736976652d65646974_abort_recursive_edit_0.eln... ld: library not found for -lemutls_w libgccjit.so: error: error invoking gcc driver Debugger entered--Lisp error: (native-ice "failed to compile" "/Users/abcdef/.emacs.d/eln-cache/28_1-a5a42585/sub..." "error invoking gcc driver") comp--compile-ctxt-to-file("/Users/abcdef/.emacs.d/eln-cache/28_1-a5a42585/sub...") comp-compile-ctxt-to-file("/Users/abcdef/.emacs.d/eln-cache/28_1-a5a42585/sub...") comp-final1() load-with-code-conversion("/private/var/folders/b8/h1729p_x3ydcf7bvs66qg7zm00..." "/private/var/folders/b8/h1729p_x3ydcf7bvs66qg7zm00..." nil t) command-line-1(("-l" "/var/folders/b8/h1729p_x3ydcf7bvs66qg7zm0000gn/T/e...")) command-line() normal-top-level()
Change History (2)
comment:1 Changed 2 years ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
comment:2 Changed 5 months ago by bestlem
Note: See
TracTickets for help on using
tickets.
I just got this on macOS 14.5 - missing -lemutls_w
A clean MacPOrts install only this and emacs-app installed and the latter fails as well (not in the same place but same issue.