bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#50411: 28.0.50; emacs compilation


From: Eli Zaretskii
Subject: bug#50411: 28.0.50; emacs compilation
Date: Mon, 06 Sep 2021 07:39:18 +0300

> From: Niels Søndergaard <nisoni@algon.dk>
> Date: Sun, 5 Sep 2021 21:10:25 +0200
> 
> 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

This means your libgccjit installation is broken: it lacks some shared
libraries it needs, at least the one shown, libgcc_s.1.1.so (or maybe
the extension should be .dynlib on macOS?).

> 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)......

Yes, of course: it tries to call functions from a missing library.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]