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#59340: 29.0.50; Latest Emacs from master gives various native compilation errors Date: Thu, 17 Nov 2022 22:04:32 +0200 Message-ID: <83h6yxcppr.fsf@gnu.org> References: <87zgcptn4b.fsf@disroot.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10077"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59340@debbugs.gnu.org To: Akib Azmain Turja Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 17 21:05:27 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 1ovl8Z-0002Ku-0P for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Nov 2022 21:05:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovl8E-00017f-0l; Thu, 17 Nov 2022 15:05:06 -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 1ovl8B-00016x-8j for bug-gnu-emacs@gnu.org; Thu, 17 Nov 2022 15:05:03 -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 1ovl8A-0002jB-PX for bug-gnu-emacs@gnu.org; Thu, 17 Nov 2022 15:05:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ovl8A-0002rZ-LR for bug-gnu-emacs@gnu.org; Thu, 17 Nov 2022 15:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Nov 2022 20:05: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.166871548210953 (code B ref 59340); Thu, 17 Nov 2022 20:05:02 +0000 Original-Received: (at 59340) by debbugs.gnu.org; 17 Nov 2022 20:04:42 +0000 Original-Received: from localhost ([127.0.0.1]:34457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovl7p-0002qb-P1 for submit@debbugs.gnu.org; Thu, 17 Nov 2022 15:04:42 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovl7n-0002qO-IG for 59340@debbugs.gnu.org; Thu, 17 Nov 2022 15:04:39 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovl7g-0002dH-GA; Thu, 17 Nov 2022 15:04:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=MDfz4vho74xXE9rY+cf8W6/8f3h6hCGpFPyfXTDrJoY=; b=AlSDtAlEu8Xw HzKKBKPeaisAi1PWqZeFaCc3WVQNRkgisepjq4aFfS3gvBhGtpcPP8rsCe96Aub1B/s+FYBLnkW9Q iyaVdXh6fgWK4LPbdaez7iTeVf6KoogQxyFbL/J55DILH8fOeNCkGXEtekqdZKS+KEOQvgwEnplSc ZQ21Gk/F1pVvH9VgLwBoimPXBHFoqm4rHwA295hT9mjF4EiA9Qc/JUPCylOof60DLg01mV9vu1kpS bcuzJmFggd4tn33ZAyYQI7x5Fe/vOifsg6IIXdnWcav8GwYMK04eGSNQmIq0oELBJNvYAJ/xwC52h FZ2cYqDn5XAo4bxMv/832w==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovl7f-0001J9-7l; Thu, 17 Nov 2022 15:04:32 -0500 In-Reply-To: <87zgcptn4b.fsf@disroot.org> (bug-gnu-emacs@gnu.org) 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:248142 Archived-At: > 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.