GDB 12.1 mingw build fails on Fedora 35

Alexander Fedotov alfedotov@gmail.com
Wed Jul 27 11:17:19 GMT 2022


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


More information about the Gdb-patches mailing list