[PATCH] Add IPv6 support for remote TCP connections
Jan Kratochvil
jan.kratochvil@redhat.com
Sun Feb 9 13:05:00 GMT 2014
On Sun, 09 Feb 2014 10:53:08 +0100, Paul Fertser wrote:
> Do you take into account that there're currently two competing
> solutions for providing windows support: MinGW and MinGW-w64?
Yes, recent Fedoras AFAIK follow the MinGW-w64 port:
https://fedoraproject.org/wiki/MinGW?rd=SIGs/MinGW
https://fedoraproject.org/wiki/MinGW/CrossCompilerFramework
http://mingw-w64.sourceforge.net/
> I've just tried cross-compiling code with getaddrinfo with mingw-w64
> without any replacements and it was built (and run with wine) just
> fine.
I have different results for gdb-7.7 with your patch on Fedora Rawhide
(=F-21pre) x86_64:
../../gdb/ser-tcp.c: In function 'net_open':
../../gdb/ser-tcp.c:162:19: error: storage size of 'hints' isn't known
struct addrinfo hints;
^
../../gdb/ser-tcp.c:196:30: error: invalid application of 'sizeof' to incomplete type 'struct addrinfo'
memset (&hints, 0, sizeof (struct addrinfo));
^
../../gdb/ser-tcp.c:205:3: warning: implicit declaration of function 'getaddrinfo' [-Wimplicit-function-declaration]
tmp = getaddrinfo (hostname, port_str, &hints, &result);
^
[...]
This is why I did start the unfinished/unsuccessful work on gdb/gnulib/ .
Does it mean the Fedora MinGW is broken? Which MinGW packaging have you used?
Thanks,
Jan
-------------- next part --------------
mingw-binutils-generic-2.24-1.fc21.x86_64
mingw-filesystem-base-99-3.fc20.noarch
mingw64-binutils-2.24-1.fc21.x86_64
mingw64-cpp-4.8.2-2.fc21.x86_64
mingw64-crt-3.1.999-0.3.trunk.r6469.20140126.fc21.noarch
mingw64-expat-2.1.0-5.fc20.noarch
mingw64-filesystem-99-3.fc20.noarch
mingw64-gcc-4.8.2-2.fc21.x86_64
mingw64-headers-3.1.999-0.3.trunk.r6469.20140126.fc21.noarch
mingw64-pkg-config-0.28-2.fc20.x86_64
mingw64-win-iconv-0.0.4-3.fc20.noarch
mingw64-wine-gecko-2.24-1.fc21.noarch
mingw64-winpthreads-3.1.999-0.2.trunk.r6460.20140124.fc21.noarch
mingw64-zlib-1.2.8-2.fc20.noarch
More information about the Gdb-patches
mailing list