Native compilation error on macOS 27When trying to install a new package on Emacs (30.2) on the pub…
انتشار: 2026/07/16 15:07 UTC
Native compilation error on macOS 27When trying to install a new package on Emacs (30.2) on the public beta of Golden Gate, I get a bunch of warnings from the native compiler: ⛔ Warning (native-compiler): clang: error: invalid version number in '-mmacosx-version-min=18.0' ⛔ Warning (native-compiler): libgccjit.so: error: error invoking gcc driver ⛔ Warning (native-compiler): /Users/watts/.emacs.d/elpa/gptel-20260715.1547/gptel-anthropic.el: Error Internal native compiler error: "failed to compile", "/Users/watts/.emacs.d/eln-cache/30_2-a6cf0016/gptel-anthropic-8cbb50ed-c44a3d51.eln", "error invoking gcc driver"And, sure enough, now `18.0` is not a valid value for that `clang` parameter. I'm 99% sure I can fix this (or at least go on to create new errors) if I can make Emacs invoke that with `-mmacosx-version-min=26.0`, but I don't see an obvious way to do that. Any ideas?(Yes, I know one idea is "don't run beta OS versions," but that ship has sailed.)redd.it/1uy4xid@r_emacs