GNU bug report logs - #57015
29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0

Previous Next

Package: emacs;

Reported by: Naofumi Yasufuku <naofumi <at> yasufuku.dev>

Date: Sat, 6 Aug 2022 11:40:01 UTC

Severity: normal

Tags: patch

Merged with 57023, 57028, 57029

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dario Gjorgjevski <dario.gjorgjevski <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 57015 <at> debbugs.gnu.org, Stefan Kangas <stefankangas <at> gmail.com>, naofumi <at> yasufuku.dev
Subject: bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0
Date: Tue, 16 Aug 2022 15:28:26 +0200
On Thu, Aug 11, 2022 at 6:20 PM Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> But does this problem only happen when building Emacs under Homebrew?

Yes, this happens only with Homebrew and it started happening when
Homebrew upgraded libgccjit (and gcc) to version 12.

Previously, Homebrew was installing the libgccjit libraries in

    $HOMEBREW_PREFIX/opt/libgccjit/lib/gcc/${major_version}

Whereas it now installs them in

    $HOMEBREW_PREFIX/opt/libgccjit/lib/gcc/current
    $HOMEBREW_PREFIX/opt/libgccjit/lib/gcc/${major_version}

with the latter being a symlink to the former.  This breaks the
configure script which expects only a single libdir to be found; it
now finds two and ends up with an erroneous invocation (i.e.
`-L${libdir1} ${libdir2}' as opposed to `-L${libdir}').

Best regards,
Dario




This bug report was last modified 2 years and 256 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.