From: John Buckley <nhoj.buckley@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 55455@debbugs.gnu.org
Subject: bug#55455: [macOS] Fix build when using brew's libgccjit
Date: Mon, 16 May 2022 20:00:58 +0100 [thread overview]
Message-ID: <CAJDWg5G33zni_mfgt-K9e+nimmi3zJeW6dRMMx_O79ZYyUzrMA@mail.gmail.com> (raw)
In-Reply-To: <83lev1ih0i.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1456 bytes --]
> Daniel Martin <mardani29@yahoo.es>
> I think this is a duplicate of bug#55173, which should be fixed already.
> Could you try to build Emacs with native compilation from the
master branch?
Yes it is as confirmed by Robert.
All is ok now on `master`. I've been on emacs-28 for a while now, probably
time to move to master.
> Eli Zaretskii <eliz@gnu.org>
> By "now" do you mean in some recent enough version? That is, older
> versions will still use the .so extension?
Older versions of gcc used the wrong dynamic library extension for
libgccjit on macOS. Brew on X86_64 uses the latest version. However, brew on
ARM64 is still using the .so version because it depends on an older fork of
gcc. So both need to be supported.
> Shouldn't we try both extensions?
The fix in master does this correctly.
Thanks for the comments - all resolved now.
On Mon, 16 May 2022 at 17:23, Eli Zaretskii <eliz@gnu.org> wrote:
> > From: John Buckley <nhoj.buckley@gmail.com>
> > Date: Mon, 16 May 2022 12:38:14 +0100
> >
> > libgccjit installed via Homebrew now uses the correct .dylib dynamic
> library
> > extension on macOS.
>
> By "now" do you mean in some recent enough version? That is, older
> versions will still use the .so extension?
>
> > This causes configure to fail because it is still
> > using the .so extension.
> >
> > The attached patch fixes the libgccjit library extension in configure.ac
>
> Shouldn't we try both extensions?
>
> Thanks.
>
[-- Attachment #2: Type: text/html, Size: 2659 bytes --]
prev parent reply other threads:[~2022-05-16 19:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-16 11:38 bug#55455: [macOS] Fix build when using brew's libgccjit John Buckley
2022-05-16 16:07 ` Robert Pluim
2022-05-16 16:11 ` John Buckley
2022-05-16 16:21 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-16 16:22 ` Eli Zaretskii
2022-05-16 19:00 ` John Buckley [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJDWg5G33zni_mfgt-K9e+nimmi3zJeW6dRMMx_O79ZYyUzrMA@mail.gmail.com \
--to=nhoj.buckley@gmail.com \
--cc=55455@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).