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:23:36 +0600 Message-ID: <87mt8o1p6v.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="28409"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 59340@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 18 13:04:55 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 1ow074-00079a-Nm for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Nov 2022 13:04:54 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ow06R-0004Ud-AV; 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-0004Sm-1s 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-0007va-CV 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-0002y6-8D 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.166877301311355 (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:33 +0000 Original-Received: from localhost ([127.0.0.1]:35531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ow05k-0002x5-GX for submit@debbugs.gnu.org; Fri, 18 Nov 2022 07:03:32 -0500 Original-Received: from knopi.disroot.org ([178.21.23.139]:54152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ow05e-0002we-Vh for 59340@debbugs.gnu.org; Fri, 18 Nov 2022 07:03:27 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id BA2EF41081; Fri, 18 Nov 2022 13:03:25 +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 PIt0sjWuOdOp; Fri, 18 Nov 2022 13:03:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1668773004; bh=qlr28Kwu8zt8ZzqdYL+dHB/iaciNdPor8HQCLXyqTnA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=UGNke3/0eV9wWnbb5iwrpIqoCy0oAtF9svpVoy+K0sTGh2uGHQNhDNmnG7HfHVL8n Kg0Qzux8XJZlk3ByfF4d4ivYZJuU7xQSGtsKKO9X/ViFFENLLU3LnV8iAmcygjDIB7 TKQE9oJbwEqW0FqmyPo25SsMsz4X1PNyto0CEWumAnoRiNNgks+kUJ2pzt+OIu5l1l 48J7oYkOM7W8YPwx0Xhrq+paG1BeglMGz6zUkenzcr+jvjSs98Yd87Rc5LUEnw+lsK 4FWUARqgg+jsm5NRKSMIONd6G7E3ZcHr5AneG1qz3pVaZxgEiiL2XQeWOb0nLAvOXE 54XLdT8/VKCrA== In-Reply-To: (Andrea Corallo's message of "Fri, 18 Nov 2022 09:01:24 +0000") 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:248212 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Andrea Corallo writes: > 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? >> >> 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. > > Just to say it looks to me as well a library issue and not an Emacs one. > > Andrea > > > Any tips to help me investigate it? =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----- iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmN3azkACgkQVTX89U2I YWtXUhAAv5Vce3Yrc62WNi0aRf1/G7nQNXC2L1dPQU8ZVx0vGVbmce4avM+3O5wM gR+iOnY7+8p23n/aN1uv8Pk6O3g21kk4xEWJbeDbAF+VgCd+wFmX8KC75JQK1MFW wqxCB/d3Yx4MjxDpA0elJ7lq5LlB5LwVMCR9TYQzmEheFZjtqhdEJLswubhtVbnF EcWcw7dpVijysgtNNiQE7xU/n3Mcyp2QdiJZ3DxbMVA+uwaa1gObwlkOGtmEPIm3 P1YmhCrrKGakgNKRTVB2JLmOYTCdBHjXaqTd6XSkjG9GGV5I17RFDm5yiDigX8zd nhsG0xNO9a+/VWg0TXhP8nd8sLd0n9UFJukVvfot9Wx890LhaaR9/XU2xeEDtkcS tVvY8XejdcIbsSQdV0dbn/JiFuffOwsPmgGB8QQon6nwYnmOr4u10AWpfaRht2Zn 6hHAYWXVGG7pjjabsZp0D7Udyv10gn0+e8M8IdK/rkYXZBcZPfVnOj3vXhbtY0Qj ACP5sFq4vUorgsVlZ/XpBTAb0rKKIKF3fHGIIatE40IKO5JTpcybtYY5rgEYmVE4 hA3+FB7vtwlns+OMK6PQgvPkNQoWyJkAG66id1+fdb3vHw9r4DonDwZ8fkY9w4mA CbfopYBJxz70+dyH0vwNGBhdDeWnI2dFl6uJ2mJ5U3vxPZbq2qw= =lVuT -----END PGP SIGNATURE----- --=-=-=--