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: Niels Søndergaard
Subject: bug#50411: 28.0.50; emacs compilation
Date: Mon, 6 Sep 2021 10:30:27 +0200

Hello,

“Configure” finds libgccjit at: LDFLAGS =  -L/opt/homebrew/Cellar/libgccjit/11.2.0/lib/gcc/11, where the 3 libraries reside: libgccjit.so       libgccjit.so.0     libgccjit.so.0.0.1
The program “comp.c” can’t find the <libgccjit.h> even that it reside at /opt/homebrew/Cellar/libgccjit/11.2.0/include : libgccjit++.h libgccjit.h 

So I think that the configure is wrong in some way

mvh
Niels


Signature Image

Niels Søndergaard

Mariehøj 236, 2990 Nivå

mobile+45 4052 2789
Ultra posse nemo obligatur.
                                                           

Den 6. sep. 2021 kl. 06.39 skrev Eli Zaretskii <eliz@gnu.org>:

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]