On Thu, 18 Feb 2021, AW wrote:
Am Donnerstag, 18. Februar 2021, 19:47:42 CET schrieb Cristian Rodríguez:
On Thu, Feb 18, 2021 at 1:11 PM AW <alexander.willand@t-online.de> wrote:
Hi,
TW, up to date.
Trying to configure emacs from here: https://github.com/flatwhatson/emacs , branch pgtk-nativecomp
with: ./configure --with-dbus --with-gif --with-jpeg --with-png --with-rsvg -- with-tiff --with-xft --with-xpm --with-xwidgets --with-modules --with- nativecomp --with-json --with-imagemagick --with-libsystemd --with-pgtk
Error:
checking for gcc_jit_context_acquire in -lgccjit... yes checking libgccjit.h usability... yes checking libgccjit.h presence... yes checking for libgccjit.h... yes configure: error: Installed libgccjit has failed passing the smoke test. You can verify it yourself compiling: <https://gcc.gnu.org/onlinedocs/jit/intro/tutorial01.html>. Please report the issue to your distribution if libgccjit was installed through that. Here instructions on how to compile and install libgccjit from source: <https://gcc.gnu.org/wiki/JIT>.
talk is cheap, show us the config.log.. store it on a paste site to look at it..That said I believe this question is more apt for the packaging list instead.
Here we go:
https://drive.google.com/file/d/1WtiBaX9oyJQkP8PJ2esB4l7w_qkaOE13/view? usp=sharing
In configure is a part saying
# Check if libgccjit really works.
and there is a test, but much above my paygrade.
configure:17143: gcc -o conftest -g3 -O2 -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gdk-pixbuf-2.0 -pthread -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 conftest.c -lgccjit >&5 configure:17143: $? = 0 configure:17143: ./conftest ld: cannot find crtbeginS.o: No such file or directory ld: cannot find -lgcc ld: cannot find -lgcc_s libgccjit.so: error: error invoking gcc driver configure:17143: $? = 1 Looks like a dependence issue to me, you are using gcc 10 for the configure test - can you show the version of libgccjit-devel? I think the gccjit from gcc11 expects gcc11 to be installed which is maybe not. Richard.
Regards,
Alexander
-- Richard Biener <rguenther@suse.de> SUSE Software Solutions Germany GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany; GF: Felix Imendörffer; HRB 36809 (AG Nuernberg)