reddit / emacs

Weird errors with latest build of emacs

jayjoethecocoa · 2022-09-16 04:37
Getting a ton of: `Warning (comp): ld: warning: -undefined dynamic_lookup may not work with chained fixups` 29.0.50, aarch64-apple-darwin22.1.0, built from git 7ec31d32222cdad695bc8324414880be5ca20201, "--with-native-compilation --with-json --with-mailutils --with-imagemagick" macOS Monterey. Async-native-compile-log buffer is filled with examples like the following: `Compiling /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/cl-print.el.gz...` `uncompressing cl-print.el.gz...` `uncompressing cl-print.el.gz...done` `ld: warning: -undefined dynamic_lookup may not work with chained fixups` `Compilation finished.` `Compilation finished.` `Compiling /Applications/Emacs.app/Contents/Resources/lisp/apropos.el.gz...` `uncompressing apropos.el.gz...` `uncompressing apropos.el.gz...done` `ld: warning: -undefined dynamic_lookup may not work with chained fixups` `Compilation finished.` `Compilation finished.` `Compiling /Applications/Emacs.app/Contents/Resources/lisp/dabbrev.el.gz...` `uncompressing dabbrev.el.gz...` `uncompressing dabbrev.el.gz...done` `ld: warning: -undefined dynamic_lookup may not work with chained fixups` `Compilation finished.` `Compilation finished.` `Compiling /Applications/Emacs.app/Contents/Resources/lisp/hl-line.el.gz...` `uncompressing hl-line.el.gz...` `uncompressing hl-line.el.gz...done` `ld: warning: -undefined dynamic_lookup may not work with chained fixups` `Compiling /Applications/Emacs.app/Contents/Resources/lisp/dired-aux.el.gz...` `Compiling /Applications/Emacs.app/Contents/Resources/lisp/dired-x.el.gz...` `uncompressing dired-aux.el.gz...` `uncompressing dired-x.el.gz...` `uncompressing dired-x.el.gz...done` `uncompressing dired-aux.el.gz...done` `ld: warning: -undefined dynamic_lookup may not work with chained fixups` `ld: warning: -undefined dynamic_lookup may not work with chained fixups` `Compilation finished.` `Compilation finished.` `Compiling /Applications/Emacs.app/Contents/Resources/lisp/eshell/em-alias.el.gz...` `uncompressing em-alias.el.gz...` `uncompressing em-alias.el.gz...done` `ld: warning: -undefined dynamic_lookup may not work with chained fixups` Anyone else getting these warnings?
SlowValue · 2022-09-16 09:45
All versions of Emacs with version scheme xx.0.50 are developer versions. Issues are to be expected on those. Version 29.0.50 is such an work in progress. So, in order to solve this issue, you could ask on the developers mailing list, check out latest commits, fix this yourself or, probably best option for any non developers: use a stable Emacs release like version 28.2. (this is the latest one).
[deleted] · 2022-09-16 14:43
[removed]
IntelligentTea281 · 2022-09-16 16:51
I get the same warnings with emacs-28.2 tag. I started seeing this after the upgrade to MacOS 12.6
Upstairs_Piglet · 2022-09-16 17:07
This is also happening for me with the macports 28.2 "EmacsMac" package on MacOS 12.6. Presumably this package is the release, not a pretest. GNU Emacs 28.2 (build 1, aarch64-apple-darwin21.3.0, Carbon Version 165 AppKit 2113.3) of 2022-09-13
Upstairs_Piglet · 2022-09-16 17:34
https://issues.guix.gnu.org/issue/57849
weevyl · 2022-09-16 21:57
Same for me, with \`brew install emacs-plus --with-native-comp\`, for 28.2 using gcc-12 and --with-native-comp as a build option. On macOS 12.5.1. Annoying, but doesn't seem to keep things from working as they should.
[deleted] · 2022-09-18 09:30
[deleted]
madclassix · 2022-09-21 15:58
I am also seeing this. I assume it will be fixed in an update. Hopefully soon.
bitti1975 · 2022-09-22 07:30
So what I gather from the thread is that a fix will be applied to Emacs 28 which will make it's way up to Emacs 29. Meanwhile, one can do something like (when (eq system-type 'darwin) (customize-set-variable 'native-comp-driver-options '("-Wl,-w")))
csemacs · 2022-10-05 22:56
Fix/Workaround has been pushed to emacs-28 branch. https://github.com/emacs-mirror/emacs/commit/97b928ce09d6034ebcb541fb548e5d4862302add