gcc11 error, where to report?
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>. So the libgccjit part of gcc11 is somehow not working. It seems from the error message that the trouble comes with libgccjit, which I installed from here: https://software.opensuse.org/package/libgccjit0?search_term=libgccjit for openSUSE Tumbleweed, so it's the official package. So something is wrong, but where to report? openSuse bugzilla or gnu bugzilla? Regards, Alexander
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.
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. Regards, Alexander
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)
On 2/19/21 3:18 PM, Richard Biener wrote:
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.
Thanks for the report. Situation is worse, even having installed gcc11 the issue happens: looking into strace, the following driver binary is looked for: x86_64-suse-linux-gcc-11 that comes from gcc/jit/jit-playback.c: static const char * const gcc_driver_name = GCC_DRIVER_NAME; I'm going to investigate into what is it set in gcc11 package build. Martin
Am Freitag, 19. Februar 2021, 15:18:40 CET schrieb Richard Biener:
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,
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.
Hi, yes, that has been my first error, but I found that later and installed libgccjit0-devel-gcc11 (11.0.0+git183291-1.1) which didn't work either and produced the same error. However, thank you for investigating. Kind Regards, Alexander
On 2/19/21 5:06 PM, AW wrote:
Hi,
yes, that has been my first error, but I found that later and installed
libgccjit0-devel-gcc11 (11.0.0+git183291-1.1)
which didn't work either and produced the same error.
However, thank you for investigating.
I've just made a submit request that handles that: https://build.opensuse.org/request/show/873834 @Richi: Can you please take a look? Thanks, Martin
On 2/19/21 5:28 PM, Martin Liška wrote:
On 2/19/21 5:06 PM, AW wrote:
Hi,
yes, that has been my first error, but I found that later and installed
libgccjit0-devel-gcc11 (11.0.0+git183291-1.1)
which didn't work either and produced the same error.
However, thank you for investigating.
I've just made a submit request that handles that: https://build.opensuse.org/request/show/873834
Hello. The issue is fixed in devel:gcc project. I can't say when the package reaches openSUSE:Factory. It's being used in Staging:Gcc7. Cheers, Martin
@Richi: Can you please take a look? Thanks, Martin
Am Dienstag, 23. Februar 2021, 09:10:29 CET schrieb Martin Liška:
On 2/19/21 5:28 PM, Martin Liška wrote:
On 2/19/21 5:06 PM, AW wrote:
Hi,
yes, that has been my first error, but I found that later and installed
libgccjit0-devel-gcc11 (11.0.0+git183291-1.1)
which didn't work either and produced the same error.
However, thank you for investigating.
I've just made a submit request that handles that: https://build.opensuse.org/request/show/873834
Hello.
The issue is fixed in devel:gcc project. I can't say when the package reaches openSUSE:Factory. It's being used in Staging:Gcc7.
Hi, I installed libgccjit0 11.0.0+git183490-22.1 libgccjit0-devel-gcc11 11.0.0+git183490-22.1 from https://download.opensuse.org/repositories/devel:/gcc/openSUSE_Factory/x86_6... I'm only a user and probably make all possible mistakes, but configuring Emacs from the mentioned source still ends with this message: ========================== 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>. ========================== While the intermediate version libgccjit0 11.0.0+git183452-22.1 libgccjit0-devel-gcc11 11.0.0+git183452-22.1 still works. If I'm wrong and wasting your time, my apologies! Thank you for time and effort regarding this thread. -- Kind regards, Alexander
Am Dienstag, 23. Februar 2021, 16:01:28 CET schrieb Martin Liška:
On 2/23/21 3:49 PM, AW wrote:
checking for libgccjit.h... yes configure: error: Installed libgccjit has failed passing the smoke test.
You can verify it yourself compiling: Hello.
Please provide a complete config.log file. Is your smoke test working or not?
Thanks, Martin
Hello, new config.log with the new libgccjit: https://drive.google.com/file/d/1b7eC3BvIGVdrdlSa5W6ZXT6o58MxOQAV/view? usp=sharing And here is the log with the intermediate libgccjit rpm, where everything seems to work: https://drive.google.com/file/d/1L8d6V9bAXyolDRqxsTsV12JlYs1e-dDx/view? usp=sharing Sorry, the message of the smoke test is provided by the configuration process of emacs. I had a look at the links provided there, but I don't understand, what to do to repeat that test "standalone", as described there. So I can't make my own test; only thing is that with the new version configuring stops, as described. -- Regards, Alexander
On 2/23/21 4:20 PM, AW wrote:
Am Dienstag, 23. Februar 2021, 16:01:28 CET schrieb Martin Liška:
On 2/23/21 3:49 PM, AW wrote:
checking for libgccjit.h... yes configure: error: Installed libgccjit has failed passing the smoke test.
You can verify it yourself compiling: Hello.
Please provide a complete config.log file. Is your smoke test working or not?
Thanks, Martin
Hello,
new config.log with the new libgccjit:
https://drive.google.com/file/d/1b7eC3BvIGVdrdlSa5W6ZXT6o58MxOQAV/view? usp=sharing
Please send it as attachment (use a compression if needed).
And here is the log with the intermediate libgccjit rpm, where everything seems to work:
https://drive.google.com/file/d/1L8d6V9bAXyolDRqxsTsV12JlYs1e-dDx/view? usp=sharing
Likewise here. Thanks, Martin
Sorry, the message of the smoke test is provided by the configuration process of emacs. I had a look at the links provided there, but I don't understand, what to do to repeat that test "standalone", as described there. So I can't make my own test; only thing is that with the new version configuring stops, as described.
Am Dienstag, 23. Februar 2021, 09:10:29 CET schrieb Martin Liška:
Hello.
The issue is fixed in devel:gcc project. I can't say when the package reaches openSUSE:Factory. It's being used in Staging:Gcc7.
Yes, works for me after a helping hand by Martin. Thank you! It wasn't sufficient to upgrade libgccjit versions, but the whole of gcc11. -- Alexander
participants (4)
-
AW
-
Cristian Rodríguez
-
Martin Liška
-
Richard Biener