public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: Torbjorn SVENSSON via Gdb <gdb@sourceware.org>
Cc: Torbjorn SVENSSON <torbjorn.svensson@foss.st.com>,
	 Tom Tromey <tom@tromey.com>
Subject: Re: GDB13 fails to build on MacOS using supplied GNU Bison 2.3
Date: Thu, 31 Aug 2023 07:31:36 -0600	[thread overview]
Message-ID: <87jztbpccn.fsf@tromey.com> (raw)
In-Reply-To: <0badf084-d0b7-54bb-aec6-b79f29ad191d@foss.st.com> (Torbjorn SVENSSON via Gdb's message of "Sat, 19 Aug 2023 20:11:00 +0200")

>>>>> "Torbjorn" == Torbjorn SVENSSON via Gdb <gdb@sourceware.org> writes:

Torbjorn> All three versions of MacOS includes GNU Bison 2.3 and it appears that
Torbjorn> this issue was fixed in GNU Bison 2.4.

If the appended works for you (be sure to run some tests), I can check
it in.

Torbjorn> Looking at the binutils tree, I see that sub-directory gprofng
Torbjorn> contains bison.m4 and a check to confirm that at least version 3.0.4
Torbjorn> is available.

Torbjorn> I think the bison.m4 file should be moved up one level and used in
Torbjorn> both gprofng and gdb, but I'm unable to re-generate the configure
Torbjorn> scripts.

I wonder if this would really help you, since presumably it would just
reject your bison?

Another option might be to install bison from brew.  In this case it's
probably fine but eventually we may want to require a newer Bison, and
IMO we can't and shouldn't keep catering to Apple's problem
indefinitely.

Tom

  parent reply	other threads:[~2023-08-31 13:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-19 18:11 Torbjorn SVENSSON
2023-08-28  5:12 ` Tom de Vries
2023-08-31 13:31 ` Tom Tromey [this message]
2023-08-31 14:01   ` Torbjorn SVENSSON
2023-08-31 18:44     ` Tom Tromey
2023-09-01 10:51       ` Martin Simmons
2023-09-01 13:02         ` Tom Tromey
2023-09-14 20:26           ` Torbjorn SVENSSON
2023-09-14 21:32             ` Tom Tromey
2023-09-15 12:04               ` Torbjorn SVENSSON
2023-09-17  1:21                 ` Tom Tromey
2023-09-17 15:26                   ` Torbjorn SVENSSON

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87jztbpccn.fsf@tromey.com \
    --to=tom@tromey.com \
    --cc=gdb@sourceware.org \
    --cc=torbjorn.svensson@foss.st.com \
    /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.
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).