public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* libctf compilation failure on MinGW
@ 2020-07-02 13:45 Eli Zaretskii
  2020-07-04 18:16 ` Nick Alcock
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2020-07-02 13:45 UTC (permalink / raw)
  To: Nick Alcock; +Cc: Joel Brobecker, gdb-patches

Nick,

We had a conversation about this back in February, AFAIR, and your
conclusion was that you'd like to remove those E* constants from the
sources, and thus avoid the problem altogether.

Did you have time to make those changes since then?

GDB is about to branch for the imminent GDB 10.1 release, and
currently the problems I described back then are still with us.  So
we'd like a solution soon, and need to decide whether to go with the
same workaround we used for GDB 9.1 or use a better change from you.

Thanks in advance.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: libctf compilation failure on MinGW
  2020-07-02 13:45 libctf compilation failure on MinGW Eli Zaretskii
@ 2020-07-04 18:16 ` Nick Alcock
  2020-07-04 18:19   ` Eli Zaretskii
  2020-07-18 19:06   ` Joel Brobecker
  0 siblings, 2 replies; 4+ messages in thread
From: Nick Alcock @ 2020-07-04 18:16 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Joel Brobecker, gdb-patches

On 2 Jul 2020, Eli Zaretskii outgrape:

> We had a conversation about this back in February, AFAIR, and your
> conclusion was that you'd like to remove those E* constants from the
> sources, and thus avoid the problem altogether.
>
> Did you have time to make those changes since then?

I... tried. It's *so annoying* to use that I'm going to go for your
original approach, and just #define undefined-on-some-platform E*
constants as needed. (Maybe I should automate this, and scan *all* E*
constants used by libctf in configure and define suitable replacements,
to avoid the whack-a-mole nature of this?)

> GDB is about to branch for the imminent GDB 10.1 release, and
> currently the problems I described back then are still with us.

Oh, I thought you pushed a fix already! Sorry!

I'll post a fix sticking suitable E* #defines in once I get back from
holiday on Tuesday.

> we'd like a solution soon, and need to decide whether to go with the
> same workaround we used for GDB 9.1 or use a better change from you.

I think that workaround is in hindsight better than the change I
proposed, and should go in trunk. :/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: libctf compilation failure on MinGW
  2020-07-04 18:16 ` Nick Alcock
@ 2020-07-04 18:19   ` Eli Zaretskii
  2020-07-18 19:06   ` Joel Brobecker
  1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2020-07-04 18:19 UTC (permalink / raw)
  To: Nick Alcock; +Cc: brobecker, gdb-patches

> From: Nick Alcock <nick.alcock@oracle.com>
> Cc: Joel Brobecker <brobecker@adacore.com>, gdb-patches@sourceware.org
> Date: Sat, 04 Jul 2020 19:16:22 +0100
> 
> > GDB is about to branch for the imminent GDB 10.1 release, and
> > currently the problems I described back then are still with us.
> 
> Oh, I thought you pushed a fix already! Sorry!

We did, but only on the-then GDB 9.1 branch.  The master branch wasn't
changed, as we expected to have you update the upstream with the
proper solution.

> I'll post a fix sticking suitable E* #defines in once I get back from
> holiday on Tuesday.
> 
> > we'd like a solution soon, and need to decide whether to go with the
> > same workaround we used for GDB 9.1 or use a better change from you.
> 
> I think that workaround is in hindsight better than the change I
> proposed, and should go in trunk. :/

Thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: libctf compilation failure on MinGW
  2020-07-04 18:16 ` Nick Alcock
  2020-07-04 18:19   ` Eli Zaretskii
@ 2020-07-18 19:06   ` Joel Brobecker
  1 sibling, 0 replies; 4+ messages in thread
From: Joel Brobecker @ 2020-07-18 19:06 UTC (permalink / raw)
  To: Nick Alcock; +Cc: Eli Zaretskii, gdb-patches

Hi Nick,

On Sat, Jul 04, 2020 at 07:16:22PM +0100, Nick Alcock wrote:
> On 2 Jul 2020, Eli Zaretskii outgrape:
> 
> > We had a conversation about this back in February, AFAIR, and your
> > conclusion was that you'd like to remove those E* constants from the
> > sources, and thus avoid the problem altogether.
> >
> > Did you have time to make those changes since then?
> 
> I... tried. It's *so annoying* to use that I'm going to go for your
> original approach, and just #define undefined-on-some-platform E*
> constants as needed. (Maybe I should automate this, and scan *all* E*
> constants used by libctf in configure and define suitable replacements,
> to avoid the whack-a-mole nature of this?)
> 
> > GDB is about to branch for the imminent GDB 10.1 release, and
> > currently the problems I described back then are still with us.
> 
> Oh, I thought you pushed a fix already! Sorry!
> 
> I'll post a fix sticking suitable E* #defines in once I get back from
> holiday on Tuesday.
> 
> > we'd like a solution soon, and need to decide whether to go with the
> > same workaround we used for GDB 9.1 or use a better change from you.
> 
> I think that workaround is in hindsight better than the change I
> proposed, and should go in trunk. :/

I don't think the fix has been pushed, has it?  Would it help if
we pushed the fix we proposed a while back?

-- 
Joel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-18 19:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-02 13:45 libctf compilation failure on MinGW Eli Zaretskii
2020-07-04 18:16 ` Nick Alcock
2020-07-04 18:19   ` Eli Zaretskii
2020-07-18 19:06   ` Joel Brobecker

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).