From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid 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 08:20:26 +0530 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17198"; mail-complaints-to="usenet@ciao.gmane.io" To: 47783@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 15 04:51:11 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 1lWs63-0004JD-9b for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Apr 2021 04:51:11 +0200 Original-Received: from localhost ([::1]:47528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWs62-00026t-90 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Apr 2021 22:51:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWs5v-00026O-6y for bug-gnu-emacs@gnu.org; Wed, 14 Apr 2021 22:51:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52786) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lWs5u-0008HN-Te for bug-gnu-emacs@gnu.org; Wed, 14 Apr 2021 22:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lWs5u-0005Cs-QU for bug-gnu-emacs@gnu.org; Wed, 14 Apr 2021 22:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pankaj Jangid Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Apr 2021 02:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47783 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161845504319985 (code B ref -1); Thu, 15 Apr 2021 02:51:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Apr 2021 02:50:43 +0000 Original-Received: from localhost ([127.0.0.1]:36099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWs5Z-0005CF-0O for submit@debbugs.gnu.org; Wed, 14 Apr 2021 22:50:43 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:49128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWs5V-0005C6-Hn for submit@debbugs.gnu.org; Wed, 14 Apr 2021 22:50:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWs5V-00024h-2W for bug-gnu-emacs@gnu.org; Wed, 14 Apr 2021 22:50:37 -0400 Original-Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]:36621) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lWs5S-0007uh-2s for bug-gnu-emacs@gnu.org; Wed, 14 Apr 2021 22:50:36 -0400 Original-Received: by mail-pl1-x631.google.com with SMTP id z22so6108934plo.3 for ; Wed, 14 Apr 2021 19:50:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeisgreat-org.20150623.gappssmtp.com; s=20150623; h=from:to:subject:mail-followup-to:date:message-id:mime-version :content-transfer-encoding; bh=Y2AoFe3Jv36kn5r6NUfeHkuUkLB5KgXPiQLD9nsN/L0=; b=MW35DotGN9rqwifdlaHtrkXzWwe8AyBp7ljxtbEBpXICrMkulGvTxRyultg3mJeaxA AMnMyBGs7ZcT9oquybhgarY8+fSD9yQb/ummHQK+7+6eObkOlKo6TQAmn9moGRo5CIyA YrchL8R1FboPWAwWA636wGMEuYVy5ZqoUB1qmby7kun7EzYTtAgZV1wHAB2ORmhYyV/Q bdloE1nCmeung6KKz8eEUQHdgyq1ysWpvdm1rPRKNo63TWqoLhfGi6WlT2MOuSCN1PD4 2Sa4QqzzF08a+lPAOLDjHOoDs0NtLagerGujJ5tC1ov9ZmrNSrwEf7w2FqhtZ8/FbWHT vHLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:mail-followup-to:date:message-id :mime-version:content-transfer-encoding; bh=Y2AoFe3Jv36kn5r6NUfeHkuUkLB5KgXPiQLD9nsN/L0=; b=M6fInjwRhwxtUSYl73/6YnRvzw0h7oBXGhkFD+CHnqPUld2A2U0pHcxBmqUarLZQJl 84KI40kdYxde/IfM9iajwxdxx6HLq0CYNZMyZk6ohHfACNfpxokMGoPH2DOmbT/LIiul Yy1uKf58IgSmqM6XYqNQi7phqvXqi0w//DmXLoxs3Hf4mKONEg7VNZaBwPrihq2GgIx3 nQFBVMPN3pmC2kxiv79oDxn+7nubI1Y5KaUUaZKblOGNrPDg6XpiTcVPTmC0nF3Umlqy WjVtxeKxHgN+5mVp0l4nW2ga1vAsKj1jimcL5wh+eelGiTciVYnEBD5u2t+DFHJJPno/ TChg== X-Gm-Message-State: AOAM531M8R5m7oVkW5rH/O65pX7m+MM+JaOh2dKc0pSVqJelowK+PZNX EBJbdphLaiMclrzuKbMoafHfN1cQjtckgQ== X-Google-Smtp-Source: ABdhPJwC+X6Rsbp3FSMr0qDkZT/z0+VwaTI9PTFU4rm/41JmfZB/7+KxLHFCumHv1hiilFMdJHVGOg== X-Received: by 2002:a17:90a:868c:: with SMTP id p12mr1306161pjn.82.1618455031353; Wed, 14 Apr 2021 19:50:31 -0700 (PDT) Original-Received: from mb2.local ([2405:201:5c06:7b93:4498:4e85:fe06:d6ce]) by smtp.gmail.com with ESMTPSA id e5sm591540pjv.22.2021.04.14.19.50.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Apr 2021 19:50:30 -0700 (PDT) Mail-Followup-To: bug-gnu-emacs@gnu.org Received-SPF: none client-ip=2607:f8b0:4864:20::631; envelope-from=pankaj@codeisgreat.com; helo=mail-pl1-x631.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:204039 Archived-At: 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 show= ing 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 =E2=80=98gcc=E2=80=99. I have yet to successfully build Emac= s with =E2=80=98gcc-10=E2=80=99 on macos. I did this to build Emacs: git clone ... ./autogen.sh CC=3D/usr/bin/clang ./configure --with-native-compilation make -j8 # I have 4 core, hyperthreading enabled system Probably =E2=80=98clang=E2=80=99 and =E2=80=98libgccjit=E2=80=99 has a prob= lem working together. In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin20.3.0, NS appkit-2022.30= Version 11.2.3 (Build 20D91)) of 2021-04-15 built on mb2.local Repository revision: 686259e65aa7121683c0c65e45ce48adb08ddb58 Repository branch: feature/native-comp Windowing system distributor 'Apple', version 10.3.2022 System Description: macOS 11.2.3 Configured using: 'configure --with-native-compilation' Configured features: ACL DBUS GIF GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG THREADS TIFF TOOLKIT_SCROLL_BARS XIM ZLIB Important settings: value of $LANG: en_US locale-coding-system: utf-8-unix Major mode: Summary Minor modes in effect: hl-line-mode: t savehist-mode: t desktop-save-mode: t direnv-mode: t shell-dirtrack-mode: t which-key-mode: t TeX-PDF-mode: t override-global-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow flyspell ispell emacsbug gnus-html help-fns radix-tree url-cache sort smiley gnus-cite mail-extr gnus-async gnus-bcklg qp gnus-ml hl-line disp-table nndraft nnmh utf-7 nnml nnfolder epa-file gnutls network-stream nsm gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-cache .gnus diary-lib diary-loaddefs ol-eww ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-search ol-docview doc-view jka-compr image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m dired-aux ebdb-message sendmail ebdb-gnus gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus dbus gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range message rmc dired dired-loaddefs rfc822 mml mml-sec epa epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 gmm-utils mailheader gnus-win flymake-proc flymake vc-git mhtml-mode elec-pair display-line-numbers css-mode smie eww xdg url-queue shr kinsoku svg xml puny mm-url gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils wid-edit mm-util mail-prsvr js sgml-mode facemenu dom init savehist desktop frameset ob-plantuml ob-sql ob-css ob-js ob-java ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ob-python python ob-R modus-operandi-theme modus-themes ebdb-mua ebdb-com ebdb-format ebdb mailabbrev eieio-opt speedbar ezimage dframe eieio-base pcase timezone direnv diff-mode dash po-mode cider tramp-sh cider-debug cider-browse-ns cider-mode cider-inspector cider-completion cider-profile cider-eval compile text-property-search cider-repl-history pulse derived cider-repl cider-resolve cider-test cider-overlays cider-stacktrace cider-doc cider-browse-spec cider-clojuredocs cider-eldoc cider-client cider-common etags fileloop xref project cider-connection cider-util color cider-popup sesman-browser nrepl-client tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell parse-time iso8601 ls-lisp queue nrepl-dict cider-compat spinner parseedn parseclj-parser parseclj-lex a sesman vc vc-dispatcher edmacro kmacro clojure-mode lisp-mnt align imenu rust-mode thingatpt org-mime ox-org ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox org-element avl-tree generator org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color ring org-list org-faces org-entities time-date org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs noutline outline which-key advice delight hideshow tex crm texmathp finder-inf use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core server avoid paren cus-start cus-load tex-site info early-init package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source eieio eieio-core eieio-loaddefs password-cache json map url-vars comp comp-cstr warnings subr-x rx cl-seq cl-macs cl-extra help-mode seq byte-opt gv cl-loaddefs cl-lib bytecomp byte-compile cconv iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind kqueue cocoa ns lcms2 multi-tty make-network-process nativecomp emacs) Memory information: ((conses 16 863875 44320) (symbols 48 46941 1) (strings 32 213402 17021) (string-bytes 1 7034681) (vectors 16 85059) (vector-slots 8 1328330 122166) (floats 8 565 232) (intervals 56 2247 77) (buffers 992 50)) --=20 Regards, Pankaj Jangid GnuPG Fingerprint: 0B62 7424 3B26 A911 052A DDE6 7C95 6E6F F858 7689