[MacPorts] #65338: emacs-mac-app libgccjit.so: error: error invoking gcc driver

MacPorts noreply at macports.org
Sun Jun 12 22:31:48 UTC 2022


#65338: emacs-mac-app libgccjit.so: error: error invoking gcc driver
--------------------+---------------------------------
 Reporter:  lyskov  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  emacs-mac-app at 9.0_0
--------------------+---------------------------------
 After installing emacs-mac-app at 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()
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/65338>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list