I tried to compile 28.0.50 --with-native-compilation
this warning came out:
Warning (initialization): An error occurred while loading ‘/Users/niels/.emacs.d/init.el’:
Native compiler error: (lambda (arg0 &optional) (let ((f #'yes-or-no-p)) (funcall f arg0))), Compiling /Users/niels/.emacs.d/eln-cache/28_0_50-8be1867a/subr--trampoline-7965732d6f722d6e6f2d70_yes_or_no_p_0.eln... ld: library not found for -lgcc_s.1.1 libgccjit.so: error: error invoking gcc driver Debugger entered--Lisp error: (native-ice "failed to compile" "/Users/niels/.emacs.d/eln-cache/28_0_50-8be1867a/s..." "error invoking gcc driver") comp--compile-ctxt-to-file("/Users/niels/.emacs.d/eln-cache/28_0_50-8be1867a/s...") comp-compile-ctxt-to-file("/Users/niels/.emacs.d/eln-cache/28_0_50-8be1867a/s...") comp-final1() load-with-code-conversion("/private/var/folders/db/nh3s13qd1071jwch63m0r45c00..." "/private/var/folders/db/nh3s13qd1071jwch63m0r45c00..." nil t) command-line-1(("-l" "/var/folders/db/nh3s13qd1071jwch63m0r45c0000gn/T/e...")) command-line() normal-top-level()
the rest of the compilation goes well, however the statement, but emacs crashes under initialization whenever it tries to evaluate (fset 'yes-or-no-p 'y-or-n-p)......
In GNU Emacs 28.0.50 (build 10, aarch64-apple-darwin20.6.0, NS appkit-2022.60 Version 11.5.2 (Build 20G95)) of 2021-08-31 built on macal.local Repository revision: 67545b99c95eeec92379543b3a56385ccf9a66cc Repository branch: master Windowing system distributor 'Apple', version 10.3.2022 System Description: macOS 11.5.2
Important settings: value of $LANG: en_DK.UTF-8 locale-coding-system: utf-8-unix
Major mode: Fundamental
Minor modes in effect: display-time-mode: t delete-selection-mode: t straight-use-package-mode: t straight-package-neutering-mode: t straight-live-modifications-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t