Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Alexander Fedotov via Gdb-patches <gdb-patches@sourceware.org>
To: Tom Tromey <tromey@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: GDB 12.1 mingw build fails on Fedora 35
Date: Wed, 27 Jul 2022 14:17:19 +0300	[thread overview]
Message-ID: <CAN8C2CrvaLgAtMe5Fu16oEfzK88W3jKQF47xxE25wq8dSfvWRw@mail.gmail.com> (raw)

Hi Tom

I'm trying to build GDB 12.1 from the release tarball on Fedora 35 using
MinGW i686-w64-mingw32 compiler. And getting following gnulib error:

../../../src_gdb/gnulib/import/closedir.c: In function 'closedir':
../../../src_gdb/gnulib/import/closedir.c:58:11: error: 'DIR' has no member
named 'current'
   58 |   if (dirp->current != INVALID_HANDLE_VALUE)
      |           ^~
../../../src_gdb/gnulib/import/closedir.c:59:20: error: 'DIR' has no member
named 'current'
   59 |     FindClose (dirp->current);
      |                    ^~
make[6]: *** [Makefile:2632: libgnu_a-closedir.o] Error 1

I found a commit with the comment "Fedora 34, and also using the Fedora
mingw cross toolchain."

Is there something I can check on my machine

Best regards,
Alex

             reply	other threads:[~2022-07-27 11:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-27 11:17 Alexander Fedotov via Gdb-patches [this message]
2022-07-28 18:43 ` Tom Tromey via Gdb-patches

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=CAN8C2CrvaLgAtMe5Fu16oEfzK88W3jKQF47xxE25wq8dSfvWRw@mail.gmail.com \
    --to=gdb-patches@sourceware.org \
    --cc=alfedotov@gmail.com \
    --cc=tromey@adacore.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