[MacPorts] #74008: emacs-app @30.2_7 errors out when calling libgccjit
MacPorts
noreply at macports.org
Wed May 20 10:53:54 UTC 2026
#74008: emacs-app @30.2_7 errors out when calling libgccjit
------------------------------+-----------------------
Reporter: maxC3 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.12.5
Keywords: emacs, libgccjit | Port: emacs-app
------------------------------+-----------------------
I just reinstalled the whole port system and ports from scratch after
upgrading to Tahoe.
OS Tahoe 26.4.1, port 2.12.5, macbook pro 16 2019, x86-64
I installed
emacs-app @30.2_7+nativecomp+rsvg+treesitter
As a minor problem-solving step, I had to run
{{{
codesign --force --deep -s - /Applications/MacPorts/Emacs.app
}}}
in order to start the app from (finder cannot open (null) error).
Upon first start, a long delay. Second launch is quicker.
Each time I open an existing .org file, a few seconds pass and then the
Messages buffer reports
{{{
⛔ Warning (native-compiler): libgccjit.so: error: error invoking gcc
driver
⛔ Warning (native-compiler):
/Applications/MacPorts/Emacs.app/Contents/Resources/lisp/gnus/nnselect.el.gz:
Error Internal native compiler error: "failed to compile",
"/Users/massimo/.emacs.d/eln-cache/30_2-bc466c11/nnselect-
763353f0-520b200e.eln", "error invoking gcc driver"
⛔ Warning (native-compiler): libgccjit.so: error: error invoking gcc
driver
⛔ Warning (native-compiler):
/Applications/MacPorts/Emacs.app/Contents/Resources/lisp/textmodes/pixel-
fill.el.gz: Error Internal native compiler error: "failed to compile",
"/Users/massimo/.emacs.d/eln-cache/30_2-bc466c11/pixel-fill-83d963be-
63eaf9ed.eln", "error invoking gcc driver"
⛔ Warning (native-compiler): libgccjit.so: error: error invoking gcc
driver
⛔ Warning (native-compiler):
/Applications/MacPorts/Emacs.app/Contents/Resources/lisp/mail/mailabbrev.el.gz:
Error Internal native compiler error: "failed to compile",
"/Users/massimo/.emacs.d/eln-cache/30_2-bc466c11/mailabbrev-
287b6d20-a00eb252.eln", "error invoking gcc driver"
}}}
I have no such lib in /opt/local/lib or /opt/local/lib/libgcc , but I have
libgccjit.0.dylib and a symlink libgccjit.dylib inside
/opt/local/lib/gcc15/
No idea if this is a build issue (a few packages fail to compile or to
destroot, but need to recheck after updates), a config issue (either the
new packages, or some leftover from previous os / port version?).
Suggestions or requests of more specific info are welcome ofc.
--
Ticket URL: <https://trac.macports.org/ticket/74008>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list