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#63523: 29.0.90; Failing to find -lgcc when running emacsclient Date: Wed, 24 May 2023 18:51:11 +0300 Message-ID: <83a5xtohhs.fsf@gnu.org> References: <835y8t1m4z.fsf@gnu.org> <83mt24z27m.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26789"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63523@debbugs.gnu.org To: Kaushal Modi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 24 17:51:27 2023 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 1q1qlr-0006kK-Hh for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 May 2023 17:51:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1qlU-0004OU-IM; Wed, 24 May 2023 11:51:04 -0400 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 1q1qlS-0004O8-Dl for bug-gnu-emacs@gnu.org; Wed, 24 May 2023 11:51:02 -0400 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 1q1qlS-0005YH-3Z for bug-gnu-emacs@gnu.org; Wed, 24 May 2023 11:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q1qlR-00062I-Ux for bug-gnu-emacs@gnu.org; Wed, 24 May 2023 11:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 May 2023 15:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63523 X-GNU-PR-Package: emacs Original-Received: via spool by 63523-submit@debbugs.gnu.org id=B63523.168494345223187 (code B ref 63523); Wed, 24 May 2023 15:51:01 +0000 Original-Received: (at 63523) by debbugs.gnu.org; 24 May 2023 15:50:52 +0000 Original-Received: from localhost ([127.0.0.1]:44455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q1qlH-00061u-KD for submit@debbugs.gnu.org; Wed, 24 May 2023 11:50:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q1qlF-00061f-UE for 63523@debbugs.gnu.org; Wed, 24 May 2023 11:50:50 -0400 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 1q1qlA-0005PA-HV; Wed, 24 May 2023 11:50:44 -0400 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=YLzKCXMxQ4+8c0JCDp50LafaiNACPLAtI/j9DxoDR0s=; b=E1FMZAKV0muv hxqUEmckozDNj4imH8NA/oGMRBAje+Z1Lz/Hu45DDyUVnbC8RY6GUv5FC0ss694PHL/8v91Iy9EMA 6tllQVUl1AVPjFGmkHuhFUyKPQ7ccrX128ZuPcAoXdJ23gJqxfKK6nNmiuBp3AZ5Pre4R+3jZvd2l VBnbgK1J+SBrWNP4YjzWyJyrIQkjwbqimyU0MOLXQTovRq+bTD/LTJMOy8SfZ0IOjt8Iad45MOOQx BUOC37u0VzQC3N57zuWMfWQUoL7r4mPNXeIpuXOcDdLcohGKvhbAb6o1h43eMjjfSAxKR4McRLEH9 mRmhhyPzO5Pf7zkMCsxHQA==; 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 1q1qlA-0004LI-1O; Wed, 24 May 2023 11:50:44 -0400 In-Reply-To: (message from Kaushal Modi on Wed, 24 May 2023 11:39:20 -0400) 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:262302 Archived-At: > From: Kaushal Modi > Date: Wed, 24 May 2023 11:39:20 -0400 > Cc: 63523@debbugs.gnu.org > > This issue happened to me again, but now I know what causes it. > > - I was building Emacs from a terminal with gcc 9.3.0 loaded. > - I was launching emacsclient from a terminal with gcc 9.1.0 loaded. Sorry, I don't understand: what does it mean "terminal with gcc X.Y.Z loaded"? how is GCC "loaded" in those cases? > Note to self: Ensure that the gcc versions used for building and running emacs are the exact same > (incl the minor versions). That's not a requirement. What _is_ a requirement is that when you upgrade your GCC installation, you need to restart Emacs, if the running Emacs session was built with native compilation, so that Emacs starts using the version of GCC that you have installed for future compilations. But the *.eln files that were built by libgccjit of one version should be fully usable after you upgrade to another version. > On the same note, is it possible for Emacs to give a more informative error that says that libgcc of > X.Y.Z version was not found? That error doesn't come from Emacs, it comes from the GCC compilation driver. We just report it, as it was reported to us.