GNU bug report logs -
#63523
29.0.90; Failing to find -lgcc when running emacsclient
Previous Next
Reported by: Kaushal Modi <kaushal.modi <at> gmail.com>
Date: Mon, 15 May 2023 17:48:02 UTC
Severity: normal
Found in version 29.0.90
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #19 received at 63523 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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 PM Eli Zaretskii <eliz <at> gnu.org> wrote:
> > From: Kaushal Modi <kaushal.modi <at> gmail.com>
> > Date: Mon, 15 May 2023 14:46:48 -0400
> > Cc: 63523 <at> 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.
>
[Message part 2 (text/html, inline)]
This bug report was last modified 2 years and 77 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.