[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47783: 28.0.50; [feature/native-comp] libgccjit.so: error: error inv
From: |
Pankaj Jangid |
Subject: |
bug#47783: 28.0.50; [feature/native-comp] libgccjit.so: error: error invoking gcc driver |
Date: |
Thu, 15 Apr 2021 19:36:10 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) |
Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@gnu.org> writes:
>> I am on macos and after launching Emacs, I get this libgccjit
>> error. Is this something that I can ignore for now?
>>
>> Warning (comp): libgccjit.so: error: error invoking gcc driver Disable
>> showing Disable logging
>> Warning (comp):
>> /Users/pankaj/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/cl-lib.el.gz:
>> Error: Internal native compiler error failed to compile Disable
>> showing Disable logging
>
> this look like an env misconfiguration that prevents libgccjit for
> finding the driver.
>
> Could you please report the full error in the
> *Async-native-compile-log* buffer?
>
> Also have already you tried invoking "emacs -Q"?
I usually launch ‘Emacs.app’ from GUI (Launchpad on macos). But when I
have to pass argument e.g. ‘-Q’ I use command-line. After your above
message I tried ‘emacs -Q’ and it worked without any error.
And you are right, it was environment related problem. Following is the
snippet from ‘*Async-native-compile-log*’:
--8<---------------cut here---------------start------------->8---
Compiling
/Users/pankaj/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/cl-lib.el.gz...
uncompressing cl-lib.el.gz...
uncompressing cl-lib.el.gz...done
ld: library not found for -lgcc_ext.10.5
libgccjit.so: error: error invoking gcc driver
/Users/pankaj/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/cl-lib.el.gz:
Error: Internal native compiler error failed to compile
Compiling
/Users/pankaj/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/seq.el.gz...
uncompressing seq.el.gz...
uncompressing seq.el.gz...done
--8<---------------cut here---------------end--------------->8---
But now I am puzzled at one more thing. Now I am not getting the error
even when I start from GUI. Does it save the location of ‘libgccjit’
somewhere, once it is found?
--
Regards
Pankaj
- bug#47783: 28.0.50; [feature/native-comp] libgccjit.so: error: error invoking gcc driver, Pankaj Jangid, 2021/04/14
- bug#47783: 28.0.50; [feature/native-comp] libgccjit.so: error: error invoking gcc driver, Andrea Corallo, 2021/04/15
- bug#47783: 28.0.50; [feature/native-comp] libgccjit.so: error: error invoking gcc driver,
Pankaj Jangid <=
- bug#47783: 28.0.50; [feature/native-comp] libgccjit.so: error: error invoking gcc driver, Andrea Corallo, 2021/04/15
- bug#47783: 28.0.50; [feature/native-comp] libgccjit.so: error: error invoking gcc driver, Pankaj Jangid, 2021/04/16
- bug#47783: 28.0.50; [feature/native-comp] libgccjit.so: error: error invoking gcc driver, Andrea Corallo, 2021/04/16
- bug#47783: 28.0.50; [feature/native-comp] libgccjit.so: error: error invoking gcc driver, Pankaj Jangid, 2021/04/17
- bug#47783: 28.0.50; [feature/native-comp] libgccjit.so: error: error invoking gcc driver, Eli Zaretskii, 2021/04/17
- bug#47783: 28.0.50; [feature/native-comp] libgccjit.so: error: error invoking gcc driver, Pankaj Jangid, 2021/04/17
- bug#47783: 28.0.50; [feature/native-comp] libgccjit.so: error: error invoking gcc driver, Pankaj Jangid, 2021/04/17