From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#47783: 28.0.50; [feature/native-comp] libgccjit.so: error: error invoking gcc driver Date: Thu, 15 Apr 2021 09:58:48 +0300 Message-ID: <831rbcyqxj.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32200"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47783@debbugs.gnu.org, Andrea Corallo To: Pankaj Jangid Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 15 09:00:12 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lWvz1-00089e-9D for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Apr 2021 09:00:11 +0200 Original-Received: from localhost ([::1]:43460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWvz0-0001IL-7t for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Apr 2021 03:00:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWvys-0001Hx-KN for bug-gnu-emacs@gnu.org; Thu, 15 Apr 2021 03:00:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53018) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lWvys-0002hp-CJ for bug-gnu-emacs@gnu.org; Thu, 15 Apr 2021 03:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lWvys-0003A5-Bx for bug-gnu-emacs@gnu.org; Thu, 15 Apr 2021 03:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Apr 2021 07:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47783 X-GNU-PR-Package: emacs Original-Received: via spool by 47783-submit@debbugs.gnu.org id=B47783.161846994712058 (code B ref 47783); Thu, 15 Apr 2021 07:00:02 +0000 Original-Received: (at 47783) by debbugs.gnu.org; 15 Apr 2021 06:59:07 +0000 Original-Received: from localhost ([127.0.0.1]:36331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWvxx-00038M-Ko for submit@debbugs.gnu.org; Thu, 15 Apr 2021 02:59:07 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWvxu-00037p-3O for 47783@debbugs.gnu.org; Thu, 15 Apr 2021 02:59:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58964) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWvxo-00023V-PN; Thu, 15 Apr 2021 02:58:56 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2517 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lWvxn-0006Gd-DH; Thu, 15 Apr 2021 02:58:56 -0400 In-Reply-To: (message from Pankaj Jangid on Thu, 15 Apr 2021 08:20:26 +0530) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:204045 Archived-At: > From: Pankaj Jangid > Date: Thu, 15 Apr 2021 08:20:26 +0530 > > > I am on macos and after launching Emacs, I get this libgccjit > error. Is this something that I can ignore for now? > > --8<---------------cut here---------------start------------->8--- > 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 > --8<---------------cut here---------------end--------------->8--- > > Further, there are lots of compiler warnings from different package, as > I use Emacs. That means the native compilation is definitely working > asynchronously. One observation here is that every time this happens the > CPU goes 99% for a short time. > > I am not using ‘gcc’. I have yet to successfully build Emacs with > ‘gcc-10’ on macos. I did this to build Emacs: > > git clone ... > ./autogen.sh > CC=/usr/bin/clang ./configure --with-native-compilation > make -j8 # I have 4 core, hyperthreading enabled system > > Probably ‘clang’ and ‘libgccjit’ has a problem working together. So if you don't use GCC, where and how did you get libgccjit, and what version of GCC does it belong to?