Opened 2 years ago
Last modified 2 years ago
#65359 assigned defect
emacs needs -nativecomp on M1 Mac
Reported by: | arappe | Owned by: | drkp (Dan Ports) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | arm64 | Cc: | cooljeanius (Eric Gallager) |
Port: | emacs |
Description
On an older Mac running Monterey, emacs 28.1 with nativecomp compiled installed and runs normally. On a new Mac (MacBook Pro 14" 2021, M1 Max chip, OSX 12.4) sudo port install emacs gives the +nativecomp variant, but
ESC-x calc does not run the calculator but instead reports
Cannot find suitable directory for output in `comp-native-load-path'.
ESC-% (trying to REGEXP replace) gives same error
Cannot find suitable directory for output in `comp-native-load-path'.
I did rm -rf /opt/local and rm -rf /Applications/MacPorts started fresh with Mac Ports install same problem.
sudo port uninstall emacs followed by sudo port install emacs -nativecomp fixes my issues.
I'm not sure if this is an emacs problem or a dependent package problem. For my use case I am fine with -nativecomp long term. But I thought you'd like to know.
Change History (2)
comment:1 Changed 2 years ago by jmroot (Joshua Root)
Keywords: | arm64 added; emacs nativecomp removed |
---|---|
Owner: | set to drkp |
Status: | new → assigned |
comment:2 Changed 2 years ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|