From: Luis Machado <firstname.lastname@example.org>
To: Shan Huang <email@example.com>,
Subject: Re: Issue building gdb on Apple silicon
Date: Mon, 23 May 2022 11:38:46 +0100 [thread overview]
Message-ID: <firstname.lastname@example.org> (raw)
On 5/14/22 21:31, Shan Huang via Gdb wrote:
> I have encoutered the issue with building gdb on an Apple m1 machine. Currently these (ar nm objcopy objdump ranlib readelf strip) have been built by using ./configure --target=arm64-apple-darwin21.4.0 However, inside gdb subfolder I found there is no gdb executable being created. I tried to using the ./configure inside gdb subfolder, I have encoutered with the gmp missing, after I install it and supplied with --with-libgmp-prefix= PATH/TO/GMP, another error shows "../gnulib/Makefile.gnulib.inc: No such file or directory". I have checked https://sourceware.org/pipermail/gdb-patches/2020-October/172571.html However seems it's not the same. I wonder is there a way I could install gdb on M1 at the moment? Thanks very much.
From what I can see, GDB doesn't support Darwin on aarch64, although other tools in binutils/ do.
The supporting code needs to be contributed to GDB to make that work correctly, like it does for x86_64.
prev parent reply other threads:[~2022-05-23 10:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-14 20:31 Shan Huang
2022-05-23 10:38 ` Luis Machado [this message]
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:
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* 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.
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).