This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 28.02.2019 21:55, Sergio Durigan Junior wrote: > On Thursday, February 28 2019, Eli Zaretskii wrote: >> On Wed, 27 Feb 2019 09:51:12 +0400 (+04) Joel Brobecker wrote: >>> >>> I have just finished creating the gdb-8.2.90 pre-release. >>> It is available for download at the following location: >>> >>> ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-8.2.90.tar.xz >> >> Thanks, I've built this with mingw.org's MinGW and bumped into a few >> problems. >> >> First, the recent changes to support IPv6 caused compilation errors in >> several files. The problem is with several fragments such as this >> one: >> >> #ifdef USE_WIN32API >> #include <winsock2.h> >> #include <wspiapi.h> >> #else >> ... >> >> mingw.org's MinGW doesn't have wspiapi.h. Moreover, the Microsoft >> documentation indicates that to get prototypes of getaddrinfo, >> freeaddrinfo, etc. one needs to include ws2tcpip.h (and not include >> winsock2.h separately) > However, and more importantly, I remember testing the whole patch by > compiling it using a mingw32 compiler on Fedora, and it was working > correctly. In fact, we even have a mingw32 builder on our BuildBot > (running on Fedora), and it is still compiling GDB without problems: > > https://gdb-build.sergiodj.net/builders/Fedora-x86_64-w64-mingw32 > > So apparently this error is only triggered when you use mingw on > Windows...? I don't know. > Obviously, Fedora cross-compiler is mingw-w64, not mingw.org. Big difference, feature-wise.
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |