* GDB 12.1 mingw build fails on Fedora 35
@ 2022-07-27 11:17 Alexander Fedotov via Gdb-patches
2022-07-28 18:43 ` Tom Tromey via Gdb-patches
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Fedotov via Gdb-patches @ 2022-07-27 11:17 UTC (permalink / raw)
To: Tom Tromey; +Cc: gdb-patches
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: GDB 12.1 mingw build fails on Fedora 35
2022-07-27 11:17 GDB 12.1 mingw build fails on Fedora 35 Alexander Fedotov via Gdb-patches
@ 2022-07-28 18:43 ` Tom Tromey via Gdb-patches
0 siblings, 0 replies; 2+ messages in thread
From: Tom Tromey via Gdb-patches @ 2022-07-28 18:43 UTC (permalink / raw)
To: Alexander Fedotov; +Cc: gdb-patches, Tom Tromey
Alex> I'm trying to build GDB 12.1 from the release tarball on Fedora 35
Alex> using MinGW i686-w64-mingw32 compiler. And getting following
Alex> gnulib error:
I have definitely seen this error before, but I don't remember what I
did to fix it.
I have the gdb 12 branch checked out and I was able to this build on
Fedora 34:
murgatroyd. ./config.status --version
config.status
configured by ../binutils-gdb/configure, generated by GNU Autoconf 2.69,
with options "'--host=i686-w64-mingw32' '--target=i686-w64-mingw32' '--disable-binutils' '--disable-gas' '--disable-gold' '--disable-gprof' '--disable-ld' '--disable-guile' '--disable-source-highlight' '--without-debuginfod' 'LDFLAGS=-lssp' '--disable-sim' '--disable-gprofng' 'host_alias=i686-w64-mingw32' 'target_alias=i686-w64-mingw32'"
I haven't upgraded to Fedora 35 yet.
FWIW git master doesn't build in this configuration for me due to some
BFD changes.
Tom
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-28 18:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-27 11:17 GDB 12.1 mingw build fails on Fedora 35 Alexander Fedotov via Gdb-patches
2022-07-28 18:43 ` Tom Tromey via Gdb-patches
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox