From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#59340: 29.0.50; Latest Emacs from master gives various native compilation errors Date: Fri, 18 Nov 2022 09:01:24 +0000 Message-ID: References: <87zgcptn4b.fsf@disroot.org> <83h6yxcppr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28370"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 59340@debbugs.gnu.org, Akib Azmain Turja To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 18 10:02:47 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 1ovxGp-00079d-8r for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Nov 2022 10:02:47 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovxGb-0003PA-Bt; Fri, 18 Nov 2022 04:02:33 -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 1ovxG9-0003JB-Tm for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 04:02:31 -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 1ovxG6-0003FL-6w for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 04:02:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ovxG5-0006Po-Uy for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 04:02:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Nov 2022 09:02:01 +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.166876209124619 (code B ref 59340); Fri, 18 Nov 2022 09:02:01 +0000 Original-Received: (at 59340) by debbugs.gnu.org; 18 Nov 2022 09:01:31 +0000 Original-Received: from localhost ([127.0.0.1]:35247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovxFb-0006P1-Ca for submit@debbugs.gnu.org; Fri, 18 Nov 2022 04:01:31 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:51234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovxFY-0006Or-NX for 59340@debbugs.gnu.org; Fri, 18 Nov 2022 04:01:29 -0500 Original-Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 2AI91Oep027590 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Fri, 18 Nov 2022 09:01:27 GMT 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:248190 Archived-At: 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" >> >> 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+). >> >> This also happened to me before when I tried to upgrade, but I didn't do >> anything, because I'm lazy. >> >> I have reverted to my old Emacs (this) after I encountered the bug. >> >> 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." >> >> 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