From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.bugs Subject: bug#63523: 29.0.90; Failing to find -lgcc when running emacsclient Date: Wed, 24 May 2023 11:39:20 -0400 Message-ID: References: <835y8t1m4z.fsf@gnu.org> <83mt24z27m.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000e2f4c705fc725044" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16433"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63523@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 24 17:41:28 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 1q1qcC-00047b-GW for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 May 2023 17:41:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1qbo-00026v-TZ; Wed, 24 May 2023 11:41: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 1q1qbm-00026M-Vr for bug-gnu-emacs@gnu.org; Wed, 24 May 2023 11:41:03 -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 1q1qbm-0002L6-O2 for bug-gnu-emacs@gnu.org; Wed, 24 May 2023 11:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q1qbm-0005gl-4A for bug-gnu-emacs@gnu.org; Wed, 24 May 2023 11:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 May 2023 15:41:02 +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.168494280921791 (code B ref 63523); Wed, 24 May 2023 15:41:02 +0000 Original-Received: (at 63523) by debbugs.gnu.org; 24 May 2023 15:40:09 +0000 Original-Received: from localhost ([127.0.0.1]:44435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q1qav-0005fP-9J for submit@debbugs.gnu.org; Wed, 24 May 2023 11:40:09 -0400 Original-Received: from mail-pl1-f173.google.com ([209.85.214.173]:55437) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q1qap-0005eg-FL for 63523@debbugs.gnu.org; Wed, 24 May 2023 11:40:07 -0400 Original-Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-1ae52ce3250so3957265ad.2 for <63523@debbugs.gnu.org>; Wed, 24 May 2023 08:40:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684942797; x=1687534797; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Y6WmEBDBUfjIDp9xBZRwNtWPTC7hDX95dzVPYK/zALk=; b=rY9LAIdmBhnh4XyJvmZ9yfljTkNgS0bL71PZ+RadxM0jlBmCjqBPYry3sT4rkRJthn IhcSZduAmDT0zIUrzrANKHj8hkZjSJahcjv4Mc9ETsLPUC6ACmw09hs8iHjcZlEaeF/t 1KVgwc/VY3qggEme+/wceUxoslZ9sGTaZ1YMTFhnmAzaQ7TYvFiK1sb4b81CnU9/HYxH qrY/3Ao7caArPygMFuiRyi3xA+JLkP9Qt2/qsuYoK5dpJgQDOIcPXvaTsM2pYss+OpOW wbu5Qp0229gHg0FqMCml+Z/qz7ht8oUCuFTPrnx3xLif4bUpHo+UOck1qoYckTX1pR5g mvSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684942797; x=1687534797; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Y6WmEBDBUfjIDp9xBZRwNtWPTC7hDX95dzVPYK/zALk=; b=b/pQ3DNrhkVA3AhyP/YpktzPYdVV4FT+s0dTzUfOm9baJgl2CnMoOyeQmyl/zWHwjf A1yRH+g8RqlV4l6VcbIJ1to+JQL4BgkR5P+eT6AJfYKJ2prDQQL2qyek4KA88Hcp08sK OKgzPAo9ATyPuh5ynoLhabDPTAPp5IHhQTneUjVyvtMF00V86yxkFOs1MO5OdCtHxSmN vqneb6Qqp5bvO6ywM2+vcFzrIsSFkqOnd9B6PsHQn6IHPj4Q+jtMRfg8FBJFS+MC5ch9 nJu6tYQOCa8kCHCQchS/Z714Au770AbsfQRs/PWLE1TKL0PH7eqkkoeAUJWUcoi+Sn07 pWdA== X-Gm-Message-State: AC+VfDytvh3lC7gpr6zL5TsSnra3Z6c9Z7kyH9bDPBSPpTfm5CNuwc4U sAzDAl1zVXPzJ2JpcDTVAqv5EHN5uriRz7olHmo= X-Google-Smtp-Source: ACHHUZ6IvLU+TDJi6qvWTTG95HCFKU9hZ66kmopuTU/OpDap0Sax8oJ+KhPQnp78IxnkrshDdND0+VT9nVyWN5FgTMM= X-Received: by 2002:a17:902:ec81:b0:1af:bdeb:a0a0 with SMTP id x1-20020a170902ec8100b001afbdeba0a0mr9430814plg.24.1684942797074; Wed, 24 May 2023 08:39:57 -0700 (PDT) In-Reply-To: <83mt24z27m.fsf@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:262299 Archived-At: --000000000000e2f4c705fc725044 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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. I have libgccjit.so available for both gcc 9.1.0 and 9.3.0. But the version mismatch gave the "gcc not found" error. Note to self: Ensure that the gcc versions used for building and running emacs are the exact same (incl the minor versions). 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? -- Kaushal Modi On Tue, May 16, 2023 at 12:10=E2=80=AFPM Eli Zaretskii wrote= : > > From: Kaushal Modi > > Date: Mon, 15 May 2023 14:46:48 -0400 > > Cc: 63523@debbugs.gnu.org > > > > I just rebuilt emacs with --bootstrap now this error is gone! > > > > > emacs --version > > GNU Emacs 29.0.91 > > Development version c18f9f155f6a on emacs-29 branch; build date > 2023-05-15. > > > > > emacsclient --version > > emacsclient 29.0.91 > > > > It looks like I landed on an intermediate commit while this issue > existed around 05/12. But as of the > > c18f9f155f6a commit, this issue is gone. > > > > Thank you for looking into this! > > > > This issue can be closed. > > Thanks, done. > --000000000000e2f4c705fc725044 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 termi= nal with gcc 9.1.0 loaded.

I have libgccjit.so ava= ilable for both gcc 9.1.0 and 9.3.0. But the version mismatch gave the &quo= t;gcc not found" error.

Note to self: Ensure = that the gcc versions used for building and running emacs are the exact sam= e (incl the minor versions).

On the same note, is = it possible for Emacs to give a more informative error that says that libgc= c of X.Y.Z version was not found?


--
Kaushal Modi


On Tue, May = 16, 2023 at 12:10=E2=80=AFPM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Kaushal Modi <kaushal.modi@gmail.com>
> Date: Mon, 15 May 2023 14:46:48 -0400
> Cc: 63523@d= ebbugs.gnu.org
>
> I just rebuilt emacs with --bootstrap now this error is gone!
>
> > emacs --version=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0
> GNU Emacs 29.0.91
> Development version c18f9f155f6a on emacs-29 branch; build date 2023-0= 5-15.
>
> > emacsclient --version
> emacsclient 29.0.91
>
> It looks like I landed on an intermediate commit while this issue exis= ted around 05/12. But as of the
> c18f9f155f6a commit, this issue is gone.
>
> Thank you for looking into this!
>
> This issue can be closed.

Thanks, done.
--000000000000e2f4c705fc725044--