From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Akib Azmain Turja via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#59340: 29.0.50; Latest Emacs from master gives various native compilation errors Date: Fri, 18 Nov 2022 17:39:11 +0600 Message-ID: <87leo8wkyo.fsf@disroot.org> References: <87zgcptn4b.fsf@disroot.org> <83h6yxcppr.fsf@gnu.org> Reply-To: Akib Azmain Turja Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27603"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59340@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 18 13:04:46 2022 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 1ow06v-0006tb-7b for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Nov 2022 13:04:45 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ow06R-0004UX-1Q; Fri, 18 Nov 2022 07:04:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ow06I-0004So-33 for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 07:04:13 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ow06E-0007vb-Nm for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 07:04:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ow06E-0002yE-JV for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 07:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Akib Azmain Turja Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Nov 2022 12:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59340 X-GNU-PR-Package: emacs Original-Received: via spool by 59340-submit@debbugs.gnu.org id=B59340.166877303611391 (code B ref 59340); Fri, 18 Nov 2022 12:04:02 +0000 Original-Received: (at 59340) by debbugs.gnu.org; 18 Nov 2022 12:03:56 +0000 Original-Received: from localhost ([127.0.0.1]:35534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ow067-0002xf-Vb for submit@debbugs.gnu.org; Fri, 18 Nov 2022 07:03:56 -0500 Original-Received: from knopi.disroot.org ([178.21.23.139]:33676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ow066-0002xX-32 for 59340@debbugs.gnu.org; Fri, 18 Nov 2022 07:03:54 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 7280540E57; Fri, 18 Nov 2022 13:03:53 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Original-Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0Yf8xPcE9maZ; Fri, 18 Nov 2022 13:03:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1668773032; bh=dhD0pVKpGBxqh67ORitzqEddOVDs8KUJP8r5iJnw/nc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Zhu+c/gHnFPjL3D9BA/S3zHGbafx70zXYC0lZ1C9Cn5JFP+WIVcZTE+B55rSzVqaR hG6D/4UtXfh51w6ytK6MeBd/BoHQCHBCzCv07NCocOiQxK39l5rDmBRjTu1yQZnKsS /TLYRXUtE4OVC6OtNciEp1TgZph5QUT6h/2mdAeC3qlnj13qMe7CuC8uzRMtWhNYb6 Zqd5L8lTIA/zZaph+SO3P0/C+zNFGxa6zraer9e0EctUdsgeifkn+RBixoQF3pZquZ 95pbASMRBalFGxxoxut1QjpxWgGGc/hdBDef9lcQW46OWQ9Z5QMPtDxY2DT+i94qVT XkmklGiJRDT9Q== In-Reply-To: <83h6yxcppr.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 17 Nov 2022 22:04:32 +0200") 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:248211 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> Date: Fri, 18 Nov 2022 01:08:36 +0600 >> From: Akib Azmain Turja via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >>=20 >> I tried to upgrade to the commit >> 1772d88c1fa811eee235ba9b8b7584bb000ac293 (made yesterday). But after >> installing it, I tried to run to and got various sorts of native >> compilation errors. I can at least use it the terminal, but starting >> with EXWM makes it crash (I don't who is the culprit: EXWM or GTK+). >>=20 >> This also happened to me before when I tried to upgrade, but I didn't do >> anything, because I'm lazy. >>=20 >> I have reverted to my old Emacs (this) after I encountered the bug. >>=20 >> I clearly remember two things appearing repeatedly in the *Warning* >> buffer (in terminal), the first one "libgccjit.so: error: error invoking >> gcc driver", and second one "FILE: Error: Internal native compiler error >> failed to compile." >>=20 >> The *Async-native-compile-log* buffer says that ld can't find >> crtbeginS.o, -lgcc, -lgcc_s and -lgcc_s again. And the message again: >> "libgccjit.so: error: error invoking gcc driver". > > Does this happen _after_ you build Emacs? That is, you are saying > that the *.eln files produced as part of the Emacs build were compiled > successfully, but when you then start the Emacs you built, it is > unable to perform any native compilation? Yes, Emacs builds fine. The problem occurs at runtime. > > In any case, I don't see it here. > > Could it be that there was some change in your GCC/Binutis/libgccjit > installation in parallel with updating from the Emacs Git repository? > That's what the error messages seem to convey. > > > =2D-=20 Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5 Fediverse: akib@hostux.social Codeberg: akib emailselfdefense.fsf.org | "Nothing can be secure without encryption." --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmN3buAACgkQVTX89U2I YWsaUhAA3kZFoOHW03DEgC7MxxeV9by88t1eynctqiZhev4OV9/JB0rg1HG6SWFh eCz55le0lW5T1wf8nDFup//i9VsA0/WcF0AicLggDKkmPE65lydEtCzep81ltSLm gTTyg53V5CUWwf+PokekSeO7bD3QU6S73A5mnsquc1x/lJVzU/47Tkzrk/QfT4hM Q01yBUOvVMNAgjdakTPJBuYnI1acqa42NNEJMmI26WQhxhyJcBPwsX7GD5Cjg/ja 1n/DwTHg+0rgcYYw0/1VFXSXiZ2nWUHAvpaZKdudixgYROt3GJOdKrUHcNZdfH6S lHImeB8mBiluNUQEIwsNtHmQSjkM9NtJz0C53dwZwwirII1z+V6LVLv1TbHB38hd bJQXnPStm5T8h6FXOr2SGw2VNoMO7675ErUw6yjR1IU3KOmooedHkv+QrshI4g9v XLgOxq3pBmm25HRiV659WaFxOhKP3oC3BZioGJKHcHYz6SrSZ8bUvPNXd2Cisrrp XvaQEjRdzBCDMZuK+K1wU+W5gQWAJt3wcDJIGoOORV3tc6aexS3AXQaqy5OprtZ2 Hr9uZhpKedG0NVgKvTEKGfWAkrA++eilWZdWxbRGtIBLbfWpl7g6uCOR63ojQM2Z 1n9R7J6ecQAxPBCNvHEf4I1kCOrK5wTM7WkKaJ6fFoOcbctOmsg= =DRuN -----END PGP SIGNATURE----- --=-=-=--