Opened 23 months ago

Last modified 20 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 (1)

comment:1 Changed 20 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.